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_wxArtClient swig_types[12]
2479 #define SWIGTYPE_p_wxArtID swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapDataObject swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBusyCursor swig_types[18]
2485 #define SWIGTYPE_p_wxBusyInfo swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxCaret swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClipboard swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardLocker swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxConfig swig_types[30]
2497 #define SWIGTYPE_p_wxConfigBase swig_types[31]
2498 #define SWIGTYPE_p_wxConfigPathChanger swig_types[32]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[33]
2500 #define SWIGTYPE_p_wxControl swig_types[34]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[35]
2502 #define SWIGTYPE_p_wxCursor swig_types[36]
2503 #define SWIGTYPE_p_wxCustomDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDC swig_types[38]
2505 #define SWIGTYPE_p_wxDataFormat swig_types[39]
2506 #define SWIGTYPE_p_wxDataObject swig_types[40]
2507 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
2508 #define SWIGTYPE_p_wxDataObjectSimple swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDateSpan swig_types[44]
2511 #define SWIGTYPE_p_wxDateTime swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[46]
2513 #define SWIGTYPE_p_wxDisplay swig_types[47]
2514 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDropFilesEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDuplexMode swig_types[50]
2517 #define SWIGTYPE_p_wxEraseEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEventBlocker swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileConfig swig_types[56]
2523 #define SWIGTYPE_p_wxFileDataObject swig_types[57]
2524 #define SWIGTYPE_p_wxFileHistory swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFileType swig_types[60]
2527 #define SWIGTYPE_p_wxFileTypeInfo swig_types[61]
2528 #define SWIGTYPE_p_wxFlexGridSizer swig_types[62]
2529 #define SWIGTYPE_p_wxFocusEvent swig_types[63]
2530 #define SWIGTYPE_p_wxFont swig_types[64]
2531 #define SWIGTYPE_p_wxFrame swig_types[65]
2532 #define SWIGTYPE_p_wxGBSizerItem swig_types[66]
2533 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
2534 #define SWIGTYPE_p_wxGridBagSizer swig_types[68]
2535 #define SWIGTYPE_p_wxGridSizer swig_types[69]
2536 #define SWIGTYPE_p_wxICOHandler swig_types[70]
2537 #define SWIGTYPE_p_wxIcon swig_types[71]
2538 #define SWIGTYPE_p_wxIconBundle swig_types[72]
2539 #define SWIGTYPE_p_wxIconizeEvent swig_types[73]
2540 #define SWIGTYPE_p_wxIdleEvent swig_types[74]
2541 #define SWIGTYPE_p_wxImage swig_types[75]
2542 #define SWIGTYPE_p_wxImageHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[77]
2544 #define SWIGTYPE_p_wxInitDialogEvent swig_types[78]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[79]
2546 #define SWIGTYPE_p_wxJoystick swig_types[80]
2547 #define SWIGTYPE_p_wxJoystickEvent swig_types[81]
2548 #define SWIGTYPE_p_wxKeyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxKillError swig_types[83]
2550 #define SWIGTYPE_p_wxLayoutConstraints swig_types[84]
2551 #define SWIGTYPE_p_wxLog swig_types[85]
2552 #define SWIGTYPE_p_wxLogBuffer swig_types[86]
2553 #define SWIGTYPE_p_wxLogChain swig_types[87]
2554 #define SWIGTYPE_p_wxLogGui swig_types[88]
2555 #define SWIGTYPE_p_wxLogNull swig_types[89]
2556 #define SWIGTYPE_p_wxLogStderr swig_types[90]
2557 #define SWIGTYPE_p_wxLogTextCtrl swig_types[91]
2558 #define SWIGTYPE_p_wxLogWindow swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetafileDataObject swig_types[98]
2565 #define SWIGTYPE_p_wxMimeTypesManager swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseState swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotifyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxObject swig_types[109]
2576 #define SWIGTYPE_p_wxOutputStream swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPlatformInfo swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPowerEvent swig_types[119]
2586 #define SWIGTYPE_p_wxProcessEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyArtProvider swig_types[122]
2589 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[123]
2590 #define SWIGTYPE_p_wxPyCommandEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[125]
2592 #define SWIGTYPE_p_wxPyDropSource swig_types[126]
2593 #define SWIGTYPE_p_wxPyDropTarget swig_types[127]
2594 #define SWIGTYPE_p_wxPyEvent swig_types[128]
2595 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[129]
2596 #define SWIGTYPE_p_wxPyImageHandler swig_types[130]
2597 #define SWIGTYPE_p_wxPyLog swig_types[131]
2598 #define SWIGTYPE_p_wxPyProcess swig_types[132]
2599 #define SWIGTYPE_p_wxPySizer swig_types[133]
2600 #define SWIGTYPE_p_wxPyTextDataObject swig_types[134]
2601 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[135]
2602 #define SWIGTYPE_p_wxPyTimer swig_types[136]
2603 #define SWIGTYPE_p_wxPyTipProvider swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxScrollEvent swig_types[141]
2608 #define SWIGTYPE_p_wxScrollWinEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSetCursorEvent swig_types[143]
2610 #define SWIGTYPE_p_wxShowEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[145]
2612 #define SWIGTYPE_p_wxSize swig_types[146]
2613 #define SWIGTYPE_p_wxSizeEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSizer swig_types[148]
2615 #define SWIGTYPE_p_wxSizerItem swig_types[149]
2616 #define SWIGTYPE_p_wxSound swig_types[150]
2617 #define SWIGTYPE_p_wxStandardPaths swig_types[151]
2618 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStopWatch swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxSystemOptions swig_types[157]
2624 #define SWIGTYPE_p_wxSystemSettings swig_types[158]
2625 #define SWIGTYPE_p_wxTGAHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTIFFHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTextCtrl swig_types[161]
2628 #define SWIGTYPE_p_wxTextDataObject swig_types[162]
2629 #define SWIGTYPE_p_wxTimeSpan swig_types[163]
2630 #define SWIGTYPE_p_wxTimer swig_types[164]
2631 #define SWIGTYPE_p_wxTimerEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTimerRunner swig_types[166]
2633 #define SWIGTYPE_p_wxTipProvider swig_types[167]
2634 #define SWIGTYPE_p_wxToolTip swig_types[168]
2635 #define SWIGTYPE_p_wxURLDataObject swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVideoMode swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDisabler swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _misc_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_misc_
2671 #define SWIG_name "_misc_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2745 #include "wx/wxPython/pyistream.h"
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2801 #include <wx/stockitem.h>
2803 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2804 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2805 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2807 wxMemorySize
wxGetFreeMemory()
2808 { wxPyRaiseNotImplemented(); return 0; }
2812 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2815 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2816 return SWIG_TypeError
;
2819 *val
= (unsigned long)v
;
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2842 SWIGINTERNINLINE PyObject
*
2843 SWIG_From_unsigned_SS_long (unsigned long value
)
2845 return (value
> LONG_MAX
) ?
2846 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2850 void* wxGetXDisplay()
2853 return wxGetDisplay();
2860 wxWindow
* FindWindowAtPointer() {
2862 return wxFindWindowAtPointer(unused
);
2866 void wxWakeUpMainThread() {}
2869 bool wxThread_IsMain() {
2870 #ifdef WXP_WITH_THREAD
2871 return wxThread::IsMain();
2877 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2881 #include <wx/snglinst.h>
2885 #include <wx/msw/private.h>
2886 #include <wx/dynload.h>
2891 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2902 // This one only partially works. Appears to be an undocumented
2903 // "standard" convention that not all widgets adhear to. For
2904 // example, for some widgets backgrounds or non-client areas may
2906 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2911 // This one works much better, nearly all widgets and their
2912 // children are captured correctly[**]. Prior to the big
2913 // background erase changes that Vadim did in 2004-2005 this
2914 // method failed badly on XP with Themes activated, most native
2915 // widgets draw only partially, if at all. Without themes it
2916 // worked just like on Win2k. After those changes this method
2919 // ** For example the radio buttons in a wxRadioBox are not its
2920 // children by default, but you can capture it via the panel
2921 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2922 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2923 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2924 PRF_ERASEBKGND
| PRF_OWNED
);
2930 // This one is only defined in the latest SDK and is only
2931 // available on XP. MSDN says it is similar to sending WM_PRINT
2932 // so I expect that it will work similar to the above. Since it
2933 // is avaialble only on XP, it can't be compiled like this and
2934 // will have to be loaded dynamically.
2935 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2940 // Use PrintWindow if available, or fallback to WM_PRINT
2941 // otherwise. Unfortunately using PrintWindow is even worse than
2942 // WM_PRINT. For most native widgets nothing is drawn to the dc
2943 // at all, with or without Themes.
2944 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2945 static bool s_triedToLoad
= false;
2946 static PrintWindow_t pfnPrintWindow
= NULL
;
2947 if ( !s_triedToLoad
)
2950 s_triedToLoad
= true;
2951 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2952 if ( dllUser32
.IsLoaded() )
2954 wxLogNull nolog
; // Don't report errors here
2955 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2960 //printf("Using PrintWindow\n");
2961 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2965 //printf("Using WM_PRINT\n");
2966 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2967 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2968 PRF_ERASEBKGND
| PRF_OWNED
);
2979 #include <wx/tipdlg.h>
2982 SWIGINTERNINLINE PyObject
*
2983 SWIG_From_size_t (size_t value
)
2985 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2989 class wxPyTipProvider
: public wxTipProvider
{
2991 wxPyTipProvider(size_t currentTip
)
2992 : wxTipProvider(currentTip
) {}
2994 DEC_PYCALLBACK_STRING__pure(GetTip
);
2995 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2999 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
3000 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
3003 SWIGINTERNINLINE
int
3004 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3007 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3008 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3013 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3015 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3017 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3018 : wxTimer(owner
, id
)
3024 wxPyTimer::~wxPyTimer()
3026 // printf("-=* ~wxPyTimer\n");
3031 SWIGINTERN swig_type_info
*
3032 SWIG_pchar_descriptor()
3034 static int init
= 0;
3035 static swig_type_info
* info
= 0;
3037 info
= SWIG_TypeQuery("_p_char");
3044 SWIGINTERNINLINE PyObject
*
3045 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3048 if (size
> INT_MAX
) {
3049 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3050 return pchar_descriptor
?
3051 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3053 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3056 return SWIG_Py_Void();
3061 SWIGINTERNINLINE PyObject
*
3062 SWIG_FromCharPtr(const char *cptr
)
3064 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3069 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3072 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3073 if (SWIG_IsOK(res
)) {
3074 if ((v
> UINT_MAX
)) {
3075 return SWIG_OverflowError
;
3077 if (val
) *val
= static_cast< unsigned int >(v
);
3083 SWIGINTERN wxString
wxLog_TimeStamp(){
3085 wxLog::TimeStamp(&msg
);
3088 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3089 // Make some wrappers that double any % signs so they are 'escaped'
3090 void wxPyLogFatalError(const wxString
& msg
)
3093 m
.Replace(wxT("%"), wxT("%%"));
3097 void wxPyLogError(const wxString
& msg
)
3100 m
.Replace(wxT("%"), wxT("%%"));
3104 void wxPyLogWarning(const wxString
& msg
)
3107 m
.Replace(wxT("%"), wxT("%%"));
3111 void wxPyLogMessage(const wxString
& msg
)
3114 m
.Replace(wxT("%"), wxT("%%"));
3118 void wxPyLogInfo(const wxString
& msg
)
3121 m
.Replace(wxT("%"), wxT("%%"));
3125 void wxPyLogDebug(const wxString
& msg
)
3128 m
.Replace(wxT("%"), wxT("%%"));
3132 void wxPyLogVerbose(const wxString
& msg
)
3135 m
.Replace(wxT("%"), wxT("%%"));
3139 void wxPyLogStatus(const wxString
& msg
)
3142 m
.Replace(wxT("%"), wxT("%%"));
3146 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3149 m
.Replace(wxT("%"), wxT("%%"));
3150 wxLogStatus(pFrame
, m
);
3153 void wxPyLogSysError(const wxString
& msg
)
3156 m
.Replace(wxT("%"), wxT("%%"));
3160 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3163 m
.Replace(wxT("%"), wxT("%%"));
3164 wxLogGeneric(level
, m
);
3167 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3170 m
.Replace(wxT("%"), wxT("%%"));
3171 wxLogTrace(mask
, m
);
3174 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3177 m
.Replace(wxT("%"), wxT("%%"));
3178 wxLogTrace(mask
, m
);
3183 // A wxLog class that can be derived from in wxPython
3184 class wxPyLog
: public wxLog
{
3186 wxPyLog() : wxLog() {}
3188 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3190 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3191 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3192 PyObject
* s
= wx2PyString(szString
);
3193 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3196 wxPyEndBlockThreads(blocked
);
3198 wxLog::DoLog(level
, szString
, t
);
3201 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3205 PyObject
* s
= wx2PyString(szString
);
3206 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3209 wxPyEndBlockThreads(blocked
);
3211 wxLog::DoLogString(szString
, t
);
3214 DEC_PYCALLBACK_VOID_(Flush
);
3217 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3222 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3225 #include <wx/joystick.h>
3228 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3229 // A C++ stub class for wxJoystick for platforms that don't have it.
3230 class wxJoystick
: public wxObject
{
3232 wxJoystick(int joystick
= wxJOYSTICK1
) {
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyErr_SetString(PyExc_NotImplementedError
,
3235 "wxJoystick is not available on this platform.");
3236 wxPyEndBlockThreads(blocked
);
3238 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3239 int GetZPosition() { return -1; }
3240 int GetButtonState() { return -1; }
3241 int GetPOVPosition() { return -1; }
3242 int GetPOVCTSPosition() { return -1; }
3243 int GetRudderPosition() { return -1; }
3244 int GetUPosition() { return -1; }
3245 int GetVPosition() { return -1; }
3246 int GetMovementThreshold() { return -1; }
3247 void SetMovementThreshold(int threshold
) {}
3249 bool IsOk(void) { return false; }
3250 int GetNumberJoysticks() { return -1; }
3251 int GetManufacturerId() { return -1; }
3252 int GetProductId() { return -1; }
3253 wxString
GetProductName() { return wxEmptyString
; }
3254 int GetXMin() { return -1; }
3255 int GetYMin() { return -1; }
3256 int GetZMin() { return -1; }
3257 int GetXMax() { return -1; }
3258 int GetYMax() { return -1; }
3259 int GetZMax() { return -1; }
3260 int GetNumberButtons() { return -1; }
3261 int GetNumberAxes() { return -1; }
3262 int GetMaxButtons() { return -1; }
3263 int GetMaxAxes() { return -1; }
3264 int GetPollingMin() { return -1; }
3265 int GetPollingMax() { return -1; }
3266 int GetRudderMin() { return -1; }
3267 int GetRudderMax() { return -1; }
3268 int GetUMin() { return -1; }
3269 int GetUMax() { return -1; }
3270 int GetVMin() { return -1; }
3271 int GetVMax() { return -1; }
3273 bool HasRudder() { return false; }
3274 bool HasZ() { return false; }
3275 bool HasU() { return false; }
3276 bool HasV() { return false; }
3277 bool HasPOV() { return false; }
3278 bool HasPOV4Dir() { return false; }
3279 bool HasPOVCTS() { return false; }
3281 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3282 bool ReleaseCapture() { return false; }
3287 #include <wx/sound.h>
3291 // A C++ stub class for wxWave for platforms that don't have it.
3292 class wxSound
: public wxObject
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 PyErr_SetString(PyExc_NotImplementedError
,
3298 "wxSound is not available on this platform.");
3299 wxPyEndBlockThreads(blocked
);
3301 wxSound(const wxString
&/*, bool*/) {
3302 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3303 PyErr_SetString(PyExc_NotImplementedError
,
3304 "wxSound is not available on this platform.");
3305 wxPyEndBlockThreads(blocked
);
3307 wxSound(int, const wxByte
*) {
3308 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3309 PyErr_SetString(PyExc_NotImplementedError
,
3310 "wxSound is not available on this platform.");
3311 wxPyEndBlockThreads(blocked
);
3316 bool Create(const wxString
&/*, bool*/) { return false; }
3317 bool Create(int, const wxByte
*) { return false; };
3318 bool IsOk() { return false; };
3319 bool Play(unsigned) const { return false; }
3320 static bool Play(const wxString
&, unsigned) { return false; }
3321 static void Stop() {}
3326 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3327 if (fileName
.Length() == 0)
3330 return new wxSound(fileName
);
3332 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3333 unsigned char* buffer
; int size
;
3334 wxSound
*sound
= NULL
;
3336 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3337 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3339 sound
= new wxSound(size
, buffer
);
3341 wxPyEndBlockThreads(blocked
);
3344 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3346 unsigned char* buffer
;
3350 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3351 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3353 rv
= self
->Create(size
, buffer
);
3355 wxPyEndBlockThreads(blocked
);
3358 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3359 PyErr_SetString(PyExc_NotImplementedError
,
3360 "Create from data is not available on this platform.");
3361 wxPyEndBlockThreads(blocked
);
3366 #include <wx/mimetype.h>
3368 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3370 if (self
->GetMimeType(&str
))
3371 return wx2PyString(str
);
3375 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3377 if (self
->GetMimeTypes(arr
))
3378 return wxArrayString2PyList_helper(arr
);
3382 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3384 if (self
->GetExtensions(arr
))
3385 return wxArrayString2PyList_helper(arr
);
3389 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3391 if (self
->GetIcon(&loc
))
3392 return new wxIcon(loc
);
3396 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3398 if (self
->GetIcon(&loc
)) {
3399 wxString iconFile
= loc
.GetFileName();
3404 // Make a tuple and put the values in it
3405 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3406 PyObject
* tuple
= PyTuple_New(3);
3407 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3408 wxT("wxIcon"), true));
3409 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3410 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3411 wxPyEndBlockThreads(blocked
);
3417 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3419 if (self
->GetDescription(&str
))
3420 return wx2PyString(str
);
3424 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3426 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3427 return wx2PyString(str
);
3431 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3433 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3434 return wx2PyString(str
);
3438 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3439 wxArrayString verbs
;
3440 wxArrayString commands
;
3441 if (self
->GetAllCommands(&verbs
, &commands
,
3442 wxFileType::MessageParameters(filename
, mimetype
))) {
3443 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3444 PyObject
* tuple
= PyTuple_New(2);
3445 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3446 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3447 wxPyEndBlockThreads(blocked
);
3453 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3454 return wxFileType::ExpandCommand(command
,
3455 wxFileType::MessageParameters(filename
, mimetype
));
3457 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3459 self
->EnumAllFileTypes(arr
);
3460 return wxArrayString2PyList_helper(arr
);
3463 #include <wx/artprov.h>
3465 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3466 static const wxString
wxPyART_MENU(wxART_MENU
);
3467 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3468 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3469 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3470 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3471 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3472 static const wxString
wxPyART_LIST(wxART_LIST
);
3473 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3474 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3475 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3476 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3477 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3478 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3479 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3480 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3481 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3482 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3483 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3484 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3485 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3486 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3487 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3488 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3489 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3490 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3491 static const wxString
wxPyART_HELP(wxART_HELP
);
3492 static const wxString
wxPyART_TIP(wxART_TIP
);
3493 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3494 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3495 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3496 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3497 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3498 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3499 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3500 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3501 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3502 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3503 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3504 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3505 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3506 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3507 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3508 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3509 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3510 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3511 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3512 static const wxString
wxPyART_COPY(wxART_COPY
);
3513 static const wxString
wxPyART_CUT(wxART_CUT
);
3514 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3515 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3516 static const wxString
wxPyART_NEW(wxART_NEW
);
3517 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3518 static const wxString
wxPyART_REDO(wxART_REDO
);
3519 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3520 static const wxString
wxPyART_FIND(wxART_FIND
);
3521 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3522 // Python aware wxArtProvider
3523 class wxPyArtProvider
: public wxArtProvider
{
3526 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3527 const wxArtClient
& client
,
3528 const wxSize
& size
) {
3529 wxBitmap rval
= wxNullBitmap
;
3530 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3531 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3532 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3536 s1
= wx2PyString(id
);
3537 s2
= wx2PyString(client
);
3538 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3543 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3548 wxPyEndBlockThreads(blocked
);
3552 virtual wxIconBundle
CreateIconBundle(const wxArtID
& id
,
3553 const wxArtClient
& client
)
3555 wxIconBundle rval
= wxNullIconBundle
;
3556 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3557 if ((wxPyCBH_findCallback(m_myInst
, "CreateIconBundle"))) {
3561 s1
= wx2PyString(id
);
3562 s2
= wx2PyString(client
);
3563 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", s1
, s2
));
3567 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxIconBundle")))
3572 wxPyEndBlockThreads(blocked
);
3579 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3583 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3584 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3585 PyObject
* ret
= PyTuple_New(3);
3587 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3588 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3589 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3591 wxPyEndBlockThreads(blocked
);
3595 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3600 cont
= self
->GetFirstGroup(value
, index
);
3601 return __EnumerationHelper(cont
, value
, index
);
3603 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3607 cont
= self
->GetNextGroup(value
, index
);
3608 return __EnumerationHelper(cont
, value
, index
);
3610 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3615 cont
= self
->GetFirstEntry(value
, index
);
3616 return __EnumerationHelper(cont
, value
, index
);
3618 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3622 cont
= self
->GetNextEntry(value
, index
);
3623 return __EnumerationHelper(cont
, value
, index
);
3625 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3627 self
->Read(key
, &rv
, defaultVal
);
3632 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3634 if (PyNumber_Check(obj
)) {
3635 if (val
) *val
= PyFloat_AsDouble(obj
);
3638 return SWIG_TypeError
;
3641 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3643 self
->Read(key
, &rv
, defaultVal
);
3647 #define SWIG_From_double PyFloat_FromDouble
3649 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3651 self
->Read(key
, &rv
, defaultVal
);
3655 #include <wx/datetime.h>
3657 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3658 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3660 #define LOCAL_TZ wxDateTime::Local
3662 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3665 wxDateTime::GetAmPmStrings(&am
, &pm
);
3666 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3667 PyObject
* tup
= PyTuple_New(2);
3668 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3669 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3670 wxPyEndBlockThreads(blocked
);
3674 SWIGINTERNINLINE PyObject
*
3675 SWIG_From_unsigned_SS_int (unsigned int value
)
3677 return SWIG_From_unsigned_SS_long (value
);
3680 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3681 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3682 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3683 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3684 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3685 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3686 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3687 return (*self
< *other
);
3689 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3690 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3691 return (*self
<= *other
);
3693 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3694 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3695 return (*self
> *other
);
3697 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3698 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3699 return (*self
>= *other
);
3701 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3702 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3703 return (*self
== *other
);
3705 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3706 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3707 return (*self
!= *other
);
3709 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3711 const wxChar
* _date
= date
;
3712 rv
= self
->ParseRfc822Date(_date
);
3713 if (rv
== NULL
) return -1;
3716 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3718 const wxChar
* _date
= date
;
3719 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3720 if (rv
== NULL
) return -1;
3723 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3725 const wxChar
* _datetime
= datetime
;
3726 rv
= self
->ParseDateTime(_datetime
);
3727 if (rv
== NULL
) return -1;
3728 return rv
- _datetime
;
3730 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3732 const wxChar
* _date
= date
;
3733 rv
= self
->ParseDate(_date
);
3734 if (rv
== NULL
) return -1;
3737 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3739 const wxChar
* _time
= time
;
3740 rv
= self
->ParseTime(_time
);
3741 if (rv
== NULL
) return -1;
3744 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3745 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3746 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3747 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3748 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3749 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3750 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3751 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3752 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3753 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3754 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3755 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3756 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3757 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3758 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3759 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3761 #include <wx/dataobj.h>
3763 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3764 size_t count
= self
->GetFormatCount(dir
);
3765 wxDataFormat
* formats
= new wxDataFormat
[count
];
3766 self
->GetAllFormats(formats
, dir
);
3768 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3769 PyObject
* list
= PyList_New(count
);
3770 for (size_t i
=0; i
<count
; i
++) {
3771 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3772 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3773 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3775 wxPyEndBlockThreads(blocked
);
3779 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3780 PyObject
* rval
= NULL
;
3781 size_t size
= self
->GetDataSize(format
);
3782 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3784 char* buf
= new char[size
];
3785 if (self
->GetDataHere(format
, buf
))
3786 rval
= PyString_FromStringAndSize(buf
, size
);
3793 wxPyEndBlockThreads(blocked
);
3796 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3798 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3799 if (PyString_Check(data
)) {
3800 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3803 // raise a TypeError if not a string
3804 PyErr_SetString(PyExc_TypeError
, "String expected.");
3807 wxPyEndBlockThreads(blocked
);
3810 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3811 PyObject
* rval
= NULL
;
3812 size_t size
= self
->GetDataSize();
3813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3815 char* buf
= new char[size
];
3816 if (self
->GetDataHere(buf
))
3817 rval
= PyString_FromStringAndSize(buf
, size
);
3824 wxPyEndBlockThreads(blocked
);
3827 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3829 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3830 if (PyString_Check(data
)) {
3831 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3834 // raise a TypeError if not a string
3835 PyErr_SetString(PyExc_TypeError
, "String expected.");
3838 wxPyEndBlockThreads(blocked
);
3841 // Create a new class for wxPython to use
3842 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3844 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3845 : wxDataObjectSimple(format
) {}
3847 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3848 bool GetDataHere(void *buf
) const;
3849 bool SetData(size_t len
, const void *buf
);
3853 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3855 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3856 // We need to get the data for this object and write it to buf. I think
3857 // the best way to do this for wxPython is to have the Python method
3858 // return either a string or None and then act appropriately with the
3862 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3863 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3865 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3867 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3869 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3873 wxPyEndBlockThreads(blocked
);
3877 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3878 // For this one we simply need to make a string from buf and len
3879 // and send it to the Python method.
3881 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3882 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3883 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3884 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3887 wxPyEndBlockThreads(blocked
);
3891 // Create a new class for wxPython to use
3892 class wxPyTextDataObject
: public wxTextDataObject
{
3894 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3895 : wxTextDataObject(text
) {}
3897 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3898 DEC_PYCALLBACK_STRING__const(GetText
);
3899 DEC_PYCALLBACK__STRING(SetText
);
3903 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3904 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3905 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3908 // Create a new class for wxPython to use
3909 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3911 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3912 : wxBitmapDataObject(bitmap
) {}
3914 wxBitmap
GetBitmap() const;
3915 void SetBitmap(const wxBitmap
& bitmap
);
3919 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3920 wxBitmap
* rval
= &wxNullBitmap
;
3921 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3922 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3925 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3927 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3932 wxPyEndBlockThreads(blocked
);
3936 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3937 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3938 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3939 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3940 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3943 wxPyEndBlockThreads(blocked
);
3946 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3947 return new wxCustomDataObject(wxDataFormat(formatName
));
3949 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3951 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3952 if (PyString_Check(data
)) {
3953 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3956 // raise a TypeError if not a string
3957 PyErr_SetString(PyExc_TypeError
, "String expected.");
3960 wxPyEndBlockThreads(blocked
);
3963 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3965 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3966 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3967 wxPyEndBlockThreads(blocked
);
3971 class wxMetafileDataObject
: public wxDataObjectSimple
3974 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3978 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3981 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3982 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3983 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3984 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3985 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3988 class wxPyTextDropTarget
: public wxTextDropTarget
{
3990 wxPyTextDropTarget() {}
3992 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3994 DEC_PYCALLBACK__(OnLeave
);
3995 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3996 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3997 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3998 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
4003 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
4004 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
4005 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
4008 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
4012 class wxPyFileDropTarget
: public wxFileDropTarget
{
4014 wxPyFileDropTarget() {}
4016 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
4018 DEC_PYCALLBACK__(OnLeave
);
4019 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
4020 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
4021 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
4022 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
4027 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
4028 const wxArrayString
& filenames
) {
4030 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4031 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
4032 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
4033 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
4036 wxPyEndBlockThreads(blocked
);
4042 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4043 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4044 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4045 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4046 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4051 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4053 #include <wx/display.h>
4054 #include <wx/vidmode.h>
4056 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4057 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4060 const wxVideoMode wxDefaultVideoMode
;
4063 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4065 PyObject
* pyList
= NULL
;
4066 wxArrayVideoModes arr
= self
->GetModes(mode
);
4067 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4068 pyList
= PyList_New(0);
4069 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4071 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4072 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4073 PyList_Append(pyList
, pyObj
);
4076 wxPyEndBlockThreads(blocked
);
4079 wxPyRaiseNotImplemented();
4083 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4085 return self
->GetCurrentMode();
4087 wxPyRaiseNotImplemented();
4088 return wxDefaultVideoMode
;
4091 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4093 return self
->ChangeMode(mode
);
4095 wxPyRaiseNotImplemented();
4099 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4103 wxPyRaiseNotImplemented();
4107 #include <wx/stdpaths.h>
4109 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4110 return (wxStandardPaths
*) &wxStandardPaths::Get();
4113 #ifndef wxHAS_POWER_EVENTS
4114 // Dummy class and other definitions for platforms that don't have them
4116 // See wxPython_int.h for wxPowerEvent
4119 wxEVT_POWER_SUSPENDING
,
4120 wxEVT_POWER_SUSPENDED
,
4121 wxEVT_POWER_SUSPEND_CANCEL
,
4125 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4126 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4131 #include <wx/aboutdlg.h>
4136 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
= 0;
4138 wxSystemColour arg1
;
4142 PyObject
* obj0
= 0 ;
4143 char * kwnames
[] = {
4144 (char *) "index", NULL
4147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4149 if (!SWIG_IsOK(ecode1
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4152 arg1
= static_cast< wxSystemColour
>(val1
);
4154 if (!wxPyCheckForApp()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= wxSystemSettings::GetColour(arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4167 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4173 PyObject
* obj0
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "index", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4180 if (!SWIG_IsOK(ecode1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4183 arg1
= static_cast< wxSystemFont
>(val1
);
4185 if (!wxPyCheckForApp()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= wxSystemSettings::GetFont(arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4198 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
= 0;
4200 wxSystemMetric arg1
;
4201 wxWindow
*arg2
= (wxWindow
*) NULL
;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 char * kwnames
[] = {
4210 (char *) "index",(char *) "win", NULL
4213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4215 if (!SWIG_IsOK(ecode1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4218 arg1
= static_cast< wxSystemMetric
>(val1
);
4220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4221 if (!SWIG_IsOK(res2
)) {
4222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4227 if (!wxPyCheckForApp()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_From_int(static_cast< int >(result
));
4240 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
= 0;
4242 wxSystemFeature arg1
;
4246 PyObject
* obj0
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "index", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4253 if (!SWIG_IsOK(ecode1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4256 arg1
= static_cast< wxSystemFeature
>(val1
);
4258 if (!wxPyCheckForApp()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4273 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4274 PyObject
*resultobj
= 0;
4275 wxSystemScreenType result
;
4277 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4279 if (!wxPyCheckForApp()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= SWIG_From_int(static_cast< int >(result
));
4292 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
= 0;
4294 wxSystemScreenType arg1
;
4297 PyObject
* obj0
= 0 ;
4298 char * kwnames
[] = {
4299 (char *) "screen", NULL
4302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4304 if (!SWIG_IsOK(ecode1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4307 arg1
= static_cast< wxSystemScreenType
>(val1
);
4309 if (!wxPyCheckForApp()) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxSystemSettings::SetScreenType(arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4325 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4326 return SWIG_Py_Void();
4329 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4330 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4335 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4336 PyObject
*pyobj
= 0;
4340 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4342 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4349 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4350 PyObject
*resultobj
= 0;
4351 wxSystemOptions
*result
= 0 ;
4353 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 result
= (wxSystemOptions
*)new wxSystemOptions();
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4367 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
= 0;
4369 wxString
*arg1
= 0 ;
4370 wxString
*arg2
= 0 ;
4371 bool temp1
= false ;
4372 bool temp2
= false ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4375 char * kwnames
[] = {
4376 (char *) "name",(char *) "value", NULL
4379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4381 arg1
= wxString_in_helper(obj0
);
4382 if (arg1
== NULL
) SWIG_fail
;
4386 arg2
= wxString_in_helper(obj1
);
4387 if (arg2
== NULL
) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_Py_Void();
4419 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
= 0;
4421 wxString
*arg1
= 0 ;
4423 bool temp1
= false ;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4428 char * kwnames
[] = {
4429 (char *) "name",(char *) "value", NULL
4432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4434 arg1
= wxString_in_helper(obj0
);
4435 if (arg1
== NULL
) SWIG_fail
;
4438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4439 if (!SWIG_IsOK(ecode2
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4442 arg2
= static_cast< int >(val2
);
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_Py_Void();
4464 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= 0;
4466 wxString
*arg1
= 0 ;
4468 bool temp1
= false ;
4469 PyObject
* obj0
= 0 ;
4470 char * kwnames
[] = {
4471 (char *) "name", NULL
4474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4476 arg1
= wxString_in_helper(obj0
);
4477 if (arg1
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4507 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
= 0;
4509 wxString
*arg1
= 0 ;
4511 bool temp1
= false ;
4512 PyObject
* obj0
= 0 ;
4513 char * kwnames
[] = {
4514 (char *) "name", NULL
4517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4519 arg1
= wxString_in_helper(obj0
);
4520 if (arg1
== NULL
) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_From_int(static_cast< int >(result
));
4544 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
= 0;
4546 wxString
*arg1
= 0 ;
4548 bool temp1
= false ;
4549 PyObject
* obj0
= 0 ;
4550 char * kwnames
[] = {
4551 (char *) "name", NULL
4554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4556 arg1
= wxString_in_helper(obj0
);
4557 if (arg1
== NULL
) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4583 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
= 0;
4585 wxString
*arg1
= 0 ;
4587 bool temp1
= false ;
4588 PyObject
* obj0
= 0 ;
4589 char * kwnames
[] = {
4590 (char *) "name", NULL
4593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4595 arg1
= wxString_in_helper(obj0
);
4596 if (arg1
== NULL
) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4622 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4626 return SWIG_Py_Void();
4629 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 return SWIG_Python_InitShadowInstance(args
);
4633 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4634 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4639 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4640 PyObject
*pyobj
= 0;
4644 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4646 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4653 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4654 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4659 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4660 PyObject
*pyobj
= 0;
4664 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4666 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4673 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4674 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4679 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4680 PyObject
*pyobj
= 0;
4684 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4686 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4693 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4694 PyObject
*resultobj
= 0;
4697 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (long)wxNewId();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_From_long(static_cast< long >(result
));
4711 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
= 0;
4716 PyObject
* obj0
= 0 ;
4717 char * kwnames
[] = {
4721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4722 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4723 if (!SWIG_IsOK(ecode1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4726 arg1
= static_cast< long >(val1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_Py_Void();
4740 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4744 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (long)wxGetCurrentId();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_From_long(static_cast< long >(result
));
4758 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
= 0;
4764 PyObject
* obj0
= 0 ;
4765 char * kwnames
[] = {
4769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4771 if (!SWIG_IsOK(ecode1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4774 arg1
= static_cast< int >(val1
);
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (bool)wxIsStockID(arg1
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4790 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
= 0;
4793 wxString
*arg2
= 0 ;
4797 bool temp2
= false ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "id",(char *) "label", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4806 if (!SWIG_IsOK(ecode1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4809 arg1
= static_cast< int >(val1
);
4811 arg2
= wxString_in_helper(obj1
);
4812 if (arg2
== NULL
) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4838 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
= 0;
4841 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4847 PyObject
* obj0
= 0 ;
4848 PyObject
* obj1
= 0 ;
4849 char * kwnames
[] = {
4850 (char *) "id",(char *) "flags", NULL
4853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4855 if (!SWIG_IsOK(ecode1
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4858 arg1
= static_cast< int >(val1
);
4860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4861 if (!SWIG_IsOK(ecode2
)) {
4862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4864 arg2
= static_cast< long >(val2
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= wxGetStockLabel(arg1
,arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4885 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
= 0;
4888 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4896 char * kwnames
[] = {
4897 (char *) "id",(char *) "client", NULL
4900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4902 if (!SWIG_IsOK(ecode1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4905 arg1
= static_cast< int >(val1
);
4907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4908 if (!SWIG_IsOK(ecode2
)) {
4909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4911 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= wxGetStockHelpString(arg1
,arg2
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4932 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4935 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4937 if (!wxPyCheckForApp()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_Py_Void();
4950 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4951 PyObject
*resultobj
= 0;
4953 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4955 if (!wxPyCheckForApp()) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_Py_Void();
4968 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4972 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (bool)wxIsBusy();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4988 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4992 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5012 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
= 0;
5014 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5015 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5017 bool temp1
= false ;
5018 PyObject
* obj0
= 0 ;
5019 char * kwnames
[] = {
5020 (char *) "command", NULL
5023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5026 arg1
= wxString_in_helper(obj0
);
5027 if (arg1
== NULL
) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (bool)wxShell((wxString
const &)*arg1
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5054 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 PyObject
*resultobj
= 0;
5056 int *arg1
= (int *) 0 ;
5057 int *arg2
= (int *) 0 ;
5060 int res1
= SWIG_TMPOBJ
;
5062 int res2
= SWIG_TMPOBJ
;
5066 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (int)wxGetOsVersion(arg1
,arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_From_int(static_cast< int >(result
));
5074 if (SWIG_IsTmpObj(res1
)) {
5075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5077 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5080 if (SWIG_IsTmpObj(res2
)) {
5081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5083 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5092 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5093 PyObject
*resultobj
= 0;
5096 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= wxGetOsDescription();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5116 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5120 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)wxIsPlatformLittleEndian();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5136 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5137 PyObject
*resultobj
= 0;
5140 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)wxIsPlatform64Bit();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5156 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxMemorySize result
;
5160 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= wxGetFreeMemory();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5171 resultobj
= PyInt_FromLong(result
);
5180 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
= 0;
5182 wxShutdownFlags arg1
;
5186 PyObject
* obj0
= 0 ;
5187 char * kwnames
[] = {
5188 (char *) "wFlags", NULL
5191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5193 if (!SWIG_IsOK(ecode1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5196 arg1
= static_cast< wxShutdownFlags
>(val1
);
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (bool)wxShutdown(arg1
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5213 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5218 PyObject
* obj0
= 0 ;
5219 char * kwnames
[] = {
5220 (char *) "secs", NULL
5223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5225 if (!SWIG_IsOK(ecode1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5228 arg1
= static_cast< int >(val1
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_Py_Void();
5242 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
= 0;
5244 unsigned long arg1
;
5245 unsigned long val1
;
5247 PyObject
* obj0
= 0 ;
5248 char * kwnames
[] = {
5249 (char *) "milliseconds", NULL
5252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5254 if (!SWIG_IsOK(ecode1
)) {
5255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5257 arg1
= static_cast< unsigned long >(val1
);
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_Py_Void();
5271 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
= 0;
5273 unsigned long arg1
;
5274 unsigned long val1
;
5276 PyObject
* obj0
= 0 ;
5277 char * kwnames
[] = {
5278 (char *) "microseconds", NULL
5281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5282 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5283 if (!SWIG_IsOK(ecode1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5286 arg1
= static_cast< unsigned long >(val1
);
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5305 PyObject
* obj0
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "enable", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5311 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5312 if (!SWIG_IsOK(ecode1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5315 arg1
= static_cast< bool >(val1
);
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxEnableTopLevelWindows(arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_Py_Void();
5329 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
= 0;
5331 wxString
*arg1
= 0 ;
5333 bool temp1
= false ;
5334 PyObject
* obj0
= 0 ;
5335 char * kwnames
[] = {
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5341 arg1
= wxString_in_helper(obj0
);
5342 if (arg1
== NULL
) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5372 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5373 PyObject
*resultobj
= 0;
5376 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= wxGetEmailAddress();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5396 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5400 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= wxGetHostName();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5420 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5421 PyObject
*resultobj
= 0;
5424 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= wxGetFullHostName();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5444 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5445 PyObject
*resultobj
= 0;
5448 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= wxGetUserId();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5468 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5472 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= wxGetUserName();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5492 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5493 PyObject
*resultobj
= 0;
5496 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= wxGetHomeDir();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5516 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
= 0;
5518 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5519 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5521 bool temp1
= false ;
5522 PyObject
* obj0
= 0 ;
5523 char * kwnames
[] = {
5524 (char *) "user", NULL
5527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5530 arg1
= wxString_in_helper(obj0
);
5531 if (arg1
== NULL
) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= wxGetUserHome((wxString
const &)*arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5562 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5563 PyObject
*resultobj
= 0;
5564 unsigned long result
;
5566 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (unsigned long)wxGetProcessId();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5580 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5581 PyObject
*resultobj
= 0;
5583 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_Py_Void();
5597 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= 0;
5599 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5600 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5601 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5602 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5607 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5608 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5609 int arg6
= (int) 0 ;
5610 wxWindow
*arg7
= (wxWindow
*) NULL
;
5611 int arg8
= (int) -1 ;
5612 int arg9
= (int) -1 ;
5614 bool temp1
= false ;
5615 bool temp2
= false ;
5616 bool temp3
= false ;
5617 bool temp4
= false ;
5618 bool temp5
= false ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 PyObject
* obj2
= 0 ;
5630 PyObject
* obj3
= 0 ;
5631 PyObject
* obj4
= 0 ;
5632 PyObject
* obj5
= 0 ;
5633 PyObject
* obj6
= 0 ;
5634 PyObject
* obj7
= 0 ;
5635 PyObject
* obj8
= 0 ;
5636 char * kwnames
[] = {
5637 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5643 arg1
= wxString_in_helper(obj0
);
5644 if (arg1
== NULL
) SWIG_fail
;
5650 arg2
= wxString_in_helper(obj1
);
5651 if (arg2
== NULL
) SWIG_fail
;
5657 arg3
= wxString_in_helper(obj2
);
5658 if (arg3
== NULL
) SWIG_fail
;
5664 arg4
= wxString_in_helper(obj3
);
5665 if (arg4
== NULL
) SWIG_fail
;
5671 arg5
= wxString_in_helper(obj4
);
5672 if (arg5
== NULL
) SWIG_fail
;
5677 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5678 if (!SWIG_IsOK(ecode6
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5681 arg6
= static_cast< int >(val6
);
5684 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res7
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5688 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5691 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5692 if (!SWIG_IsOK(ecode8
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5695 arg8
= static_cast< int >(val8
);
5698 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5699 if (!SWIG_IsOK(ecode9
)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5702 arg9
= static_cast< int >(val9
);
5705 if (!wxPyCheckForApp()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxString
*arg1
= 0 ;
5767 wxString
*arg2
= 0 ;
5768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5770 wxWindow
*arg4
= (wxWindow
*) NULL
;
5772 bool temp1
= false ;
5773 bool temp2
= false ;
5774 bool temp3
= false ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 PyObject
* obj2
= 0 ;
5780 PyObject
* obj3
= 0 ;
5781 char * kwnames
[] = {
5782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5787 arg1
= wxString_in_helper(obj0
);
5788 if (arg1
== NULL
) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5798 arg3
= wxString_in_helper(obj2
);
5799 if (arg3
== NULL
) SWIG_fail
;
5804 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5805 if (!SWIG_IsOK(res4
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5808 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5811 if (!wxPyCheckForApp()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxString
*arg1
= 0 ;
5857 wxString
*arg2
= 0 ;
5858 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5859 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5860 wxWindow
*arg4
= (wxWindow
*) NULL
;
5862 bool temp1
= false ;
5863 bool temp2
= false ;
5864 bool temp3
= false ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5869 PyObject
* obj2
= 0 ;
5870 PyObject
* obj3
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5877 arg1
= wxString_in_helper(obj0
);
5878 if (arg1
== NULL
) SWIG_fail
;
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5888 arg3
= wxString_in_helper(obj2
);
5889 if (arg3
== NULL
) SWIG_fail
;
5894 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5895 if (!SWIG_IsOK(res4
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5898 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5944 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5946 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5947 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5948 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5949 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5950 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5953 wxWindow
*arg5
= (wxWindow
*) NULL
;
5955 bool temp1
= false ;
5956 bool temp2
= false ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5966 PyObject
* obj4
= 0 ;
5967 char * kwnames
[] = {
5968 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5974 arg1
= wxString_in_helper(obj0
);
5975 if (arg1
== NULL
) SWIG_fail
;
5981 arg2
= wxString_in_helper(obj1
);
5982 if (arg2
== NULL
) SWIG_fail
;
5987 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5988 if (!SWIG_IsOK(ecode3
)) {
5989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5991 arg3
= static_cast< long >(val3
);
5996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6000 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6001 if (!SWIG_IsOK(res5
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6004 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6007 if (!wxPyCheckForApp()) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6042 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
= 0;
6044 wxString
*arg1
= 0 ;
6045 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6046 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6049 wxWindow
*arg4
= (wxWindow
*) NULL
;
6050 int arg5
= (int) -1 ;
6051 int arg6
= (int) -1 ;
6052 bool arg7
= (bool) true ;
6054 bool temp1
= false ;
6055 bool temp2
= false ;
6056 bool temp3
= false ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 PyObject
* obj2
= 0 ;
6068 PyObject
* obj3
= 0 ;
6069 PyObject
* obj4
= 0 ;
6070 PyObject
* obj5
= 0 ;
6071 PyObject
* obj6
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6078 arg1
= wxString_in_helper(obj0
);
6079 if (arg1
== NULL
) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6091 arg3
= wxString_in_helper(obj2
);
6092 if (arg3
== NULL
) SWIG_fail
;
6097 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6098 if (!SWIG_IsOK(res4
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6101 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6104 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6105 if (!SWIG_IsOK(ecode5
)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6108 arg5
= static_cast< int >(val5
);
6111 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6112 if (!SWIG_IsOK(ecode6
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6115 arg6
= static_cast< int >(val6
);
6118 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6119 if (!SWIG_IsOK(ecode7
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6122 arg7
= static_cast< bool >(val7
);
6125 if (!wxPyCheckForApp()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6168 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
= 0;
6170 wxString
*arg1
= 0 ;
6171 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6172 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6175 wxWindow
*arg4
= (wxWindow
*) NULL
;
6177 bool temp1
= false ;
6178 bool temp2
= false ;
6179 bool temp3
= false ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6184 PyObject
* obj2
= 0 ;
6185 PyObject
* obj3
= 0 ;
6186 char * kwnames
[] = {
6187 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6192 arg1
= wxString_in_helper(obj0
);
6193 if (arg1
== NULL
) SWIG_fail
;
6198 arg2
= wxString_in_helper(obj1
);
6199 if (arg2
== NULL
) SWIG_fail
;
6205 arg3
= wxString_in_helper(obj2
);
6206 if (arg3
== NULL
) SWIG_fail
;
6211 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res4
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6215 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6218 if (!wxPyCheckForApp()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6261 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxString
*arg1
= 0 ;
6264 wxString
*arg2
= 0 ;
6266 wxString
*arg4
= (wxString
*) 0 ;
6267 wxWindow
*arg5
= (wxWindow
*) NULL
;
6268 int arg6
= (int) -1 ;
6269 int arg7
= (int) -1 ;
6270 bool arg8
= (bool) true ;
6271 int arg9
= (int) 150 ;
6272 int arg10
= (int) 200 ;
6274 bool temp1
= false ;
6275 bool temp2
= false ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 PyObject
* obj2
= 0 ;
6291 PyObject
* obj3
= 0 ;
6292 PyObject
* obj4
= 0 ;
6293 PyObject
* obj5
= 0 ;
6294 PyObject
* obj6
= 0 ;
6295 PyObject
* obj7
= 0 ;
6296 PyObject
* obj8
= 0 ;
6297 char * kwnames
[] = {
6298 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6303 arg1
= wxString_in_helper(obj0
);
6304 if (arg1
== NULL
) SWIG_fail
;
6308 arg2
= wxString_in_helper(obj1
);
6309 if (arg2
== NULL
) SWIG_fail
;
6313 arg3
= PyList_Size(obj2
);
6314 arg4
= wxString_LIST_helper(obj2
);
6315 if (arg4
== NULL
) SWIG_fail
;
6318 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6319 if (!SWIG_IsOK(res5
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6322 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6325 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6326 if (!SWIG_IsOK(ecode6
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6329 arg6
= static_cast< int >(val6
);
6332 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6333 if (!SWIG_IsOK(ecode7
)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6336 arg7
= static_cast< int >(val7
);
6339 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6340 if (!SWIG_IsOK(ecode8
)) {
6341 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6343 arg8
= static_cast< bool >(val8
);
6346 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6347 if (!SWIG_IsOK(ecode9
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6350 arg9
= static_cast< int >(val9
);
6353 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6354 if (!SWIG_IsOK(ecode10
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6357 arg10
= static_cast< int >(val10
);
6360 if (!wxPyCheckForApp()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6382 if (arg4
) delete [] arg4
;
6395 if (arg4
) delete [] arg4
;
6401 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxString
*arg1
= 0 ;
6404 wxString
*arg2
= 0 ;
6406 wxString
*arg4
= (wxString
*) 0 ;
6407 wxWindow
*arg5
= (wxWindow
*) NULL
;
6408 int arg6
= (int) -1 ;
6409 int arg7
= (int) -1 ;
6410 bool arg8
= (bool) true ;
6411 int arg9
= (int) 150 ;
6412 int arg10
= (int) 200 ;
6414 bool temp1
= false ;
6415 bool temp2
= false ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6431 PyObject
* obj3
= 0 ;
6432 PyObject
* obj4
= 0 ;
6433 PyObject
* obj5
= 0 ;
6434 PyObject
* obj6
= 0 ;
6435 PyObject
* obj7
= 0 ;
6436 PyObject
* obj8
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6443 arg1
= wxString_in_helper(obj0
);
6444 if (arg1
== NULL
) SWIG_fail
;
6448 arg2
= wxString_in_helper(obj1
);
6449 if (arg2
== NULL
) SWIG_fail
;
6453 arg3
= PyList_Size(obj2
);
6454 arg4
= wxString_LIST_helper(obj2
);
6455 if (arg4
== NULL
) SWIG_fail
;
6458 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6459 if (!SWIG_IsOK(res5
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6462 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6465 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6466 if (!SWIG_IsOK(ecode6
)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6469 arg6
= static_cast< int >(val6
);
6472 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6473 if (!SWIG_IsOK(ecode7
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6476 arg7
= static_cast< int >(val7
);
6479 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6480 if (!SWIG_IsOK(ecode8
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6483 arg8
= static_cast< bool >(val8
);
6486 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6487 if (!SWIG_IsOK(ecode9
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6490 arg9
= static_cast< int >(val9
);
6493 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6494 if (!SWIG_IsOK(ecode10
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6497 arg10
= static_cast< int >(val10
);
6500 if (!wxPyCheckForApp()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int(static_cast< int >(result
));
6516 if (arg4
) delete [] arg4
;
6529 if (arg4
) delete [] arg4
;
6535 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
= 0;
6537 wxString
*arg1
= 0 ;
6538 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6539 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6540 int arg3
= (int) wxOK
|wxCENTRE
;
6541 wxWindow
*arg4
= (wxWindow
*) NULL
;
6542 int arg5
= (int) -1 ;
6543 int arg6
= (int) -1 ;
6545 bool temp1
= false ;
6546 bool temp2
= false ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6557 PyObject
* obj2
= 0 ;
6558 PyObject
* obj3
= 0 ;
6559 PyObject
* obj4
= 0 ;
6560 PyObject
* obj5
= 0 ;
6561 char * kwnames
[] = {
6562 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6567 arg1
= wxString_in_helper(obj0
);
6568 if (arg1
== NULL
) SWIG_fail
;
6573 arg2
= wxString_in_helper(obj1
);
6574 if (arg2
== NULL
) SWIG_fail
;
6579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6580 if (!SWIG_IsOK(ecode3
)) {
6581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6583 arg3
= static_cast< int >(val3
);
6586 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6587 if (!SWIG_IsOK(res4
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6590 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6594 if (!SWIG_IsOK(ecode5
)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6597 arg5
= static_cast< int >(val5
);
6600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6601 if (!SWIG_IsOK(ecode6
)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6604 arg6
= static_cast< int >(val6
);
6607 if (!wxPyCheckForApp()) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_From_int(static_cast< int >(result
));
6636 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
= 0;
6638 wxString
*arg1
= 0 ;
6639 wxString
*arg2
= 0 ;
6640 wxString
*arg3
= 0 ;
6642 long arg5
= (long) 0 ;
6643 long arg6
= (long) 100 ;
6644 wxWindow
*arg7
= (wxWindow
*) NULL
;
6645 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6646 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6648 bool temp1
= false ;
6649 bool temp2
= false ;
6650 bool temp3
= false ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 PyObject
* obj2
= 0 ;
6663 PyObject
* obj3
= 0 ;
6664 PyObject
* obj4
= 0 ;
6665 PyObject
* obj5
= 0 ;
6666 PyObject
* obj6
= 0 ;
6667 PyObject
* obj7
= 0 ;
6668 char * kwnames
[] = {
6669 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6674 arg1
= wxString_in_helper(obj0
);
6675 if (arg1
== NULL
) SWIG_fail
;
6679 arg2
= wxString_in_helper(obj1
);
6680 if (arg2
== NULL
) SWIG_fail
;
6684 arg3
= wxString_in_helper(obj2
);
6685 if (arg3
== NULL
) SWIG_fail
;
6688 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6689 if (!SWIG_IsOK(ecode4
)) {
6690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6692 arg4
= static_cast< long >(val4
);
6694 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6695 if (!SWIG_IsOK(ecode5
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6698 arg5
= static_cast< long >(val5
);
6701 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6702 if (!SWIG_IsOK(ecode6
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6705 arg6
= static_cast< long >(val6
);
6708 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6709 if (!SWIG_IsOK(res7
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6712 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6717 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6721 if (!wxPyCheckForApp()) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_From_long(static_cast< long >(result
));
6758 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6759 PyObject
*resultobj
= 0;
6762 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6764 if (!wxPyCheckForApp()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (bool)wxColourDisplay();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6779 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6780 PyObject
*resultobj
= 0;
6783 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6785 if (!wxPyCheckForApp()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (int)wxDisplayDepth();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_From_int(static_cast< int >(result
));
6798 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 PyObject
*resultobj
= 0;
6802 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6804 if (!wxPyCheckForApp()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (int)wxGetDisplayDepth();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_From_int(static_cast< int >(result
));
6817 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6818 PyObject
*resultobj
= 0;
6819 int *arg1
= (int *) 0 ;
6820 int *arg2
= (int *) 0 ;
6822 int res1
= SWIG_TMPOBJ
;
6824 int res2
= SWIG_TMPOBJ
;
6828 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6830 if (!wxPyCheckForApp()) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxDisplaySize(arg1
,arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_Py_Void();
6837 if (SWIG_IsTmpObj(res1
)) {
6838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6840 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6843 if (SWIG_IsTmpObj(res2
)) {
6844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6846 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6855 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6859 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6861 if (!wxPyCheckForApp()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= wxGetDisplaySize();
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6874 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6875 PyObject
*resultobj
= 0;
6876 int *arg1
= (int *) 0 ;
6877 int *arg2
= (int *) 0 ;
6879 int res1
= SWIG_TMPOBJ
;
6881 int res2
= SWIG_TMPOBJ
;
6885 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6887 if (!wxPyCheckForApp()) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxDisplaySizeMM(arg1
,arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_Py_Void();
6894 if (SWIG_IsTmpObj(res1
)) {
6895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6897 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6900 if (SWIG_IsTmpObj(res2
)) {
6901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6903 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6912 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6913 PyObject
*resultobj
= 0;
6916 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6918 if (!wxPyCheckForApp()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= wxGetDisplaySizeMM();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6931 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 PyObject
*resultobj
= 0;
6933 int *arg1
= (int *) 0 ;
6934 int *arg2
= (int *) 0 ;
6935 int *arg3
= (int *) 0 ;
6936 int *arg4
= (int *) 0 ;
6938 int res1
= SWIG_TMPOBJ
;
6940 int res2
= SWIG_TMPOBJ
;
6942 int res3
= SWIG_TMPOBJ
;
6944 int res4
= SWIG_TMPOBJ
;
6950 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_Py_Void();
6959 if (SWIG_IsTmpObj(res1
)) {
6960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6962 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6965 if (SWIG_IsTmpObj(res2
)) {
6966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6968 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6971 if (SWIG_IsTmpObj(res3
)) {
6972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6974 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6977 if (SWIG_IsTmpObj(res4
)) {
6978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6980 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6989 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6990 PyObject
*resultobj
= 0;
6993 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6995 if (!wxPyCheckForApp()) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= wxGetClientDisplayRect();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7008 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
= 0;
7010 wxCursor
*arg1
= 0 ;
7013 PyObject
* obj0
= 0 ;
7014 char * kwnames
[] = {
7015 (char *) "cursor", NULL
7018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7026 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7028 if (!wxPyCheckForApp()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7042 PyObject
*resultobj
= 0;
7045 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7047 if (!wxPyCheckForApp()) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (void *)wxGetXDisplay();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7060 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7065 PyObject
* obj0
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "cursor", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7076 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7079 if (!wxPyCheckForApp()) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 wxBeginBusyCursor(arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_Py_Void();
7092 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7093 PyObject
*resultobj
= 0;
7096 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7098 if (!wxPyCheckForApp()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= wxGetMousePosition();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7111 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 PyObject
*resultobj
= 0;
7113 wxWindow
*result
= 0 ;
7115 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7117 if (!wxPyCheckForApp()) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (wxWindow
*)FindWindowAtPointer();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= wxPyMake_wxObject(result
, 0);
7132 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxWindow
*result
= 0 ;
7136 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7138 if (!wxPyCheckForApp()) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (wxWindow
*)wxGetActiveWindow();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= wxPyMake_wxObject(result
, 0);
7153 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= 0;
7156 wxWindow
*result
= 0 ;
7158 PyObject
* obj0
= 0 ;
7159 char * kwnames
[] = {
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7166 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7169 if (!wxPyCheckForApp()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= wxPyMake_wxObject(result
, 0);
7184 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7187 wxWindow
*result
= 0 ;
7189 PyObject
* obj0
= 0 ;
7190 char * kwnames
[] = {
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7197 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7200 if (!wxPyCheckForApp()) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= wxPyMake_wxObject(result
, 0);
7215 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
= 0;
7217 wxWindow
*arg1
= (wxWindow
*) 0 ;
7218 wxWindow
*result
= 0 ;
7221 PyObject
* obj0
= 0 ;
7222 char * kwnames
[] = {
7223 (char *) "win", NULL
7226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7228 if (!SWIG_IsOK(res1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7233 if (!wxPyCheckForApp()) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= wxPyMake_wxObject(result
, 0);
7248 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
= 0;
7250 wxString
*arg1
= 0 ;
7252 bool temp1
= false ;
7253 PyObject
* obj0
= 0 ;
7254 char * kwnames
[] = {
7255 (char *) "url", NULL
7258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7260 arg1
= wxString_in_helper(obj0
);
7261 if (arg1
== NULL
) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7287 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
= 0;
7293 PyObject
* obj0
= 0 ;
7294 char * kwnames
[] = {
7295 (char *) "key", NULL
7298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7300 if (!SWIG_IsOK(ecode1
)) {
7301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7303 arg1
= static_cast< wxKeyCode
>(val1
);
7305 if (!wxPyCheckForApp()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (bool)wxGetKeyState(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 PyObject
*resultobj
= 0;
7322 wxMouseState
*result
= 0 ;
7324 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (wxMouseState
*)new wxMouseState();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7338 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7351 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_Py_Void();
7366 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7372 PyObject
*swig_obj
[1] ;
7374 if (!args
) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7380 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (int)(arg1
)->GetX();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_From_int(static_cast< int >(result
));
7394 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7408 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (int)(arg1
)->GetY();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_From_int(static_cast< int >(result
));
7422 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 PyObject
*resultobj
= 0;
7424 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7428 PyObject
*swig_obj
[1] ;
7430 if (!args
) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7436 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->LeftDown();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7453 PyObject
*resultobj
= 0;
7454 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7458 PyObject
*swig_obj
[1] ;
7460 if (!args
) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7466 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 result
= (bool)(arg1
)->MiddleDown();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7482 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 PyObject
*resultobj
= 0;
7484 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7488 PyObject
*swig_obj
[1] ;
7490 if (!args
) SWIG_fail
;
7492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7493 if (!SWIG_IsOK(res1
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7496 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (bool)(arg1
)->RightDown();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7518 PyObject
*swig_obj
[1] ;
7520 if (!args
) SWIG_fail
;
7522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7523 if (!SWIG_IsOK(res1
)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7526 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (bool)(arg1
)->ControlDown();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7542 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7548 PyObject
*swig_obj
[1] ;
7550 if (!args
) SWIG_fail
;
7552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7553 if (!SWIG_IsOK(res1
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7556 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)(arg1
)->ShiftDown();
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7572 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7578 PyObject
*swig_obj
[1] ;
7580 if (!args
) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7586 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (bool)(arg1
)->AltDown();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7602 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7608 PyObject
*swig_obj
[1] ;
7610 if (!args
) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7616 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)(arg1
)->MetaDown();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7632 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 PyObject
*resultobj
= 0;
7634 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7638 PyObject
*swig_obj
[1] ;
7640 if (!args
) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7646 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)(arg1
)->CmdDown();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
= 0;
7664 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "self",(char *) "x", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7678 if (!SWIG_IsOK(res1
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7681 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7683 if (!SWIG_IsOK(ecode2
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7686 arg2
= static_cast< int >(val2
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "y", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7719 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
= 0;
7740 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 char * kwnames
[] = {
7749 (char *) "self",(char *) "down", NULL
7752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7757 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7759 if (!SWIG_IsOK(ecode2
)) {
7760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7762 arg2
= static_cast< bool >(val2
);
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->SetLeftDown(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_Py_Void();
7776 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
= 0;
7778 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "self",(char *) "down", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7795 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7797 if (!SWIG_IsOK(ecode2
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7800 arg2
= static_cast< bool >(val2
);
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetMiddleDown(arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_Py_Void();
7814 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "self",(char *) "down", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7833 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7835 if (!SWIG_IsOK(ecode2
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7838 arg2
= static_cast< bool >(val2
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetRightDown(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_Py_Void();
7852 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= 0;
7854 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "down", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7871 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7873 if (!SWIG_IsOK(ecode2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7876 arg2
= static_cast< bool >(val2
);
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->SetControlDown(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_Py_Void();
7890 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
= 0;
7892 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "self",(char *) "down", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7909 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7911 if (!SWIG_IsOK(ecode2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7914 arg2
= static_cast< bool >(val2
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->SetShiftDown(arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_Py_Void();
7928 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "down", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7947 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7952 arg2
= static_cast< bool >(val2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->SetAltDown(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 char * kwnames
[] = {
7977 (char *) "self",(char *) "down", NULL
7980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7985 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7987 if (!SWIG_IsOK(ecode2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7990 arg2
= static_cast< bool >(val2
);
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetMetaDown(arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_Py_Void();
8004 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8008 return SWIG_Py_Void();
8011 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 return SWIG_Python_InitShadowInstance(args
);
8015 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8016 PyObject
*resultobj
= 0;
8017 wxMouseState result
;
8019 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= wxGetMouseState();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8033 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8036 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxWakeUpMainThread();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_Py_Void();
8051 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 PyObject
*resultobj
= 0;
8054 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8056 if (!wxPyCheckForApp()) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_Py_Void();
8069 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 PyObject
*resultobj
= 0;
8072 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8074 if (!wxPyCheckForApp()) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_Py_Void();
8087 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8088 PyObject
*resultobj
= 0;
8089 wxMutexGuiLocker
*result
= 0 ;
8091 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8093 if (!wxPyCheckForApp()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8106 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8111 PyObject
*swig_obj
[1] ;
8113 if (!args
) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8119 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_Py_Void();
8134 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8137 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8138 return SWIG_Py_Void();
8141 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8142 return SWIG_Python_InitShadowInstance(args
);
8145 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 PyObject
*resultobj
= 0;
8149 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)wxThread_IsMain();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxString
*arg1
= 0 ;
8168 wxToolTip
*result
= 0 ;
8169 bool temp1
= false ;
8170 PyObject
* obj0
= 0 ;
8171 char * kwnames
[] = {
8172 (char *) "tip", NULL
8175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8177 arg1
= wxString_in_helper(obj0
);
8178 if (arg1
== NULL
) SWIG_fail
;
8182 if (!wxPyCheckForApp()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8203 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8204 PyObject
*resultobj
= 0;
8205 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8208 PyObject
*swig_obj
[1] ;
8210 if (!args
) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8216 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_Py_Void();
8231 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8234 wxString
*arg2
= 0 ;
8237 bool temp2
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 char * kwnames
[] = {
8241 (char *) "self",(char *) "tip", NULL
8244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8249 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8251 arg2
= wxString_in_helper(obj1
);
8252 if (arg2
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetTip((wxString
const &)*arg2
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= SWIG_Py_Void();
8276 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 PyObject
*resultobj
= 0;
8278 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8282 PyObject
*swig_obj
[1] ;
8284 if (!args
) SWIG_fail
;
8286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8287 if (!SWIG_IsOK(res1
)) {
8288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8290 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (arg1
)->GetTip();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8310 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 PyObject
*resultobj
= 0;
8312 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8313 wxWindow
*result
= 0 ;
8316 PyObject
*swig_obj
[1] ;
8318 if (!args
) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8324 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxWindow
*)(arg1
)->GetWindow();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= wxPyMake_wxObject(result
, 0);
8340 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8345 PyObject
* obj0
= 0 ;
8346 char * kwnames
[] = {
8347 (char *) "flag", NULL
8350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8351 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8352 if (!SWIG_IsOK(ecode1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8355 arg1
= static_cast< bool >(val1
);
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxToolTip::Enable(arg1
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_Py_Void();
8369 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= 0;
8374 PyObject
* obj0
= 0 ;
8375 char * kwnames
[] = {
8376 (char *) "milliseconds", NULL
8379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8380 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8381 if (!SWIG_IsOK(ecode1
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8384 arg1
= static_cast< long >(val1
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxToolTip::SetDelay(arg1
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8401 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8402 return SWIG_Py_Void();
8405 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8406 return SWIG_Python_InitShadowInstance(args
);
8409 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
= 0;
8411 wxWindow
*arg1
= (wxWindow
*) 0 ;
8413 wxCaret
*result
= 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 char * kwnames
[] = {
8420 (char *) "window",(char *) "size", NULL
8423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8447 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8448 PyObject
*resultobj
= 0;
8449 wxCaret
*arg1
= (wxCaret
*) 0 ;
8452 PyObject
*swig_obj
[1] ;
8454 if (!args
) SWIG_fail
;
8456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8457 if (!SWIG_IsOK(res1
)) {
8458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8460 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_Py_Void();
8475 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 PyObject
*resultobj
= 0;
8477 wxCaret
*arg1
= (wxCaret
*) 0 ;
8480 PyObject
*swig_obj
[1] ;
8482 if (!args
) SWIG_fail
;
8484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8485 if (!SWIG_IsOK(res1
)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8488 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxCaret_Destroy(arg1
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_Py_Void();
8502 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxCaret
*arg1
= (wxCaret
*) 0 ;
8508 PyObject
*swig_obj
[1] ;
8510 if (!args
) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8516 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (bool)(arg1
)->IsOk();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8532 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxCaret
*arg1
= (wxCaret
*) 0 ;
8538 PyObject
*swig_obj
[1] ;
8540 if (!args
) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8546 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->IsVisible();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8562 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxCaret
*arg1
= (wxCaret
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8576 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->GetPosition();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8590 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8591 PyObject
*resultobj
= 0;
8592 wxCaret
*arg1
= (wxCaret
*) 0 ;
8593 int *arg2
= (int *) 0 ;
8594 int *arg3
= (int *) 0 ;
8598 int res2
= SWIG_TMPOBJ
;
8600 int res3
= SWIG_TMPOBJ
;
8601 PyObject
*swig_obj
[1] ;
8605 if (!args
) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8611 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 (arg1
)->GetPosition(arg2
,arg3
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_Py_Void();
8619 if (SWIG_IsTmpObj(res2
)) {
8620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8622 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8625 if (SWIG_IsTmpObj(res3
)) {
8626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8628 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8637 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxCaret
*arg1
= (wxCaret
*) 0 ;
8643 PyObject
*swig_obj
[1] ;
8645 if (!args
) SWIG_fail
;
8647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8648 if (!SWIG_IsOK(res1
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8651 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (arg1
)->GetSize();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8665 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxCaret
*arg1
= (wxCaret
*) 0 ;
8668 int *arg2
= (int *) 0 ;
8669 int *arg3
= (int *) 0 ;
8673 int res2
= SWIG_TMPOBJ
;
8675 int res3
= SWIG_TMPOBJ
;
8676 PyObject
*swig_obj
[1] ;
8680 if (!args
) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8686 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->GetSize(arg2
,arg3
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8694 if (SWIG_IsTmpObj(res2
)) {
8695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8697 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8700 if (SWIG_IsTmpObj(res3
)) {
8701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8712 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8713 PyObject
*resultobj
= 0;
8714 wxCaret
*arg1
= (wxCaret
*) 0 ;
8715 wxWindow
*result
= 0 ;
8718 PyObject
*swig_obj
[1] ;
8720 if (!args
) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8726 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (wxWindow
*)(arg1
)->GetWindow();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= wxPyMake_wxObject(result
, 0);
8742 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
= 0;
8744 wxCaret
*arg1
= (wxCaret
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "self",(char *) "x",(char *) "y", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8765 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8767 if (!SWIG_IsOK(ecode2
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8770 arg2
= static_cast< int >(val2
);
8771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8772 if (!SWIG_IsOK(ecode3
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8775 arg3
= static_cast< int >(val3
);
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Move(arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_Py_Void();
8789 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxCaret
*arg1
= (wxCaret
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 char * kwnames
[] = {
8799 (char *) "self",(char *) "pt", NULL
8802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8807 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->Move((wxPoint
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_Py_Void();
8825 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxCaret
*arg1
= (wxCaret
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "width",(char *) "height", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8848 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8850 if (!SWIG_IsOK(ecode2
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8853 arg2
= static_cast< int >(val2
);
8854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8855 if (!SWIG_IsOK(ecode3
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8858 arg3
= static_cast< int >(val3
);
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetSize(arg2
,arg3
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_Py_Void();
8872 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= 0;
8874 wxCaret
*arg1
= (wxCaret
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "size", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8890 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 (arg1
)->SetSize((wxSize
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_Py_Void();
8908 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 wxCaret
*arg1
= (wxCaret
*) 0 ;
8911 int arg2
= (int) true ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "self",(char *) "show", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8924 if (!SWIG_IsOK(res1
)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8927 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8930 if (!SWIG_IsOK(ecode2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8933 arg2
= static_cast< int >(val2
);
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= SWIG_Py_Void();
8948 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxCaret
*arg1
= (wxCaret
*) 0 ;
8953 PyObject
*swig_obj
[1] ;
8955 if (!args
) SWIG_fail
;
8957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8958 if (!SWIG_IsOK(res1
)) {
8959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8961 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_Py_Void();
8975 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8979 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (int)wxCaret::GetBlinkTime();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_From_int(static_cast< int >(result
));
8993 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8998 PyObject
* obj0
= 0 ;
8999 char * kwnames
[] = {
9000 (char *) "milliseconds", NULL
9003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9005 if (!SWIG_IsOK(ecode1
)) {
9006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9008 arg1
= static_cast< int >(val1
);
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxCaret::SetBlinkTime(arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_Py_Void();
9022 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9025 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9026 return SWIG_Py_Void();
9029 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 return SWIG_Python_InitShadowInstance(args
);
9033 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
= 0;
9035 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9036 wxBusyCursor
*result
= 0 ;
9039 PyObject
* obj0
= 0 ;
9040 char * kwnames
[] = {
9041 (char *) "cursor", NULL
9044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9050 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9066 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 PyObject
*resultobj
= 0;
9068 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9071 PyObject
*swig_obj
[1] ;
9073 if (!args
) SWIG_fail
;
9075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9076 if (!SWIG_IsOK(res1
)) {
9077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9079 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_Py_Void();
9094 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9097 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9098 return SWIG_Py_Void();
9101 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 return SWIG_Python_InitShadowInstance(args
);
9105 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxWindow
*arg1
= (wxWindow
*) NULL
;
9108 wxWindowDisabler
*result
= 0 ;
9111 PyObject
* obj0
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "winToSkip", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9125 if (!wxPyCheckForApp()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9138 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 PyObject
*resultobj
= 0;
9140 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9143 PyObject
*swig_obj
[1] ;
9145 if (!args
) SWIG_fail
;
9147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9148 if (!SWIG_IsOK(res1
)) {
9149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9151 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9166 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9169 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9170 return SWIG_Py_Void();
9173 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 return SWIG_Python_InitShadowInstance(args
);
9177 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
= 0;
9179 wxString
*arg1
= 0 ;
9180 wxWindow
*arg2
= (wxWindow
*) NULL
;
9181 wxBusyInfo
*result
= 0 ;
9182 bool temp1
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "message",(char *) "parent", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9193 arg1
= wxString_in_helper(obj0
);
9194 if (arg1
== NULL
) SWIG_fail
;
9198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9199 if (!SWIG_IsOK(res2
)) {
9200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9202 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9205 if (!wxPyCheckForApp()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9226 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9227 PyObject
*resultobj
= 0;
9228 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9239 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_Py_Void();
9254 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9257 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9258 return SWIG_Py_Void();
9261 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9262 return SWIG_Python_InitShadowInstance(args
);
9265 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9266 PyObject
*resultobj
= 0;
9267 wxStopWatch
*result
= 0 ;
9269 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (wxStopWatch
*)new wxStopWatch();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9283 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9296 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
= 0;
9313 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9314 long arg2
= (long) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 char * kwnames
[] = {
9322 (char *) "self",(char *) "t0", NULL
9325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9330 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9332 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9333 if (!SWIG_IsOK(ecode2
)) {
9334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9336 arg2
= static_cast< long >(val2
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 (arg1
)->Start(arg2
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_Py_Void();
9351 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9352 PyObject
*resultobj
= 0;
9353 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9356 PyObject
*swig_obj
[1] ;
9358 if (!args
) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9364 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_Py_Void();
9378 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9379 PyObject
*resultobj
= 0;
9380 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9383 PyObject
*swig_obj
[1] ;
9385 if (!args
) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9391 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_Py_Void();
9405 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 PyObject
*resultobj
= 0;
9407 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9411 PyObject
*swig_obj
[1] ;
9413 if (!args
) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9419 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_From_long(static_cast< long >(result
));
9433 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9436 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9437 return SWIG_Py_Void();
9440 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9441 return SWIG_Python_InitShadowInstance(args
);
9444 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
= 0;
9446 int arg1
= (int) 9 ;
9447 int arg2
= (int) wxID_FILE1
;
9448 wxFileHistory
*result
= 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "maxFiles",(char *) "idBase", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9462 if (!SWIG_IsOK(ecode1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9465 arg1
= static_cast< int >(val1
);
9468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9469 if (!SWIG_IsOK(ecode2
)) {
9470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9472 arg2
= static_cast< int >(val2
);
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9487 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9488 PyObject
*resultobj
= 0;
9489 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9492 PyObject
*swig_obj
[1] ;
9494 if (!args
) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9500 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_Py_Void();
9515 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
= 0;
9517 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9518 wxString
*arg2
= 0 ;
9521 bool temp2
= false ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "file", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9533 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9535 arg2
= wxString_in_helper(obj1
);
9536 if (arg2
== NULL
) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_Py_Void();
9560 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= 0;
9562 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 char * kwnames
[] = {
9571 (char *) "self",(char *) "i", NULL
9574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9576 if (!SWIG_IsOK(res1
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9579 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9581 if (!SWIG_IsOK(ecode2
)) {
9582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9584 arg2
= static_cast< int >(val2
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->RemoveFileFromHistory(arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_Py_Void();
9598 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9599 PyObject
*resultobj
= 0;
9600 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9612 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_From_int(static_cast< int >(result
));
9626 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
= 0;
9628 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9629 wxMenu
*arg2
= (wxMenu
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "menu", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9645 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9647 if (!SWIG_IsOK(res2
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9650 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 (arg1
)->UseMenu(arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_Py_Void();
9664 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
= 0;
9666 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9667 wxMenu
*arg2
= (wxMenu
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "menu", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9683 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9685 if (!SWIG_IsOK(res2
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9688 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 (arg1
)->RemoveMenu(arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_Py_Void();
9702 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= 0;
9704 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9705 wxConfigBase
*arg2
= 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "config", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9721 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9723 if (!SWIG_IsOK(res2
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9729 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->Load(*arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
= 0;
9745 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9746 wxConfigBase
*arg2
= 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 char * kwnames
[] = {
9754 (char *) "self",(char *) "config", NULL
9757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9762 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9764 if (!SWIG_IsOK(res2
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9770 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 (arg1
)->Save(*arg2
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= SWIG_Py_Void();
9784 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9785 PyObject
*resultobj
= 0;
9786 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9789 PyObject
*swig_obj
[1] ;
9791 if (!args
) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9797 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->AddFilesToMenu();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
= 0;
9813 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9814 wxMenu
*arg2
= (wxMenu
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "menu", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9830 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9832 if (!SWIG_IsOK(res2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9835 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 (arg1
)->AddFilesToMenu(arg2
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_Py_Void();
9849 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
= 0;
9851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9859 PyObject
* obj1
= 0 ;
9860 char * kwnames
[] = {
9861 (char *) "self",(char *) "i", NULL
9864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9866 if (!SWIG_IsOK(res1
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9869 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9871 if (!SWIG_IsOK(ecode2
)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9874 arg2
= static_cast< int >(val2
);
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9894 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9895 PyObject
*resultobj
= 0;
9896 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9900 PyObject
*swig_obj
[1] ;
9902 if (!args
) SWIG_fail
;
9904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9905 if (!SWIG_IsOK(res1
)) {
9906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9908 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_From_int(static_cast< int >(result
));
9922 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9925 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9926 return SWIG_Py_Void();
9929 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9930 return SWIG_Python_InitShadowInstance(args
);
9933 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxString
*arg1
= 0 ;
9936 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9937 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9938 wxSingleInstanceChecker
*result
= 0 ;
9939 bool temp1
= false ;
9940 bool temp2
= false ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 char * kwnames
[] = {
9944 (char *) "name",(char *) "path", NULL
9947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9949 arg1
= wxString_in_helper(obj0
);
9950 if (arg1
== NULL
) SWIG_fail
;
9955 arg2
= wxString_in_helper(obj1
);
9956 if (arg2
== NULL
) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9989 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 PyObject
*resultobj
= 0;
9991 wxSingleInstanceChecker
*result
= 0 ;
9993 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10007 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10008 PyObject
*resultobj
= 0;
10009 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10012 PyObject
*swig_obj
[1] ;
10014 if (!args
) SWIG_fail
;
10015 swig_obj
[0] = args
;
10016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10020 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_Py_Void();
10035 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
= 0;
10037 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10038 wxString
*arg2
= 0 ;
10039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10044 bool temp2
= false ;
10045 bool temp3
= false ;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 PyObject
* obj2
= 0 ;
10049 char * kwnames
[] = {
10050 (char *) "self",(char *) "name",(char *) "path", NULL
10053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10055 if (!SWIG_IsOK(res1
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10058 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10060 arg2
= wxString_in_helper(obj1
);
10061 if (arg2
== NULL
) SWIG_fail
;
10066 arg3
= wxString_in_helper(obj2
);
10067 if (arg3
== NULL
) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10102 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 PyObject
*resultobj
= 0;
10104 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10108 PyObject
*swig_obj
[1] ;
10110 if (!args
) SWIG_fail
;
10111 swig_obj
[0] = args
;
10112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10116 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10135 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10136 return SWIG_Py_Void();
10139 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 return SWIG_Python_InitShadowInstance(args
);
10143 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 PyObject
*resultobj
= 0;
10145 wxPlatformInfo
*result
= 0 ;
10147 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10161 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
= 0;
10163 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10164 wxPlatformInfo
*arg2
= 0 ;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 char * kwnames
[] = {
10173 (char *) "self",(char *) "t", NULL
10176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10178 if (!SWIG_IsOK(res1
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10181 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10183 if (!SWIG_IsOK(res2
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10189 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10208 wxPlatformInfo
*arg2
= 0 ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 char * kwnames
[] = {
10217 (char *) "self",(char *) "t", NULL
10220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10222 if (!SWIG_IsOK(res1
)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10225 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10227 if (!SWIG_IsOK(res2
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10233 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10249 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10250 PyObject
*resultobj
= 0;
10251 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10255 PyObject
*swig_obj
[1] ;
10257 if (!args
) SWIG_fail
;
10258 swig_obj
[0] = args
;
10259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10263 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_From_int(static_cast< int >(result
));
10277 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 PyObject
*resultobj
= 0;
10279 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10283 PyObject
*swig_obj
[1] ;
10285 if (!args
) SWIG_fail
;
10286 swig_obj
[0] = args
;
10287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10291 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_From_int(static_cast< int >(result
));
10305 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
= 0;
10307 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 PyObject
* obj2
= 0 ;
10320 char * kwnames
[] = {
10321 (char *) "self",(char *) "major",(char *) "minor", NULL
10324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10326 if (!SWIG_IsOK(res1
)) {
10327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10329 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10331 if (!SWIG_IsOK(ecode2
)) {
10332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10334 arg2
= static_cast< int >(val2
);
10335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10336 if (!SWIG_IsOK(ecode3
)) {
10337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10339 arg3
= static_cast< int >(val3
);
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10355 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10356 PyObject
*resultobj
= 0;
10357 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10361 PyObject
*swig_obj
[1] ;
10363 if (!args
) SWIG_fail
;
10364 swig_obj
[0] = args
;
10365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10369 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_int(static_cast< int >(result
));
10383 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10384 PyObject
*resultobj
= 0;
10385 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10389 PyObject
*swig_obj
[1] ;
10391 if (!args
) SWIG_fail
;
10392 swig_obj
[0] = args
;
10393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10394 if (!SWIG_IsOK(res1
)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10397 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_From_int(static_cast< int >(result
));
10411 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
= 0;
10413 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 char * kwnames
[] = {
10427 (char *) "self",(char *) "major",(char *) "minor", NULL
10430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10432 if (!SWIG_IsOK(res1
)) {
10433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10435 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10437 if (!SWIG_IsOK(ecode2
)) {
10438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10440 arg2
= static_cast< int >(val2
);
10441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10442 if (!SWIG_IsOK(ecode3
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10445 arg3
= static_cast< int >(val3
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10467 PyObject
*swig_obj
[1] ;
10469 if (!args
) SWIG_fail
;
10470 swig_obj
[0] = args
;
10471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10472 if (!SWIG_IsOK(res1
)) {
10473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10475 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10491 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10494 wxOperatingSystemId result
;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10505 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_From_int(static_cast< int >(result
));
10519 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10533 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_From_int(static_cast< int >(result
));
10547 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 PyObject
*resultobj
= 0;
10549 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10550 wxArchitecture result
;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10561 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_From_int(static_cast< int >(result
));
10575 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10576 PyObject
*resultobj
= 0;
10577 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10578 wxEndianness result
;
10581 PyObject
*swig_obj
[1] ;
10583 if (!args
) SWIG_fail
;
10584 swig_obj
[0] = args
;
10585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10589 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_From_int(static_cast< int >(result
));
10603 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10604 PyObject
*resultobj
= 0;
10605 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10609 PyObject
*swig_obj
[1] ;
10611 if (!args
) SWIG_fail
;
10612 swig_obj
[0] = args
;
10613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10614 if (!SWIG_IsOK(res1
)) {
10615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10617 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10637 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10638 PyObject
*resultobj
= 0;
10639 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10643 PyObject
*swig_obj
[1] ;
10645 if (!args
) SWIG_fail
;
10646 swig_obj
[0] = args
;
10647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10651 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10671 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10672 PyObject
*resultobj
= 0;
10673 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10685 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10705 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10706 PyObject
*resultobj
= 0;
10707 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10711 PyObject
*swig_obj
[1] ;
10713 if (!args
) SWIG_fail
;
10714 swig_obj
[0] = args
;
10715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10719 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10739 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10740 PyObject
*resultobj
= 0;
10741 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10745 PyObject
*swig_obj
[1] ;
10747 if (!args
) SWIG_fail
;
10748 swig_obj
[0] = args
;
10749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10753 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10773 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10774 PyObject
*resultobj
= 0;
10775 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10779 PyObject
*swig_obj
[1] ;
10781 if (!args
) SWIG_fail
;
10782 swig_obj
[0] = args
;
10783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10784 if (!SWIG_IsOK(res1
)) {
10785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10787 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10807 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "major",(char *) "minor", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10830 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10837 if (!SWIG_IsOK(ecode3
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10840 arg3
= static_cast< int >(val3
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->SetOSVersion(arg2
,arg3
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_Py_Void();
10854 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= 0;
10856 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj2
= 0 ;
10868 char * kwnames
[] = {
10869 (char *) "self",(char *) "major",(char *) "minor", NULL
10872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10874 if (!SWIG_IsOK(res1
)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10877 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10879 if (!SWIG_IsOK(ecode2
)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10882 arg2
= static_cast< int >(val2
);
10883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10884 if (!SWIG_IsOK(ecode3
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10887 arg3
= static_cast< int >(val3
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_Py_Void();
10901 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10904 wxOperatingSystemId arg2
;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "n", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10920 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10925 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetOperatingSystemId(arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
= 0;
10941 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char * kwnames
[] = {
10950 (char *) "self",(char *) "n", NULL
10953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10955 if (!SWIG_IsOK(res1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10958 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10960 if (!SWIG_IsOK(ecode2
)) {
10961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10963 arg2
= static_cast< wxPortId
>(val2
);
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->SetPortId(arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= SWIG_Py_Void();
10977 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= 0;
10979 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10980 wxArchitecture arg2
;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char * kwnames
[] = {
10988 (char *) "self",(char *) "n", NULL
10991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10996 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10998 if (!SWIG_IsOK(ecode2
)) {
10999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
11001 arg2
= static_cast< wxArchitecture
>(val2
);
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 (arg1
)->SetArchitecture(arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_Py_Void();
11015 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= 0;
11017 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11018 wxEndianness arg2
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "n", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11034 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11039 arg2
= static_cast< wxEndianness
>(val2
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetEndianness(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11067 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11087 return SWIG_Py_Void();
11090 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11091 return SWIG_Python_InitShadowInstance(args
);
11094 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= 0;
11096 wxWindow
*arg1
= (wxWindow
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 char * kwnames
[] = {
11106 (char *) "window",(char *) "dc", NULL
11109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11116 if (!SWIG_IsOK(res2
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11122 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11143 PyObject
*swig_obj
[1] ;
11145 if (!args
) SWIG_fail
;
11146 swig_obj
[0] = args
;
11147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11148 if (!SWIG_IsOK(res1
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11151 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_Py_Void();
11166 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11180 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (arg1
)->GetTip();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11200 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11206 PyObject
*swig_obj
[1] ;
11208 if (!args
) SWIG_fail
;
11209 swig_obj
[0] = args
;
11210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11214 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (size_t)(arg1
)->GetCurrentTip();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11228 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
= 0;
11230 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11231 wxString
*arg2
= 0 ;
11235 bool temp2
= false ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "self",(char *) "tip", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11247 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11249 arg2
= wxString_in_helper(obj1
);
11250 if (arg2
== NULL
) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11280 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11283 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11284 return SWIG_Py_Void();
11287 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11290 wxPyTipProvider
*result
= 0 ;
11293 PyObject
* obj0
= 0 ;
11294 char * kwnames
[] = {
11295 (char *) "currentTip", NULL
11298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11299 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11300 if (!SWIG_IsOK(ecode1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11303 arg1
= static_cast< size_t >(val1
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11317 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11320 PyObject
*arg2
= (PyObject
*) 0 ;
11321 PyObject
*arg3
= (PyObject
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 PyObject
* obj2
= 0 ;
11327 char * kwnames
[] = {
11328 (char *) "self",(char *) "self",(char *) "_class", NULL
11331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11336 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_Py_Void();
11352 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11355 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11356 return SWIG_Py_Void();
11359 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11360 return SWIG_Python_InitShadowInstance(args
);
11363 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxWindow
*arg1
= (wxWindow
*) 0 ;
11366 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11367 bool arg3
= (bool) true ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 PyObject
* obj2
= 0 ;
11378 char * kwnames
[] = {
11379 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11389 if (!SWIG_IsOK(res2
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11392 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11394 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11395 if (!SWIG_IsOK(ecode3
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11398 arg3
= static_cast< bool >(val3
);
11401 if (!wxPyCheckForApp()) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11416 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
= 0;
11418 wxString
*arg1
= 0 ;
11420 wxTipProvider
*result
= 0 ;
11421 bool temp1
= false ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char * kwnames
[] = {
11427 (char *) "filename",(char *) "currentTip", NULL
11430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11432 arg1
= wxString_in_helper(obj0
);
11433 if (arg1
== NULL
) SWIG_fail
;
11436 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11437 if (!SWIG_IsOK(ecode2
)) {
11438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11440 arg2
= static_cast< size_t >(val2
);
11442 if (!wxPyCheckForApp()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11463 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11466 int arg2
= (int) wxID_ANY
;
11467 wxPyTimer
*result
= 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char * kwnames
[] = {
11475 (char *) "owner",(char *) "id", NULL
11478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11484 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11488 if (!SWIG_IsOK(ecode2
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11491 arg2
= static_cast< int >(val2
);
11494 if (!wxPyCheckForApp()) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11507 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 PyObject
*resultobj
= 0;
11509 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11512 PyObject
*swig_obj
[1] ;
11514 if (!args
) SWIG_fail
;
11515 swig_obj
[0] = args
;
11516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11520 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_Py_Void();
11535 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= 0;
11537 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11538 PyObject
*arg2
= (PyObject
*) 0 ;
11539 PyObject
*arg3
= (PyObject
*) 0 ;
11540 int arg4
= (int) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 char * kwnames
[] = {
11550 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11558 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11563 if (!SWIG_IsOK(ecode4
)) {
11564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11566 arg4
= static_cast< int >(val4
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_Py_Void();
11581 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
= 0;
11583 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11584 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11585 int arg3
= (int) wxID_ANY
;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 PyObject
* obj2
= 0 ;
11595 char * kwnames
[] = {
11596 (char *) "self",(char *) "owner",(char *) "id", NULL
11599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11604 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11606 if (!SWIG_IsOK(res2
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11609 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11612 if (!SWIG_IsOK(ecode3
)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11615 arg3
= static_cast< int >(val3
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->SetOwner(arg2
,arg3
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_Py_Void();
11630 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11633 wxEvtHandler
*result
= 0 ;
11636 PyObject
*swig_obj
[1] ;
11638 if (!args
) SWIG_fail
;
11639 swig_obj
[0] = args
;
11640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11644 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= wxPyMake_wxObject(result
, 0);
11660 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
= 0;
11662 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11663 int arg2
= (int) -1 ;
11664 bool arg3
= (bool) false ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 char * kwnames
[] = {
11676 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11681 if (!SWIG_IsOK(res1
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11684 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11687 if (!SWIG_IsOK(ecode2
)) {
11688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11690 arg2
= static_cast< int >(val2
);
11693 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11694 if (!SWIG_IsOK(ecode3
)) {
11695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11697 arg3
= static_cast< bool >(val3
);
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11714 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 PyObject
*resultobj
= 0;
11716 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11719 PyObject
*swig_obj
[1] ;
11721 if (!args
) SWIG_fail
;
11722 swig_obj
[0] = args
;
11723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11724 if (!SWIG_IsOK(res1
)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11727 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_Py_Void();
11741 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11742 PyObject
*resultobj
= 0;
11743 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11746 PyObject
*swig_obj
[1] ;
11748 if (!args
) SWIG_fail
;
11749 swig_obj
[0] = args
;
11750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11754 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_Py_Void();
11768 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11769 PyObject
*resultobj
= 0;
11770 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11774 PyObject
*swig_obj
[1] ;
11776 if (!args
) SWIG_fail
;
11777 swig_obj
[0] = args
;
11778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11779 if (!SWIG_IsOK(res1
)) {
11780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11782 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11798 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 PyObject
*resultobj
= 0;
11800 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11804 PyObject
*swig_obj
[1] ;
11806 if (!args
) SWIG_fail
;
11807 swig_obj
[0] = args
;
11808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11812 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 PyObject
*resultobj
= 0;
11828 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11832 PyObject
*swig_obj
[1] ;
11834 if (!args
) SWIG_fail
;
11835 swig_obj
[0] = args
;
11836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11837 if (!SWIG_IsOK(res1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11840 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_From_int(static_cast< int >(result
));
11854 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11855 PyObject
*resultobj
= 0;
11856 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11860 PyObject
*swig_obj
[1] ;
11862 if (!args
) SWIG_fail
;
11863 swig_obj
[0] = args
;
11864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11865 if (!SWIG_IsOK(res1
)) {
11866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11868 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11884 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11887 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11888 return SWIG_Py_Void();
11891 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 return SWIG_Python_InitShadowInstance(args
);
11895 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 int arg1
= (int) 0 ;
11898 int arg2
= (int) 0 ;
11899 wxTimerEvent
*result
= 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char * kwnames
[] = {
11907 (char *) "timerid",(char *) "interval", NULL
11910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11913 if (!SWIG_IsOK(ecode1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11916 arg1
= static_cast< int >(val1
);
11919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11920 if (!SWIG_IsOK(ecode2
)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11923 arg2
= static_cast< int >(val2
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11938 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11939 PyObject
*resultobj
= 0;
11940 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11944 PyObject
*swig_obj
[1] ;
11946 if (!args
) SWIG_fail
;
11947 swig_obj
[0] = args
;
11948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11952 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_From_int(static_cast< int >(result
));
11966 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11969 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11970 return SWIG_Py_Void();
11973 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 return SWIG_Python_InitShadowInstance(args
);
11977 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11978 PyObject
*resultobj
= 0;
11979 wxTimer
*arg1
= 0 ;
11980 wxTimerRunner
*result
= 0 ;
11984 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11992 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11994 if (!wxPyCheckForApp()) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12007 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12008 PyObject
*resultobj
= 0;
12009 wxTimer
*arg1
= 0 ;
12011 bool arg3
= (bool) false ;
12012 wxTimerRunner
*result
= 0 ;
12020 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12028 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12029 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12030 if (!SWIG_IsOK(ecode2
)) {
12031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12033 arg2
= static_cast< int >(val2
);
12035 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12036 if (!SWIG_IsOK(ecode3
)) {
12037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12039 arg3
= static_cast< bool >(val3
);
12042 if (!wxPyCheckForApp()) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12055 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12059 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12062 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12064 if ((argc
>= 2) && (argc
<= 3)) {
12065 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12069 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12074 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12087 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= 0;
12104 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12106 bool arg3
= (bool) false ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 PyObject
* obj2
= 0 ;
12116 char * kwnames
[] = {
12117 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12122 if (!SWIG_IsOK(res1
)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12125 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12127 if (!SWIG_IsOK(ecode2
)) {
12128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12130 arg2
= static_cast< int >(val2
);
12132 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12133 if (!SWIG_IsOK(ecode3
)) {
12134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12136 arg3
= static_cast< bool >(val3
);
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 (arg1
)->Start(arg2
,arg3
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_Py_Void();
12151 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12154 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12155 return SWIG_Py_Void();
12158 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 return SWIG_Python_InitShadowInstance(args
);
12162 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxLog
*result
= 0 ;
12166 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxLog
*)new wxLog();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12180 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12181 PyObject
*resultobj
= 0;
12182 wxLog
*arg1
= (wxLog
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12193 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_Py_Void();
12208 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12209 PyObject
*resultobj
= 0;
12212 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (bool)wxLog::IsEnabled();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12228 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 bool arg1
= (bool) true ;
12234 PyObject
* obj0
= 0 ;
12235 char * kwnames
[] = {
12236 (char *) "doIt", NULL
12239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12241 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12242 if (!SWIG_IsOK(ecode1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12245 arg1
= static_cast< bool >(val1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)wxLog::EnableLogging(arg1
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12265 wxChar
*arg2
= (wxChar
*) 0 ;
12267 unsigned long val1
;
12271 unsigned int val3
;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 PyObject
* obj2
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "level",(char *) "szString",(char *) "t", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12281 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12282 if (!SWIG_IsOK(ecode1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12285 arg1
= static_cast< wxLogLevel
>(val1
);
12286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12287 if (!SWIG_IsOK(res2
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12290 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12291 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12292 if (!SWIG_IsOK(ecode3
)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12295 arg3
= static_cast< time_t >(val3
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_Py_Void();
12309 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12310 PyObject
*resultobj
= 0;
12311 wxLog
*arg1
= (wxLog
*) 0 ;
12314 PyObject
*swig_obj
[1] ;
12316 if (!args
) SWIG_fail
;
12317 swig_obj
[0] = args
;
12318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12322 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_Py_Void();
12336 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 PyObject
*resultobj
= 0;
12339 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 wxLog::FlushActive();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_Py_Void();
12353 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12354 PyObject
*resultobj
= 0;
12355 wxLog
*result
= 0 ;
12357 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (wxLog
*)wxLog::GetActiveTarget();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12371 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxLog
*arg1
= (wxLog
*) 0 ;
12374 wxLog
*result
= 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "pLogger", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12382 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12399 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12400 PyObject
*resultobj
= 0;
12402 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_Py_Void();
12416 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12417 PyObject
*resultobj
= 0;
12419 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_Py_Void();
12433 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 bool arg1
= (bool) true ;
12438 PyObject
* obj0
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "bVerbose", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12445 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12446 if (!SWIG_IsOK(ecode1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12449 arg1
= static_cast< bool >(val1
);
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 wxLog::SetVerbose(arg1
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_Py_Void();
12464 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
= 0;
12467 unsigned long val1
;
12469 PyObject
* obj0
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "logLevel", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12475 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12476 if (!SWIG_IsOK(ecode1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12479 arg1
= static_cast< wxLogLevel
>(val1
);
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 wxLog::SetLogLevel(arg1
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 PyObject
*resultobj
= 0;
12496 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 wxLog::DontCreateOnDemand();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_Py_Void();
12510 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= 0;
12512 bool arg1
= (bool) true ;
12515 PyObject
* obj0
= 0 ;
12516 char * kwnames
[] = {
12517 (char *) "bRepetCounting", NULL
12520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12522 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12523 if (!SWIG_IsOK(ecode1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12526 arg1
= static_cast< bool >(val1
);
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 wxLog::SetRepetitionCounting(arg1
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_Py_Void();
12541 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12542 PyObject
*resultobj
= 0;
12545 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (bool)wxLog::GetRepetitionCounting();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12561 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= 0;
12564 unsigned long val1
;
12566 PyObject
* obj0
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "ulMask", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12572 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12573 if (!SWIG_IsOK(ecode1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12576 arg1
= static_cast< wxTraceMask
>(val1
);
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 wxLog::SetTraceMask(arg1
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxString
*arg1
= 0 ;
12593 bool temp1
= false ;
12594 PyObject
* obj0
= 0 ;
12595 char * kwnames
[] = {
12596 (char *) "str", NULL
12599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12601 arg1
= wxString_in_helper(obj0
);
12602 if (arg1
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 wxLog::AddTraceMask((wxString
const &)*arg1
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_Py_Void();
12626 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxString
*arg1
= 0 ;
12629 bool temp1
= false ;
12630 PyObject
* obj0
= 0 ;
12631 char * kwnames
[] = {
12632 (char *) "str", NULL
12635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12637 arg1
= wxString_in_helper(obj0
);
12638 if (arg1
== NULL
) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12663 PyObject
*resultobj
= 0;
12665 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 wxLog::ClearTraceMasks();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_Py_Void();
12679 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12680 PyObject
*resultobj
= 0;
12681 wxArrayString
*result
= 0 ;
12683 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12688 result
= (wxArrayString
*) &_result_ref
;
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= wxArrayString2PyList_helper(*result
);
12702 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
= 0;
12704 wxChar
*arg1
= (wxChar
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char * kwnames
[] = {
12709 (char *) "ts", NULL
12712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12714 if (!SWIG_IsOK(res1
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12717 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 wxLog::SetTimestamp((wxChar
const *)arg1
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_Py_Void();
12731 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 PyObject
*resultobj
= 0;
12735 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (bool)wxLog::GetVerbose();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxTraceMask result
;
12755 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= (wxTraceMask
)wxLog::GetTraceMask();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12769 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
= 0;
12771 wxChar
*arg1
= (wxChar
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char * kwnames
[] = {
12777 (char *) "mask", NULL
12780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12782 if (!SWIG_IsOK(res1
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12785 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12805 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxLogLevel
)wxLog::GetLogLevel();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12819 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12820 PyObject
*resultobj
= 0;
12821 wxChar
*result
= 0 ;
12823 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (wxChar
*)wxLog::GetTimestamp();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12837 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12838 PyObject
*resultobj
= 0;
12841 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= wxLog_TimeStamp();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12861 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12862 PyObject
*resultobj
= 0;
12863 wxLog
*arg1
= (wxLog
*) 0 ;
12866 PyObject
*swig_obj
[1] ;
12868 if (!args
) SWIG_fail
;
12869 swig_obj
[0] = args
;
12870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12874 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 wxLog_Destroy(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_Py_Void();
12888 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12891 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12892 return SWIG_Py_Void();
12895 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 return SWIG_Python_InitShadowInstance(args
);
12899 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12900 PyObject
*resultobj
= 0;
12901 wxLogStderr
*result
= 0 ;
12903 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (wxLogStderr
*)new wxLogStderr();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12917 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12920 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12921 return SWIG_Py_Void();
12924 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12925 return SWIG_Python_InitShadowInstance(args
);
12928 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
= 0;
12930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12931 wxLogTextCtrl
*result
= 0 ;
12934 PyObject
* obj0
= 0 ;
12935 char * kwnames
[] = {
12936 (char *) "pTextCtrl", NULL
12939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12944 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12958 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12961 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12962 return SWIG_Py_Void();
12965 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 return SWIG_Python_InitShadowInstance(args
);
12969 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 PyObject
*resultobj
= 0;
12971 wxLogGui
*result
= 0 ;
12973 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxLogGui
*)new wxLogGui();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12987 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12990 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12991 return SWIG_Py_Void();
12994 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 return SWIG_Python_InitShadowInstance(args
);
12998 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
= 0;
13000 wxFrame
*arg1
= (wxFrame
*) 0 ;
13001 wxString
*arg2
= 0 ;
13002 bool arg3
= (bool) true ;
13003 bool arg4
= (bool) true ;
13004 wxLogWindow
*result
= 0 ;
13007 bool temp2
= false ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 PyObject
* obj2
= 0 ;
13015 PyObject
* obj3
= 0 ;
13016 char * kwnames
[] = {
13017 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13025 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13027 arg2
= wxString_in_helper(obj1
);
13028 if (arg2
== NULL
) SWIG_fail
;
13032 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13033 if (!SWIG_IsOK(ecode3
)) {
13034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13036 arg3
= static_cast< bool >(val3
);
13039 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13040 if (!SWIG_IsOK(ecode4
)) {
13041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13043 arg4
= static_cast< bool >(val4
);
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13066 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13069 bool arg2
= (bool) true ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char * kwnames
[] = {
13077 (char *) "self",(char *) "bShow", NULL
13080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13082 if (!SWIG_IsOK(res1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13085 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13088 if (!SWIG_IsOK(ecode2
)) {
13089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13091 arg2
= static_cast< bool >(val2
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->Show(arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_Py_Void();
13106 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13107 PyObject
*resultobj
= 0;
13108 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13109 wxFrame
*result
= 0 ;
13112 PyObject
*swig_obj
[1] ;
13114 if (!args
) SWIG_fail
;
13115 swig_obj
[0] = args
;
13116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13117 if (!SWIG_IsOK(res1
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13120 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13136 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13139 wxLog
*result
= 0 ;
13142 PyObject
*swig_obj
[1] ;
13144 if (!args
) SWIG_fail
;
13145 swig_obj
[0] = args
;
13146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13150 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13164 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13165 PyObject
*resultobj
= 0;
13166 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13170 PyObject
*swig_obj
[1] ;
13172 if (!args
) SWIG_fail
;
13173 swig_obj
[0] = args
;
13174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13175 if (!SWIG_IsOK(res1
)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13178 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13194 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char * kwnames
[] = {
13205 (char *) "self",(char *) "bDoPass", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13213 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13215 if (!SWIG_IsOK(ecode2
)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13218 arg2
= static_cast< bool >(val2
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 (arg1
)->PassMessages(arg2
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_Py_Void();
13232 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13235 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13236 return SWIG_Py_Void();
13239 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13240 return SWIG_Python_InitShadowInstance(args
);
13243 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= 0;
13245 wxLog
*arg1
= (wxLog
*) 0 ;
13246 wxLogChain
*result
= 0 ;
13249 PyObject
* obj0
= 0 ;
13250 char * kwnames
[] = {
13251 (char *) "logger", NULL
13254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13259 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (wxLogChain
*)new wxLogChain(arg1
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13273 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
= 0;
13275 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13276 wxLog
*arg2
= (wxLog
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "logger", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13292 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13294 if (!SWIG_IsOK(res2
)) {
13295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13297 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->SetLog(arg2
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_Py_Void();
13311 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
= 0;
13313 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char * kwnames
[] = {
13322 (char *) "self",(char *) "bDoPass", NULL
13325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13330 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13331 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13332 if (!SWIG_IsOK(ecode2
)) {
13333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13335 arg2
= static_cast< bool >(val2
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 (arg1
)->PassMessages(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_Py_Void();
13349 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13350 PyObject
*resultobj
= 0;
13351 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13355 PyObject
*swig_obj
[1] ;
13357 if (!args
) SWIG_fail
;
13358 swig_obj
[0] = args
;
13359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13363 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (bool)(arg1
)->IsPassingMessages();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13379 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 PyObject
*resultobj
= 0;
13381 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13382 wxLog
*result
= 0 ;
13385 PyObject
*swig_obj
[1] ;
13387 if (!args
) SWIG_fail
;
13388 swig_obj
[0] = args
;
13389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13390 if (!SWIG_IsOK(res1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13393 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (wxLog
*)(arg1
)->GetOldLog();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13407 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13410 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13411 return SWIG_Py_Void();
13414 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 return SWIG_Python_InitShadowInstance(args
);
13418 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxLogBuffer
*result
= 0 ;
13422 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxLogBuffer
*)new wxLogBuffer();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13436 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13439 wxString
*result
= 0 ;
13442 PyObject
*swig_obj
[1] ;
13444 if (!args
) SWIG_fail
;
13445 swig_obj
[0] = args
;
13446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13450 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13455 result
= (wxString
*) &_result_ref
;
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13473 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13476 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13477 return SWIG_Py_Void();
13480 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13481 return SWIG_Python_InitShadowInstance(args
);
13484 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 unsigned long result
;
13488 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (unsigned long)wxSysErrorCode();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13502 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
= 0;
13504 unsigned long arg1
= (unsigned long) 0 ;
13506 unsigned long val1
;
13508 PyObject
* obj0
= 0 ;
13509 char * kwnames
[] = {
13510 (char *) "nErrCode", NULL
13513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13515 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13516 if (!SWIG_IsOK(ecode1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13519 arg1
= static_cast< unsigned long >(val1
);
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= wxSysErrorMsg(arg1
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13540 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxString
*arg1
= 0 ;
13543 bool temp1
= false ;
13544 PyObject
* obj0
= 0 ;
13545 char * kwnames
[] = {
13546 (char *) "msg", NULL
13549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13551 arg1
= wxString_in_helper(obj0
);
13552 if (arg1
== NULL
) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 wxPyLogFatalError((wxString
const &)*arg1
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13576 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= 0;
13578 wxString
*arg1
= 0 ;
13579 bool temp1
= false ;
13580 PyObject
* obj0
= 0 ;
13581 char * kwnames
[] = {
13582 (char *) "msg", NULL
13585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13587 arg1
= wxString_in_helper(obj0
);
13588 if (arg1
== NULL
) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 wxPyLogError((wxString
const &)*arg1
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= 0;
13614 wxString
*arg1
= 0 ;
13615 bool temp1
= false ;
13616 PyObject
* obj0
= 0 ;
13617 char * kwnames
[] = {
13618 (char *) "msg", NULL
13621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13623 arg1
= wxString_in_helper(obj0
);
13624 if (arg1
== NULL
) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyLogWarning((wxString
const &)*arg1
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13648 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxString
*arg1
= 0 ;
13651 bool temp1
= false ;
13652 PyObject
* obj0
= 0 ;
13653 char * kwnames
[] = {
13654 (char *) "msg", NULL
13657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13659 arg1
= wxString_in_helper(obj0
);
13660 if (arg1
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 wxPyLogMessage((wxString
const &)*arg1
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxString
*arg1
= 0 ;
13687 bool temp1
= false ;
13688 PyObject
* obj0
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "msg", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13695 arg1
= wxString_in_helper(obj0
);
13696 if (arg1
== NULL
) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 wxPyLogInfo((wxString
const &)*arg1
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxString
*arg1
= 0 ;
13723 bool temp1
= false ;
13724 PyObject
* obj0
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "msg", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13731 arg1
= wxString_in_helper(obj0
);
13732 if (arg1
== NULL
) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 wxPyLogDebug((wxString
const &)*arg1
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13756 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxString
*arg1
= 0 ;
13759 bool temp1
= false ;
13760 PyObject
* obj0
= 0 ;
13761 char * kwnames
[] = {
13762 (char *) "msg", NULL
13765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13767 arg1
= wxString_in_helper(obj0
);
13768 if (arg1
== NULL
) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 wxPyLogVerbose((wxString
const &)*arg1
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_Py_Void();
13792 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13794 wxString
*arg1
= 0 ;
13795 bool temp1
= false ;
13796 PyObject
* obj0
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "msg", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13803 arg1
= wxString_in_helper(obj0
);
13804 if (arg1
== NULL
) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 wxPyLogStatus((wxString
const &)*arg1
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13828 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
= 0;
13830 wxFrame
*arg1
= (wxFrame
*) 0 ;
13831 wxString
*arg2
= 0 ;
13834 bool temp2
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 char * kwnames
[] = {
13838 (char *) "pFrame",(char *) "msg", NULL
13841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13843 if (!SWIG_IsOK(res1
)) {
13844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13846 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13848 arg2
= wxString_in_helper(obj1
);
13849 if (arg2
== NULL
) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 wxString
*arg1
= 0 ;
13876 bool temp1
= false ;
13877 PyObject
* obj0
= 0 ;
13878 char * kwnames
[] = {
13879 (char *) "msg", NULL
13882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13884 arg1
= wxString_in_helper(obj0
);
13885 if (arg1
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 wxPyLogSysError((wxString
const &)*arg1
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_Py_Void();
13909 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 unsigned long arg1
;
13912 wxString
*arg2
= 0 ;
13913 unsigned long val1
;
13915 bool temp2
= false ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char * kwnames
[] = {
13919 (char *) "level",(char *) "msg", NULL
13922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13923 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13924 if (!SWIG_IsOK(ecode1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13927 arg1
= static_cast< unsigned long >(val1
);
13929 arg2
= wxString_in_helper(obj1
);
13930 if (arg2
== NULL
) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_Py_Void();
13954 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13955 PyObject
*resultobj
= 0;
13956 unsigned long arg1
;
13957 wxString
*arg2
= 0 ;
13958 unsigned long val1
;
13960 bool temp2
= false ;
13962 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13963 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13964 if (!SWIG_IsOK(ecode1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13967 arg1
= static_cast< unsigned long >(val1
);
13969 arg2
= wxString_in_helper(swig_obj
[1]);
13970 if (arg2
== NULL
) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_Py_Void();
13994 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13995 PyObject
*resultobj
= 0;
13996 wxString
*arg1
= 0 ;
13997 wxString
*arg2
= 0 ;
13998 bool temp1
= false ;
13999 bool temp2
= false ;
14001 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
14003 arg1
= wxString_in_helper(swig_obj
[0]);
14004 if (arg1
== NULL
) SWIG_fail
;
14008 arg2
= wxString_in_helper(swig_obj
[1]);
14009 if (arg2
== NULL
) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_Py_Void();
14041 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14045 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14051 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14054 if (!_v
) goto check_1
;
14055 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14060 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14064 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14069 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxString
*arg1
= 0 ;
14072 wxString
*arg2
= 0 ;
14073 bool temp1
= false ;
14074 bool temp2
= false ;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 char * kwnames
[] = {
14078 (char *) "title",(char *) "text", NULL
14081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14083 arg1
= wxString_in_helper(obj0
);
14084 if (arg1
== NULL
) SWIG_fail
;
14088 arg2
= wxString_in_helper(obj1
);
14089 if (arg2
== NULL
) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_Py_Void();
14121 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14122 PyObject
*resultobj
= 0;
14123 wxLogNull
*result
= 0 ;
14125 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxLogNull
*)new wxLogNull();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14139 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14140 PyObject
*resultobj
= 0;
14141 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14144 PyObject
*swig_obj
[1] ;
14146 if (!args
) SWIG_fail
;
14147 swig_obj
[0] = args
;
14148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14152 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_Py_Void();
14167 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14170 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14171 return SWIG_Py_Void();
14174 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14175 return SWIG_Python_InitShadowInstance(args
);
14178 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14179 PyObject
*resultobj
= 0;
14180 wxPyLog
*result
= 0 ;
14182 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (wxPyLog
*)new wxPyLog();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14196 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
= 0;
14198 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14199 PyObject
*arg2
= (PyObject
*) 0 ;
14200 PyObject
*arg3
= (PyObject
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 PyObject
* obj2
= 0 ;
14206 char * kwnames
[] = {
14207 (char *) "self",(char *) "self",(char *) "_class", NULL
14210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14212 if (!SWIG_IsOK(res1
)) {
14213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14215 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_Py_Void();
14231 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14235 return SWIG_Py_Void();
14238 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14239 return SWIG_Python_InitShadowInstance(args
);
14242 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
= 0;
14245 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14246 int arg3
= (int) wxKILL_NOCHILDREN
;
14247 wxKillError result
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14262 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14263 if (!SWIG_IsOK(ecode1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14266 arg1
= static_cast< int >(val1
);
14268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14269 if (!SWIG_IsOK(ecode2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14272 arg2
= static_cast< wxSignal
>(val2
);
14275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14276 if (!SWIG_IsOK(ecode3
)) {
14277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14279 arg3
= static_cast< int >(val3
);
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int(static_cast< int >(result
));
14294 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
= 0;
14300 PyObject
* obj0
= 0 ;
14301 char * kwnames
[] = {
14302 (char *) "pid", NULL
14305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14307 if (!SWIG_IsOK(ecode1
)) {
14308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14310 arg1
= static_cast< int >(val1
);
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= (bool)wxPyProcess::Exists(arg1
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14326 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
= 0;
14328 wxString
*arg1
= 0 ;
14329 int arg2
= (int) wxEXEC_ASYNC
;
14330 wxPyProcess
*result
= 0 ;
14331 bool temp1
= false ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char * kwnames
[] = {
14337 (char *) "cmd",(char *) "flags", NULL
14340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14342 arg1
= wxString_in_helper(obj0
);
14343 if (arg1
== NULL
) SWIG_fail
;
14347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14348 if (!SWIG_IsOK(ecode2
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14351 arg2
= static_cast< int >(val2
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14374 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14377 int arg2
= (int) -1 ;
14378 wxPyProcess
*result
= 0 ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "parent",(char *) "id", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14395 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14399 if (!SWIG_IsOK(ecode2
)) {
14400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14402 arg2
= static_cast< int >(val2
);
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14417 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14418 PyObject
*resultobj
= 0;
14419 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14430 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_Py_Void();
14445 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
= 0;
14447 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14448 PyObject
*arg2
= (PyObject
*) 0 ;
14449 PyObject
*arg3
= (PyObject
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "self",(char *) "self",(char *) "_class", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14464 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_Py_Void();
14480 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14481 PyObject
*resultobj
= 0;
14482 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14486 PyObject
*swig_obj
[1] ;
14488 if (!args
) SWIG_fail
;
14489 swig_obj
[0] = args
;
14490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14494 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= SWIG_From_long(static_cast< long >(result
));
14508 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
= 0;
14510 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 PyObject
* obj1
= 0 ;
14521 PyObject
* obj2
= 0 ;
14522 char * kwnames
[] = {
14523 (char *) "self",(char *) "pid",(char *) "status", NULL
14526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14531 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14533 if (!SWIG_IsOK(ecode2
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14536 arg2
= static_cast< int >(val2
);
14537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14538 if (!SWIG_IsOK(ecode3
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14541 arg3
= static_cast< int >(val3
);
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 (arg1
)->OnTerminate(arg2
,arg3
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_Py_Void();
14555 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14556 PyObject
*resultobj
= 0;
14557 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14560 PyObject
*swig_obj
[1] ;
14562 if (!args
) SWIG_fail
;
14563 swig_obj
[0] = args
;
14564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14568 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->Redirect();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_Py_Void();
14582 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14583 PyObject
*resultobj
= 0;
14584 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14588 PyObject
*swig_obj
[1] ;
14590 if (!args
) SWIG_fail
;
14591 swig_obj
[0] = args
;
14592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14593 if (!SWIG_IsOK(res1
)) {
14594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14596 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (bool)(arg1
)->IsRedirected();
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14612 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14613 PyObject
*resultobj
= 0;
14614 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14617 PyObject
*swig_obj
[1] ;
14619 if (!args
) SWIG_fail
;
14620 swig_obj
[0] = args
;
14621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14625 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_Py_Void();
14639 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14640 PyObject
*resultobj
= 0;
14641 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14642 wxInputStream
*result
= 0 ;
14645 PyObject
*swig_obj
[1] ;
14647 if (!args
) SWIG_fail
;
14648 swig_obj
[0] = args
;
14649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14650 if (!SWIG_IsOK(res1
)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14653 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 wxPyInputStream
* _ptr
= NULL
;
14664 _ptr
= new wxPyInputStream(result
);
14666 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14674 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14675 PyObject
*resultobj
= 0;
14676 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14677 wxInputStream
*result
= 0 ;
14680 PyObject
*swig_obj
[1] ;
14682 if (!args
) SWIG_fail
;
14683 swig_obj
[0] = args
;
14684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14688 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14696 wxPyInputStream
* _ptr
= NULL
;
14699 _ptr
= new wxPyInputStream(result
);
14701 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14709 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14712 wxOutputStream
*result
= 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14723 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14737 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14742 PyObject
*swig_obj
[1] ;
14744 if (!args
) SWIG_fail
;
14745 swig_obj
[0] = args
;
14746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14750 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->CloseOutput();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_Py_Void();
14764 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14765 PyObject
*resultobj
= 0;
14766 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14770 PyObject
*swig_obj
[1] ;
14772 if (!args
) SWIG_fail
;
14773 swig_obj
[0] = args
;
14774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14778 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 PyObject
*resultobj
= 0;
14796 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14800 PyObject
*swig_obj
[1] ;
14802 if (!args
) SWIG_fail
;
14803 swig_obj
[0] = args
;
14804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14808 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14838 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14858 return SWIG_Py_Void();
14861 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14862 return SWIG_Python_InitShadowInstance(args
);
14865 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 int arg1
= (int) 0 ;
14868 int arg2
= (int) 0 ;
14869 int arg3
= (int) 0 ;
14870 wxProcessEvent
*result
= 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 char * kwnames
[] = {
14881 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14886 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14887 if (!SWIG_IsOK(ecode1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14890 arg1
= static_cast< int >(val1
);
14893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14894 if (!SWIG_IsOK(ecode2
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14897 arg2
= static_cast< int >(val2
);
14900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14901 if (!SWIG_IsOK(ecode3
)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14904 arg3
= static_cast< int >(val3
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14919 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14920 PyObject
*resultobj
= 0;
14921 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14925 PyObject
*swig_obj
[1] ;
14927 if (!args
) SWIG_fail
;
14928 swig_obj
[0] = args
;
14929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14930 if (!SWIG_IsOK(res1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14933 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (int)(arg1
)->GetPid();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_From_int(static_cast< int >(result
));
14947 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14961 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (int)(arg1
)->GetExitCode();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_From_int(static_cast< int >(result
));
14975 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14976 PyObject
*resultobj
= 0;
14977 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14983 PyObject
*swig_obj
[2] ;
14985 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14987 if (!SWIG_IsOK(res1
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14990 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14991 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14992 if (!SWIG_IsOK(ecode2
)) {
14993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14995 arg2
= static_cast< int >(val2
);
14996 if (arg1
) (arg1
)->m_pid
= arg2
;
14998 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15019 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15020 result
= (int) ((arg1
)->m_pid
);
15021 resultobj
= SWIG_From_int(static_cast< int >(result
));
15028 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15029 PyObject
*resultobj
= 0;
15030 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15036 PyObject
*swig_obj
[2] ;
15038 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15043 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15044 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15045 if (!SWIG_IsOK(ecode2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15048 arg2
= static_cast< int >(val2
);
15049 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15051 resultobj
= SWIG_Py_Void();
15058 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15059 PyObject
*resultobj
= 0;
15060 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15064 PyObject
*swig_obj
[1] ;
15066 if (!args
) SWIG_fail
;
15067 swig_obj
[0] = args
;
15068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15072 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15073 result
= (int) ((arg1
)->m_exitcode
);
15074 resultobj
= SWIG_From_int(static_cast< int >(result
));
15081 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15084 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15085 return SWIG_Py_Void();
15088 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15089 return SWIG_Python_InitShadowInstance(args
);
15092 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxString
*arg1
= 0 ;
15095 int arg2
= (int) wxEXEC_ASYNC
;
15096 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15098 bool temp1
= false ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 PyObject
* obj2
= 0 ;
15106 char * kwnames
[] = {
15107 (char *) "command",(char *) "flags",(char *) "process", NULL
15110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15112 arg1
= wxString_in_helper(obj0
);
15113 if (arg1
== NULL
) SWIG_fail
;
15117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15118 if (!SWIG_IsOK(ecode2
)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15121 arg2
= static_cast< int >(val2
);
15124 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15125 if (!SWIG_IsOK(res3
)) {
15126 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15128 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15131 if (!wxPyCheckForApp()) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_From_long(static_cast< long >(result
));
15152 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
= 0;
15155 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15156 wxKillError
*arg3
= (wxKillError
*) 0 ;
15157 int arg4
= (int) wxKILL_NOCHILDREN
;
15163 wxKillError temp3
;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 PyObject
* obj2
= 0 ;
15169 char * kwnames
[] = {
15170 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15177 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15178 if (!SWIG_IsOK(ecode1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15181 arg1
= static_cast< long >(val1
);
15183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15184 if (!SWIG_IsOK(ecode2
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15187 arg2
= static_cast< wxSignal
>(val2
);
15190 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15191 if (!SWIG_IsOK(ecode4
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15194 arg4
= static_cast< int >(val4
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_From_int(static_cast< int >(result
));
15205 o
= PyInt_FromLong((long) (*arg3
));
15209 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15218 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 int arg1
= (int) wxJOYSTICK1
;
15221 wxJoystick
*result
= 0 ;
15224 PyObject
* obj0
= 0 ;
15225 char * kwnames
[] = {
15226 (char *) "joystick", NULL
15229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15232 if (!SWIG_IsOK(ecode1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15235 arg1
= static_cast< int >(val1
);
15238 if (!wxPyCheckForApp()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (wxJoystick
*)new wxJoystick(arg1
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15251 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15256 PyObject
*swig_obj
[1] ;
15258 if (!args
) SWIG_fail
;
15259 swig_obj
[0] = args
;
15260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15264 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_Py_Void();
15279 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15293 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (arg1
)->GetPosition();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15307 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15321 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (int)(arg1
)->GetZPosition();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_From_int(static_cast< int >(result
));
15335 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 PyObject
*resultobj
= 0;
15337 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15341 PyObject
*swig_obj
[1] ;
15343 if (!args
) SWIG_fail
;
15344 swig_obj
[0] = args
;
15345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15346 if (!SWIG_IsOK(res1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15349 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (int)(arg1
)->GetButtonState();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_From_int(static_cast< int >(result
));
15363 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15364 PyObject
*resultobj
= 0;
15365 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15369 PyObject
*swig_obj
[1] ;
15371 if (!args
) SWIG_fail
;
15372 swig_obj
[0] = args
;
15373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15374 if (!SWIG_IsOK(res1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15377 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (int)(arg1
)->GetPOVPosition();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_From_int(static_cast< int >(result
));
15391 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15392 PyObject
*resultobj
= 0;
15393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15397 PyObject
*swig_obj
[1] ;
15399 if (!args
) SWIG_fail
;
15400 swig_obj
[0] = args
;
15401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15402 if (!SWIG_IsOK(res1
)) {
15403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15405 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (int)(arg1
)->GetPOVCTSPosition();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_From_int(static_cast< int >(result
));
15419 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15425 PyObject
*swig_obj
[1] ;
15427 if (!args
) SWIG_fail
;
15428 swig_obj
[0] = args
;
15429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15433 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (int)(arg1
)->GetRudderPosition();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_From_int(static_cast< int >(result
));
15447 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15448 PyObject
*resultobj
= 0;
15449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15453 PyObject
*swig_obj
[1] ;
15455 if (!args
) SWIG_fail
;
15456 swig_obj
[0] = args
;
15457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15461 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (int)(arg1
)->GetUPosition();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_From_int(static_cast< int >(result
));
15475 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15476 PyObject
*resultobj
= 0;
15477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15481 PyObject
*swig_obj
[1] ;
15483 if (!args
) SWIG_fail
;
15484 swig_obj
[0] = args
;
15485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15489 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (int)(arg1
)->GetVPosition();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_From_int(static_cast< int >(result
));
15503 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15504 PyObject
*resultobj
= 0;
15505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15509 PyObject
*swig_obj
[1] ;
15511 if (!args
) SWIG_fail
;
15512 swig_obj
[0] = args
;
15513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15517 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (int)(arg1
)->GetMovementThreshold();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_From_int(static_cast< int >(result
));
15531 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 char * kwnames
[] = {
15542 (char *) "self",(char *) "threshold", NULL
15545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15547 if (!SWIG_IsOK(res1
)) {
15548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15550 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15552 if (!SWIG_IsOK(ecode2
)) {
15553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15555 arg2
= static_cast< int >(val2
);
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->SetMovementThreshold(arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_Py_Void();
15569 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15575 PyObject
*swig_obj
[1] ;
15577 if (!args
) SWIG_fail
;
15578 swig_obj
[0] = args
;
15579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15583 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->IsOk();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15600 PyObject
*resultobj
= 0;
15601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15605 PyObject
*swig_obj
[1] ;
15607 if (!args
) SWIG_fail
;
15608 swig_obj
[0] = args
;
15609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15613 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (int)(arg1
)->GetNumberJoysticks();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_From_int(static_cast< int >(result
));
15627 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 PyObject
*resultobj
= 0;
15629 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15633 PyObject
*swig_obj
[1] ;
15635 if (!args
) SWIG_fail
;
15636 swig_obj
[0] = args
;
15637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15641 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (int)(arg1
)->GetManufacturerId();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_From_int(static_cast< int >(result
));
15655 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 PyObject
*resultobj
= 0;
15657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15661 PyObject
*swig_obj
[1] ;
15663 if (!args
) SWIG_fail
;
15664 swig_obj
[0] = args
;
15665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15669 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (int)(arg1
)->GetProductId();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_From_int(static_cast< int >(result
));
15683 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15689 PyObject
*swig_obj
[1] ;
15691 if (!args
) SWIG_fail
;
15692 swig_obj
[0] = args
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15697 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (arg1
)->GetProductName();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15717 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 PyObject
*resultobj
= 0;
15719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15723 PyObject
*swig_obj
[1] ;
15725 if (!args
) SWIG_fail
;
15726 swig_obj
[0] = args
;
15727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15731 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (int)(arg1
)->GetXMin();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_From_int(static_cast< int >(result
));
15745 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15751 PyObject
*swig_obj
[1] ;
15753 if (!args
) SWIG_fail
;
15754 swig_obj
[0] = args
;
15755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15759 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (int)(arg1
)->GetYMin();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_From_int(static_cast< int >(result
));
15773 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15787 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)(arg1
)->GetZMin();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_From_int(static_cast< int >(result
));
15801 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15807 PyObject
*swig_obj
[1] ;
15809 if (!args
) SWIG_fail
;
15810 swig_obj
[0] = args
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15815 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (int)(arg1
)->GetXMax();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_From_int(static_cast< int >(result
));
15829 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15830 PyObject
*resultobj
= 0;
15831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15835 PyObject
*swig_obj
[1] ;
15837 if (!args
) SWIG_fail
;
15838 swig_obj
[0] = args
;
15839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15840 if (!SWIG_IsOK(res1
)) {
15841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15843 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (int)(arg1
)->GetYMax();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_From_int(static_cast< int >(result
));
15857 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 PyObject
*resultobj
= 0;
15859 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15863 PyObject
*swig_obj
[1] ;
15865 if (!args
) SWIG_fail
;
15866 swig_obj
[0] = args
;
15867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15868 if (!SWIG_IsOK(res1
)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15871 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (int)(arg1
)->GetZMax();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_From_int(static_cast< int >(result
));
15885 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15899 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (int)(arg1
)->GetNumberButtons();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int(static_cast< int >(result
));
15913 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15919 PyObject
*swig_obj
[1] ;
15921 if (!args
) SWIG_fail
;
15922 swig_obj
[0] = args
;
15923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15927 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (int)(arg1
)->GetNumberAxes();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_From_int(static_cast< int >(result
));
15941 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 PyObject
*resultobj
= 0;
15943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15947 PyObject
*swig_obj
[1] ;
15949 if (!args
) SWIG_fail
;
15950 swig_obj
[0] = args
;
15951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15955 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)(arg1
)->GetMaxButtons();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_From_int(static_cast< int >(result
));
15969 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15970 PyObject
*resultobj
= 0;
15971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15975 PyObject
*swig_obj
[1] ;
15977 if (!args
) SWIG_fail
;
15978 swig_obj
[0] = args
;
15979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15980 if (!SWIG_IsOK(res1
)) {
15981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15983 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (int)(arg1
)->GetMaxAxes();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_From_int(static_cast< int >(result
));
15997 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16003 PyObject
*swig_obj
[1] ;
16005 if (!args
) SWIG_fail
;
16006 swig_obj
[0] = args
;
16007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16011 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (int)(arg1
)->GetPollingMin();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_From_int(static_cast< int >(result
));
16025 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16039 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (int)(arg1
)->GetPollingMax();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_From_int(static_cast< int >(result
));
16053 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 PyObject
*resultobj
= 0;
16055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16059 PyObject
*swig_obj
[1] ;
16061 if (!args
) SWIG_fail
;
16062 swig_obj
[0] = args
;
16063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16067 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (int)(arg1
)->GetRudderMin();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_From_int(static_cast< int >(result
));
16081 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16083 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16087 PyObject
*swig_obj
[1] ;
16089 if (!args
) SWIG_fail
;
16090 swig_obj
[0] = args
;
16091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16095 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (int)(arg1
)->GetRudderMax();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_From_int(static_cast< int >(result
));
16109 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16110 PyObject
*resultobj
= 0;
16111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16115 PyObject
*swig_obj
[1] ;
16117 if (!args
) SWIG_fail
;
16118 swig_obj
[0] = args
;
16119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16120 if (!SWIG_IsOK(res1
)) {
16121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16123 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (int)(arg1
)->GetUMin();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_From_int(static_cast< int >(result
));
16137 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 PyObject
*resultobj
= 0;
16139 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16143 PyObject
*swig_obj
[1] ;
16145 if (!args
) SWIG_fail
;
16146 swig_obj
[0] = args
;
16147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16151 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (int)(arg1
)->GetUMax();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= SWIG_From_int(static_cast< int >(result
));
16165 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16179 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (int)(arg1
)->GetVMin();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_From_int(static_cast< int >(result
));
16193 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 PyObject
*resultobj
= 0;
16195 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16199 PyObject
*swig_obj
[1] ;
16201 if (!args
) SWIG_fail
;
16202 swig_obj
[0] = args
;
16203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16207 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (int)(arg1
)->GetVMax();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_From_int(static_cast< int >(result
));
16221 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16222 PyObject
*resultobj
= 0;
16223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16227 PyObject
*swig_obj
[1] ;
16229 if (!args
) SWIG_fail
;
16230 swig_obj
[0] = args
;
16231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16232 if (!SWIG_IsOK(res1
)) {
16233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16235 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (bool)(arg1
)->HasRudder();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16251 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16252 PyObject
*resultobj
= 0;
16253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16257 PyObject
*swig_obj
[1] ;
16259 if (!args
) SWIG_fail
;
16260 swig_obj
[0] = args
;
16261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16262 if (!SWIG_IsOK(res1
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16265 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= (bool)(arg1
)->HasZ();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16282 PyObject
*resultobj
= 0;
16283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16287 PyObject
*swig_obj
[1] ;
16289 if (!args
) SWIG_fail
;
16290 swig_obj
[0] = args
;
16291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16292 if (!SWIG_IsOK(res1
)) {
16293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16295 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (bool)(arg1
)->HasU();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16312 PyObject
*resultobj
= 0;
16313 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16317 PyObject
*swig_obj
[1] ;
16319 if (!args
) SWIG_fail
;
16320 swig_obj
[0] = args
;
16321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16322 if (!SWIG_IsOK(res1
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16325 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (bool)(arg1
)->HasV();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16341 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16342 PyObject
*resultobj
= 0;
16343 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16347 PyObject
*swig_obj
[1] ;
16349 if (!args
) SWIG_fail
;
16350 swig_obj
[0] = args
;
16351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16355 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->HasPOV();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16371 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16372 PyObject
*resultobj
= 0;
16373 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16377 PyObject
*swig_obj
[1] ;
16379 if (!args
) SWIG_fail
;
16380 swig_obj
[0] = args
;
16381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16385 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (bool)(arg1
)->HasPOV4Dir();
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16401 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16402 PyObject
*resultobj
= 0;
16403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16407 PyObject
*swig_obj
[1] ;
16409 if (!args
) SWIG_fail
;
16410 swig_obj
[0] = args
;
16411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16415 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (bool)(arg1
)->HasPOVCTS();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16431 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
= 0;
16433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16434 wxWindow
*arg2
= (wxWindow
*) 0 ;
16435 int arg3
= (int) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 PyObject
* obj2
= 0 ;
16446 char * kwnames
[] = {
16447 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16455 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16457 if (!SWIG_IsOK(res2
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16460 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16463 if (!SWIG_IsOK(ecode3
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16466 arg3
= static_cast< int >(val3
);
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16483 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 PyObject
*resultobj
= 0;
16485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16489 PyObject
*swig_obj
[1] ;
16491 if (!args
) SWIG_fail
;
16492 swig_obj
[0] = args
;
16493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16494 if (!SWIG_IsOK(res1
)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16497 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (bool)(arg1
)->ReleaseCapture();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16513 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16516 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16517 return SWIG_Py_Void();
16520 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16521 return SWIG_Python_InitShadowInstance(args
);
16524 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
= 0;
16526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16527 int arg2
= (int) 0 ;
16528 int arg3
= (int) wxJOYSTICK1
;
16529 int arg4
= (int) 0 ;
16530 wxJoystickEvent
*result
= 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 PyObject
* obj3
= 0 ;
16543 char * kwnames
[] = {
16544 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16550 if (!SWIG_IsOK(ecode1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16553 arg1
= static_cast< wxEventType
>(val1
);
16556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16557 if (!SWIG_IsOK(ecode2
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16560 arg2
= static_cast< int >(val2
);
16563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16564 if (!SWIG_IsOK(ecode3
)) {
16565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16567 arg3
= static_cast< int >(val3
);
16570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16571 if (!SWIG_IsOK(ecode4
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16574 arg4
= static_cast< int >(val4
);
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16589 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 PyObject
*resultobj
= 0;
16591 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16595 PyObject
*swig_obj
[1] ;
16597 if (!args
) SWIG_fail
;
16598 swig_obj
[0] = args
;
16599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16603 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16617 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16631 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_From_int(static_cast< int >(result
));
16645 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 PyObject
*resultobj
= 0;
16647 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16651 PyObject
*swig_obj
[1] ;
16653 if (!args
) SWIG_fail
;
16654 swig_obj
[0] = args
;
16655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16659 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_From_int(static_cast< int >(result
));
16673 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16674 PyObject
*resultobj
= 0;
16675 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16679 PyObject
*swig_obj
[1] ;
16681 if (!args
) SWIG_fail
;
16682 swig_obj
[0] = args
;
16683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16687 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= SWIG_From_int(static_cast< int >(result
));
16701 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16702 PyObject
*resultobj
= 0;
16703 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16707 PyObject
*swig_obj
[1] ;
16709 if (!args
) SWIG_fail
;
16710 swig_obj
[0] = args
;
16711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16712 if (!SWIG_IsOK(res1
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16715 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= SWIG_From_int(static_cast< int >(result
));
16729 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
= 0;
16731 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char * kwnames
[] = {
16740 (char *) "self",(char *) "stick", NULL
16743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16748 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16750 if (!SWIG_IsOK(ecode2
)) {
16751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16753 arg2
= static_cast< int >(val2
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 (arg1
)->SetJoystick(arg2
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_Py_Void();
16767 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
= 0;
16769 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 char * kwnames
[] = {
16778 (char *) "self",(char *) "state", NULL
16781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16783 if (!SWIG_IsOK(res1
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16786 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16788 if (!SWIG_IsOK(ecode2
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16791 arg2
= static_cast< int >(val2
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->SetButtonState(arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_Py_Void();
16805 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
= 0;
16807 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 char * kwnames
[] = {
16816 (char *) "self",(char *) "change", NULL
16819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16824 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16826 if (!SWIG_IsOK(ecode2
)) {
16827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16829 arg2
= static_cast< int >(val2
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 (arg1
)->SetButtonChange(arg2
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_Py_Void();
16843 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= 0;
16845 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16846 wxPoint
*arg2
= 0 ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char * kwnames
[] = {
16853 (char *) "self",(char *) "pos", NULL
16856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16858 if (!SWIG_IsOK(res1
)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16861 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_Py_Void();
16879 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
= 0;
16881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char * kwnames
[] = {
16890 (char *) "self",(char *) "zPos", NULL
16893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16898 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16900 if (!SWIG_IsOK(ecode2
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16903 arg2
= static_cast< int >(val2
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetZPosition(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_Py_Void();
16917 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16918 PyObject
*resultobj
= 0;
16919 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16923 PyObject
*swig_obj
[1] ;
16925 if (!args
) SWIG_fail
;
16926 swig_obj
[0] = args
;
16927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16928 if (!SWIG_IsOK(res1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16931 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16947 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16948 PyObject
*resultobj
= 0;
16949 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16953 PyObject
*swig_obj
[1] ;
16955 if (!args
) SWIG_fail
;
16956 swig_obj
[0] = args
;
16957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16961 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16977 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 PyObject
*resultobj
= 0;
16979 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16983 PyObject
*swig_obj
[1] ;
16985 if (!args
) SWIG_fail
;
16986 swig_obj
[0] = args
;
16987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16988 if (!SWIG_IsOK(res1
)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16991 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= 0;
17009 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17010 int arg2
= (int) wxJOY_BUTTON_ANY
;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char * kwnames
[] = {
17019 (char *) "self",(char *) "but", NULL
17022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17027 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17030 if (!SWIG_IsOK(ecode2
)) {
17031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17033 arg2
= static_cast< int >(val2
);
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17050 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
= 0;
17052 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17053 int arg2
= (int) wxJOY_BUTTON_ANY
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char * kwnames
[] = {
17062 (char *) "self",(char *) "but", NULL
17065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17067 if (!SWIG_IsOK(res1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17070 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17073 if (!SWIG_IsOK(ecode2
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17076 arg2
= static_cast< int >(val2
);
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17093 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
= 0;
17095 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17096 int arg2
= (int) wxJOY_BUTTON_ANY
;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 char * kwnames
[] = {
17105 (char *) "self",(char *) "but", NULL
17108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17110 if (!SWIG_IsOK(res1
)) {
17111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17113 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17116 if (!SWIG_IsOK(ecode2
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17119 arg2
= static_cast< int >(val2
);
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17139 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17140 return SWIG_Py_Void();
17143 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17144 return SWIG_Python_InitShadowInstance(args
);
17147 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
= 0;
17149 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17150 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17151 wxSound
*result
= 0 ;
17152 bool temp1
= false ;
17153 PyObject
* obj0
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "fileName", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17161 arg1
= wxString_in_helper(obj0
);
17162 if (arg1
== NULL
) SWIG_fail
;
17167 if (!wxPyCheckForApp()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17188 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 PyObject
*arg1
= (PyObject
*) 0 ;
17191 wxSound
*result
= 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char * kwnames
[] = {
17194 (char *) "data", NULL
17197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17200 if (!wxPyCheckForApp()) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxSound
*)new_wxSound(arg1
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17213 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17214 PyObject
*resultobj
= 0;
17215 wxSound
*arg1
= (wxSound
*) 0 ;
17218 PyObject
*swig_obj
[1] ;
17220 if (!args
) SWIG_fail
;
17221 swig_obj
[0] = args
;
17222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17223 if (!SWIG_IsOK(res1
)) {
17224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17226 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_Py_Void();
17241 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= 0;
17243 wxSound
*arg1
= (wxSound
*) 0 ;
17244 wxString
*arg2
= 0 ;
17248 bool temp2
= false ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char * kwnames
[] = {
17252 (char *) "self",(char *) "fileName", NULL
17255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17257 if (!SWIG_IsOK(res1
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17260 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17262 arg2
= wxString_in_helper(obj1
);
17263 if (arg2
== NULL
) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17289 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
= 0;
17291 wxSound
*arg1
= (wxSound
*) 0 ;
17292 PyObject
*arg2
= (PyObject
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char * kwnames
[] = {
17299 (char *) "self",(char *) "data", NULL
17302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17304 if (!SWIG_IsOK(res1
)) {
17305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17307 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 PyObject
*resultobj
= 0;
17326 wxSound
*arg1
= (wxSound
*) 0 ;
17330 PyObject
*swig_obj
[1] ;
17332 if (!args
) SWIG_fail
;
17333 swig_obj
[0] = args
;
17334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17338 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->IsOk();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxSound
*arg1
= (wxSound
*) 0 ;
17357 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17361 unsigned int val2
;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 char * kwnames
[] = {
17366 (char *) "self",(char *) "flags", NULL
17369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17374 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17376 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17377 if (!SWIG_IsOK(ecode2
)) {
17378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17380 arg2
= static_cast< unsigned int >(val2
);
17383 if (!wxPyCheckForApp()) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17398 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxString
*arg1
= 0 ;
17401 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17403 bool temp1
= false ;
17404 unsigned int val2
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char * kwnames
[] = {
17409 (char *) "filename",(char *) "flags", NULL
17412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17414 arg1
= wxString_in_helper(obj0
);
17415 if (arg1
== NULL
) SWIG_fail
;
17419 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17420 if (!SWIG_IsOK(ecode2
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17423 arg2
= static_cast< unsigned int >(val2
);
17426 if (!wxPyCheckForApp()) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17449 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17450 PyObject
*resultobj
= 0;
17452 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17454 if (!wxPyCheckForApp()) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_Py_Void();
17467 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17470 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17471 return SWIG_Py_Void();
17474 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17475 return SWIG_Python_InitShadowInstance(args
);
17478 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= 0;
17480 wxString
*arg1
= 0 ;
17481 wxString
*arg2
= 0 ;
17482 wxString
*arg3
= 0 ;
17483 wxString
*arg4
= 0 ;
17484 wxFileTypeInfo
*result
= 0 ;
17485 bool temp1
= false ;
17486 bool temp2
= false ;
17487 bool temp3
= false ;
17488 bool temp4
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17499 arg1
= wxString_in_helper(obj0
);
17500 if (arg1
== NULL
) SWIG_fail
;
17504 arg2
= wxString_in_helper(obj1
);
17505 if (arg2
== NULL
) SWIG_fail
;
17509 arg3
= wxString_in_helper(obj2
);
17510 if (arg3
== NULL
) SWIG_fail
;
17514 arg4
= wxString_in_helper(obj3
);
17515 if (arg4
== NULL
) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17563 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
= 0;
17565 wxArrayString
*arg1
= 0 ;
17566 wxFileTypeInfo
*result
= 0 ;
17567 bool temp1
= false ;
17568 PyObject
* obj0
= 0 ;
17569 char * kwnames
[] = {
17570 (char *) "sArray", NULL
17573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17575 if (! PySequence_Check(obj0
)) {
17576 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17579 arg1
= new wxArrayString
;
17581 int i
, len
=PySequence_Length(obj0
);
17582 for (i
=0; i
<len
; i
++) {
17583 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17584 wxString
* s
= wxString_in_helper(item
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17599 if (temp1
) delete arg1
;
17604 if (temp1
) delete arg1
;
17610 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17611 PyObject
*resultobj
= 0;
17612 wxFileTypeInfo
*result
= 0 ;
17614 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17628 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17629 PyObject
*resultobj
= 0;
17630 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17634 PyObject
*swig_obj
[1] ;
17636 if (!args
) SWIG_fail
;
17637 swig_obj
[0] = args
;
17638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17642 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17658 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
= 0;
17660 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17661 wxString
*arg2
= 0 ;
17662 int arg3
= (int) 0 ;
17665 bool temp2
= false ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 char * kwnames
[] = {
17672 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17680 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17682 arg2
= wxString_in_helper(obj1
);
17683 if (arg2
== NULL
) SWIG_fail
;
17687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17688 if (!SWIG_IsOK(ecode3
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17691 arg3
= static_cast< int >(val3
);
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_Py_Void();
17714 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17717 wxString
*arg2
= 0 ;
17720 bool temp2
= false ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "self",(char *) "shortDesc", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17732 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17734 arg2
= wxString_in_helper(obj1
);
17735 if (arg2
== NULL
) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_Py_Void();
17759 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 PyObject
*resultobj
= 0;
17761 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17762 wxString
*result
= 0 ;
17765 PyObject
*swig_obj
[1] ;
17767 if (!args
) SWIG_fail
;
17768 swig_obj
[0] = args
;
17769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17773 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17778 result
= (wxString
*) &_result_ref
;
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17787 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17796 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17797 PyObject
*resultobj
= 0;
17798 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17799 wxString
*result
= 0 ;
17802 PyObject
*swig_obj
[1] ;
17804 if (!args
) SWIG_fail
;
17805 swig_obj
[0] = args
;
17806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17810 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17815 result
= (wxString
*) &_result_ref
;
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17833 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 PyObject
*resultobj
= 0;
17835 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17836 wxString
*result
= 0 ;
17839 PyObject
*swig_obj
[1] ;
17841 if (!args
) SWIG_fail
;
17842 swig_obj
[0] = args
;
17843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17847 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17852 result
= (wxString
*) &_result_ref
;
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17870 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17871 PyObject
*resultobj
= 0;
17872 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17873 wxString
*result
= 0 ;
17876 PyObject
*swig_obj
[1] ;
17878 if (!args
) SWIG_fail
;
17879 swig_obj
[0] = args
;
17880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17881 if (!SWIG_IsOK(res1
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17884 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17889 result
= (wxString
*) &_result_ref
;
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17898 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17907 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17908 PyObject
*resultobj
= 0;
17909 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17910 wxString
*result
= 0 ;
17913 PyObject
*swig_obj
[1] ;
17915 if (!args
) SWIG_fail
;
17916 swig_obj
[0] = args
;
17917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17918 if (!SWIG_IsOK(res1
)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17921 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17926 result
= (wxString
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17935 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17944 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17945 PyObject
*resultobj
= 0;
17946 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17947 wxArrayString
*result
= 0 ;
17950 PyObject
*swig_obj
[1] ;
17952 if (!args
) SWIG_fail
;
17953 swig_obj
[0] = args
;
17954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17955 if (!SWIG_IsOK(res1
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17958 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17963 result
= (wxArrayString
*) &_result_ref
;
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= wxArrayString2PyList_helper(*result
);
17977 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 PyObject
*resultobj
= 0;
17979 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17991 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18005 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18006 PyObject
*resultobj
= 0;
18007 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18008 wxString
*result
= 0 ;
18011 PyObject
*swig_obj
[1] ;
18013 if (!args
) SWIG_fail
;
18014 swig_obj
[0] = args
;
18015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18016 if (!SWIG_IsOK(res1
)) {
18017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18019 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18024 result
= (wxString
*) &_result_ref
;
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18042 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18043 PyObject
*resultobj
= 0;
18044 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18048 PyObject
*swig_obj
[1] ;
18050 if (!args
) SWIG_fail
;
18051 swig_obj
[0] = args
;
18052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18056 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_From_int(static_cast< int >(result
));
18070 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18073 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18074 return SWIG_Py_Void();
18077 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18078 return SWIG_Python_InitShadowInstance(args
);
18081 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
= 0;
18083 wxFileTypeInfo
*arg1
= 0 ;
18084 wxFileType
*result
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "ftInfo", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18100 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18114 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxFileType
*arg1
= (wxFileType
*) 0 ;
18119 PyObject
*swig_obj
[1] ;
18121 if (!args
) SWIG_fail
;
18122 swig_obj
[0] = args
;
18123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18127 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_Py_Void();
18142 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18143 PyObject
*resultobj
= 0;
18144 wxFileType
*arg1
= (wxFileType
*) 0 ;
18145 PyObject
*result
= 0 ;
18148 PyObject
*swig_obj
[1] ;
18150 if (!args
) SWIG_fail
;
18151 swig_obj
[0] = args
;
18152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18156 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= result
;
18170 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18171 PyObject
*resultobj
= 0;
18172 wxFileType
*arg1
= (wxFileType
*) 0 ;
18173 PyObject
*result
= 0 ;
18176 PyObject
*swig_obj
[1] ;
18178 if (!args
) SWIG_fail
;
18179 swig_obj
[0] = args
;
18180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18181 if (!SWIG_IsOK(res1
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18184 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= result
;
18198 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18199 PyObject
*resultobj
= 0;
18200 wxFileType
*arg1
= (wxFileType
*) 0 ;
18201 PyObject
*result
= 0 ;
18204 PyObject
*swig_obj
[1] ;
18206 if (!args
) SWIG_fail
;
18207 swig_obj
[0] = args
;
18208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18212 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= result
;
18226 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18227 PyObject
*resultobj
= 0;
18228 wxFileType
*arg1
= (wxFileType
*) 0 ;
18229 wxIcon
*result
= 0 ;
18232 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18240 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18254 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18255 PyObject
*resultobj
= 0;
18256 wxFileType
*arg1
= (wxFileType
*) 0 ;
18257 PyObject
*result
= 0 ;
18260 PyObject
*swig_obj
[1] ;
18262 if (!args
) SWIG_fail
;
18263 swig_obj
[0] = args
;
18264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18265 if (!SWIG_IsOK(res1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18268 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
;
18282 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18283 PyObject
*resultobj
= 0;
18284 wxFileType
*arg1
= (wxFileType
*) 0 ;
18285 PyObject
*result
= 0 ;
18288 PyObject
*swig_obj
[1] ;
18290 if (!args
) SWIG_fail
;
18291 swig_obj
[0] = args
;
18292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18296 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= result
;
18310 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxFileType
*arg1
= (wxFileType
*) 0 ;
18313 wxString
*arg2
= 0 ;
18314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18316 PyObject
*result
= 0 ;
18319 bool temp2
= false ;
18320 bool temp3
= false ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 PyObject
* obj2
= 0 ;
18324 char * kwnames
[] = {
18325 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18333 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18335 arg2
= wxString_in_helper(obj1
);
18336 if (arg2
== NULL
) SWIG_fail
;
18341 arg3
= wxString_in_helper(obj2
);
18342 if (arg3
== NULL
) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= result
;
18375 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
= 0;
18377 wxFileType
*arg1
= (wxFileType
*) 0 ;
18378 wxString
*arg2
= 0 ;
18379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18381 PyObject
*result
= 0 ;
18384 bool temp2
= false ;
18385 bool temp3
= false ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 PyObject
* obj2
= 0 ;
18389 char * kwnames
[] = {
18390 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18395 if (!SWIG_IsOK(res1
)) {
18396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18398 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18400 arg2
= wxString_in_helper(obj1
);
18401 if (arg2
== NULL
) SWIG_fail
;
18406 arg3
= wxString_in_helper(obj2
);
18407 if (arg3
== NULL
) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= result
;
18440 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
= 0;
18442 wxFileType
*arg1
= (wxFileType
*) 0 ;
18443 wxString
*arg2
= 0 ;
18444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18446 PyObject
*result
= 0 ;
18449 bool temp2
= false ;
18450 bool temp3
= false ;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 PyObject
* obj2
= 0 ;
18454 char * kwnames
[] = {
18455 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18463 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18465 arg2
= wxString_in_helper(obj1
);
18466 if (arg2
== NULL
) SWIG_fail
;
18471 arg3
= wxString_in_helper(obj2
);
18472 if (arg3
== NULL
) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
;
18505 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
= 0;
18507 wxFileType
*arg1
= (wxFileType
*) 0 ;
18508 wxString
*arg2
= 0 ;
18509 wxString
*arg3
= 0 ;
18510 bool arg4
= (bool) true ;
18514 bool temp2
= false ;
18515 bool temp3
= false ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 PyObject
* obj2
= 0 ;
18521 PyObject
* obj3
= 0 ;
18522 char * kwnames
[] = {
18523 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18531 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18533 arg2
= wxString_in_helper(obj1
);
18534 if (arg2
== NULL
) SWIG_fail
;
18538 arg3
= wxString_in_helper(obj2
);
18539 if (arg3
== NULL
) SWIG_fail
;
18543 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18544 if (!SWIG_IsOK(ecode4
)) {
18545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18547 arg4
= static_cast< bool >(val4
);
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18580 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxFileType
*arg1
= (wxFileType
*) 0 ;
18583 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18584 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18585 int arg3
= (int) 0 ;
18589 bool temp2
= false ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "cmd",(char *) "index", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18604 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18607 arg2
= wxString_in_helper(obj1
);
18608 if (arg2
== NULL
) SWIG_fail
;
18613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18614 if (!SWIG_IsOK(ecode3
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18617 arg3
= static_cast< int >(val3
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18642 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18643 PyObject
*resultobj
= 0;
18644 wxFileType
*arg1
= (wxFileType
*) 0 ;
18648 PyObject
*swig_obj
[1] ;
18650 if (!args
) SWIG_fail
;
18651 swig_obj
[0] = args
;
18652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18656 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 result
= (bool)(arg1
)->Unassociate();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18672 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
= 0;
18674 wxString
*arg1
= 0 ;
18675 wxString
*arg2
= 0 ;
18676 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18677 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18679 bool temp1
= false ;
18680 bool temp2
= false ;
18681 bool temp3
= false ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char * kwnames
[] = {
18686 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18691 arg1
= wxString_in_helper(obj0
);
18692 if (arg1
== NULL
) SWIG_fail
;
18696 arg2
= wxString_in_helper(obj1
);
18697 if (arg2
== NULL
) SWIG_fail
;
18702 arg3
= wxString_in_helper(obj2
);
18703 if (arg3
== NULL
) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18750 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18753 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18754 return SWIG_Py_Void();
18757 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18758 return SWIG_Python_InitShadowInstance(args
);
18761 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18762 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18767 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18768 PyObject
*pyobj
= 0;
18770 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18775 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxString
*arg1
= 0 ;
18778 wxString
*arg2
= 0 ;
18780 bool temp1
= false ;
18781 bool temp2
= false ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char * kwnames
[] = {
18785 (char *) "mimeType",(char *) "wildcard", NULL
18788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18790 arg1
= wxString_in_helper(obj0
);
18791 if (arg1
== NULL
) SWIG_fail
;
18795 arg2
= wxString_in_helper(obj1
);
18796 if (arg2
== NULL
) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18830 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18831 PyObject
*resultobj
= 0;
18832 wxMimeTypesManager
*result
= 0 ;
18834 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18848 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
= 0;
18850 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18851 int arg2
= (int) wxMAILCAP_ALL
;
18852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18858 bool temp3
= false ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 char * kwnames
[] = {
18863 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18871 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18874 if (!SWIG_IsOK(ecode2
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18877 arg2
= static_cast< int >(val2
);
18881 arg3
= wxString_in_helper(obj2
);
18882 if (arg3
== NULL
) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_Py_Void();
18907 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18908 PyObject
*resultobj
= 0;
18909 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18912 PyObject
*swig_obj
[1] ;
18914 if (!args
) SWIG_fail
;
18915 swig_obj
[0] = args
;
18916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18917 if (!SWIG_IsOK(res1
)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18920 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->ClearData();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
= 0;
18936 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18937 wxString
*arg2
= 0 ;
18938 wxFileType
*result
= 0 ;
18941 bool temp2
= false ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "ext", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18953 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18955 arg2
= wxString_in_helper(obj1
);
18956 if (arg2
== NULL
) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18980 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
= 0;
18982 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18983 wxString
*arg2
= 0 ;
18984 wxFileType
*result
= 0 ;
18987 bool temp2
= false ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "self",(char *) "mimeType", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18999 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19001 arg2
= wxString_in_helper(obj1
);
19002 if (arg2
== NULL
) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19026 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= 0;
19028 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19029 wxString
*arg2
= 0 ;
19030 bool arg3
= (bool) false ;
19034 bool temp2
= false ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 PyObject
* obj2
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19049 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19051 arg2
= wxString_in_helper(obj1
);
19052 if (arg2
== NULL
) SWIG_fail
;
19056 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19057 if (!SWIG_IsOK(ecode3
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19060 arg3
= static_cast< bool >(val3
);
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19085 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
= 0;
19087 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19088 wxString
*arg2
= 0 ;
19092 bool temp2
= false ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char * kwnames
[] = {
19096 (char *) "self",(char *) "filename", NULL
19099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19101 if (!SWIG_IsOK(res1
)) {
19102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19104 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19106 arg2
= wxString_in_helper(obj1
);
19107 if (arg2
== NULL
) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19133 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19134 PyObject
*resultobj
= 0;
19135 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19136 PyObject
*result
= 0 ;
19139 PyObject
*swig_obj
[1] ;
19141 if (!args
) SWIG_fail
;
19142 swig_obj
[0] = args
;
19143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19147 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= result
;
19161 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
= 0;
19163 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19164 wxFileTypeInfo
*arg2
= 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char * kwnames
[] = {
19172 (char *) "self",(char *) "ft", NULL
19175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19180 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19182 if (!SWIG_IsOK(res2
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19188 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_Py_Void();
19202 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= 0;
19204 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19205 wxFileTypeInfo
*arg2
= 0 ;
19206 wxFileType
*result
= 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char * kwnames
[] = {
19214 (char *) "self",(char *) "ftInfo", NULL
19217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19219 if (!SWIG_IsOK(res1
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19222 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19224 if (!SWIG_IsOK(res2
)) {
19225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19230 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19244 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= 0;
19246 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19247 wxFileType
*arg2
= (wxFileType
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char * kwnames
[] = {
19256 (char *) "self",(char *) "ft", NULL
19259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19264 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19266 if (!SWIG_IsOK(res2
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19269 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (bool)(arg1
)->Unassociate(arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19285 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 PyObject
*resultobj
= 0;
19287 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19290 PyObject
*swig_obj
[1] ;
19292 if (!args
) SWIG_fail
;
19293 swig_obj
[0] = args
;
19294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19298 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_Py_Void();
19313 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19316 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19317 return SWIG_Py_Void();
19320 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19321 return SWIG_Python_InitShadowInstance(args
);
19324 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19325 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19330 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19331 PyObject
*pyobj
= 0;
19335 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19337 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19344 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19345 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19350 SWIGINTERN PyObject
*ART_MENU_get(void) {
19351 PyObject
*pyobj
= 0;
19355 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19357 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19364 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19365 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19370 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19371 PyObject
*pyobj
= 0;
19375 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19377 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19384 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19385 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19390 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19391 PyObject
*pyobj
= 0;
19395 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19397 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19404 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19405 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19410 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19411 PyObject
*pyobj
= 0;
19415 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19417 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19424 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19425 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19430 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19431 PyObject
*pyobj
= 0;
19435 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19437 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19444 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19445 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19450 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19451 PyObject
*pyobj
= 0;
19455 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19457 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19464 SWIGINTERN
int ART_LIST_set(PyObject
*) {
19465 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST is read-only.");
19470 SWIGINTERN PyObject
*ART_LIST_get(void) {
19471 PyObject
*pyobj
= 0;
19475 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST
)->c_str(), (&wxPyART_LIST
)->Len());
19477 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST
)->c_str(), (&wxPyART_LIST
)->Len());
19484 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19485 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19490 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19491 PyObject
*pyobj
= 0;
19495 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19497 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19504 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19505 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19510 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19511 PyObject
*pyobj
= 0;
19515 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19517 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19524 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19525 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19530 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19531 PyObject
*pyobj
= 0;
19535 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19537 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19544 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19545 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19550 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19551 PyObject
*pyobj
= 0;
19555 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19557 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19564 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19565 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19570 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19571 PyObject
*pyobj
= 0;
19575 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19577 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19584 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19585 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19590 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19591 PyObject
*pyobj
= 0;
19595 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19597 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19604 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19605 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19610 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19611 PyObject
*pyobj
= 0;
19615 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19617 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19624 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19625 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19630 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19631 PyObject
*pyobj
= 0;
19635 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19637 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19644 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19645 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19650 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19651 PyObject
*pyobj
= 0;
19655 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19657 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19664 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19665 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19670 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19671 PyObject
*pyobj
= 0;
19675 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19677 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19684 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19685 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19690 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19691 PyObject
*pyobj
= 0;
19695 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19697 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19704 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19705 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19710 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19711 PyObject
*pyobj
= 0;
19715 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19717 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19724 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19725 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19730 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19731 PyObject
*pyobj
= 0;
19735 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19737 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19744 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19745 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19750 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19751 PyObject
*pyobj
= 0;
19755 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19757 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19764 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19765 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19770 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19771 PyObject
*pyobj
= 0;
19775 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19777 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19784 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19785 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19790 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19791 PyObject
*pyobj
= 0;
19795 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19797 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19804 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19805 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19810 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19811 PyObject
*pyobj
= 0;
19815 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19817 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19824 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19825 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19830 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19831 PyObject
*pyobj
= 0;
19835 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19837 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19844 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19845 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19850 SWIGINTERN PyObject
*ART_HELP_get(void) {
19851 PyObject
*pyobj
= 0;
19855 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19857 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19864 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19865 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19870 SWIGINTERN PyObject
*ART_TIP_get(void) {
19871 PyObject
*pyobj
= 0;
19875 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19877 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19884 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19885 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19890 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19891 PyObject
*pyobj
= 0;
19895 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19897 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19904 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19905 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19910 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19911 PyObject
*pyobj
= 0;
19915 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19917 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19924 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19925 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19930 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19931 PyObject
*pyobj
= 0;
19935 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19937 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19944 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19945 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19950 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19951 PyObject
*pyobj
= 0;
19955 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19957 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19964 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19965 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19970 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19971 PyObject
*pyobj
= 0;
19975 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19977 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19984 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19985 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19990 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19991 PyObject
*pyobj
= 0;
19995 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19997 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
20004 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
20005 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
20010 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
20011 PyObject
*pyobj
= 0;
20015 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20017 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20024 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20025 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20030 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20031 PyObject
*pyobj
= 0;
20035 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20037 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20044 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20045 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20050 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20051 PyObject
*pyobj
= 0;
20055 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20057 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20064 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20065 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20070 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20071 PyObject
*pyobj
= 0;
20075 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20077 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20084 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20085 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20090 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20091 PyObject
*pyobj
= 0;
20095 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20097 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20104 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20105 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20110 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20111 PyObject
*pyobj
= 0;
20115 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20117 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20124 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20125 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20130 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20131 PyObject
*pyobj
= 0;
20135 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20137 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20144 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20145 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20150 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20151 PyObject
*pyobj
= 0;
20155 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20157 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20164 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20165 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20170 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20171 PyObject
*pyobj
= 0;
20175 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20177 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20184 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20185 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20190 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20191 PyObject
*pyobj
= 0;
20195 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20197 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20204 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20205 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20210 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20211 PyObject
*pyobj
= 0;
20215 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20217 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20224 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20225 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20230 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20231 PyObject
*pyobj
= 0;
20235 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20237 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20244 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20245 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20250 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20251 PyObject
*pyobj
= 0;
20255 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20257 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20264 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20265 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20270 SWIGINTERN PyObject
*ART_COPY_get(void) {
20271 PyObject
*pyobj
= 0;
20275 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20277 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20284 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20285 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20290 SWIGINTERN PyObject
*ART_CUT_get(void) {
20291 PyObject
*pyobj
= 0;
20295 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20297 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20304 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20305 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20310 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20311 PyObject
*pyobj
= 0;
20315 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20317 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20324 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20325 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20330 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20331 PyObject
*pyobj
= 0;
20335 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20337 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20344 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20345 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20350 SWIGINTERN PyObject
*ART_NEW_get(void) {
20351 PyObject
*pyobj
= 0;
20355 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20357 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20364 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20365 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20370 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20371 PyObject
*pyobj
= 0;
20375 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20377 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20384 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20385 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20390 SWIGINTERN PyObject
*ART_REDO_get(void) {
20391 PyObject
*pyobj
= 0;
20395 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20397 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20404 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20405 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20410 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20411 PyObject
*pyobj
= 0;
20415 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20417 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20424 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20425 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20430 SWIGINTERN PyObject
*ART_FIND_get(void) {
20431 PyObject
*pyobj
= 0;
20435 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20437 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20444 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20445 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20450 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20451 PyObject
*pyobj
= 0;
20455 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20457 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20464 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20465 PyObject
*resultobj
= 0;
20466 wxPyArtProvider
*result
= 0 ;
20468 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20470 if (!wxPyCheckForApp()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20483 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20484 PyObject
*resultobj
= 0;
20485 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20488 PyObject
*swig_obj
[1] ;
20490 if (!args
) SWIG_fail
;
20491 swig_obj
[0] = args
;
20492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20493 if (!SWIG_IsOK(res1
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20496 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_Py_Void();
20511 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20514 PyObject
*arg2
= (PyObject
*) 0 ;
20515 PyObject
*arg3
= (PyObject
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 PyObject
* obj2
= 0 ;
20521 char * kwnames
[] = {
20522 (char *) "self",(char *) "self",(char *) "_class", NULL
20525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20530 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_Py_Void();
20546 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char * kwnames
[] = {
20552 (char *) "provider", NULL
20555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20556 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 wxPyArtProvider::Push(arg1
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_Py_Void();
20573 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "provider", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 wxPyArtProvider::Insert(arg1
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_Py_Void();
20600 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20601 PyObject
*resultobj
= 0;
20604 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= (bool)wxPyArtProvider::Pop();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= 0;
20622 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "provider", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20636 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (bool)wxPyArtProvider::Delete(arg1
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20652 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxString
*arg1
= 0 ;
20655 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20657 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20658 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20660 bool temp1
= false ;
20661 bool temp2
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "id",(char *) "client",(char *) "size", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20672 arg1
= wxString_in_helper(obj0
);
20673 if (arg1
== NULL
) SWIG_fail
;
20678 arg2
= wxString_in_helper(obj1
);
20679 if (arg2
== NULL
) SWIG_fail
;
20686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20690 if (!wxPyCheckForApp()) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20719 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxString
*arg1
= 0 ;
20722 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20723 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20724 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20725 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20727 bool temp1
= false ;
20728 bool temp2
= false ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 PyObject
* obj2
= 0 ;
20733 char * kwnames
[] = {
20734 (char *) "id",(char *) "client",(char *) "size", NULL
20737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20739 arg1
= wxString_in_helper(obj0
);
20740 if (arg1
== NULL
) SWIG_fail
;
20745 arg2
= wxString_in_helper(obj1
);
20746 if (arg2
== NULL
) SWIG_fail
;
20753 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20757 if (!wxPyCheckForApp()) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20786 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= 0;
20788 wxArtID
*arg1
= 0 ;
20789 wxArtClient
const &arg2_defvalue
= wxART_OTHER
;
20790 wxArtClient
*arg2
= (wxArtClient
*) &arg2_defvalue
;
20791 wxIconBundle result
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "id",(char *) "client", NULL
20802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetIconBundle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20803 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxArtID
, 0 | 0);
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'");
20808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "1"" of type '" "wxArtID const &""'");
20810 arg1
= reinterpret_cast< wxArtID
* >(argp1
);
20812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxArtClient
, 0 | 0);
20813 if (!SWIG_IsOK(res2
)) {
20814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'");
20817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ArtProvider_GetIconBundle" "', expected argument " "2"" of type '" "wxArtClient const &""'");
20819 arg2
= reinterpret_cast< wxArtClient
* >(argp2
);
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= wxPyArtProvider::GetIconBundle((wxArtID
const &)*arg1
,(wxArtClient
const &)*arg2
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_NewPointerObj((new wxIconBundle(static_cast< const wxIconBundle
& >(result
))), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
20834 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
= 0;
20836 wxString
*arg1
= 0 ;
20837 bool arg2
= (bool) false ;
20839 bool temp1
= false ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 char * kwnames
[] = {
20845 (char *) "client",(char *) "platform_dependent", NULL
20848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20850 arg1
= wxString_in_helper(obj0
);
20851 if (arg1
== NULL
) SWIG_fail
;
20855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20856 if (!SWIG_IsOK(ecode2
)) {
20857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20859 arg2
= static_cast< bool >(val2
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20882 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20887 PyObject
*swig_obj
[1] ;
20889 if (!args
) SWIG_fail
;
20890 swig_obj
[0] = args
;
20891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20895 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 wxPyArtProvider_Destroy(arg1
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_Py_Void();
20909 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20912 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20913 return SWIG_Py_Void();
20916 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20917 return SWIG_Python_InitShadowInstance(args
);
20920 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20921 PyObject
*resultobj
= 0;
20922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20925 PyObject
*swig_obj
[1] ;
20927 if (!args
) SWIG_fail
;
20928 swig_obj
[0] = args
;
20929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20933 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_Py_Void();
20948 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
= 0;
20950 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20951 wxConfigBase
*result
= 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char * kwnames
[] = {
20955 (char *) "config", NULL
20958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20959 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20976 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
= 0;
20978 bool arg1
= (bool) true ;
20979 wxConfigBase
*result
= 0 ;
20982 PyObject
* obj0
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "createOnDemand", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20989 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20990 if (!SWIG_IsOK(ecode1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20993 arg1
= static_cast< bool >(val1
);
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21008 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21009 PyObject
*resultobj
= 0;
21010 wxConfigBase
*result
= 0 ;
21012 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (wxConfigBase
*)wxConfigBase::Create();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21026 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21027 PyObject
*resultobj
= 0;
21029 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 wxConfigBase::DontCreateOnDemand();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_Py_Void();
21043 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
= 0;
21045 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21046 wxString
*arg2
= 0 ;
21049 bool temp2
= false ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char * kwnames
[] = {
21053 (char *) "self",(char *) "path", NULL
21056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21058 if (!SWIG_IsOK(res1
)) {
21059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21061 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21063 arg2
= wxString_in_helper(obj1
);
21064 if (arg2
== NULL
) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetPath((wxString
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_Py_Void();
21088 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21091 wxString
*result
= 0 ;
21094 PyObject
*swig_obj
[1] ;
21096 if (!args
) SWIG_fail
;
21097 swig_obj
[0] = args
;
21098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21102 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21107 result
= (wxString
*) &_result_ref
;
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21116 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21125 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21126 PyObject
*resultobj
= 0;
21127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21128 PyObject
*result
= 0 ;
21131 PyObject
*swig_obj
[1] ;
21133 if (!args
) SWIG_fail
;
21134 swig_obj
[0] = args
;
21135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21136 if (!SWIG_IsOK(res1
)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21139 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= result
;
21153 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= 0;
21155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21157 PyObject
*result
= 0 ;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char * kwnames
[] = {
21165 (char *) "self",(char *) "index", NULL
21168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21173 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21175 if (!SWIG_IsOK(ecode2
)) {
21176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21178 arg2
= static_cast< long >(val2
);
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= result
;
21192 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21193 PyObject
*resultobj
= 0;
21194 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21195 PyObject
*result
= 0 ;
21198 PyObject
*swig_obj
[1] ;
21200 if (!args
) SWIG_fail
;
21201 swig_obj
[0] = args
;
21202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21206 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= result
;
21220 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21224 PyObject
*result
= 0 ;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 char * kwnames
[] = {
21232 (char *) "self",(char *) "index", NULL
21235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21237 if (!SWIG_IsOK(res1
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21240 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21242 if (!SWIG_IsOK(ecode2
)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21245 arg2
= static_cast< long >(val2
);
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= result
;
21259 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
= 0;
21261 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21262 bool arg2
= (bool) false ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char * kwnames
[] = {
21271 (char *) "self",(char *) "recursive", NULL
21274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21279 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21282 if (!SWIG_IsOK(ecode2
)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21285 arg2
= static_cast< bool >(val2
);
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21300 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
= 0;
21302 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21303 bool arg2
= (bool) false ;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char * kwnames
[] = {
21312 (char *) "self",(char *) "recursive", NULL
21315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21317 if (!SWIG_IsOK(res1
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21320 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21322 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21323 if (!SWIG_IsOK(ecode2
)) {
21324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21326 arg2
= static_cast< bool >(val2
);
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21341 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
= 0;
21343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21344 wxString
*arg2
= 0 ;
21348 bool temp2
= false ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "self",(char *) "name", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21360 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21362 arg2
= wxString_in_helper(obj1
);
21363 if (arg2
== NULL
) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21392 wxString
*arg2
= 0 ;
21396 bool temp2
= false ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 char * kwnames
[] = {
21400 (char *) "self",(char *) "name", NULL
21403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21408 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21410 arg2
= wxString_in_helper(obj1
);
21411 if (arg2
== NULL
) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21437 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21440 wxString
*arg2
= 0 ;
21444 bool temp2
= false ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "name", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21456 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21458 arg2
= wxString_in_helper(obj1
);
21459 if (arg2
== NULL
) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
= 0;
21487 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21488 wxString
*arg2
= 0 ;
21489 wxConfigBase::EntryType result
;
21492 bool temp2
= false ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char * kwnames
[] = {
21496 (char *) "self",(char *) "name", NULL
21499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21504 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21506 arg2
= wxString_in_helper(obj1
);
21507 if (arg2
== NULL
) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_From_int(static_cast< int >(result
));
21531 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
= 0;
21533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21534 wxString
*arg2
= 0 ;
21535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21540 bool temp2
= false ;
21541 bool temp3
= false ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 char * kwnames
[] = {
21546 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21554 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21556 arg2
= wxString_in_helper(obj1
);
21557 if (arg2
== NULL
) SWIG_fail
;
21562 arg3
= wxString_in_helper(obj2
);
21563 if (arg3
== NULL
) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21602 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
= 0;
21604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21605 wxString
*arg2
= 0 ;
21606 long arg3
= (long) 0 ;
21610 bool temp2
= false ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 PyObject
* obj2
= 0 ;
21616 char * kwnames
[] = {
21617 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21622 if (!SWIG_IsOK(res1
)) {
21623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21625 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21627 arg2
= wxString_in_helper(obj1
);
21628 if (arg2
== NULL
) SWIG_fail
;
21632 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21633 if (!SWIG_IsOK(ecode3
)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21636 arg3
= static_cast< long >(val3
);
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_From_long(static_cast< long >(result
));
21659 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
= 0;
21661 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21662 wxString
*arg2
= 0 ;
21663 double arg3
= (double) 0.0 ;
21667 bool temp2
= false ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 PyObject
* obj2
= 0 ;
21673 char * kwnames
[] = {
21674 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21679 if (!SWIG_IsOK(res1
)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21682 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21684 arg2
= wxString_in_helper(obj1
);
21685 if (arg2
== NULL
) SWIG_fail
;
21689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21690 if (!SWIG_IsOK(ecode3
)) {
21691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21693 arg3
= static_cast< double >(val3
);
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_From_double(static_cast< double >(result
));
21716 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
= 0;
21718 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21719 wxString
*arg2
= 0 ;
21720 bool arg3
= (bool) false ;
21724 bool temp2
= false ;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 PyObject
* obj2
= 0 ;
21730 char * kwnames
[] = {
21731 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21739 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21741 arg2
= wxString_in_helper(obj1
);
21742 if (arg2
== NULL
) SWIG_fail
;
21746 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21747 if (!SWIG_IsOK(ecode3
)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21750 arg3
= static_cast< bool >(val3
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
= 0;
21777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21778 wxString
*arg2
= 0 ;
21779 wxString
*arg3
= 0 ;
21783 bool temp2
= false ;
21784 bool temp3
= false ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 PyObject
* obj2
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "key",(char *) "value", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21797 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21799 arg2
= wxString_in_helper(obj1
);
21800 if (arg2
== NULL
) SWIG_fail
;
21804 arg3
= wxString_in_helper(obj2
);
21805 if (arg3
== NULL
) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21839 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
= 0;
21841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21842 wxString
*arg2
= 0 ;
21847 bool temp2
= false ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "key",(char *) "value", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21862 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21864 arg2
= wxString_in_helper(obj1
);
21865 if (arg2
== NULL
) SWIG_fail
;
21868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21869 if (!SWIG_IsOK(ecode3
)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21872 arg3
= static_cast< long >(val3
);
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21896 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
= 0;
21898 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21899 wxString
*arg2
= 0 ;
21904 bool temp2
= false ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "key",(char *) "value", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21919 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21921 arg2
= wxString_in_helper(obj1
);
21922 if (arg2
== NULL
) SWIG_fail
;
21925 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21926 if (!SWIG_IsOK(ecode3
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21929 arg3
= static_cast< double >(val3
);
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
= 0;
21955 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21956 wxString
*arg2
= 0 ;
21961 bool temp2
= false ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 PyObject
* obj2
= 0 ;
21967 char * kwnames
[] = {
21968 (char *) "self",(char *) "key",(char *) "value", NULL
21971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21976 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21978 arg2
= wxString_in_helper(obj1
);
21979 if (arg2
== NULL
) SWIG_fail
;
21982 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21983 if (!SWIG_IsOK(ecode3
)) {
21984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21986 arg3
= static_cast< bool >(val3
);
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22010 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
= 0;
22012 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22013 bool arg2
= (bool) false ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char * kwnames
[] = {
22022 (char *) "self",(char *) "currentOnly", NULL
22025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22030 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
22036 arg2
= static_cast< bool >(val2
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (bool)(arg1
)->Flush(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22056 wxString
*arg2
= 0 ;
22057 wxString
*arg3
= 0 ;
22061 bool temp2
= false ;
22062 bool temp3
= false ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 PyObject
* obj2
= 0 ;
22066 char * kwnames
[] = {
22067 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22075 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22077 arg2
= wxString_in_helper(obj1
);
22078 if (arg2
== NULL
) SWIG_fail
;
22082 arg3
= wxString_in_helper(obj2
);
22083 if (arg3
== NULL
) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22117 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
= 0;
22119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22120 wxString
*arg2
= 0 ;
22121 wxString
*arg3
= 0 ;
22125 bool temp2
= false ;
22126 bool temp3
= false ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22139 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22141 arg2
= wxString_in_helper(obj1
);
22142 if (arg2
== NULL
) SWIG_fail
;
22146 arg3
= wxString_in_helper(obj2
);
22147 if (arg3
== NULL
) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22181 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
= 0;
22183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22184 wxString
*arg2
= 0 ;
22185 bool arg3
= (bool) true ;
22189 bool temp2
= false ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 PyObject
* obj2
= 0 ;
22195 char * kwnames
[] = {
22196 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DeleteEntry" "', 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 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22212 if (!SWIG_IsOK(ecode3
)) {
22213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22215 arg3
= static_cast< bool >(val3
);
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
= 0;
22242 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22243 wxString
*arg2
= 0 ;
22247 bool temp2
= false ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 char * kwnames
[] = {
22251 (char *) "self",(char *) "key", NULL
22254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22259 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22261 arg2
= wxString_in_helper(obj1
);
22262 if (arg2
== NULL
) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22288 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22289 PyObject
*resultobj
= 0;
22290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22294 PyObject
*swig_obj
[1] ;
22296 if (!args
) SWIG_fail
;
22297 swig_obj
[0] = args
;
22298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22299 if (!SWIG_IsOK(res1
)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22302 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)(arg1
)->DeleteAll();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22318 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= 0;
22320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22321 bool arg2
= (bool) true ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char * kwnames
[] = {
22329 (char *) "self",(char *) "doIt", NULL
22332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22337 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22339 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22340 if (!SWIG_IsOK(ecode2
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22343 arg2
= static_cast< bool >(val2
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->SetExpandEnvVars(arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_Py_Void();
22358 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22364 PyObject
*swig_obj
[1] ;
22366 if (!args
) SWIG_fail
;
22367 swig_obj
[0] = args
;
22368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22372 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22388 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
= 0;
22390 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22391 bool arg2
= (bool) true ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char * kwnames
[] = {
22399 (char *) "self",(char *) "doIt", NULL
22402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22404 if (!SWIG_IsOK(res1
)) {
22405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22407 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22410 if (!SWIG_IsOK(ecode2
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22413 arg2
= static_cast< bool >(val2
);
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 (arg1
)->SetRecordDefaults(arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_Py_Void();
22428 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22429 PyObject
*resultobj
= 0;
22430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22434 PyObject
*swig_obj
[1] ;
22436 if (!args
) SWIG_fail
;
22437 swig_obj
[0] = args
;
22438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22439 if (!SWIG_IsOK(res1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22442 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22458 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
= 0;
22460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22461 wxString
*arg2
= 0 ;
22465 bool temp2
= false ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char * kwnames
[] = {
22469 (char *) "self",(char *) "str", NULL
22472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22477 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22479 arg2
= wxString_in_helper(obj1
);
22480 if (arg2
== NULL
) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22510 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 PyObject
*resultobj
= 0;
22512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22516 PyObject
*swig_obj
[1] ;
22518 if (!args
) SWIG_fail
;
22519 swig_obj
[0] = args
;
22520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22521 if (!SWIG_IsOK(res1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22524 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22544 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22545 PyObject
*resultobj
= 0;
22546 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22550 PyObject
*swig_obj
[1] ;
22552 if (!args
) SWIG_fail
;
22553 swig_obj
[0] = args
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22558 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22578 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
= 0;
22580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22581 wxString
*arg2
= 0 ;
22584 bool temp2
= false ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char * kwnames
[] = {
22588 (char *) "self",(char *) "appName", NULL
22591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22593 if (!SWIG_IsOK(res1
)) {
22594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22596 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22598 arg2
= wxString_in_helper(obj1
);
22599 if (arg2
== NULL
) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetAppName((wxString
const &)*arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22623 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= 0;
22625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22626 wxString
*arg2
= 0 ;
22629 bool temp2
= false ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 char * kwnames
[] = {
22633 (char *) "self",(char *) "vendorName", NULL
22636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22638 if (!SWIG_IsOK(res1
)) {
22639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22641 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22643 arg2
= wxString_in_helper(obj1
);
22644 if (arg2
== NULL
) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_Py_Void();
22668 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= 0;
22670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 char * kwnames
[] = {
22679 (char *) "self",(char *) "style", NULL
22682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22684 if (!SWIG_IsOK(res1
)) {
22685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22687 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22688 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22689 if (!SWIG_IsOK(ecode2
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22692 arg2
= static_cast< long >(val2
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->SetStyle(arg2
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_Py_Void();
22706 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 PyObject
*resultobj
= 0;
22708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22712 PyObject
*swig_obj
[1] ;
22714 if (!args
) SWIG_fail
;
22715 swig_obj
[0] = args
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22720 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_From_long(static_cast< long >(result
));
22734 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22737 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22738 return SWIG_Py_Void();
22741 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= 0;
22743 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22744 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22745 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22746 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22749 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22750 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22751 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22752 wxConfig
*result
= 0 ;
22753 bool temp1
= false ;
22754 bool temp2
= false ;
22755 bool temp3
= false ;
22756 bool temp4
= false ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 PyObject
* obj2
= 0 ;
22762 PyObject
* obj3
= 0 ;
22763 PyObject
* obj4
= 0 ;
22764 char * kwnames
[] = {
22765 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22771 arg1
= wxString_in_helper(obj0
);
22772 if (arg1
== NULL
) SWIG_fail
;
22778 arg2
= wxString_in_helper(obj1
);
22779 if (arg2
== NULL
) SWIG_fail
;
22785 arg3
= wxString_in_helper(obj2
);
22786 if (arg3
== NULL
) SWIG_fail
;
22792 arg4
= wxString_in_helper(obj3
);
22793 if (arg4
== NULL
) SWIG_fail
;
22798 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22799 if (!SWIG_IsOK(ecode5
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22802 arg5
= static_cast< long >(val5
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22849 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22850 PyObject
*resultobj
= 0;
22851 wxConfig
*arg1
= (wxConfig
*) 0 ;
22854 PyObject
*swig_obj
[1] ;
22856 if (!args
) SWIG_fail
;
22857 swig_obj
[0] = args
;
22858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22862 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_Py_Void();
22877 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22880 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22881 return SWIG_Py_Void();
22884 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22885 return SWIG_Python_InitShadowInstance(args
);
22888 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
= 0;
22890 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22891 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22892 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22893 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22898 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22899 wxFileConfig
*result
= 0 ;
22900 bool temp1
= false ;
22901 bool temp2
= false ;
22902 bool temp3
= false ;
22903 bool temp4
= false ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 PyObject
* obj3
= 0 ;
22910 PyObject
* obj4
= 0 ;
22911 char * kwnames
[] = {
22912 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22918 arg1
= wxString_in_helper(obj0
);
22919 if (arg1
== NULL
) SWIG_fail
;
22925 arg2
= wxString_in_helper(obj1
);
22926 if (arg2
== NULL
) SWIG_fail
;
22932 arg3
= wxString_in_helper(obj2
);
22933 if (arg3
== NULL
) SWIG_fail
;
22939 arg4
= wxString_in_helper(obj3
);
22940 if (arg4
== NULL
) SWIG_fail
;
22945 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22946 if (!SWIG_IsOK(ecode5
)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22949 arg5
= static_cast< long >(val5
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22996 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22997 PyObject
*resultobj
= 0;
22998 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
23001 PyObject
*swig_obj
[1] ;
23003 if (!args
) SWIG_fail
;
23004 swig_obj
[0] = args
;
23005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
23006 if (!SWIG_IsOK(res1
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
23009 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_Py_Void();
23024 SWIGINTERN PyObject
*_wrap_FileConfig_GetGlobalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
= 0;
23026 wxString
*arg1
= 0 ;
23028 bool temp1
= false ;
23029 PyObject
* obj0
= 0 ;
23030 char * kwnames
[] = {
23031 (char *) "szFile", NULL
23034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileConfig_GetGlobalFileName",kwnames
,&obj0
)) SWIG_fail
;
23036 arg1
= wxString_in_helper(obj0
);
23037 if (arg1
== NULL
) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= wxFileConfig::GetGlobalFileName((wxString
const &)*arg1
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23067 SWIGINTERN PyObject
*_wrap_FileConfig_GetLocalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
= 0;
23069 wxString
*arg1
= 0 ;
23070 int arg2
= (int) 0 ;
23072 bool temp1
= false ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 char * kwnames
[] = {
23078 (char *) "szFile",(char *) "style", NULL
23081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FileConfig_GetLocalFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23083 arg1
= wxString_in_helper(obj0
);
23084 if (arg1
== NULL
) SWIG_fail
;
23088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23089 if (!SWIG_IsOK(ecode2
)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileConfig_GetLocalFileName" "', expected argument " "2"" of type '" "int""'");
23092 arg2
= static_cast< int >(val2
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= wxFileConfig::GetLocalFileName((wxString
const &)*arg1
,arg2
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23121 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23124 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
23125 return SWIG_Py_Void();
23128 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23129 return SWIG_Python_InitShadowInstance(args
);
23132 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
23135 wxString
*arg2
= 0 ;
23136 wxConfigPathChanger
*result
= 0 ;
23139 bool temp2
= false ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "config",(char *) "entry", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
23151 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23153 arg2
= wxString_in_helper(obj1
);
23154 if (arg2
== NULL
) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23178 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23179 PyObject
*resultobj
= 0;
23180 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23191 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_Py_Void();
23206 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 PyObject
*resultobj
= 0;
23208 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23209 wxString
*result
= 0 ;
23212 PyObject
*swig_obj
[1] ;
23214 if (!args
) SWIG_fail
;
23215 swig_obj
[0] = args
;
23216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23217 if (!SWIG_IsOK(res1
)) {
23218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23220 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23225 result
= (wxString
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23234 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23243 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23246 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23247 return SWIG_Py_Void();
23250 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 return SWIG_Python_InitShadowInstance(args
);
23254 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
= 0;
23256 wxString
*arg1
= 0 ;
23258 bool temp1
= false ;
23259 PyObject
* obj0
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "sz", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23266 arg1
= wxString_in_helper(obj0
);
23267 if (arg1
== NULL
) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23297 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23298 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23303 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23304 PyObject
*pyobj
= 0;
23308 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23310 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23317 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23318 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23323 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23324 PyObject
*pyobj
= 0;
23328 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23330 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23337 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= 0;
23339 wxDateTime::Country arg1
;
23342 PyObject
* obj0
= 0 ;
23343 char * kwnames
[] = {
23344 (char *) "country", NULL
23347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23349 if (!SWIG_IsOK(ecode1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23352 arg1
= static_cast< wxDateTime::Country
>(val1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 wxDateTime::SetCountry(arg1
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_Py_Void();
23366 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxDateTime::Country result
;
23370 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_From_int(static_cast< int >(result
));
23384 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23390 PyObject
* obj0
= 0 ;
23391 char * kwnames
[] = {
23392 (char *) "country", NULL
23395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23398 if (!SWIG_IsOK(ecode1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23401 arg1
= static_cast< wxDateTime::Country
>(val1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23418 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
= 0;
23420 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23424 PyObject
* obj0
= 0 ;
23425 char * kwnames
[] = {
23426 (char *) "cal", NULL
23429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23432 if (!SWIG_IsOK(ecode1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23435 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_From_int(static_cast< int >(result
));
23450 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
= 0;
23456 PyObject
* obj0
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "year", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23463 if (!SWIG_IsOK(ecode1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23466 arg1
= static_cast< int >(val1
);
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_From_int(static_cast< int >(result
));
23480 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
= 0;
23482 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23483 wxDateTime::Month result
;
23486 PyObject
* obj0
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "cal", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23494 if (!SWIG_IsOK(ecode1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23497 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_From_int(static_cast< int >(result
));
23512 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
= 0;
23514 int arg1
= (int) wxDateTime::Inv_Year
;
23515 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 char * kwnames
[] = {
23524 (char *) "year",(char *) "cal", NULL
23527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23530 if (!SWIG_IsOK(ecode1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23533 arg1
= static_cast< int >(val1
);
23536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23537 if (!SWIG_IsOK(ecode2
)) {
23538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23540 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23557 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 int arg1
= (int) wxDateTime::Inv_Year
;
23563 PyObject
* obj0
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "year", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23571 if (!SWIG_IsOK(ecode1
)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23574 arg1
= static_cast< int >(val1
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (int)wxDateTime::GetCentury(arg1
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_From_int(static_cast< int >(result
));
23589 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
= 0;
23592 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "year",(char *) "cal", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23605 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23606 if (!SWIG_IsOK(ecode1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23609 arg1
= static_cast< int >(val1
);
23611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23615 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_int(static_cast< int >(result
));
23630 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23632 wxDateTime::Month arg1
;
23633 int arg2
= (int) wxDateTime::Inv_Year
;
23634 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 PyObject
* obj2
= 0 ;
23645 char * kwnames
[] = {
23646 (char *) "month",(char *) "year",(char *) "cal", NULL
23649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23651 if (!SWIG_IsOK(ecode1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23654 arg1
= static_cast< wxDateTime::Month
>(val1
);
23656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23657 if (!SWIG_IsOK(ecode2
)) {
23658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23660 arg2
= static_cast< int >(val2
);
23663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23664 if (!SWIG_IsOK(ecode3
)) {
23665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23667 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_int(static_cast< int >(result
));
23682 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxDateTime::Month arg1
;
23685 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "month",(char *) "flags", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23699 if (!SWIG_IsOK(ecode1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23702 arg1
= static_cast< wxDateTime::Month
>(val1
);
23704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23705 if (!SWIG_IsOK(ecode2
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23708 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23729 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
= 0;
23731 wxDateTime::WeekDay arg1
;
23732 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 char * kwnames
[] = {
23741 (char *) "weekday",(char *) "flags", NULL
23744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23746 if (!SWIG_IsOK(ecode1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23749 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23752 if (!SWIG_IsOK(ecode2
)) {
23753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23755 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23776 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23777 PyObject
*resultobj
= 0;
23778 PyObject
*result
= 0 ;
23780 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= result
;
23794 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
= 0;
23796 int arg1
= (int) wxDateTime::Inv_Year
;
23797 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 char * kwnames
[] = {
23806 (char *) "year",(char *) "country", NULL
23809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23812 if (!SWIG_IsOK(ecode1
)) {
23813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23815 arg1
= static_cast< int >(val1
);
23818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23819 if (!SWIG_IsOK(ecode2
)) {
23820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23822 arg2
= static_cast< wxDateTime::Country
>(val2
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23839 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
= 0;
23841 int arg1
= (int) wxDateTime::Inv_Year
;
23842 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "year",(char *) "country", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23857 if (!SWIG_IsOK(ecode1
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23860 arg1
= static_cast< int >(val1
);
23863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23864 if (!SWIG_IsOK(ecode2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23867 arg2
= static_cast< wxDateTime::Country
>(val2
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23882 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 int arg1
= (int) wxDateTime::Inv_Year
;
23885 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "year",(char *) "country", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23900 if (!SWIG_IsOK(ecode1
)) {
23901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23903 arg1
= static_cast< int >(val1
);
23906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23907 if (!SWIG_IsOK(ecode2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23910 arg2
= static_cast< wxDateTime::Country
>(val2
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23925 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 PyObject
*resultobj
= 0;
23929 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= wxDateTime::Now();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23943 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23944 PyObject
*resultobj
= 0;
23947 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= wxDateTime::UNow();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23961 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23962 PyObject
*resultobj
= 0;
23965 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= wxDateTime::Today();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23979 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23980 PyObject
*resultobj
= 0;
23981 wxDateTime
*result
= 0 ;
23983 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxDateTime
*)new wxDateTime();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23997 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
= 0;
24000 wxDateTime
*result
= 0 ;
24001 unsigned int val1
;
24003 PyObject
* obj0
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "timet", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
24009 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
24010 if (!SWIG_IsOK(ecode1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
24013 arg1
= static_cast< time_t >(val1
);
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (wxDateTime
*)new wxDateTime(arg1
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24027 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
= 0;
24030 wxDateTime
*result
= 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char * kwnames
[] = {
24035 (char *) "jdn", NULL
24038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
24039 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
24040 if (!SWIG_IsOK(ecode1
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
24043 arg1
= static_cast< double >(val1
);
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (wxDateTime
*)new wxDateTime(arg1
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24057 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
= 0;
24060 int arg2
= (int) 0 ;
24061 int arg3
= (int) 0 ;
24062 int arg4
= (int) 0 ;
24063 wxDateTime
*result
= 0 ;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 PyObject
* obj2
= 0 ;
24075 PyObject
* obj3
= 0 ;
24076 char * kwnames
[] = {
24077 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24082 if (!SWIG_IsOK(ecode1
)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
24085 arg1
= static_cast< int >(val1
);
24087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24088 if (!SWIG_IsOK(ecode2
)) {
24089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
24091 arg2
= static_cast< int >(val2
);
24094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24095 if (!SWIG_IsOK(ecode3
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
24098 arg3
= static_cast< int >(val3
);
24101 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24102 if (!SWIG_IsOK(ecode4
)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
24105 arg4
= static_cast< int >(val4
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24120 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
= 0;
24123 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24124 int arg3
= (int) wxDateTime::Inv_Year
;
24125 int arg4
= (int) 0 ;
24126 int arg5
= (int) 0 ;
24127 int arg6
= (int) 0 ;
24128 int arg7
= (int) 0 ;
24129 wxDateTime
*result
= 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24146 PyObject
* obj2
= 0 ;
24147 PyObject
* obj3
= 0 ;
24148 PyObject
* obj4
= 0 ;
24149 PyObject
* obj5
= 0 ;
24150 PyObject
* obj6
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24157 if (!SWIG_IsOK(ecode1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24160 arg1
= static_cast< int >(val1
);
24162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24163 if (!SWIG_IsOK(ecode2
)) {
24164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24166 arg2
= static_cast< wxDateTime::Month
>(val2
);
24169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24170 if (!SWIG_IsOK(ecode3
)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24173 arg3
= static_cast< int >(val3
);
24176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24177 if (!SWIG_IsOK(ecode4
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24180 arg4
= static_cast< int >(val4
);
24183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24184 if (!SWIG_IsOK(ecode5
)) {
24185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24187 arg5
= static_cast< int >(val5
);
24190 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24191 if (!SWIG_IsOK(ecode6
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24194 arg6
= static_cast< int >(val6
);
24197 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24198 if (!SWIG_IsOK(ecode7
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24201 arg7
= static_cast< int >(val7
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24216 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxDateTime
*arg1
= 0 ;
24219 wxDateTime
*result
= 0 ;
24222 PyObject
* obj0
= 0 ;
24223 char * kwnames
[] = {
24224 (char *) "date", NULL
24227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24249 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24250 PyObject
*resultobj
= 0;
24251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24254 PyObject
*swig_obj
[1] ;
24256 if (!args
) SWIG_fail
;
24257 swig_obj
[0] = args
;
24258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24262 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_Py_Void();
24277 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24280 wxDateTime
*result
= 0 ;
24283 PyObject
*swig_obj
[1] ;
24285 if (!args
) SWIG_fail
;
24286 swig_obj
[0] = args
;
24287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24296 result
= (wxDateTime
*) &_result_ref
;
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24308 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= 0;
24310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24312 wxDateTime
*result
= 0 ;
24315 unsigned int val2
;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char * kwnames
[] = {
24320 (char *) "self",(char *) "timet", NULL
24323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24329 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24330 if (!SWIG_IsOK(ecode2
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24333 arg2
= static_cast< time_t >(val2
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24338 result
= (wxDateTime
*) &_result_ref
;
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24350 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24354 wxDateTime
*result
= 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "jdn", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24370 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24371 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24372 if (!SWIG_IsOK(ecode2
)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24375 arg2
= static_cast< double >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24380 result
= (wxDateTime
*) &_result_ref
;
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24392 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24396 int arg3
= (int) 0 ;
24397 int arg4
= (int) 0 ;
24398 int arg5
= (int) 0 ;
24399 wxDateTime
*result
= 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 PyObject
* obj2
= 0 ;
24413 PyObject
* obj3
= 0 ;
24414 PyObject
* obj4
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24424 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24426 if (!SWIG_IsOK(ecode2
)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24429 arg2
= static_cast< int >(val2
);
24431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24432 if (!SWIG_IsOK(ecode3
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24435 arg3
= static_cast< int >(val3
);
24438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24439 if (!SWIG_IsOK(ecode4
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24442 arg4
= static_cast< int >(val4
);
24445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24446 if (!SWIG_IsOK(ecode5
)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24449 arg5
= static_cast< int >(val5
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24455 result
= (wxDateTime
*) &_result_ref
;
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24467 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
= 0;
24469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24471 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24472 int arg4
= (int) wxDateTime::Inv_Year
;
24473 int arg5
= (int) 0 ;
24474 int arg6
= (int) 0 ;
24475 int arg7
= (int) 0 ;
24476 int arg8
= (int) 0 ;
24477 wxDateTime
*result
= 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 PyObject
* obj2
= 0 ;
24497 PyObject
* obj3
= 0 ;
24498 PyObject
* obj4
= 0 ;
24499 PyObject
* obj5
= 0 ;
24500 PyObject
* obj6
= 0 ;
24501 PyObject
* obj7
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24511 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24516 arg2
= static_cast< int >(val2
);
24518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24519 if (!SWIG_IsOK(ecode3
)) {
24520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24522 arg3
= static_cast< wxDateTime::Month
>(val3
);
24525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24526 if (!SWIG_IsOK(ecode4
)) {
24527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24529 arg4
= static_cast< int >(val4
);
24532 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24533 if (!SWIG_IsOK(ecode5
)) {
24534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24536 arg5
= static_cast< int >(val5
);
24539 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24540 if (!SWIG_IsOK(ecode6
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24543 arg6
= static_cast< int >(val6
);
24546 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24547 if (!SWIG_IsOK(ecode7
)) {
24548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24550 arg7
= static_cast< int >(val7
);
24553 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24554 if (!SWIG_IsOK(ecode8
)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24557 arg8
= static_cast< int >(val8
);
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24563 result
= (wxDateTime
*) &_result_ref
;
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24575 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24576 PyObject
*resultobj
= 0;
24577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24578 wxDateTime
*result
= 0 ;
24581 PyObject
*swig_obj
[1] ;
24583 if (!args
) SWIG_fail
;
24584 swig_obj
[0] = args
;
24585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24589 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24594 result
= (wxDateTime
*) &_result_ref
;
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24606 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24607 PyObject
*resultobj
= 0;
24608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24612 PyObject
*swig_obj
[1] ;
24614 if (!args
) SWIG_fail
;
24615 swig_obj
[0] = args
;
24616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24617 if (!SWIG_IsOK(res1
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24620 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24634 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24638 wxDateTime
*result
= 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char * kwnames
[] = {
24646 (char *) "self",(char *) "year", NULL
24649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24654 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24656 if (!SWIG_IsOK(ecode2
)) {
24657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24659 arg2
= static_cast< int >(val2
);
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24664 result
= (wxDateTime
*) &_result_ref
;
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24676 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
= 0;
24678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24679 wxDateTime::Month arg2
;
24680 wxDateTime
*result
= 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char * kwnames
[] = {
24688 (char *) "self",(char *) "month", NULL
24691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24693 if (!SWIG_IsOK(res1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24696 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24698 if (!SWIG_IsOK(ecode2
)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24701 arg2
= static_cast< wxDateTime::Month
>(val2
);
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24706 result
= (wxDateTime
*) &_result_ref
;
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24718 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= 0;
24720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24722 wxDateTime
*result
= 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char * kwnames
[] = {
24730 (char *) "self",(char *) "day", NULL
24733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24738 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24740 if (!SWIG_IsOK(ecode2
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24743 arg2
= static_cast< int >(val2
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24748 result
= (wxDateTime
*) &_result_ref
;
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24760 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
= 0;
24762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24764 wxDateTime
*result
= 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char * kwnames
[] = {
24772 (char *) "self",(char *) "hour", NULL
24775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24780 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24782 if (!SWIG_IsOK(ecode2
)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24785 arg2
= static_cast< int >(val2
);
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24790 result
= (wxDateTime
*) &_result_ref
;
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24802 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
= 0;
24804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24806 wxDateTime
*result
= 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char * kwnames
[] = {
24814 (char *) "self",(char *) "minute", NULL
24817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24819 if (!SWIG_IsOK(res1
)) {
24820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24822 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24824 if (!SWIG_IsOK(ecode2
)) {
24825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24827 arg2
= static_cast< int >(val2
);
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24832 result
= (wxDateTime
*) &_result_ref
;
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24844 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
= 0;
24846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24848 wxDateTime
*result
= 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char * kwnames
[] = {
24856 (char *) "self",(char *) "second", NULL
24859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24861 if (!SWIG_IsOK(res1
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24864 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24866 if (!SWIG_IsOK(ecode2
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24869 arg2
= static_cast< int >(val2
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24874 result
= (wxDateTime
*) &_result_ref
;
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24886 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24890 wxDateTime
*result
= 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "millisecond", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24911 arg2
= static_cast< int >(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24916 result
= (wxDateTime
*) &_result_ref
;
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24928 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24931 wxDateTime::WeekDay arg2
;
24932 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24933 wxDateTime
*result
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 PyObject
* obj2
= 0 ;
24943 char * kwnames
[] = {
24944 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24949 if (!SWIG_IsOK(res1
)) {
24950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24952 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24954 if (!SWIG_IsOK(ecode2
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24957 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24960 if (!SWIG_IsOK(ecode3
)) {
24961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24963 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24969 result
= (wxDateTime
*) &_result_ref
;
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24981 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= 0;
24983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24984 wxDateTime::WeekDay arg2
;
24985 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 PyObject
* obj2
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "self",(char *) "weekday",(char *) "flags", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25005 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25007 if (!SWIG_IsOK(ecode2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25010 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25013 if (!SWIG_IsOK(ecode3
)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
25016 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25031 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25034 wxDateTime::WeekDay arg2
;
25035 wxDateTime
*result
= 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char * kwnames
[] = {
25043 (char *) "self",(char *) "weekday", NULL
25046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25053 if (!SWIG_IsOK(ecode2
)) {
25054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25056 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
25061 result
= (wxDateTime
*) &_result_ref
;
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25073 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= 0;
25075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25076 wxDateTime::WeekDay arg2
;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char * kwnames
[] = {
25085 (char *) "self",(char *) "weekday", NULL
25088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25093 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25095 if (!SWIG_IsOK(ecode2
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25098 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (arg1
)->GetNextWeekDay(arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25112 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= 0;
25114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25115 wxDateTime::WeekDay arg2
;
25116 wxDateTime
*result
= 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 char * kwnames
[] = {
25124 (char *) "self",(char *) "weekday", NULL
25127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25129 if (!SWIG_IsOK(res1
)) {
25130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25132 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25134 if (!SWIG_IsOK(ecode2
)) {
25135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25137 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
25142 result
= (wxDateTime
*) &_result_ref
;
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25154 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
= 0;
25156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25157 wxDateTime::WeekDay arg2
;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char * kwnames
[] = {
25166 (char *) "self",(char *) "weekday", NULL
25169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25174 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25176 if (!SWIG_IsOK(ecode2
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25179 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (arg1
)->GetPrevWeekDay(arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25193 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25196 wxDateTime::WeekDay arg2
;
25197 int arg3
= (int) 1 ;
25198 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25199 int arg5
= (int) wxDateTime::Inv_Year
;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 PyObject
* obj2
= 0 ;
25214 PyObject
* obj3
= 0 ;
25215 PyObject
* obj4
= 0 ;
25216 char * kwnames
[] = {
25217 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25225 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25227 if (!SWIG_IsOK(ecode2
)) {
25228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25230 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25233 if (!SWIG_IsOK(ecode3
)) {
25234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25236 arg3
= static_cast< int >(val3
);
25239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25240 if (!SWIG_IsOK(ecode4
)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25243 arg4
= static_cast< wxDateTime::Month
>(val4
);
25246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25247 if (!SWIG_IsOK(ecode5
)) {
25248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25250 arg5
= static_cast< int >(val5
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25267 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25270 wxDateTime::WeekDay arg2
;
25271 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25272 int arg4
= (int) wxDateTime::Inv_Year
;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 PyObject
* obj2
= 0 ;
25285 PyObject
* obj3
= 0 ;
25286 char * kwnames
[] = {
25287 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25292 if (!SWIG_IsOK(res1
)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25297 if (!SWIG_IsOK(ecode2
)) {
25298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25300 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25303 if (!SWIG_IsOK(ecode3
)) {
25304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25306 arg3
= static_cast< wxDateTime::Month
>(val3
);
25309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25310 if (!SWIG_IsOK(ecode4
)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25313 arg4
= static_cast< int >(val4
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25330 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
= 0;
25332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25333 wxDateTime::WeekDay arg2
;
25334 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25335 int arg4
= (int) wxDateTime::Inv_Year
;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 PyObject
* obj2
= 0 ;
25348 PyObject
* obj3
= 0 ;
25349 char * kwnames
[] = {
25350 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25358 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25360 if (!SWIG_IsOK(ecode2
)) {
25361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25363 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25366 if (!SWIG_IsOK(ecode3
)) {
25367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25369 arg3
= static_cast< wxDateTime::Month
>(val3
);
25372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25373 if (!SWIG_IsOK(ecode4
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25376 arg4
= static_cast< int >(val4
);
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25391 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25395 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 PyObject
* obj2
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25412 if (!SWIG_IsOK(ecode1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25415 arg1
= static_cast< int >(val1
);
25416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25417 if (!SWIG_IsOK(ecode2
)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25420 arg2
= static_cast< int >(val2
);
25422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25423 if (!SWIG_IsOK(ecode3
)) {
25424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25426 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25441 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25444 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25445 int arg3
= (int) wxDateTime::Inv_Year
;
25446 wxDateTime
*result
= 0 ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 PyObject
* obj2
= 0 ;
25456 char * kwnames
[] = {
25457 (char *) "self",(char *) "month",(char *) "year", NULL
25460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25465 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25468 if (!SWIG_IsOK(ecode2
)) {
25469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25471 arg2
= static_cast< wxDateTime::Month
>(val2
);
25474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25475 if (!SWIG_IsOK(ecode3
)) {
25476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25478 arg3
= static_cast< int >(val3
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25484 result
= (wxDateTime
*) &_result_ref
;
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25496 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
= 0;
25498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25499 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25500 int arg3
= (int) wxDateTime::Inv_Year
;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 PyObject
* obj2
= 0 ;
25511 char * kwnames
[] = {
25512 (char *) "self",(char *) "month",(char *) "year", NULL
25515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25523 if (!SWIG_IsOK(ecode2
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25526 arg2
= static_cast< wxDateTime::Month
>(val2
);
25529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25530 if (!SWIG_IsOK(ecode3
)) {
25531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25533 arg3
= static_cast< int >(val3
);
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25548 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
= 0;
25550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25552 wxDateTime
*result
= 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "yday", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25568 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25570 if (!SWIG_IsOK(ecode2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25573 arg2
= static_cast< int >(val2
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25578 result
= (wxDateTime
*) &_result_ref
;
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25590 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char * kwnames
[] = {
25602 (char *) "self",(char *) "yday", NULL
25605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25610 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25612 if (!SWIG_IsOK(ecode2
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25615 arg2
= static_cast< int >(val2
);
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= (arg1
)->GetYearDay(arg2
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25629 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(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_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25643 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (double)(arg1
)->GetJulianDayNumber();
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= SWIG_From_double(static_cast< double >(result
));
25657 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(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_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25671 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (double)(arg1
)->GetJDN();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_From_double(static_cast< double >(result
));
25685 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(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_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25699 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_From_double(static_cast< double >(result
));
25713 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(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_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25727 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (double)(arg1
)->GetMJD();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_From_double(static_cast< double >(result
));
25741 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25742 PyObject
*resultobj
= 0;
25743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25747 PyObject
*swig_obj
[1] ;
25749 if (!args
) SWIG_fail
;
25750 swig_obj
[0] = args
;
25751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (double)(arg1
)->GetRataDie();
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= SWIG_From_double(static_cast< double >(result
));
25769 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
= 0;
25771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25772 wxDateTime::TimeZone
*arg2
= 0 ;
25773 bool arg3
= (bool) false ;
25777 bool temp2
= false ;
25780 PyObject
* obj0
= 0 ;
25781 PyObject
* obj1
= 0 ;
25782 PyObject
* obj2
= 0 ;
25783 char * kwnames
[] = {
25784 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25792 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25794 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25799 if (!SWIG_IsOK(ecode3
)) {
25800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25802 arg3
= static_cast< bool >(val3
);
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25812 if (temp2
) delete arg2
;
25817 if (temp2
) delete arg2
;
25823 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25826 wxDateTime::TimeZone
*arg2
= 0 ;
25827 bool arg3
= (bool) false ;
25828 wxDateTime
*result
= 0 ;
25831 bool temp2
= false ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 char * kwnames
[] = {
25838 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25843 if (!SWIG_IsOK(res1
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25846 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25848 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25852 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25853 if (!SWIG_IsOK(ecode3
)) {
25854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25856 arg3
= static_cast< bool >(val3
);
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25862 result
= (wxDateTime
*) &_result_ref
;
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25869 if (temp2
) delete arg2
;
25874 if (temp2
) delete arg2
;
25880 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25883 wxDateTime::TimeZone
*arg2
= 0 ;
25884 bool arg3
= (bool) false ;
25888 bool temp2
= false ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 PyObject
* obj2
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25903 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25905 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25909 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25910 if (!SWIG_IsOK(ecode3
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25913 arg3
= static_cast< bool >(val3
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25923 if (temp2
) delete arg2
;
25928 if (temp2
) delete arg2
;
25934 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= 0;
25936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25937 wxDateTime::TimeZone
*arg2
= 0 ;
25938 bool arg3
= (bool) false ;
25939 wxDateTime
*result
= 0 ;
25942 bool temp2
= false ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char * kwnames
[] = {
25949 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25954 if (!SWIG_IsOK(res1
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25957 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25959 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25964 if (!SWIG_IsOK(ecode3
)) {
25965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25967 arg3
= static_cast< bool >(val3
);
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25973 result
= (wxDateTime
*) &_result_ref
;
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25980 if (temp2
) delete arg2
;
25985 if (temp2
) delete arg2
;
25991 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= 0;
25993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25994 bool arg2
= (bool) false ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "noDST", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26011 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26013 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26014 if (!SWIG_IsOK(ecode2
)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
26017 arg2
= static_cast< bool >(val2
);
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26032 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26035 bool arg2
= (bool) false ;
26036 wxDateTime
*result
= 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char * kwnames
[] = {
26044 (char *) "self",(char *) "noDST", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26052 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26055 if (!SWIG_IsOK(ecode2
)) {
26056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
26058 arg2
= static_cast< bool >(val2
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
26064 result
= (wxDateTime
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26076 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26079 bool arg2
= (bool) false ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char * kwnames
[] = {
26088 (char *) "self",(char *) "noDST", NULL
26091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26093 if (!SWIG_IsOK(res1
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26096 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26098 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26099 if (!SWIG_IsOK(ecode2
)) {
26100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26102 arg2
= static_cast< bool >(val2
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26117 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
= 0;
26119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26120 bool arg2
= (bool) false ;
26121 wxDateTime
*result
= 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 char * kwnames
[] = {
26129 (char *) "self",(char *) "noDST", NULL
26132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26137 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26140 if (!SWIG_IsOK(ecode2
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26143 arg2
= static_cast< bool >(val2
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26149 result
= (wxDateTime
*) &_result_ref
;
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26161 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
= 0;
26163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26164 bool arg2
= (bool) false ;
26170 PyObject
* obj0
= 0 ;
26171 PyObject
* obj1
= 0 ;
26172 char * kwnames
[] = {
26173 (char *) "self",(char *) "noDST", NULL
26176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26181 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26183 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26184 if (!SWIG_IsOK(ecode2
)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26187 arg2
= static_cast< bool >(val2
);
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26202 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
= 0;
26204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26205 bool arg2
= (bool) false ;
26206 wxDateTime
*result
= 0 ;
26211 PyObject
* obj0
= 0 ;
26212 PyObject
* obj1
= 0 ;
26213 char * kwnames
[] = {
26214 (char *) "self",(char *) "noDST", NULL
26217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26219 if (!SWIG_IsOK(res1
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26222 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26224 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26225 if (!SWIG_IsOK(ecode2
)) {
26226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26228 arg2
= static_cast< bool >(val2
);
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26234 result
= (wxDateTime
*) &_result_ref
;
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26246 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= 0;
26248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26249 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26255 PyObject
* obj0
= 0 ;
26256 PyObject
* obj1
= 0 ;
26257 char * kwnames
[] = {
26258 (char *) "self",(char *) "country", NULL
26261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26263 if (!SWIG_IsOK(res1
)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26266 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26269 if (!SWIG_IsOK(ecode2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26272 arg2
= static_cast< wxDateTime::Country
>(val2
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (int)(arg1
)->IsDST(arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_From_int(static_cast< int >(result
));
26287 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26288 PyObject
*resultobj
= 0;
26289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26293 PyObject
*swig_obj
[1] ;
26295 if (!args
) SWIG_fail
;
26296 swig_obj
[0] = args
;
26297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26301 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26317 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26331 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26345 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
= 0;
26347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26348 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26349 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26353 bool temp2
= false ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char * kwnames
[] = {
26357 (char *) "self",(char *) "tz", NULL
26360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26365 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26368 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_From_int(static_cast< int >(result
));
26380 if (temp2
) delete arg2
;
26385 if (temp2
) delete arg2
;
26391 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
= 0;
26393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26394 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26395 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26396 wxDateTime::Month result
;
26399 bool temp2
= false ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char * kwnames
[] = {
26403 (char *) "self",(char *) "tz", NULL
26406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26411 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26414 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_From_int(static_cast< int >(result
));
26426 if (temp2
) delete arg2
;
26431 if (temp2
) delete arg2
;
26437 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
= 0;
26439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26440 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26441 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26445 bool temp2
= false ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "tz", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26457 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26460 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= SWIG_From_int(static_cast< int >(result
));
26472 if (temp2
) delete arg2
;
26477 if (temp2
) delete arg2
;
26483 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26486 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26487 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26488 wxDateTime::WeekDay result
;
26491 bool temp2
= false ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "tz", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26503 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26506 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_From_int(static_cast< int >(result
));
26518 if (temp2
) delete arg2
;
26523 if (temp2
) delete arg2
;
26529 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26532 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26533 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26537 bool temp2
= false ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "tz", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26549 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26552 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_From_int(static_cast< int >(result
));
26564 if (temp2
) delete arg2
;
26569 if (temp2
) delete arg2
;
26575 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26578 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26579 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26583 bool temp2
= false ;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char * kwnames
[] = {
26587 (char *) "self",(char *) "tz", NULL
26590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26592 if (!SWIG_IsOK(res1
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26595 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26598 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_From_int(static_cast< int >(result
));
26610 if (temp2
) delete arg2
;
26615 if (temp2
) delete arg2
;
26621 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= 0;
26623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26624 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26625 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26629 bool temp2
= false ;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 char * kwnames
[] = {
26633 (char *) "self",(char *) "tz", NULL
26636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26638 if (!SWIG_IsOK(res1
)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26641 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26644 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_From_int(static_cast< int >(result
));
26656 if (temp2
) delete arg2
;
26661 if (temp2
) delete arg2
;
26667 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26670 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26671 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26675 bool temp2
= false ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char * kwnames
[] = {
26679 (char *) "self",(char *) "tz", NULL
26682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26687 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26690 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_From_int(static_cast< int >(result
));
26702 if (temp2
) delete arg2
;
26707 if (temp2
) delete arg2
;
26713 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26716 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26717 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26721 bool temp2
= false ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 char * kwnames
[] = {
26725 (char *) "self",(char *) "tz", NULL
26728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26733 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26736 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_From_int(static_cast< int >(result
));
26748 if (temp2
) delete arg2
;
26753 if (temp2
) delete arg2
;
26759 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
= 0;
26761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26762 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26763 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26764 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26770 bool temp3
= false ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 PyObject
* obj2
= 0 ;
26774 char * kwnames
[] = {
26775 (char *) "self",(char *) "flags",(char *) "tz", NULL
26778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26783 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26786 if (!SWIG_IsOK(ecode2
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26789 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26793 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_From_int(static_cast< int >(result
));
26805 if (temp3
) delete arg3
;
26810 if (temp3
) delete arg3
;
26816 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
= 0;
26818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26819 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26820 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26821 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26827 bool temp3
= false ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "flags",(char *) "tz", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26840 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26843 if (!SWIG_IsOK(ecode2
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26846 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26850 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= SWIG_From_int(static_cast< int >(result
));
26862 if (temp3
) delete arg3
;
26867 if (temp3
) delete arg3
;
26873 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= 0;
26875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26876 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char * kwnames
[] = {
26885 (char *) "self",(char *) "country", NULL
26888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26890 if (!SWIG_IsOK(res1
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26893 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26896 if (!SWIG_IsOK(ecode2
)) {
26897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26899 arg2
= static_cast< wxDateTime::Country
>(val2
);
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26916 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
= 0;
26918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26919 wxDateTime
*arg2
= 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char * kwnames
[] = {
26928 (char *) "self",(char *) "datetime", NULL
26931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26938 if (!SWIG_IsOK(res2
)) {
26939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26944 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26960 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
= 0;
26962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26963 wxDateTime
*arg2
= 0 ;
26969 PyObject
* obj0
= 0 ;
26970 PyObject
* obj1
= 0 ;
26971 char * kwnames
[] = {
26972 (char *) "self",(char *) "datetime", NULL
26975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26980 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26982 if (!SWIG_IsOK(res2
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26988 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27004 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= 0;
27006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27007 wxDateTime
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "datetime", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27026 if (!SWIG_IsOK(res2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27032 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27051 wxDateTime
*arg2
= 0 ;
27052 wxDateTime
*arg3
= 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 PyObject
* obj2
= 0 ;
27063 char * kwnames
[] = {
27064 (char *) "self",(char *) "t1",(char *) "t2", NULL
27067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27072 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27074 if (!SWIG_IsOK(res2
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27080 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27081 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27082 if (!SWIG_IsOK(res3
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27088 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27104 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
= 0;
27106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27107 wxDateTime
*arg2
= 0 ;
27108 wxDateTime
*arg3
= 0 ;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 PyObject
* obj2
= 0 ;
27119 char * kwnames
[] = {
27120 (char *) "self",(char *) "t1",(char *) "t2", NULL
27123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27128 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27130 if (!SWIG_IsOK(res2
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27136 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27137 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27138 if (!SWIG_IsOK(res3
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27144 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27160 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
= 0;
27162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27163 wxDateTime
*arg2
= 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "self",(char *) "dt", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27180 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27182 if (!SWIG_IsOK(res2
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27188 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
= 0;
27206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27207 wxDateTime
*arg2
= 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char * kwnames
[] = {
27216 (char *) "self",(char *) "dt", NULL
27219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27224 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27226 if (!SWIG_IsOK(res2
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27232 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27248 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
= 0;
27250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27251 wxDateTime
*arg2
= 0 ;
27252 wxTimeSpan
*arg3
= 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 PyObject
* obj2
= 0 ;
27263 char * kwnames
[] = {
27264 (char *) "self",(char *) "dt",(char *) "ts", NULL
27267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27274 if (!SWIG_IsOK(res2
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27280 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27281 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27282 if (!SWIG_IsOK(res3
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27288 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27304 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
= 0;
27306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27307 wxTimeSpan
*arg2
= 0 ;
27308 wxDateTime
*result
= 0 ;
27313 PyObject
* obj0
= 0 ;
27314 PyObject
* obj1
= 0 ;
27315 char * kwnames
[] = {
27316 (char *) "self",(char *) "diff", NULL
27319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27324 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27326 if (!SWIG_IsOK(res2
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27332 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27337 result
= (wxDateTime
*) &_result_ref
;
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27349 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
= 0;
27351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27352 wxDateSpan
*arg2
= 0 ;
27353 wxDateTime
*result
= 0 ;
27358 PyObject
* obj0
= 0 ;
27359 PyObject
* obj1
= 0 ;
27360 char * kwnames
[] = {
27361 (char *) "self",(char *) "diff", NULL
27364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27366 if (!SWIG_IsOK(res1
)) {
27367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27371 if (!SWIG_IsOK(res2
)) {
27372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27377 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27382 result
= (wxDateTime
*) &_result_ref
;
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27394 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= 0;
27396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27397 wxTimeSpan
*arg2
= 0 ;
27398 wxDateTime
*result
= 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char * kwnames
[] = {
27406 (char *) "self",(char *) "diff", NULL
27409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27414 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27416 if (!SWIG_IsOK(res2
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27422 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27427 result
= (wxDateTime
*) &_result_ref
;
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27439 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
= 0;
27441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27442 wxDateSpan
*arg2
= 0 ;
27443 wxDateTime
*result
= 0 ;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 char * kwnames
[] = {
27451 (char *) "self",(char *) "diff", NULL
27454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27459 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27461 if (!SWIG_IsOK(res2
)) {
27462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27467 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27472 result
= (wxDateTime
*) &_result_ref
;
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27484 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
= 0;
27486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27487 wxDateTime
*arg2
= 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "dt", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27504 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27506 if (!SWIG_IsOK(res2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27512 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27526 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27527 PyObject
*resultobj
= 0;
27528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27529 wxTimeSpan
*arg2
= 0 ;
27530 wxDateTime
*result
= 0 ;
27536 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27541 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27542 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27543 if (!SWIG_IsOK(res2
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27549 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27554 result
= (wxDateTime
*) &_result_ref
;
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27566 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27567 PyObject
*resultobj
= 0;
27568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27569 wxDateSpan
*arg2
= 0 ;
27570 wxDateTime
*result
= 0 ;
27576 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27581 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27583 if (!SWIG_IsOK(res2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27589 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27594 result
= (wxDateTime
*) &_result_ref
;
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27606 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27610 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27615 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27616 _v
= SWIG_CheckState(res
);
27618 if (!_v
) goto check_1
;
27619 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27624 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27628 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27633 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27634 PyObject
*resultobj
= 0;
27635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27636 wxTimeSpan
*arg2
= 0 ;
27637 wxDateTime
*result
= 0 ;
27643 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27648 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27649 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27650 if (!SWIG_IsOK(res2
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27656 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27661 result
= (wxDateTime
*) &_result_ref
;
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27673 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27674 PyObject
*resultobj
= 0;
27675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27676 wxDateSpan
*arg2
= 0 ;
27677 wxDateTime
*result
= 0 ;
27683 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27689 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27690 if (!SWIG_IsOK(res2
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27696 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27701 result
= (wxDateTime
*) &_result_ref
;
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27713 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27717 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27722 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27723 _v
= SWIG_CheckState(res
);
27725 if (!_v
) goto check_1
;
27726 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27731 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27735 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27740 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27741 PyObject
*resultobj
= 0;
27742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27743 wxTimeSpan
*arg2
= 0 ;
27750 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27756 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27757 if (!SWIG_IsOK(res2
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27763 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27777 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27778 PyObject
*resultobj
= 0;
27779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27780 wxDateSpan
*arg2
= 0 ;
27787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27789 if (!SWIG_IsOK(res1
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27792 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27793 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27794 if (!SWIG_IsOK(res2
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27800 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27814 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27818 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27823 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27824 _v
= SWIG_CheckState(res
);
27826 if (!_v
) goto check_1
;
27827 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27832 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27836 Py_INCREF(Py_NotImplemented
);
27837 return Py_NotImplemented
;
27841 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27842 PyObject
*resultobj
= 0;
27843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27844 wxDateTime
*arg2
= 0 ;
27851 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27857 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27858 if (!SWIG_IsOK(res2
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27864 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27878 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27879 PyObject
*resultobj
= 0;
27880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27881 wxTimeSpan
*arg2
= 0 ;
27888 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27890 if (!SWIG_IsOK(res1
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27893 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27894 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27895 if (!SWIG_IsOK(res2
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27901 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27915 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27916 PyObject
*resultobj
= 0;
27917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27918 wxDateSpan
*arg2
= 0 ;
27925 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27930 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27938 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27952 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27956 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27961 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27962 _v
= SWIG_CheckState(res
);
27964 if (!_v
) goto check_1
;
27965 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27972 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27973 _v
= SWIG_CheckState(res
);
27975 if (!_v
) goto check_2
;
27976 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27981 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27985 Py_INCREF(Py_NotImplemented
);
27986 return Py_NotImplemented
;
27990 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
= 0;
27992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27993 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 char * kwnames
[] = {
28002 (char *) "self",(char *) "other", NULL
28005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28010 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28012 if (!SWIG_IsOK(res2
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28015 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28031 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
= 0;
28033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28034 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char * kwnames
[] = {
28043 (char *) "self",(char *) "other", NULL
28046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28048 if (!SWIG_IsOK(res1
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28053 if (!SWIG_IsOK(res2
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28056 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28072 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28073 PyObject
*resultobj
= 0;
28074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28075 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char * kwnames
[] = {
28084 (char *) "self",(char *) "other", NULL
28087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28092 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28094 if (!SWIG_IsOK(res2
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28097 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28113 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
= 0;
28115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28116 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char * kwnames
[] = {
28125 (char *) "self",(char *) "other", NULL
28128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28133 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28134 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28135 if (!SWIG_IsOK(res2
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28138 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28154 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
= 0;
28156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28157 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 char * kwnames
[] = {
28166 (char *) "self",(char *) "other", NULL
28169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28174 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28176 if (!SWIG_IsOK(res2
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28179 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28195 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
= 0;
28197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28198 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "other", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28215 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28217 if (!SWIG_IsOK(res2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28220 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28236 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
= 0;
28238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28239 wxString
*arg2
= 0 ;
28243 bool temp2
= false ;
28244 PyObject
* obj0
= 0 ;
28245 PyObject
* obj1
= 0 ;
28246 char * kwnames
[] = {
28247 (char *) "self",(char *) "date", NULL
28250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28255 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28257 arg2
= wxString_in_helper(obj1
);
28258 if (arg2
== NULL
) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= SWIG_From_int(static_cast< int >(result
));
28282 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28285 wxString
*arg2
= 0 ;
28286 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28288 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28289 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28293 bool temp2
= false ;
28294 bool temp3
= false ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 PyObject
* obj2
= 0 ;
28300 PyObject
* obj3
= 0 ;
28301 char * kwnames
[] = {
28302 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28307 if (!SWIG_IsOK(res1
)) {
28308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28310 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28312 arg2
= wxString_in_helper(obj1
);
28313 if (arg2
== NULL
) SWIG_fail
;
28318 arg3
= wxString_in_helper(obj2
);
28319 if (arg3
== NULL
) SWIG_fail
;
28324 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28325 if (!SWIG_IsOK(res4
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28331 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_From_int(static_cast< int >(result
));
28362 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28365 wxString
*arg2
= 0 ;
28369 bool temp2
= false ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char * kwnames
[] = {
28373 (char *) "self",(char *) "datetime", NULL
28376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28378 if (!SWIG_IsOK(res1
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28381 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28383 arg2
= wxString_in_helper(obj1
);
28384 if (arg2
== NULL
) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= SWIG_From_int(static_cast< int >(result
));
28408 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28411 wxString
*arg2
= 0 ;
28415 bool temp2
= false ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char * kwnames
[] = {
28419 (char *) "self",(char *) "date", NULL
28422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28429 arg2
= wxString_in_helper(obj1
);
28430 if (arg2
== NULL
) SWIG_fail
;
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_From_int(static_cast< int >(result
));
28454 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= 0;
28456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28457 wxString
*arg2
= 0 ;
28461 bool temp2
= false ;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char * kwnames
[] = {
28465 (char *) "self",(char *) "time", NULL
28468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28473 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28475 arg2
= wxString_in_helper(obj1
);
28476 if (arg2
== NULL
) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_From_int(static_cast< int >(result
));
28500 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
= 0;
28502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28503 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28504 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28505 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28506 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28510 bool temp2
= false ;
28511 bool temp3
= false ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 PyObject
* obj2
= 0 ;
28515 char * kwnames
[] = {
28516 (char *) "self",(char *) "format",(char *) "tz", NULL
28519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28521 if (!SWIG_IsOK(res1
)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28524 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28527 arg2
= wxString_in_helper(obj1
);
28528 if (arg2
== NULL
) SWIG_fail
;
28534 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28556 if (temp3
) delete arg3
;
28565 if (temp3
) delete arg3
;
28571 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28577 PyObject
*swig_obj
[1] ;
28579 if (!args
) SWIG_fail
;
28580 swig_obj
[0] = args
;
28581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28585 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28605 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28606 PyObject
*resultobj
= 0;
28607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28611 PyObject
*swig_obj
[1] ;
28613 if (!args
) SWIG_fail
;
28614 swig_obj
[0] = args
;
28615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28616 if (!SWIG_IsOK(res1
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28619 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28639 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28645 PyObject
*swig_obj
[1] ;
28647 if (!args
) SWIG_fail
;
28648 swig_obj
[0] = args
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28653 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28673 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28679 PyObject
*swig_obj
[1] ;
28681 if (!args
) SWIG_fail
;
28682 swig_obj
[0] = args
;
28683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28687 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28707 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28710 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28711 return SWIG_Py_Void();
28714 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 return SWIG_Python_InitShadowInstance(args
);
28718 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28724 PyObject
* obj0
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "ms", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28730 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28731 if (!SWIG_IsOK(ecode1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28734 arg1
= static_cast< long >(val1
);
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= wxTimeSpan::Milliseconds(arg1
);
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28748 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28752 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= wxTimeSpan::Millisecond();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28766 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28772 PyObject
* obj0
= 0 ;
28773 char * kwnames
[] = {
28774 (char *) "sec", NULL
28777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28778 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28779 if (!SWIG_IsOK(ecode1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28782 arg1
= static_cast< long >(val1
);
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= wxTimeSpan::Seconds(arg1
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28796 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28797 PyObject
*resultobj
= 0;
28800 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= wxTimeSpan::Second();
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28814 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28815 PyObject
*resultobj
= 0;
28820 PyObject
* obj0
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "min", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28826 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28827 if (!SWIG_IsOK(ecode1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28830 arg1
= static_cast< long >(val1
);
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= wxTimeSpan::Minutes(arg1
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28844 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28848 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= wxTimeSpan::Minute();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28862 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
= 0;
28868 PyObject
* obj0
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "hours", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28874 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28875 if (!SWIG_IsOK(ecode1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28878 arg1
= static_cast< long >(val1
);
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= wxTimeSpan::Hours(arg1
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28892 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28893 PyObject
*resultobj
= 0;
28896 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 result
= wxTimeSpan::Hour();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28910 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28916 PyObject
* obj0
= 0 ;
28917 char * kwnames
[] = {
28918 (char *) "days", NULL
28921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28922 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28923 if (!SWIG_IsOK(ecode1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28926 arg1
= static_cast< long >(val1
);
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= wxTimeSpan::Days(arg1
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28940 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28941 PyObject
*resultobj
= 0;
28944 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= wxTimeSpan::Day();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28958 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
= 0;
28964 PyObject
* obj0
= 0 ;
28965 char * kwnames
[] = {
28966 (char *) "days", NULL
28969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28970 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28971 if (!SWIG_IsOK(ecode1
)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28974 arg1
= static_cast< long >(val1
);
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 result
= wxTimeSpan::Weeks(arg1
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28988 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28989 PyObject
*resultobj
= 0;
28992 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= wxTimeSpan::Week();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29006 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
= 0;
29008 long arg1
= (long) 0 ;
29009 long arg2
= (long) 0 ;
29010 long arg3
= (long) 0 ;
29011 long arg4
= (long) 0 ;
29012 wxTimeSpan
*result
= 0 ;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 PyObject
* obj2
= 0 ;
29024 PyObject
* obj3
= 0 ;
29025 char * kwnames
[] = {
29026 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
29029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29031 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29032 if (!SWIG_IsOK(ecode1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
29035 arg1
= static_cast< long >(val1
);
29038 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29039 if (!SWIG_IsOK(ecode2
)) {
29040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
29042 arg2
= static_cast< long >(val2
);
29045 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29046 if (!SWIG_IsOK(ecode3
)) {
29047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
29049 arg3
= static_cast< long >(val3
);
29052 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29053 if (!SWIG_IsOK(ecode4
)) {
29054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
29056 arg4
= static_cast< long >(val4
);
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
29071 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29072 PyObject
*resultobj
= 0;
29073 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29076 PyObject
*swig_obj
[1] ;
29078 if (!args
) SWIG_fail
;
29079 swig_obj
[0] = args
;
29080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29084 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_Py_Void();
29099 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29102 wxTimeSpan
*arg2
= 0 ;
29103 wxTimeSpan
*result
= 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "diff", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29119 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29121 if (!SWIG_IsOK(res2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29127 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29132 result
= (wxTimeSpan
*) &_result_ref
;
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29144 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= 0;
29146 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29147 wxTimeSpan
*arg2
= 0 ;
29148 wxTimeSpan
*result
= 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "diff", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29164 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29166 if (!SWIG_IsOK(res2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29172 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29177 result
= (wxTimeSpan
*) &_result_ref
;
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29189 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29193 wxTimeSpan
*result
= 0 ;
29198 PyObject
* obj0
= 0 ;
29199 PyObject
* obj1
= 0 ;
29200 char * kwnames
[] = {
29201 (char *) "self",(char *) "n", NULL
29204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29209 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29211 if (!SWIG_IsOK(ecode2
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29214 arg2
= static_cast< int >(val2
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29219 result
= (wxTimeSpan
*) &_result_ref
;
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29231 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29232 PyObject
*resultobj
= 0;
29233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29234 wxTimeSpan
*result
= 0 ;
29237 PyObject
*swig_obj
[1] ;
29239 if (!args
) SWIG_fail
;
29240 swig_obj
[0] = args
;
29241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29245 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29250 result
= (wxTimeSpan
*) &_result_ref
;
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29262 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29263 PyObject
*resultobj
= 0;
29264 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29268 PyObject
*swig_obj
[1] ;
29270 if (!args
) SWIG_fail
;
29271 swig_obj
[0] = args
;
29272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29273 if (!SWIG_IsOK(res1
)) {
29274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29276 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29290 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= 0;
29292 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29293 wxTimeSpan
*arg2
= 0 ;
29294 wxTimeSpan
*result
= 0 ;
29299 PyObject
* obj0
= 0 ;
29300 PyObject
* obj1
= 0 ;
29301 char * kwnames
[] = {
29302 (char *) "self",(char *) "diff", NULL
29305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29310 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29312 if (!SWIG_IsOK(res2
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29318 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29323 result
= (wxTimeSpan
*) &_result_ref
;
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29335 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29338 wxTimeSpan
*arg2
= 0 ;
29339 wxTimeSpan
*result
= 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 char * kwnames
[] = {
29347 (char *) "self",(char *) "diff", NULL
29350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29352 if (!SWIG_IsOK(res1
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29355 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29357 if (!SWIG_IsOK(res2
)) {
29358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29363 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29368 result
= (wxTimeSpan
*) &_result_ref
;
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29380 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
= 0;
29382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29384 wxTimeSpan
*result
= 0 ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 char * kwnames
[] = {
29392 (char *) "self",(char *) "n", NULL
29395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29400 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29402 if (!SWIG_IsOK(ecode2
)) {
29403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29405 arg2
= static_cast< int >(val2
);
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29410 result
= (wxTimeSpan
*) &_result_ref
;
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29422 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29423 PyObject
*resultobj
= 0;
29424 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29425 wxTimeSpan
*result
= 0 ;
29428 PyObject
*swig_obj
[1] ;
29430 if (!args
) SWIG_fail
;
29431 swig_obj
[0] = args
;
29432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29433 if (!SWIG_IsOK(res1
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29436 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29441 result
= (wxTimeSpan
*) &_result_ref
;
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29453 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29456 wxTimeSpan
*arg2
= 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 char * kwnames
[] = {
29465 (char *) "self",(char *) "other", NULL
29468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29470 if (!SWIG_IsOK(res1
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29473 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29475 if (!SWIG_IsOK(res2
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29481 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29495 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
= 0;
29497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29498 wxTimeSpan
*arg2
= 0 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "other", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29515 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29517 if (!SWIG_IsOK(res2
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29523 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29537 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 char * kwnames
[] = {
29549 (char *) "self",(char *) "n", NULL
29552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29557 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29559 if (!SWIG_IsOK(ecode2
)) {
29560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29562 arg2
= static_cast< int >(val2
);
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= wxTimeSpan___mul__(arg1
,arg2
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29576 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29578 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "n", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29596 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29601 arg2
= static_cast< int >(val2
);
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29608 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29615 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
= 0;
29617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29618 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char * kwnames
[] = {
29627 (char *) "self",(char *) "other", NULL
29630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29632 if (!SWIG_IsOK(res1
)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29635 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29637 if (!SWIG_IsOK(res2
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29640 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29656 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
= 0;
29658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29659 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char * kwnames
[] = {
29668 (char *) "self",(char *) "other", NULL
29671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29676 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29678 if (!SWIG_IsOK(res2
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29681 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29700 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "self",(char *) "other", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29717 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29719 if (!SWIG_IsOK(res2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29722 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29738 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
= 0;
29740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29741 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char * kwnames
[] = {
29750 (char *) "self",(char *) "other", NULL
29753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29755 if (!SWIG_IsOK(res1
)) {
29756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29758 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29760 if (!SWIG_IsOK(res2
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29763 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29779 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29782 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 char * kwnames
[] = {
29791 (char *) "self",(char *) "other", NULL
29794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29796 if (!SWIG_IsOK(res1
)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29799 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29801 if (!SWIG_IsOK(res2
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29804 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29820 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
= 0;
29822 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29823 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 PyObject
* obj1
= 0 ;
29831 char * kwnames
[] = {
29832 (char *) "self",(char *) "other", NULL
29835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29840 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29842 if (!SWIG_IsOK(res2
)) {
29843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29845 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29861 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29862 PyObject
*resultobj
= 0;
29863 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29867 PyObject
*swig_obj
[1] ;
29869 if (!args
) SWIG_fail
;
29870 swig_obj
[0] = args
;
29871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29875 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29891 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29892 PyObject
*resultobj
= 0;
29893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29897 PyObject
*swig_obj
[1] ;
29899 if (!args
) SWIG_fail
;
29900 swig_obj
[0] = args
;
29901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29905 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29921 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29922 PyObject
*resultobj
= 0;
29923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29927 PyObject
*swig_obj
[1] ;
29929 if (!args
) SWIG_fail
;
29930 swig_obj
[0] = args
;
29931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29935 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29951 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
= 0;
29953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29954 wxTimeSpan
*arg2
= 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 char * kwnames
[] = {
29963 (char *) "self",(char *) "ts", NULL
29966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29968 if (!SWIG_IsOK(res1
)) {
29969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29971 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29973 if (!SWIG_IsOK(res2
)) {
29974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29979 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29998 wxTimeSpan
*arg2
= 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "ts", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30015 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
30017 if (!SWIG_IsOK(res2
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30023 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30039 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30042 wxTimeSpan
*arg2
= 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char * kwnames
[] = {
30051 (char *) "self",(char *) "t", NULL
30054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30059 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
30061 if (!SWIG_IsOK(res2
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30067 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30083 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(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_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30097 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_From_int(static_cast< int >(result
));
30111 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(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_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30125 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_From_int(static_cast< int >(result
));
30139 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(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_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30153 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_From_int(static_cast< int >(result
));
30167 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(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_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30181 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_From_int(static_cast< int >(result
));
30195 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30209 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30218 hi
= PyLong_FromLong( (&result
)->GetHi() );
30219 lo
= PyLong_FromLong( (&result
)->GetLo() );
30220 shifter
= PyLong_FromLong(32);
30221 shifted
= PyNumber_Lshift(hi
, shifter
);
30222 resultobj
= PyNumber_Or(shifted
, lo
);
30225 Py_DECREF(shifter
);
30226 Py_DECREF(shifted
);
30234 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30235 PyObject
*resultobj
= 0;
30236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30240 PyObject
*swig_obj
[1] ;
30242 if (!args
) SWIG_fail
;
30243 swig_obj
[0] = args
;
30244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30248 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30257 hi
= PyLong_FromLong( (&result
)->GetHi() );
30258 lo
= PyLong_FromLong( (&result
)->GetLo() );
30259 shifter
= PyLong_FromLong(32);
30260 shifted
= PyNumber_Lshift(hi
, shifter
);
30261 resultobj
= PyNumber_Or(shifted
, lo
);
30264 Py_DECREF(shifter
);
30265 Py_DECREF(shifted
);
30273 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
= 0;
30275 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30276 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30277 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30281 bool temp2
= false ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "format", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30293 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30296 arg2
= wxString_in_helper(obj1
);
30297 if (arg2
== NULL
) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30328 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30331 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30332 return SWIG_Py_Void();
30335 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30336 return SWIG_Python_InitShadowInstance(args
);
30339 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
= 0;
30341 int arg1
= (int) 0 ;
30342 int arg2
= (int) 0 ;
30343 int arg3
= (int) 0 ;
30344 int arg4
= (int) 0 ;
30345 wxDateSpan
*result
= 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 PyObject
* obj2
= 0 ;
30357 PyObject
* obj3
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30365 if (!SWIG_IsOK(ecode1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30368 arg1
= static_cast< int >(val1
);
30371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30372 if (!SWIG_IsOK(ecode2
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30375 arg2
= static_cast< int >(val2
);
30378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30379 if (!SWIG_IsOK(ecode3
)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30382 arg3
= static_cast< int >(val3
);
30385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30386 if (!SWIG_IsOK(ecode4
)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30389 arg4
= static_cast< int >(val4
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30404 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30405 PyObject
*resultobj
= 0;
30406 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30409 PyObject
*swig_obj
[1] ;
30411 if (!args
) SWIG_fail
;
30412 swig_obj
[0] = args
;
30413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30414 if (!SWIG_IsOK(res1
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30417 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= SWIG_Py_Void();
30432 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
= 0;
30438 PyObject
* obj0
= 0 ;
30439 char * kwnames
[] = {
30440 (char *) "days", NULL
30443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30445 if (!SWIG_IsOK(ecode1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30448 arg1
= static_cast< int >(val1
);
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= wxDateSpan::Days(arg1
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30462 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30463 PyObject
*resultobj
= 0;
30466 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= wxDateSpan::Day();
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30480 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30486 PyObject
* obj0
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "weeks", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30493 if (!SWIG_IsOK(ecode1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30496 arg1
= static_cast< int >(val1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= wxDateSpan::Weeks(arg1
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30510 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30511 PyObject
*resultobj
= 0;
30514 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 result
= wxDateSpan::Week();
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30528 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30534 PyObject
* obj0
= 0 ;
30535 char * kwnames
[] = {
30536 (char *) "mon", NULL
30539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30540 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30541 if (!SWIG_IsOK(ecode1
)) {
30542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30544 arg1
= static_cast< int >(val1
);
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 result
= wxDateSpan::Months(arg1
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30558 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30559 PyObject
*resultobj
= 0;
30562 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= wxDateSpan::Month();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30576 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
= 0;
30582 PyObject
* obj0
= 0 ;
30583 char * kwnames
[] = {
30584 (char *) "years", NULL
30587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30588 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30589 if (!SWIG_IsOK(ecode1
)) {
30590 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30592 arg1
= static_cast< int >(val1
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 result
= wxDateSpan::Years(arg1
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30606 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30607 PyObject
*resultobj
= 0;
30610 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 result
= wxDateSpan::Year();
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30624 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30625 PyObject
*resultobj
= 0;
30626 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30628 wxDateSpan
*result
= 0 ;
30633 PyObject
* obj0
= 0 ;
30634 PyObject
* obj1
= 0 ;
30635 char * kwnames
[] = {
30636 (char *) "self",(char *) "n", NULL
30639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30644 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30646 if (!SWIG_IsOK(ecode2
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30649 arg2
= static_cast< int >(val2
);
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30654 result
= (wxDateSpan
*) &_result_ref
;
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30666 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
= 0;
30668 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30670 wxDateSpan
*result
= 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char * kwnames
[] = {
30678 (char *) "self",(char *) "n", NULL
30681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30683 if (!SWIG_IsOK(res1
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30686 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30688 if (!SWIG_IsOK(ecode2
)) {
30689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30691 arg2
= static_cast< int >(val2
);
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30696 result
= (wxDateSpan
*) &_result_ref
;
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30708 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
= 0;
30710 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30712 wxDateSpan
*result
= 0 ;
30717 PyObject
* obj0
= 0 ;
30718 PyObject
* obj1
= 0 ;
30719 char * kwnames
[] = {
30720 (char *) "self",(char *) "n", NULL
30723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30725 if (!SWIG_IsOK(res1
)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30728 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30730 if (!SWIG_IsOK(ecode2
)) {
30731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30733 arg2
= static_cast< int >(val2
);
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30738 result
= (wxDateSpan
*) &_result_ref
;
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30750 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
= 0;
30752 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30754 wxDateSpan
*result
= 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char * kwnames
[] = {
30762 (char *) "self",(char *) "n", NULL
30765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30770 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30772 if (!SWIG_IsOK(ecode2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30775 arg2
= static_cast< int >(val2
);
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30780 result
= (wxDateSpan
*) &_result_ref
;
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30792 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(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_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30806 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_From_int(static_cast< int >(result
));
30820 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(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_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30834 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= SWIG_From_int(static_cast< int >(result
));
30848 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(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_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30862 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_From_int(static_cast< int >(result
));
30876 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(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_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30890 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= SWIG_From_int(static_cast< int >(result
));
30904 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30905 PyObject
*resultobj
= 0;
30906 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30910 PyObject
*swig_obj
[1] ;
30912 if (!args
) SWIG_fail
;
30913 swig_obj
[0] = args
;
30914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30918 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_From_int(static_cast< int >(result
));
30932 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= 0;
30934 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30935 wxDateSpan
*arg2
= 0 ;
30936 wxDateSpan
*result
= 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char * kwnames
[] = {
30944 (char *) "self",(char *) "other", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30952 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30954 if (!SWIG_IsOK(res2
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30960 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30965 result
= (wxDateSpan
*) &_result_ref
;
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30977 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
= 0;
30979 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30980 wxDateSpan
*arg2
= 0 ;
30981 wxDateSpan
*result
= 0 ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char * kwnames
[] = {
30989 (char *) "self",(char *) "other", NULL
30992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30997 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30999 if (!SWIG_IsOK(res2
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31005 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
31010 result
= (wxDateSpan
*) &_result_ref
;
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31022 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31023 PyObject
*resultobj
= 0;
31024 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31025 wxDateSpan
*result
= 0 ;
31028 PyObject
*swig_obj
[1] ;
31030 if (!args
) SWIG_fail
;
31031 swig_obj
[0] = args
;
31032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31036 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 wxDateSpan
&_result_ref
= (arg1
)->Neg();
31041 result
= (wxDateSpan
*) &_result_ref
;
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31053 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31057 wxDateSpan
*result
= 0 ;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 char * kwnames
[] = {
31065 (char *) "self",(char *) "factor", NULL
31068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31070 if (!SWIG_IsOK(res1
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31073 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31075 if (!SWIG_IsOK(ecode2
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31078 arg2
= static_cast< int >(val2
);
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31083 result
= (wxDateSpan
*) &_result_ref
;
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31095 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31096 PyObject
*resultobj
= 0;
31097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31098 wxDateSpan
*arg2
= 0 ;
31099 wxDateSpan
*result
= 0 ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 char * kwnames
[] = {
31107 (char *) "self",(char *) "other", NULL
31110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31112 if (!SWIG_IsOK(res1
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31115 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31117 if (!SWIG_IsOK(res2
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31123 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31128 result
= (wxDateSpan
*) &_result_ref
;
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31140 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
= 0;
31142 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31143 wxDateSpan
*arg2
= 0 ;
31144 wxDateSpan
*result
= 0 ;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 char * kwnames
[] = {
31152 (char *) "self",(char *) "other", NULL
31155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31157 if (!SWIG_IsOK(res1
)) {
31158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31160 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31162 if (!SWIG_IsOK(res2
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31168 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31173 result
= (wxDateSpan
*) &_result_ref
;
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31185 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31186 PyObject
*resultobj
= 0;
31187 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31188 wxDateSpan
*result
= 0 ;
31191 PyObject
*swig_obj
[1] ;
31193 if (!args
) SWIG_fail
;
31194 swig_obj
[0] = args
;
31195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31196 if (!SWIG_IsOK(res1
)) {
31197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31199 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31204 result
= (wxDateSpan
*) &_result_ref
;
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31216 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31217 PyObject
*resultobj
= 0;
31218 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31220 wxDateSpan
*result
= 0 ;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "self",(char *) "factor", NULL
31231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31236 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31238 if (!SWIG_IsOK(ecode2
)) {
31239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31241 arg2
= static_cast< int >(val2
);
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31246 result
= (wxDateSpan
*) &_result_ref
;
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31258 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31259 PyObject
*resultobj
= 0;
31260 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31261 wxDateSpan
*arg2
= 0 ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char * kwnames
[] = {
31270 (char *) "self",(char *) "other", NULL
31273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31275 if (!SWIG_IsOK(res1
)) {
31276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31278 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31280 if (!SWIG_IsOK(res2
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31286 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31300 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
= 0;
31302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31303 wxDateSpan
*arg2
= 0 ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 char * kwnames
[] = {
31312 (char *) "self",(char *) "other", NULL
31315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31317 if (!SWIG_IsOK(res1
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31320 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31322 if (!SWIG_IsOK(res2
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31328 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31342 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
= 0;
31344 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char * kwnames
[] = {
31354 (char *) "self",(char *) "n", NULL
31357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31359 if (!SWIG_IsOK(res1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31362 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31364 if (!SWIG_IsOK(ecode2
)) {
31365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31367 arg2
= static_cast< int >(val2
);
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= wxDateSpan___mul__(arg1
,arg2
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31381 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "self",(char *) "n", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31401 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31403 if (!SWIG_IsOK(ecode2
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31406 arg2
= static_cast< int >(val2
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= wxDateSpan___rmul__(arg1
,arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31420 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31423 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 char * kwnames
[] = {
31432 (char *) "self",(char *) "other", NULL
31435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31437 if (!SWIG_IsOK(res1
)) {
31438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31440 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31442 if (!SWIG_IsOK(res2
)) {
31443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31445 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31461 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
= 0;
31463 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31464 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char * kwnames
[] = {
31473 (char *) "self",(char *) "other", NULL
31476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31478 if (!SWIG_IsOK(res1
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31481 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31483 if (!SWIG_IsOK(res2
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31486 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31502 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31505 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31506 return SWIG_Py_Void();
31509 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31510 return SWIG_Python_InitShadowInstance(args
);
31513 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31514 PyObject
*resultobj
= 0;
31517 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 result
= (long)wxGetLocalTime();
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= SWIG_From_long(static_cast< long >(result
));
31531 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31532 PyObject
*resultobj
= 0;
31535 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= (long)wxGetUTCTime();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= SWIG_From_long(static_cast< long >(result
));
31549 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31550 PyObject
*resultobj
= 0;
31553 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)wxGetCurrentTime();
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31567 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31568 PyObject
*resultobj
= 0;
31571 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= wxGetLocalTimeMillis();
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31579 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31580 hi
= PyLong_FromLong( (&result
)->GetHi() );
31581 lo
= PyLong_FromLong( (&result
)->GetLo() );
31582 shifter
= PyLong_FromLong(32);
31583 shifted
= PyNumber_Lshift(hi
, shifter
);
31584 resultobj
= PyNumber_Or(shifted
, lo
);
31587 Py_DECREF(shifter
);
31588 Py_DECREF(shifted
);
31596 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31597 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31602 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31603 PyObject
*pyobj
= 0;
31605 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31610 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
= 0;
31612 wxDataFormatId arg1
;
31613 wxDataFormat
*result
= 0 ;
31616 PyObject
* obj0
= 0 ;
31617 char * kwnames
[] = {
31618 (char *) "type", NULL
31621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31622 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31623 if (!SWIG_IsOK(ecode1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31626 arg1
= static_cast< wxDataFormatId
>(val1
);
31628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31640 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
= 0;
31642 wxString
*arg1
= 0 ;
31643 wxDataFormat
*result
= 0 ;
31644 bool temp1
= false ;
31645 PyObject
* obj0
= 0 ;
31646 char * kwnames
[] = {
31647 (char *) "format", NULL
31650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31652 arg1
= wxString_in_helper(obj0
);
31653 if (arg1
== NULL
) SWIG_fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31677 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31678 PyObject
*resultobj
= 0;
31679 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31682 PyObject
*swig_obj
[1] ;
31684 if (!args
) SWIG_fail
;
31685 swig_obj
[0] = args
;
31686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31690 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_Py_Void();
31705 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31706 PyObject
*resultobj
= 0;
31707 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31708 wxDataFormatId arg2
;
31715 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31717 if (!SWIG_IsOK(res1
)) {
31718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31720 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31721 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31722 if (!SWIG_IsOK(ecode2
)) {
31723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31725 arg2
= static_cast< wxDataFormatId
>(val2
);
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31741 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31742 PyObject
*resultobj
= 0;
31743 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31744 wxDataFormatId arg2
;
31751 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31753 if (!SWIG_IsOK(res1
)) {
31754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31756 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31757 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31758 if (!SWIG_IsOK(ecode2
)) {
31759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31761 arg2
= static_cast< wxDataFormatId
>(val2
);
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31777 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31778 PyObject
*resultobj
= 0;
31779 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31780 wxDataFormat
*arg2
= 0 ;
31787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31789 if (!SWIG_IsOK(res1
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31792 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31793 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31794 if (!SWIG_IsOK(res2
)) {
31795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31800 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31816 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31820 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31825 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31826 _v
= SWIG_CheckState(res
);
31828 if (!_v
) goto check_1
;
31829 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31834 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31838 Py_INCREF(Py_NotImplemented
);
31839 return Py_NotImplemented
;
31843 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31844 PyObject
*resultobj
= 0;
31845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31846 wxDataFormat
*arg2
= 0 ;
31853 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31855 if (!SWIG_IsOK(res1
)) {
31856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31858 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31859 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31860 if (!SWIG_IsOK(res2
)) {
31861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31866 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31882 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31886 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31891 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31892 _v
= SWIG_CheckState(res
);
31894 if (!_v
) goto check_1
;
31895 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31900 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31904 Py_INCREF(Py_NotImplemented
);
31905 return Py_NotImplemented
;
31909 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
= 0;
31911 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31912 wxDataFormatId arg2
;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 char * kwnames
[] = {
31920 (char *) "self",(char *) "format", NULL
31923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31925 if (!SWIG_IsOK(res1
)) {
31926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31928 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31930 if (!SWIG_IsOK(ecode2
)) {
31931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31933 arg2
= static_cast< wxDataFormatId
>(val2
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->SetType(arg2
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_Py_Void();
31947 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31948 PyObject
*resultobj
= 0;
31949 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31950 wxDataFormatId result
;
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_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31961 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= SWIG_From_int(static_cast< int >(result
));
31975 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31976 PyObject
*resultobj
= 0;
31977 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31981 PyObject
*swig_obj
[1] ;
31983 if (!args
) SWIG_fail
;
31984 swig_obj
[0] = args
;
31985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31989 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= ((wxDataFormat
const *)arg1
)->GetId();
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32009 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
= 0;
32011 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
32012 wxString
*arg2
= 0 ;
32015 bool temp2
= false ;
32016 PyObject
* obj0
= 0 ;
32017 PyObject
* obj1
= 0 ;
32018 char * kwnames
[] = {
32019 (char *) "self",(char *) "format", NULL
32022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32024 if (!SWIG_IsOK(res1
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
32027 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32029 arg2
= wxString_in_helper(obj1
);
32030 if (arg2
== NULL
) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 (arg1
)->SetId((wxString
const &)*arg2
);
32036 wxPyEndAllowThreads(__tstate
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32039 resultobj
= SWIG_Py_Void();
32054 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32057 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
32058 return SWIG_Py_Void();
32061 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32062 return SWIG_Python_InitShadowInstance(args
);
32065 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
32066 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
32071 SWIGINTERN PyObject
*FormatInvalid_get(void) {
32072 PyObject
*pyobj
= 0;
32074 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32079 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32080 PyObject
*resultobj
= 0;
32081 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32084 PyObject
*swig_obj
[1] ;
32086 if (!args
) SWIG_fail
;
32087 swig_obj
[0] = args
;
32088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32089 if (!SWIG_IsOK(res1
)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32092 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32100 resultobj
= SWIG_Py_Void();
32107 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
= 0;
32109 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32110 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32111 SwigValueWrapper
<wxDataFormat
> result
;
32116 PyObject
* obj0
= 0 ;
32117 PyObject
* obj1
= 0 ;
32118 char * kwnames
[] = {
32119 (char *) "self",(char *) "dir", NULL
32122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32124 if (!SWIG_IsOK(res1
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32127 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32130 if (!SWIG_IsOK(ecode2
)) {
32131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32133 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32148 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
= 0;
32150 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32151 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char * kwnames
[] = {
32160 (char *) "self",(char *) "dir", NULL
32163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32165 if (!SWIG_IsOK(res1
)) {
32166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32168 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32171 if (!SWIG_IsOK(ecode2
)) {
32172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32174 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32179 wxPyEndAllowThreads(__tstate
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32182 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32189 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
= 0;
32191 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32192 wxDataFormat
*arg2
= 0 ;
32193 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32201 PyObject
* obj0
= 0 ;
32202 PyObject
* obj1
= 0 ;
32203 PyObject
* obj2
= 0 ;
32204 char * kwnames
[] = {
32205 (char *) "self",(char *) "format",(char *) "dir", NULL
32208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32213 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32215 if (!SWIG_IsOK(res2
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32221 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32224 if (!SWIG_IsOK(ecode3
)) {
32225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32227 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32244 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
= 0;
32246 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32247 wxDataFormat
*arg2
= 0 ;
32253 PyObject
* obj0
= 0 ;
32254 PyObject
* obj1
= 0 ;
32255 char * kwnames
[] = {
32256 (char *) "self",(char *) "format", NULL
32259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32261 if (!SWIG_IsOK(res1
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32264 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32266 if (!SWIG_IsOK(res2
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32272 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32286 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
= 0;
32288 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32289 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32290 PyObject
*result
= 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 char * kwnames
[] = {
32298 (char *) "self",(char *) "dir", NULL
32301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32303 if (!SWIG_IsOK(res1
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32306 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32309 if (!SWIG_IsOK(ecode2
)) {
32310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32312 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= result
;
32327 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32330 wxDataFormat
*arg2
= 0 ;
32331 PyObject
*result
= 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char * kwnames
[] = {
32339 (char *) "self",(char *) "format", NULL
32342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32347 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32349 if (!SWIG_IsOK(res2
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32355 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32362 resultobj
= result
;
32369 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
= 0;
32371 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32372 wxDataFormat
*arg2
= 0 ;
32373 PyObject
*arg3
= (PyObject
*) 0 ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 PyObject
* obj2
= 0 ;
32382 char * kwnames
[] = {
32383 (char *) "self",(char *) "format",(char *) "data", NULL
32386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32388 if (!SWIG_IsOK(res1
)) {
32389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32391 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32393 if (!SWIG_IsOK(res2
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32399 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32416 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32419 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32420 return SWIG_Py_Void();
32423 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32424 PyObject
*resultobj
= 0;
32425 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32426 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32427 wxDataObjectSimple
*result
= 0 ;
32430 PyObject
* obj0
= 0 ;
32431 char * kwnames
[] = {
32432 (char *) "format", NULL
32435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32437 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32438 if (!SWIG_IsOK(res1
)) {
32439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32444 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32459 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32460 PyObject
*resultobj
= 0;
32461 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32462 wxDataFormat
*result
= 0 ;
32465 PyObject
*swig_obj
[1] ;
32467 if (!args
) SWIG_fail
;
32468 swig_obj
[0] = args
;
32469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32470 if (!SWIG_IsOK(res1
)) {
32471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32473 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32478 result
= (wxDataFormat
*) &_result_ref
;
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32490 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
= 0;
32492 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32493 wxDataFormat
*arg2
= 0 ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 char * kwnames
[] = {
32501 (char *) "self",(char *) "format", NULL
32504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32509 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32511 if (!SWIG_IsOK(res2
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32517 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_Py_Void();
32531 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32532 PyObject
*resultobj
= 0;
32533 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 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_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32545 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32559 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32560 PyObject
*resultobj
= 0;
32561 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32562 PyObject
*result
= 0 ;
32565 PyObject
*swig_obj
[1] ;
32567 if (!args
) SWIG_fail
;
32568 swig_obj
[0] = args
;
32569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32573 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= result
;
32587 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32588 PyObject
*resultobj
= 0;
32589 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32590 PyObject
*arg2
= (PyObject
*) 0 ;
32594 PyObject
* obj0
= 0 ;
32595 PyObject
* obj1
= 0 ;
32596 char * kwnames
[] = {
32597 (char *) "self",(char *) "data", NULL
32600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32605 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32622 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32625 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32626 return SWIG_Py_Void();
32629 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32630 return SWIG_Python_InitShadowInstance(args
);
32633 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32636 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32637 wxPyDataObjectSimple
*result
= 0 ;
32640 PyObject
* obj0
= 0 ;
32641 char * kwnames
[] = {
32642 (char *) "format", NULL
32645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32647 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32654 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32669 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
= 0;
32671 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32672 PyObject
*arg2
= (PyObject
*) 0 ;
32673 PyObject
*arg3
= (PyObject
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 PyObject
* obj1
= 0 ;
32678 PyObject
* obj2
= 0 ;
32679 char * kwnames
[] = {
32680 (char *) "self",(char *) "self",(char *) "_class", NULL
32683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32685 if (!SWIG_IsOK(res1
)) {
32686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32688 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_Py_Void();
32704 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32708 return SWIG_Py_Void();
32711 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 return SWIG_Python_InitShadowInstance(args
);
32715 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32716 PyObject
*resultobj
= 0;
32717 wxDataObjectComposite
*result
= 0 ;
32719 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32733 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
= 0;
32735 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32736 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32737 bool arg3
= (bool) false ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 PyObject
* obj2
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32755 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32756 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32757 if (!SWIG_IsOK(res2
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32761 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32762 if (!SWIG_IsOK(ecode3
)) {
32763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32765 arg3
= static_cast< bool >(val3
);
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 (arg1
)->Add(arg2
,arg3
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_Py_Void();
32780 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32781 PyObject
*resultobj
= 0;
32782 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32783 SwigValueWrapper
<wxDataFormat
> result
;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32794 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32808 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32811 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32812 return SWIG_Py_Void();
32815 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32816 return SWIG_Python_InitShadowInstance(args
);
32819 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
= 0;
32821 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32822 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32823 wxTextDataObject
*result
= 0 ;
32824 bool temp1
= false ;
32825 PyObject
* obj0
= 0 ;
32826 char * kwnames
[] = {
32827 (char *) "text", NULL
32830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32833 arg1
= wxString_in_helper(obj0
);
32834 if (arg1
== NULL
) SWIG_fail
;
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32859 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(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_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32873 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= (size_t)(arg1
)->GetTextLength();
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32887 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32888 PyObject
*resultobj
= 0;
32889 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32893 PyObject
*swig_obj
[1] ;
32895 if (!args
) SWIG_fail
;
32896 swig_obj
[0] = args
;
32897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32898 if (!SWIG_IsOK(res1
)) {
32899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32901 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 result
= (arg1
)->GetText();
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32921 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
= 0;
32923 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32924 wxString
*arg2
= 0 ;
32927 bool temp2
= false ;
32928 PyObject
* obj0
= 0 ;
32929 PyObject
* obj1
= 0 ;
32930 char * kwnames
[] = {
32931 (char *) "self",(char *) "text", NULL
32934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32939 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32941 arg2
= wxString_in_helper(obj1
);
32942 if (arg2
== NULL
) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 (arg1
)->SetText((wxString
const &)*arg2
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_Py_Void();
32966 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32969 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32970 return SWIG_Py_Void();
32973 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 return SWIG_Python_InitShadowInstance(args
);
32977 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
= 0;
32979 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32980 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32981 wxPyTextDataObject
*result
= 0 ;
32982 bool temp1
= false ;
32983 PyObject
* obj0
= 0 ;
32984 char * kwnames
[] = {
32985 (char *) "text", NULL
32988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32991 arg1
= wxString_in_helper(obj0
);
32992 if (arg1
== NULL
) SWIG_fail
;
32997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32998 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
33017 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
33020 PyObject
*arg2
= (PyObject
*) 0 ;
33021 PyObject
*arg3
= (PyObject
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 PyObject
* obj2
= 0 ;
33027 char * kwnames
[] = {
33028 (char *) "self",(char *) "self",(char *) "_class", NULL
33031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
33033 if (!SWIG_IsOK(res1
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
33036 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_Py_Void();
33052 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
33056 return SWIG_Py_Void();
33059 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33060 return SWIG_Python_InitShadowInstance(args
);
33063 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
= 0;
33065 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33066 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33067 wxBitmapDataObject
*result
= 0 ;
33070 PyObject
* obj0
= 0 ;
33071 char * kwnames
[] = {
33072 (char *) "bitmap", NULL
33075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33077 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33078 if (!SWIG_IsOK(res1
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33099 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33100 PyObject
*resultobj
= 0;
33101 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33105 PyObject
*swig_obj
[1] ;
33107 if (!args
) SWIG_fail
;
33108 swig_obj
[0] = args
;
33109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33113 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33116 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33127 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33128 PyObject
*resultobj
= 0;
33129 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33130 wxBitmap
*arg2
= 0 ;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 char * kwnames
[] = {
33138 (char *) "self",(char *) "bitmap", NULL
33141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33143 if (!SWIG_IsOK(res1
)) {
33144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33146 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33148 if (!SWIG_IsOK(res2
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33154 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= SWIG_Py_Void();
33168 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33171 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33172 return SWIG_Py_Void();
33175 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33176 return SWIG_Python_InitShadowInstance(args
);
33179 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33180 PyObject
*resultobj
= 0;
33181 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33182 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33183 wxPyBitmapDataObject
*result
= 0 ;
33186 PyObject
* obj0
= 0 ;
33187 char * kwnames
[] = {
33188 (char *) "bitmap", NULL
33191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33193 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33200 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33215 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
= 0;
33217 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33218 PyObject
*arg2
= (PyObject
*) 0 ;
33219 PyObject
*arg3
= (PyObject
*) 0 ;
33222 PyObject
* obj0
= 0 ;
33223 PyObject
* obj1
= 0 ;
33224 PyObject
* obj2
= 0 ;
33225 char * kwnames
[] = {
33226 (char *) "self",(char *) "self",(char *) "_class", NULL
33229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33231 if (!SWIG_IsOK(res1
)) {
33232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33234 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33240 wxPyEndAllowThreads(__tstate
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 resultobj
= SWIG_Py_Void();
33250 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33254 return SWIG_Py_Void();
33257 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33258 return SWIG_Python_InitShadowInstance(args
);
33261 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33262 PyObject
*resultobj
= 0;
33263 wxFileDataObject
*result
= 0 ;
33265 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (wxFileDataObject
*)new wxFileDataObject();
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33279 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33280 PyObject
*resultobj
= 0;
33281 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33282 wxArrayString
*result
= 0 ;
33285 PyObject
*swig_obj
[1] ;
33287 if (!args
) SWIG_fail
;
33288 swig_obj
[0] = args
;
33289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33293 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33298 result
= (wxArrayString
*) &_result_ref
;
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= wxArrayString2PyList_helper(*result
);
33312 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
= 0;
33314 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33315 wxString
*arg2
= 0 ;
33318 bool temp2
= false ;
33319 PyObject
* obj0
= 0 ;
33320 PyObject
* obj1
= 0 ;
33321 char * kwnames
[] = {
33322 (char *) "self",(char *) "filename", NULL
33325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33330 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33332 arg2
= wxString_in_helper(obj1
);
33333 if (arg2
== NULL
) SWIG_fail
;
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 (arg1
)->AddFile((wxString
const &)*arg2
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= SWIG_Py_Void();
33357 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33360 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33361 return SWIG_Py_Void();
33364 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33365 return SWIG_Python_InitShadowInstance(args
);
33368 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33369 PyObject
*resultobj
= 0;
33370 wxDataFormat
*arg1
= 0 ;
33371 wxCustomDataObject
*result
= 0 ;
33375 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33377 if (!SWIG_IsOK(res1
)) {
33378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33383 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33397 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33398 PyObject
*resultobj
= 0;
33399 wxString
*arg1
= 0 ;
33400 wxCustomDataObject
*result
= 0 ;
33401 bool temp1
= false ;
33403 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33405 arg1
= wxString_in_helper(swig_obj
[0]);
33406 if (arg1
== NULL
) SWIG_fail
;
33410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33430 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33431 PyObject
*resultobj
= 0;
33432 wxCustomDataObject
*result
= 0 ;
33434 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33448 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33452 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33455 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33461 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33464 if (!_v
) goto check_2
;
33465 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33470 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33474 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33479 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
= 0;
33481 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33482 PyObject
*arg2
= (PyObject
*) 0 ;
33486 PyObject
* obj0
= 0 ;
33487 PyObject
* obj1
= 0 ;
33488 char * kwnames
[] = {
33489 (char *) "self",(char *) "data", NULL
33492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33494 if (!SWIG_IsOK(res1
)) {
33495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33497 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33514 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33515 PyObject
*resultobj
= 0;
33516 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 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_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33528 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (size_t)(arg1
)->GetSize();
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33535 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33542 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33543 PyObject
*resultobj
= 0;
33544 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33545 PyObject
*result
= 0 ;
33548 PyObject
*swig_obj
[1] ;
33550 if (!args
) SWIG_fail
;
33551 swig_obj
[0] = args
;
33552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33556 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= result
;
33570 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33573 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33574 return SWIG_Py_Void();
33577 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33578 return SWIG_Python_InitShadowInstance(args
);
33581 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
= 0;
33583 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33584 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33585 wxURLDataObject
*result
= 0 ;
33586 bool temp1
= false ;
33587 PyObject
* obj0
= 0 ;
33588 char * kwnames
[] = {
33589 (char *) "url", NULL
33592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33595 arg1
= wxString_in_helper(obj0
);
33596 if (arg1
== NULL
) SWIG_fail
;
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33621 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33622 PyObject
*resultobj
= 0;
33623 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33627 PyObject
*swig_obj
[1] ;
33629 if (!args
) SWIG_fail
;
33630 swig_obj
[0] = args
;
33631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33635 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (arg1
)->GetURL();
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33655 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
= 0;
33657 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33658 wxString
*arg2
= 0 ;
33661 bool temp2
= false ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 char * kwnames
[] = {
33665 (char *) "self",(char *) "url", NULL
33668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33673 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33675 arg2
= wxString_in_helper(obj1
);
33676 if (arg2
== NULL
) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 (arg1
)->SetURL((wxString
const &)*arg2
);
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= SWIG_Py_Void();
33700 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33703 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33704 return SWIG_Py_Void();
33707 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33708 return SWIG_Python_InitShadowInstance(args
);
33711 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33712 PyObject
*resultobj
= 0;
33713 wxMetafileDataObject
*result
= 0 ;
33715 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33729 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33732 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33733 return SWIG_Py_Void();
33736 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33737 return SWIG_Python_InitShadowInstance(args
);
33740 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
= 0;
33742 wxDragResult arg1
;
33746 PyObject
* obj0
= 0 ;
33747 char * kwnames
[] = {
33748 (char *) "res", NULL
33751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33753 if (!SWIG_IsOK(ecode1
)) {
33754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33756 arg1
= static_cast< wxDragResult
>(val1
);
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (bool)wxIsDragResultOk(arg1
);
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33772 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
= 0;
33774 wxWindow
*arg1
= (wxWindow
*) 0 ;
33775 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33776 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33777 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33778 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33779 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33780 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33781 wxPyDropSource
*result
= 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 PyObject
* obj2
= 0 ;
33793 PyObject
* obj3
= 0 ;
33794 char * kwnames
[] = {
33795 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33800 if (!SWIG_IsOK(res1
)) {
33801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33806 if (!SWIG_IsOK(res2
)) {
33807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33812 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33815 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33816 if (!SWIG_IsOK(res3
)) {
33817 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33822 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33825 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33826 if (!SWIG_IsOK(res4
)) {
33827 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33832 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33847 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
= 0;
33849 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33850 PyObject
*arg2
= (PyObject
*) 0 ;
33851 PyObject
*arg3
= (PyObject
*) 0 ;
33852 int arg4
= (int) 0 ;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 PyObject
* obj2
= 0 ;
33860 PyObject
* obj3
= 0 ;
33861 char * kwnames
[] = {
33862 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33870 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33874 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33875 if (!SWIG_IsOK(ecode4
)) {
33876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33878 arg4
= static_cast< int >(val4
);
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33883 wxPyEndAllowThreads(__tstate
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33886 resultobj
= SWIG_Py_Void();
33893 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33894 PyObject
*resultobj
= 0;
33895 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33898 PyObject
*swig_obj
[1] ;
33900 if (!args
) SWIG_fail
;
33901 swig_obj
[0] = args
;
33902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33906 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= SWIG_Py_Void();
33921 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
= 0;
33923 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33924 wxDataObject
*arg2
= 0 ;
33929 PyObject
* obj0
= 0 ;
33930 PyObject
* obj1
= 0 ;
33931 char * kwnames
[] = {
33932 (char *) "self",(char *) "data", NULL
33935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33937 if (!SWIG_IsOK(res1
)) {
33938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33940 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33942 if (!SWIG_IsOK(res2
)) {
33943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33948 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 (arg1
)->SetData(*arg2
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_Py_Void();
33962 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33963 PyObject
*resultobj
= 0;
33964 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33965 wxDataObject
*result
= 0 ;
33968 PyObject
*swig_obj
[1] ;
33970 if (!args
) SWIG_fail
;
33971 swig_obj
[0] = args
;
33972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33973 if (!SWIG_IsOK(res1
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33976 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33990 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
= 0;
33992 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33993 wxDragResult arg2
;
33994 wxCursor
*arg3
= 0 ;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 PyObject
* obj2
= 0 ;
34004 char * kwnames
[] = {
34005 (char *) "self",(char *) "res",(char *) "cursor", NULL
34008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34010 if (!SWIG_IsOK(res1
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34013 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34015 if (!SWIG_IsOK(ecode2
)) {
34016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
34018 arg2
= static_cast< wxDragResult
>(val2
);
34019 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
34020 if (!SWIG_IsOK(res3
)) {
34021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34026 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 resultobj
= SWIG_Py_Void();
34040 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
= 0;
34042 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34043 int arg2
= (int) wxDrag_CopyOnly
;
34044 wxDragResult result
;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 char * kwnames
[] = {
34052 (char *) "self",(char *) "flags", NULL
34055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34060 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34063 if (!SWIG_IsOK(ecode2
)) {
34064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34066 arg2
= static_cast< int >(val2
);
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_From_int(static_cast< int >(result
));
34081 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34084 wxDragResult arg2
;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 char * kwnames
[] = {
34093 (char *) "self",(char *) "effect", NULL
34096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",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_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34101 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34103 if (!SWIG_IsOK(ecode2
)) {
34104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34106 arg2
= static_cast< wxDragResult
>(val2
);
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34122 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34125 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34126 return SWIG_Py_Void();
34129 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34130 return SWIG_Python_InitShadowInstance(args
);
34133 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34134 PyObject
*resultobj
= 0;
34135 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34136 wxPyDropTarget
*result
= 0 ;
34138 PyObject
* obj0
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "dataObject", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34145 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34146 if (!SWIG_IsOK(res1
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34163 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34164 PyObject
*resultobj
= 0;
34165 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34166 PyObject
*arg2
= (PyObject
*) 0 ;
34167 PyObject
*arg3
= (PyObject
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 PyObject
* obj2
= 0 ;
34173 char * kwnames
[] = {
34174 (char *) "self",(char *) "self",(char *) "_class", NULL
34177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34179 if (!SWIG_IsOK(res1
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34182 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_Py_Void();
34198 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34199 PyObject
*resultobj
= 0;
34200 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34203 PyObject
*swig_obj
[1] ;
34205 if (!args
) SWIG_fail
;
34206 swig_obj
[0] = args
;
34207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34208 if (!SWIG_IsOK(res1
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34211 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_Py_Void();
34226 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34227 PyObject
*resultobj
= 0;
34228 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34229 wxDataObject
*result
= 0 ;
34232 PyObject
*swig_obj
[1] ;
34234 if (!args
) SWIG_fail
;
34235 swig_obj
[0] = args
;
34236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34237 if (!SWIG_IsOK(res1
)) {
34238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34240 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34254 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
= 0;
34256 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34257 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 char * kwnames
[] = {
34264 (char *) "self",(char *) "dataObject", NULL
34267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34269 if (!SWIG_IsOK(res1
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34272 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34273 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34274 if (!SWIG_IsOK(res2
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 (arg1
)->SetDataObject(arg2
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 resultobj
= SWIG_Py_Void();
34290 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
= 0;
34292 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34295 wxDragResult arg4
;
34296 wxDragResult result
;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 PyObject
* obj2
= 0 ;
34308 PyObject
* obj3
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34318 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34320 if (!SWIG_IsOK(ecode2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34323 arg2
= static_cast< int >(val2
);
34324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34325 if (!SWIG_IsOK(ecode3
)) {
34326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34328 arg3
= static_cast< int >(val3
);
34329 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34330 if (!SWIG_IsOK(ecode4
)) {
34331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34333 arg4
= static_cast< wxDragResult
>(val4
);
34335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34336 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 resultobj
= SWIG_From_int(static_cast< int >(result
));
34347 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
= 0;
34349 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34352 wxDragResult arg4
;
34353 wxDragResult result
;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 PyObject
* obj2
= 0 ;
34365 PyObject
* obj3
= 0 ;
34366 char * kwnames
[] = {
34367 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34372 if (!SWIG_IsOK(res1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34375 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34377 if (!SWIG_IsOK(ecode2
)) {
34378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34380 arg2
= static_cast< int >(val2
);
34381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34382 if (!SWIG_IsOK(ecode3
)) {
34383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34385 arg3
= static_cast< int >(val3
);
34386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34387 if (!SWIG_IsOK(ecode4
)) {
34388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34390 arg4
= static_cast< wxDragResult
>(val4
);
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 resultobj
= SWIG_From_int(static_cast< int >(result
));
34404 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34405 PyObject
*resultobj
= 0;
34406 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34409 PyObject
*swig_obj
[1] ;
34411 if (!args
) SWIG_fail
;
34412 swig_obj
[0] = args
;
34413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34414 if (!SWIG_IsOK(res1
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34417 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34424 resultobj
= SWIG_Py_Void();
34431 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34432 PyObject
*resultobj
= 0;
34433 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 PyObject
* obj2
= 0 ;
34446 char * kwnames
[] = {
34447 (char *) "self",(char *) "x",(char *) "y", NULL
34450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34455 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34457 if (!SWIG_IsOK(ecode2
)) {
34458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34460 arg2
= static_cast< int >(val2
);
34461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34462 if (!SWIG_IsOK(ecode3
)) {
34463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34465 arg3
= static_cast< int >(val3
);
34467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34468 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34481 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34482 PyObject
*resultobj
= 0;
34483 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34487 PyObject
*swig_obj
[1] ;
34489 if (!args
) SWIG_fail
;
34490 swig_obj
[0] = args
;
34491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34492 if (!SWIG_IsOK(res1
)) {
34493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34495 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 result
= (bool)(arg1
)->GetData();
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34511 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34512 PyObject
*resultobj
= 0;
34513 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34514 wxDragResult arg2
;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 char * kwnames
[] = {
34522 (char *) "self",(char *) "action", NULL
34525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34530 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34532 if (!SWIG_IsOK(ecode2
)) {
34533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34535 arg2
= static_cast< wxDragResult
>(val2
);
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 (arg1
)->SetDefaultAction(arg2
);
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_Py_Void();
34549 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34550 PyObject
*resultobj
= 0;
34551 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34552 wxDragResult result
;
34555 PyObject
*swig_obj
[1] ;
34557 if (!args
) SWIG_fail
;
34558 swig_obj
[0] = args
;
34559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34560 if (!SWIG_IsOK(res1
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34563 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_From_int(static_cast< int >(result
));
34577 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34581 return SWIG_Py_Void();
34584 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34585 return SWIG_Python_InitShadowInstance(args
);
34588 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34589 PyObject
*resultobj
= 0;
34590 wxPyTextDropTarget
*result
= 0 ;
34592 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34606 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
= 0;
34608 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34609 PyObject
*arg2
= (PyObject
*) 0 ;
34610 PyObject
*arg3
= (PyObject
*) 0 ;
34613 PyObject
* obj0
= 0 ;
34614 PyObject
* obj1
= 0 ;
34615 PyObject
* obj2
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "self",(char *) "_class", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34625 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= SWIG_Py_Void();
34641 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
= 0;
34643 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34646 wxString
*arg4
= 0 ;
34654 bool temp4
= false ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 PyObject
* obj2
= 0 ;
34658 PyObject
* obj3
= 0 ;
34659 char * kwnames
[] = {
34660 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34665 if (!SWIG_IsOK(res1
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34668 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34670 if (!SWIG_IsOK(ecode2
)) {
34671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34673 arg2
= static_cast< int >(val2
);
34674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34675 if (!SWIG_IsOK(ecode3
)) {
34676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34678 arg3
= static_cast< int >(val3
);
34680 arg4
= wxString_in_helper(obj3
);
34681 if (arg4
== NULL
) SWIG_fail
;
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34707 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
= 0;
34709 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34712 wxDragResult arg4
;
34713 wxDragResult result
;
34722 PyObject
* obj0
= 0 ;
34723 PyObject
* obj1
= 0 ;
34724 PyObject
* obj2
= 0 ;
34725 PyObject
* obj3
= 0 ;
34726 char * kwnames
[] = {
34727 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34732 if (!SWIG_IsOK(res1
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34735 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34737 if (!SWIG_IsOK(ecode2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34740 arg2
= static_cast< int >(val2
);
34741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34742 if (!SWIG_IsOK(ecode3
)) {
34743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34745 arg3
= static_cast< int >(val3
);
34746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34747 if (!SWIG_IsOK(ecode4
)) {
34748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34750 arg4
= static_cast< wxDragResult
>(val4
);
34752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34753 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 resultobj
= SWIG_From_int(static_cast< int >(result
));
34764 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
= 0;
34766 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34769 wxDragResult arg4
;
34770 wxDragResult result
;
34779 PyObject
* obj0
= 0 ;
34780 PyObject
* obj1
= 0 ;
34781 PyObject
* obj2
= 0 ;
34782 PyObject
* obj3
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34792 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34794 if (!SWIG_IsOK(ecode2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34797 arg2
= static_cast< int >(val2
);
34798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34799 if (!SWIG_IsOK(ecode3
)) {
34800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34802 arg3
= static_cast< int >(val3
);
34803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34804 if (!SWIG_IsOK(ecode4
)) {
34805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34807 arg4
= static_cast< wxDragResult
>(val4
);
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_From_int(static_cast< int >(result
));
34821 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34822 PyObject
*resultobj
= 0;
34823 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34826 PyObject
*swig_obj
[1] ;
34828 if (!args
) SWIG_fail
;
34829 swig_obj
[0] = args
;
34830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34834 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34838 wxPyEndAllowThreads(__tstate
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34841 resultobj
= SWIG_Py_Void();
34848 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34849 PyObject
*resultobj
= 0;
34850 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34860 PyObject
* obj0
= 0 ;
34861 PyObject
* obj1
= 0 ;
34862 PyObject
* obj2
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "x",(char *) "y", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34872 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34874 if (!SWIG_IsOK(ecode2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34877 arg2
= static_cast< int >(val2
);
34878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34879 if (!SWIG_IsOK(ecode3
)) {
34880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34882 arg3
= static_cast< int >(val3
);
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34898 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34903 wxDragResult arg4
;
34904 wxDragResult result
;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 PyObject
* obj2
= 0 ;
34916 PyObject
* obj3
= 0 ;
34917 char * kwnames
[] = {
34918 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34923 if (!SWIG_IsOK(res1
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34926 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34928 if (!SWIG_IsOK(ecode2
)) {
34929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34931 arg2
= static_cast< int >(val2
);
34932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34933 if (!SWIG_IsOK(ecode3
)) {
34934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34936 arg3
= static_cast< int >(val3
);
34937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34938 if (!SWIG_IsOK(ecode4
)) {
34939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34941 arg4
= static_cast< wxDragResult
>(val4
);
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34948 resultobj
= SWIG_From_int(static_cast< int >(result
));
34955 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34958 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34959 return SWIG_Py_Void();
34962 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34963 return SWIG_Python_InitShadowInstance(args
);
34966 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34967 PyObject
*resultobj
= 0;
34968 wxPyFileDropTarget
*result
= 0 ;
34970 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34984 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
= 0;
34986 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34987 PyObject
*arg2
= (PyObject
*) 0 ;
34988 PyObject
*arg3
= (PyObject
*) 0 ;
34991 PyObject
* obj0
= 0 ;
34992 PyObject
* obj1
= 0 ;
34993 PyObject
* obj2
= 0 ;
34994 char * kwnames
[] = {
34995 (char *) "self",(char *) "self",(char *) "_class", NULL
34998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35000 if (!SWIG_IsOK(res1
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35003 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35008 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= SWIG_Py_Void();
35019 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35020 PyObject
*resultobj
= 0;
35021 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35024 wxArrayString
*arg4
= 0 ;
35032 bool temp4
= false ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 PyObject
* obj2
= 0 ;
35036 PyObject
* obj3
= 0 ;
35037 char * kwnames
[] = {
35038 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35046 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35048 if (!SWIG_IsOK(ecode2
)) {
35049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35051 arg2
= static_cast< int >(val2
);
35052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35053 if (!SWIG_IsOK(ecode3
)) {
35054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35056 arg3
= static_cast< int >(val3
);
35058 if (! PySequence_Check(obj3
)) {
35059 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35062 arg4
= new wxArrayString
;
35064 int i
, len
=PySequence_Length(obj3
);
35065 for (i
=0; i
<len
; i
++) {
35066 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35067 wxString
* s
= wxString_in_helper(item
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35084 if (temp4
) delete arg4
;
35089 if (temp4
) delete arg4
;
35095 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
= 0;
35097 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35100 wxDragResult arg4
;
35101 wxDragResult result
;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 PyObject
* obj2
= 0 ;
35113 PyObject
* obj3
= 0 ;
35114 char * kwnames
[] = {
35115 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35123 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35125 if (!SWIG_IsOK(ecode2
)) {
35126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35128 arg2
= static_cast< int >(val2
);
35129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35130 if (!SWIG_IsOK(ecode3
)) {
35131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35133 arg3
= static_cast< int >(val3
);
35134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35135 if (!SWIG_IsOK(ecode4
)) {
35136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35138 arg4
= static_cast< wxDragResult
>(val4
);
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= SWIG_From_int(static_cast< int >(result
));
35152 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
= 0;
35154 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35157 wxDragResult arg4
;
35158 wxDragResult result
;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 PyObject
* obj2
= 0 ;
35170 PyObject
* obj3
= 0 ;
35171 char * kwnames
[] = {
35172 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35180 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35182 if (!SWIG_IsOK(ecode2
)) {
35183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35185 arg2
= static_cast< int >(val2
);
35186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35187 if (!SWIG_IsOK(ecode3
)) {
35188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35190 arg3
= static_cast< int >(val3
);
35191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35192 if (!SWIG_IsOK(ecode4
)) {
35193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35195 arg4
= static_cast< wxDragResult
>(val4
);
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= SWIG_From_int(static_cast< int >(result
));
35209 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35210 PyObject
*resultobj
= 0;
35211 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35214 PyObject
*swig_obj
[1] ;
35216 if (!args
) SWIG_fail
;
35217 swig_obj
[0] = args
;
35218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35219 if (!SWIG_IsOK(res1
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35222 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35226 wxPyEndAllowThreads(__tstate
);
35227 if (PyErr_Occurred()) SWIG_fail
;
35229 resultobj
= SWIG_Py_Void();
35236 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35237 PyObject
*resultobj
= 0;
35238 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35248 PyObject
* obj0
= 0 ;
35249 PyObject
* obj1
= 0 ;
35250 PyObject
* obj2
= 0 ;
35251 char * kwnames
[] = {
35252 (char *) "self",(char *) "x",(char *) "y", NULL
35255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35257 if (!SWIG_IsOK(res1
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35260 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35262 if (!SWIG_IsOK(ecode2
)) {
35263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35265 arg2
= static_cast< int >(val2
);
35266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35267 if (!SWIG_IsOK(ecode3
)) {
35268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35270 arg3
= static_cast< int >(val3
);
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35286 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
= 0;
35288 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35291 wxDragResult arg4
;
35292 wxDragResult result
;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 PyObject
* obj2
= 0 ;
35304 PyObject
* obj3
= 0 ;
35305 char * kwnames
[] = {
35306 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35311 if (!SWIG_IsOK(res1
)) {
35312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35314 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35316 if (!SWIG_IsOK(ecode2
)) {
35317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35319 arg2
= static_cast< int >(val2
);
35320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35321 if (!SWIG_IsOK(ecode3
)) {
35322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35324 arg3
= static_cast< int >(val3
);
35325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35326 if (!SWIG_IsOK(ecode4
)) {
35327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35329 arg4
= static_cast< wxDragResult
>(val4
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_From_int(static_cast< int >(result
));
35343 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35346 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35347 return SWIG_Py_Void();
35350 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35351 return SWIG_Python_InitShadowInstance(args
);
35354 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35355 PyObject
*resultobj
= 0;
35356 wxClipboard
*result
= 0 ;
35358 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 result
= (wxClipboard
*)new wxClipboard();
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35372 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35373 PyObject
*resultobj
= 0;
35374 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35377 PyObject
*swig_obj
[1] ;
35379 if (!args
) SWIG_fail
;
35380 swig_obj
[0] = args
;
35381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35385 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 wxPyEndAllowThreads(__tstate
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 resultobj
= SWIG_Py_Void();
35400 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35401 PyObject
*resultobj
= 0;
35402 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35406 PyObject
*swig_obj
[1] ;
35408 if (!args
) SWIG_fail
;
35409 swig_obj
[0] = args
;
35410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35411 if (!SWIG_IsOK(res1
)) {
35412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35414 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 result
= (bool)(arg1
)->Open();
35418 wxPyEndAllowThreads(__tstate
);
35419 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35430 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35431 PyObject
*resultobj
= 0;
35432 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35435 PyObject
*swig_obj
[1] ;
35437 if (!args
) SWIG_fail
;
35438 swig_obj
[0] = args
;
35439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35440 if (!SWIG_IsOK(res1
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35443 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 resultobj
= SWIG_Py_Void();
35457 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35458 PyObject
*resultobj
= 0;
35459 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35463 PyObject
*swig_obj
[1] ;
35465 if (!args
) SWIG_fail
;
35466 swig_obj
[0] = args
;
35467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35471 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35474 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35487 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35488 PyObject
*resultobj
= 0;
35489 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35490 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 PyObject
* obj1
= 0 ;
35497 char * kwnames
[] = {
35498 (char *) "self",(char *) "data", NULL
35501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35503 if (!SWIG_IsOK(res1
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35506 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35507 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35508 if (!SWIG_IsOK(res2
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35513 result
= (bool)(arg1
)->AddData(arg2
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35526 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35527 PyObject
*resultobj
= 0;
35528 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35529 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 char * kwnames
[] = {
35537 (char *) "self",(char *) "data", NULL
35540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35542 if (!SWIG_IsOK(res1
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35545 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35546 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35547 if (!SWIG_IsOK(res2
)) {
35548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (bool)(arg1
)->SetData(arg2
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35565 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35566 PyObject
*resultobj
= 0;
35567 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35568 wxDataFormat
*arg2
= 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 char * kwnames
[] = {
35577 (char *) "self",(char *) "format", NULL
35580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35582 if (!SWIG_IsOK(res1
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35585 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35587 if (!SWIG_IsOK(res2
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35593 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35609 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35610 PyObject
*resultobj
= 0;
35611 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35612 wxDataObject
*arg2
= 0 ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 char * kwnames
[] = {
35621 (char *) "self",(char *) "data", NULL
35624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35626 if (!SWIG_IsOK(res1
)) {
35627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35629 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35631 if (!SWIG_IsOK(res2
)) {
35632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35637 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= (bool)(arg1
)->GetData(*arg2
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35653 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35654 PyObject
*resultobj
= 0;
35655 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35658 PyObject
*swig_obj
[1] ;
35660 if (!args
) SWIG_fail
;
35661 swig_obj
[0] = args
;
35662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35663 if (!SWIG_IsOK(res1
)) {
35664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35666 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_Py_Void();
35680 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35681 PyObject
*resultobj
= 0;
35682 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35686 PyObject
*swig_obj
[1] ;
35688 if (!args
) SWIG_fail
;
35689 swig_obj
[0] = args
;
35690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35691 if (!SWIG_IsOK(res1
)) {
35692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35694 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= (bool)(arg1
)->Flush();
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35710 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35711 PyObject
*resultobj
= 0;
35712 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35713 bool arg2
= (bool) true ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "primary", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35729 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35731 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35732 if (!SWIG_IsOK(ecode2
)) {
35733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35735 arg2
= static_cast< bool >(val2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 (arg1
)->UsePrimarySelection(arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_Py_Void();
35750 SWIGINTERN PyObject
*_wrap_Clipboard_IsUsingPrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35751 PyObject
*resultobj
= 0;
35752 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35756 PyObject
*swig_obj
[1] ;
35758 if (!args
) SWIG_fail
;
35759 swig_obj
[0] = args
;
35760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35761 if (!SWIG_IsOK(res1
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsUsingPrimarySelection" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35764 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 result
= (bool)((wxClipboard
const *)arg1
)->IsUsingPrimarySelection();
35768 wxPyEndAllowThreads(__tstate
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35780 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35781 PyObject
*resultobj
= 0;
35782 wxClipboard
*result
= 0 ;
35784 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= (wxClipboard
*)wxClipboard::Get();
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35798 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35801 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35802 return SWIG_Py_Void();
35805 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35806 return SWIG_Python_InitShadowInstance(args
);
35809 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35812 wxClipboardLocker
*result
= 0 ;
35815 PyObject
* obj0
= 0 ;
35816 char * kwnames
[] = {
35817 (char *) "clipboard", NULL
35820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35823 if (!SWIG_IsOK(res1
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35826 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35830 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35831 wxPyEndAllowThreads(__tstate
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35841 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35842 PyObject
*resultobj
= 0;
35843 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35846 PyObject
*swig_obj
[1] ;
35848 if (!args
) SWIG_fail
;
35849 swig_obj
[0] = args
;
35850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35851 if (!SWIG_IsOK(res1
)) {
35852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35854 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_Py_Void();
35869 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35870 PyObject
*resultobj
= 0;
35871 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35875 PyObject
*swig_obj
[1] ;
35877 if (!args
) SWIG_fail
;
35878 swig_obj
[0] = args
;
35879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35883 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35899 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35902 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35903 return SWIG_Py_Void();
35906 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35907 return SWIG_Python_InitShadowInstance(args
);
35910 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
= 0;
35912 int arg1
= (int) 0 ;
35913 int arg2
= (int) 0 ;
35914 int arg3
= (int) 0 ;
35915 int arg4
= (int) 0 ;
35916 wxVideoMode
*result
= 0 ;
35925 PyObject
* obj0
= 0 ;
35926 PyObject
* obj1
= 0 ;
35927 PyObject
* obj2
= 0 ;
35928 PyObject
* obj3
= 0 ;
35929 char * kwnames
[] = {
35930 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35936 if (!SWIG_IsOK(ecode1
)) {
35937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35939 arg1
= static_cast< int >(val1
);
35942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35943 if (!SWIG_IsOK(ecode2
)) {
35944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35946 arg2
= static_cast< int >(val2
);
35949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35950 if (!SWIG_IsOK(ecode3
)) {
35951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35953 arg3
= static_cast< int >(val3
);
35956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35957 if (!SWIG_IsOK(ecode4
)) {
35958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35960 arg4
= static_cast< int >(val4
);
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35975 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35976 PyObject
*resultobj
= 0;
35977 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35980 PyObject
*swig_obj
[1] ;
35982 if (!args
) SWIG_fail
;
35983 swig_obj
[0] = args
;
35984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35988 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= SWIG_Py_Void();
36003 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
= 0;
36005 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36006 wxVideoMode
*arg2
= 0 ;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 char * kwnames
[] = {
36015 (char *) "self",(char *) "other", NULL
36018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36023 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36025 if (!SWIG_IsOK(res2
)) {
36026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36031 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36034 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
36035 wxPyEndAllowThreads(__tstate
);
36036 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36047 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36048 PyObject
*resultobj
= 0;
36049 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36053 PyObject
*swig_obj
[1] ;
36055 if (!args
) SWIG_fail
;
36056 swig_obj
[0] = args
;
36057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36058 if (!SWIG_IsOK(res1
)) {
36059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36061 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= SWIG_From_int(static_cast< int >(result
));
36075 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36076 PyObject
*resultobj
= 0;
36077 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36081 PyObject
*swig_obj
[1] ;
36083 if (!args
) SWIG_fail
;
36084 swig_obj
[0] = args
;
36085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36086 if (!SWIG_IsOK(res1
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36089 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 resultobj
= SWIG_From_int(static_cast< int >(result
));
36103 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36104 PyObject
*resultobj
= 0;
36105 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36109 PyObject
*swig_obj
[1] ;
36111 if (!args
) SWIG_fail
;
36112 swig_obj
[0] = args
;
36113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36114 if (!SWIG_IsOK(res1
)) {
36115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36117 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 resultobj
= SWIG_From_int(static_cast< int >(result
));
36131 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36132 PyObject
*resultobj
= 0;
36133 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36137 PyObject
*swig_obj
[1] ;
36139 if (!args
) SWIG_fail
;
36140 swig_obj
[0] = args
;
36141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36142 if (!SWIG_IsOK(res1
)) {
36143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36145 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36149 wxPyEndAllowThreads(__tstate
);
36150 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36161 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36162 PyObject
*resultobj
= 0;
36163 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36164 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 char * kwnames
[] = {
36173 (char *) "self",(char *) "other", NULL
36176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36178 if (!SWIG_IsOK(res1
)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36181 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36183 if (!SWIG_IsOK(res2
)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36186 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36189 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36202 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36203 PyObject
*resultobj
= 0;
36204 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36205 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "other", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36222 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36224 if (!SWIG_IsOK(res2
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36227 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36231 wxPyEndAllowThreads(__tstate
);
36232 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36243 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36244 PyObject
*resultobj
= 0;
36245 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36251 PyObject
*swig_obj
[2] ;
36253 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36255 if (!SWIG_IsOK(res1
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36258 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36259 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36260 if (!SWIG_IsOK(ecode2
)) {
36261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36263 arg2
= static_cast< int >(val2
);
36264 if (arg1
) (arg1
)->w
= arg2
;
36266 resultobj
= SWIG_Py_Void();
36273 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36274 PyObject
*resultobj
= 0;
36275 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36279 PyObject
*swig_obj
[1] ;
36281 if (!args
) SWIG_fail
;
36282 swig_obj
[0] = args
;
36283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36284 if (!SWIG_IsOK(res1
)) {
36285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36287 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36288 result
= (int) ((arg1
)->w
);
36289 resultobj
= SWIG_From_int(static_cast< int >(result
));
36296 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36297 PyObject
*resultobj
= 0;
36298 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36304 PyObject
*swig_obj
[2] ;
36306 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36308 if (!SWIG_IsOK(res1
)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36311 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36312 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36313 if (!SWIG_IsOK(ecode2
)) {
36314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36316 arg2
= static_cast< int >(val2
);
36317 if (arg1
) (arg1
)->h
= arg2
;
36319 resultobj
= SWIG_Py_Void();
36326 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36327 PyObject
*resultobj
= 0;
36328 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36332 PyObject
*swig_obj
[1] ;
36334 if (!args
) SWIG_fail
;
36335 swig_obj
[0] = args
;
36336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36337 if (!SWIG_IsOK(res1
)) {
36338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36340 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36341 result
= (int) ((arg1
)->h
);
36342 resultobj
= SWIG_From_int(static_cast< int >(result
));
36349 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36350 PyObject
*resultobj
= 0;
36351 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36357 PyObject
*swig_obj
[2] ;
36359 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36361 if (!SWIG_IsOK(res1
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36364 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36365 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36366 if (!SWIG_IsOK(ecode2
)) {
36367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36369 arg2
= static_cast< int >(val2
);
36370 if (arg1
) (arg1
)->bpp
= arg2
;
36372 resultobj
= SWIG_Py_Void();
36379 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36380 PyObject
*resultobj
= 0;
36381 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36385 PyObject
*swig_obj
[1] ;
36387 if (!args
) SWIG_fail
;
36388 swig_obj
[0] = args
;
36389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36390 if (!SWIG_IsOK(res1
)) {
36391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36393 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36394 result
= (int) ((arg1
)->bpp
);
36395 resultobj
= SWIG_From_int(static_cast< int >(result
));
36402 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36403 PyObject
*resultobj
= 0;
36404 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36410 PyObject
*swig_obj
[2] ;
36412 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36414 if (!SWIG_IsOK(res1
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36417 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36418 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36419 if (!SWIG_IsOK(ecode2
)) {
36420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36422 arg2
= static_cast< int >(val2
);
36423 if (arg1
) (arg1
)->refresh
= arg2
;
36425 resultobj
= SWIG_Py_Void();
36432 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36433 PyObject
*resultobj
= 0;
36434 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36438 PyObject
*swig_obj
[1] ;
36440 if (!args
) SWIG_fail
;
36441 swig_obj
[0] = args
;
36442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36446 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36447 result
= (int) ((arg1
)->refresh
);
36448 resultobj
= SWIG_From_int(static_cast< int >(result
));
36455 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36458 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36459 return SWIG_Py_Void();
36462 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36463 return SWIG_Python_InitShadowInstance(args
);
36466 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36467 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36472 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36473 PyObject
*pyobj
= 0;
36475 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36480 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36481 PyObject
*resultobj
= 0;
36482 unsigned int arg1
= (unsigned int) 0 ;
36483 wxDisplay
*result
= 0 ;
36484 unsigned int val1
;
36486 PyObject
* obj0
= 0 ;
36487 char * kwnames
[] = {
36488 (char *) "index", NULL
36491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36493 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36494 if (!SWIG_IsOK(ecode1
)) {
36495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36497 arg1
= static_cast< unsigned int >(val1
);
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 result
= (wxDisplay
*)new wxDisplay(arg1
);
36502 wxPyEndAllowThreads(__tstate
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36512 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36513 PyObject
*resultobj
= 0;
36514 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36517 PyObject
*swig_obj
[1] ;
36519 if (!args
) SWIG_fail
;
36520 swig_obj
[0] = args
;
36521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36522 if (!SWIG_IsOK(res1
)) {
36523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36525 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36530 wxPyEndAllowThreads(__tstate
);
36531 if (PyErr_Occurred()) SWIG_fail
;
36533 resultobj
= SWIG_Py_Void();
36540 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36541 PyObject
*resultobj
= 0;
36542 unsigned int result
;
36544 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 result
= (unsigned int)wxDisplay::GetCount();
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36558 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
= 0;
36560 wxPoint
*arg1
= 0 ;
36563 PyObject
* obj0
= 0 ;
36564 char * kwnames
[] = {
36565 (char *) "pt", NULL
36568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36571 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36576 wxPyEndAllowThreads(__tstate
);
36577 if (PyErr_Occurred()) SWIG_fail
;
36579 resultobj
= SWIG_From_int(static_cast< int >(result
));
36586 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36587 PyObject
*resultobj
= 0;
36588 wxWindow
*arg1
= (wxWindow
*) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 char * kwnames
[] = {
36594 (char *) "window", NULL
36597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36599 if (!SWIG_IsOK(res1
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow const *""'");
36602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36605 result
= (int)wxDisplay::GetFromWindow((wxWindow
const *)arg1
);
36606 wxPyEndAllowThreads(__tstate
);
36607 if (PyErr_Occurred()) SWIG_fail
;
36609 resultobj
= SWIG_From_int(static_cast< int >(result
));
36616 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36617 PyObject
*resultobj
= 0;
36618 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36622 PyObject
*swig_obj
[1] ;
36624 if (!args
) SWIG_fail
;
36625 swig_obj
[0] = args
;
36626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36627 if (!SWIG_IsOK(res1
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36630 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36633 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36634 wxPyEndAllowThreads(__tstate
);
36635 if (PyErr_Occurred()) SWIG_fail
;
36638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36646 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36647 PyObject
*resultobj
= 0;
36648 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36652 PyObject
*swig_obj
[1] ;
36654 if (!args
) SWIG_fail
;
36655 swig_obj
[0] = args
;
36656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36657 if (!SWIG_IsOK(res1
)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36660 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36674 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36675 PyObject
*resultobj
= 0;
36676 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36680 PyObject
*swig_obj
[1] ;
36682 if (!args
) SWIG_fail
;
36683 swig_obj
[0] = args
;
36684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36688 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36702 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36703 PyObject
*resultobj
= 0;
36704 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36708 PyObject
*swig_obj
[1] ;
36710 if (!args
) SWIG_fail
;
36711 swig_obj
[0] = args
;
36712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36713 if (!SWIG_IsOK(res1
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36716 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 result
= ((wxDisplay
const *)arg1
)->GetName();
36720 wxPyEndAllowThreads(__tstate
);
36721 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36736 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36737 PyObject
*resultobj
= 0;
36738 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36742 PyObject
*swig_obj
[1] ;
36744 if (!args
) SWIG_fail
;
36745 swig_obj
[0] = args
;
36746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36747 if (!SWIG_IsOK(res1
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36750 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36766 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
= 0;
36768 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36769 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36770 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36771 PyObject
*result
= 0 ;
36776 PyObject
* obj0
= 0 ;
36777 PyObject
* obj1
= 0 ;
36778 char * kwnames
[] = {
36779 (char *) "self",(char *) "mode", NULL
36782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36787 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36790 if (!SWIG_IsOK(res2
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36796 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= result
;
36811 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36812 PyObject
*resultobj
= 0;
36813 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36814 wxVideoMode result
;
36817 PyObject
*swig_obj
[1] ;
36819 if (!args
) SWIG_fail
;
36820 swig_obj
[0] = args
;
36821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36822 if (!SWIG_IsOK(res1
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36825 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36828 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36829 wxPyEndAllowThreads(__tstate
);
36830 if (PyErr_Occurred()) SWIG_fail
;
36832 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36839 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36840 PyObject
*resultobj
= 0;
36841 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36842 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36843 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36849 PyObject
* obj0
= 0 ;
36850 PyObject
* obj1
= 0 ;
36851 char * kwnames
[] = {
36852 (char *) "self",(char *) "mode", NULL
36855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36857 if (!SWIG_IsOK(res1
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36860 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36863 if (!SWIG_IsOK(res2
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36869 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36886 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36887 PyObject
*resultobj
= 0;
36888 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36891 PyObject
*swig_obj
[1] ;
36893 if (!args
) SWIG_fail
;
36894 swig_obj
[0] = args
;
36895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36896 if (!SWIG_IsOK(res1
)) {
36897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36899 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36902 wxDisplay_ResetMode(arg1
);
36903 wxPyEndAllowThreads(__tstate
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= SWIG_Py_Void();
36913 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36917 return SWIG_Py_Void();
36920 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36921 return SWIG_Python_InitShadowInstance(args
);
36924 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36925 PyObject
*resultobj
= 0;
36926 wxStandardPaths
*result
= 0 ;
36928 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36942 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36943 PyObject
*resultobj
= 0;
36944 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36948 PyObject
*swig_obj
[1] ;
36950 if (!args
) SWIG_fail
;
36951 swig_obj
[0] = args
;
36952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36956 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36959 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36976 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36977 PyObject
*resultobj
= 0;
36978 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36982 PyObject
*swig_obj
[1] ;
36984 if (!args
) SWIG_fail
;
36985 swig_obj
[0] = args
;
36986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36987 if (!SWIG_IsOK(res1
)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36990 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37010 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37011 PyObject
*resultobj
= 0;
37012 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37016 PyObject
*swig_obj
[1] ;
37018 if (!args
) SWIG_fail
;
37019 swig_obj
[0] = args
;
37020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37021 if (!SWIG_IsOK(res1
)) {
37022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37024 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37044 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37045 PyObject
*resultobj
= 0;
37046 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37050 PyObject
*swig_obj
[1] ;
37052 if (!args
) SWIG_fail
;
37053 swig_obj
[0] = args
;
37054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37055 if (!SWIG_IsOK(res1
)) {
37056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37058 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
37062 wxPyEndAllowThreads(__tstate
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37078 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37079 PyObject
*resultobj
= 0;
37080 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37084 PyObject
*swig_obj
[1] ;
37086 if (!args
) SWIG_fail
;
37087 swig_obj
[0] = args
;
37088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37089 if (!SWIG_IsOK(res1
)) {
37090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37092 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37096 wxPyEndAllowThreads(__tstate
);
37097 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37112 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37113 PyObject
*resultobj
= 0;
37114 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37118 PyObject
*swig_obj
[1] ;
37120 if (!args
) SWIG_fail
;
37121 swig_obj
[0] = args
;
37122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37123 if (!SWIG_IsOK(res1
)) {
37124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37126 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37129 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37146 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37147 PyObject
*resultobj
= 0;
37148 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37152 PyObject
*swig_obj
[1] ;
37154 if (!args
) SWIG_fail
;
37155 swig_obj
[0] = args
;
37156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37157 if (!SWIG_IsOK(res1
)) {
37158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37160 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37180 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37181 PyObject
*resultobj
= 0;
37182 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37186 PyObject
*swig_obj
[1] ;
37188 if (!args
) SWIG_fail
;
37189 swig_obj
[0] = args
;
37190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37191 if (!SWIG_IsOK(res1
)) {
37192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37194 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37197 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37214 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37215 PyObject
*resultobj
= 0;
37216 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37220 PyObject
*swig_obj
[1] ;
37222 if (!args
) SWIG_fail
;
37223 swig_obj
[0] = args
;
37224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37225 if (!SWIG_IsOK(res1
)) {
37226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37228 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37231 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37232 wxPyEndAllowThreads(__tstate
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37248 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
= 0;
37250 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37251 wxString
*arg2
= 0 ;
37252 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37256 bool temp2
= false ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 PyObject
* obj2
= 0 ;
37262 char * kwnames
[] = {
37263 (char *) "self",(char *) "lang",(char *) "category", NULL
37266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37268 if (!SWIG_IsOK(res1
)) {
37269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37271 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37273 arg2
= wxString_in_helper(obj1
);
37274 if (arg2
== NULL
) SWIG_fail
;
37278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37279 if (!SWIG_IsOK(ecode3
)) {
37280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37282 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37311 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37312 PyObject
*resultobj
= 0;
37313 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37317 PyObject
*swig_obj
[1] ;
37319 if (!args
) SWIG_fail
;
37320 swig_obj
[0] = args
;
37321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37322 if (!SWIG_IsOK(res1
)) {
37323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37325 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37328 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37329 wxPyEndAllowThreads(__tstate
);
37330 if (PyErr_Occurred()) SWIG_fail
;
37334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37345 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37346 PyObject
*resultobj
= 0;
37347 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37351 PyObject
*swig_obj
[1] ;
37353 if (!args
) SWIG_fail
;
37354 swig_obj
[0] = args
;
37355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37356 if (!SWIG_IsOK(res1
)) {
37357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37359 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37362 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37379 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37382 wxString
*arg2
= 0 ;
37385 bool temp2
= false ;
37386 PyObject
* obj0
= 0 ;
37387 PyObject
* obj1
= 0 ;
37388 char * kwnames
[] = {
37389 (char *) "self",(char *) "prefix", NULL
37392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37394 if (!SWIG_IsOK(res1
)) {
37395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37397 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37399 arg2
= wxString_in_helper(obj1
);
37400 if (arg2
== NULL
) SWIG_fail
;
37404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37405 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37406 wxPyEndAllowThreads(__tstate
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37409 resultobj
= SWIG_Py_Void();
37424 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37425 PyObject
*resultobj
= 0;
37426 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37430 PyObject
*swig_obj
[1] ;
37432 if (!args
) SWIG_fail
;
37433 swig_obj
[0] = args
;
37434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37435 if (!SWIG_IsOK(res1
)) {
37436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37438 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37441 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37442 wxPyEndAllowThreads(__tstate
);
37443 if (PyErr_Occurred()) SWIG_fail
;
37447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37458 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37461 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37462 return SWIG_Py_Void();
37465 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
= 0;
37468 wxPowerEvent
*result
= 0 ;
37471 PyObject
* obj0
= 0 ;
37472 char * kwnames
[] = {
37473 (char *) "evtType", NULL
37476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37478 if (!SWIG_IsOK(ecode1
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37481 arg1
= static_cast< wxEventType
>(val1
);
37483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37484 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37495 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37496 PyObject
*resultobj
= 0;
37497 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37500 PyObject
*swig_obj
[1] ;
37502 if (!args
) SWIG_fail
;
37503 swig_obj
[0] = args
;
37504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37505 if (!SWIG_IsOK(res1
)) {
37506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37508 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37515 resultobj
= SWIG_Py_Void();
37522 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37523 PyObject
*resultobj
= 0;
37524 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37528 PyObject
*swig_obj
[1] ;
37530 if (!args
) SWIG_fail
;
37531 swig_obj
[0] = args
;
37532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37533 if (!SWIG_IsOK(res1
)) {
37534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37536 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37552 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37556 return SWIG_Py_Void();
37559 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37560 return SWIG_Python_InitShadowInstance(args
);
37563 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37564 PyObject
*resultobj
= 0;
37565 wxPowerType result
;
37567 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 result
= (wxPowerType
)wxGetPowerType();
37571 wxPyEndAllowThreads(__tstate
);
37572 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= SWIG_From_int(static_cast< int >(result
));
37581 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37582 PyObject
*resultobj
= 0;
37583 wxBatteryState result
;
37585 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 result
= (wxBatteryState
)wxGetBatteryState();
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= SWIG_From_int(static_cast< int >(result
));
37599 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37600 PyObject
*resultobj
= 0;
37601 wxAboutDialogInfo
*result
= 0 ;
37603 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37617 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37618 PyObject
*resultobj
= 0;
37619 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37622 PyObject
*swig_obj
[1] ;
37624 if (!args
) SWIG_fail
;
37625 swig_obj
[0] = args
;
37626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37627 if (!SWIG_IsOK(res1
)) {
37628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37630 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37638 resultobj
= SWIG_Py_Void();
37645 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
= 0;
37647 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37648 wxString
*arg2
= 0 ;
37651 bool temp2
= false ;
37652 PyObject
* obj0
= 0 ;
37653 PyObject
* obj1
= 0 ;
37654 char * kwnames
[] = {
37655 (char *) "self",(char *) "name", NULL
37658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37660 if (!SWIG_IsOK(res1
)) {
37661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37663 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37665 arg2
= wxString_in_helper(obj1
);
37666 if (arg2
== NULL
) SWIG_fail
;
37670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37671 (arg1
)->SetName((wxString
const &)*arg2
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 resultobj
= SWIG_Py_Void();
37690 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37691 PyObject
*resultobj
= 0;
37692 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37696 PyObject
*swig_obj
[1] ;
37698 if (!args
) SWIG_fail
;
37699 swig_obj
[0] = args
;
37700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37701 if (!SWIG_IsOK(res1
)) {
37702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37704 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37708 wxPyEndAllowThreads(__tstate
);
37709 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37724 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37725 PyObject
*resultobj
= 0;
37726 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37727 wxString
*arg2
= 0 ;
37730 bool temp2
= false ;
37731 PyObject
* obj0
= 0 ;
37732 PyObject
* obj1
= 0 ;
37733 char * kwnames
[] = {
37734 (char *) "self",(char *) "version", NULL
37737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37739 if (!SWIG_IsOK(res1
)) {
37740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37742 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37744 arg2
= wxString_in_helper(obj1
);
37745 if (arg2
== NULL
) SWIG_fail
;
37749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37750 (arg1
)->SetVersion((wxString
const &)*arg2
);
37751 wxPyEndAllowThreads(__tstate
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37754 resultobj
= SWIG_Py_Void();
37769 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37770 PyObject
*resultobj
= 0;
37771 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37775 PyObject
*swig_obj
[1] ;
37777 if (!args
) SWIG_fail
;
37778 swig_obj
[0] = args
;
37779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37780 if (!SWIG_IsOK(res1
)) {
37781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37783 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37799 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37800 PyObject
*resultobj
= 0;
37801 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37805 PyObject
*swig_obj
[1] ;
37807 if (!args
) SWIG_fail
;
37808 swig_obj
[0] = args
;
37809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37810 if (!SWIG_IsOK(res1
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37813 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37816 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37817 wxPyEndAllowThreads(__tstate
);
37818 if (PyErr_Occurred()) SWIG_fail
;
37822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37833 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
= 0;
37835 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37836 wxString
*arg2
= 0 ;
37839 bool temp2
= false ;
37840 PyObject
* obj0
= 0 ;
37841 PyObject
* obj1
= 0 ;
37842 char * kwnames
[] = {
37843 (char *) "self",(char *) "desc", NULL
37846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37848 if (!SWIG_IsOK(res1
)) {
37849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37851 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37853 arg2
= wxString_in_helper(obj1
);
37854 if (arg2
== NULL
) SWIG_fail
;
37858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37859 (arg1
)->SetDescription((wxString
const &)*arg2
);
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37863 resultobj
= SWIG_Py_Void();
37878 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37879 PyObject
*resultobj
= 0;
37880 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37884 PyObject
*swig_obj
[1] ;
37886 if (!args
) SWIG_fail
;
37887 swig_obj
[0] = args
;
37888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37889 if (!SWIG_IsOK(res1
)) {
37890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37892 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37908 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37909 PyObject
*resultobj
= 0;
37910 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37914 PyObject
*swig_obj
[1] ;
37916 if (!args
) SWIG_fail
;
37917 swig_obj
[0] = args
;
37918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37919 if (!SWIG_IsOK(res1
)) {
37920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37922 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37942 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37945 wxString
*arg2
= 0 ;
37948 bool temp2
= false ;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 char * kwnames
[] = {
37952 (char *) "self",(char *) "copyright", NULL
37955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37957 if (!SWIG_IsOK(res1
)) {
37958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37960 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37962 arg2
= wxString_in_helper(obj1
);
37963 if (arg2
== NULL
) SWIG_fail
;
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37969 wxPyEndAllowThreads(__tstate
);
37970 if (PyErr_Occurred()) SWIG_fail
;
37972 resultobj
= SWIG_Py_Void();
37987 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37988 PyObject
*resultobj
= 0;
37989 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37993 PyObject
*swig_obj
[1] ;
37995 if (!args
) SWIG_fail
;
37996 swig_obj
[0] = args
;
37997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37998 if (!SWIG_IsOK(res1
)) {
37999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38001 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38017 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38018 PyObject
*resultobj
= 0;
38019 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38023 PyObject
*swig_obj
[1] ;
38025 if (!args
) SWIG_fail
;
38026 swig_obj
[0] = args
;
38027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38028 if (!SWIG_IsOK(res1
)) {
38029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38031 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38034 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
38035 wxPyEndAllowThreads(__tstate
);
38036 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38051 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38052 PyObject
*resultobj
= 0;
38053 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38054 wxString
*arg2
= 0 ;
38057 bool temp2
= false ;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 char * kwnames
[] = {
38061 (char *) "self",(char *) "licence", NULL
38064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38066 if (!SWIG_IsOK(res1
)) {
38067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38069 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38071 arg2
= wxString_in_helper(obj1
);
38072 if (arg2
== NULL
) SWIG_fail
;
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 (arg1
)->SetLicence((wxString
const &)*arg2
);
38078 wxPyEndAllowThreads(__tstate
);
38079 if (PyErr_Occurred()) SWIG_fail
;
38081 resultobj
= SWIG_Py_Void();
38096 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
= 0;
38098 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38099 wxString
*arg2
= 0 ;
38102 bool temp2
= false ;
38103 PyObject
* obj0
= 0 ;
38104 PyObject
* obj1
= 0 ;
38105 char * kwnames
[] = {
38106 (char *) "self",(char *) "licence", NULL
38109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38111 if (!SWIG_IsOK(res1
)) {
38112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38114 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38116 arg2
= wxString_in_helper(obj1
);
38117 if (arg2
== NULL
) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 (arg1
)->SetLicense((wxString
const &)*arg2
);
38123 wxPyEndAllowThreads(__tstate
);
38124 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= SWIG_Py_Void();
38141 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38142 PyObject
*resultobj
= 0;
38143 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38147 PyObject
*swig_obj
[1] ;
38149 if (!args
) SWIG_fail
;
38150 swig_obj
[0] = args
;
38151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38152 if (!SWIG_IsOK(res1
)) {
38153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38155 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38171 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38172 PyObject
*resultobj
= 0;
38173 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38177 PyObject
*swig_obj
[1] ;
38179 if (!args
) SWIG_fail
;
38180 swig_obj
[0] = args
;
38181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38182 if (!SWIG_IsOK(res1
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38185 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38205 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
= 0;
38207 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 char * kwnames
[] = {
38216 (char *) "self",(char *) "icon", NULL
38219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38221 if (!SWIG_IsOK(res1
)) {
38222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38224 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38226 if (!SWIG_IsOK(res2
)) {
38227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38232 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38235 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38236 wxPyEndAllowThreads(__tstate
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38239 resultobj
= SWIG_Py_Void();
38246 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38247 PyObject
*resultobj
= 0;
38248 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38252 PyObject
*swig_obj
[1] ;
38254 if (!args
) SWIG_fail
;
38255 swig_obj
[0] = args
;
38256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38257 if (!SWIG_IsOK(res1
)) {
38258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38260 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38263 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38276 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38277 PyObject
*resultobj
= 0;
38278 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38282 PyObject
*swig_obj
[1] ;
38284 if (!args
) SWIG_fail
;
38285 swig_obj
[0] = args
;
38286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38287 if (!SWIG_IsOK(res1
)) {
38288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38290 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38294 wxPyEndAllowThreads(__tstate
);
38295 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38304 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38305 PyObject
*resultobj
= 0;
38306 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38307 wxString
*arg2
= 0 ;
38308 wxString
const &arg3_defvalue
= wxEmptyString
;
38309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38312 bool temp2
= false ;
38313 bool temp3
= false ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 PyObject
* obj2
= 0 ;
38317 char * kwnames
[] = {
38318 (char *) "self",(char *) "url",(char *) "desc", NULL
38321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38323 if (!SWIG_IsOK(res1
)) {
38324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38326 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38328 arg2
= wxString_in_helper(obj1
);
38329 if (arg2
== NULL
) SWIG_fail
;
38334 arg3
= wxString_in_helper(obj2
);
38335 if (arg3
== NULL
) SWIG_fail
;
38340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38341 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38342 wxPyEndAllowThreads(__tstate
);
38343 if (PyErr_Occurred()) SWIG_fail
;
38345 resultobj
= SWIG_Py_Void();
38368 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38369 PyObject
*resultobj
= 0;
38370 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38374 PyObject
*swig_obj
[1] ;
38376 if (!args
) SWIG_fail
;
38377 swig_obj
[0] = args
;
38378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38379 if (!SWIG_IsOK(res1
)) {
38380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38382 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38402 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 PyObject
*resultobj
= 0;
38404 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38408 PyObject
*swig_obj
[1] ;
38410 if (!args
) SWIG_fail
;
38411 swig_obj
[0] = args
;
38412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38413 if (!SWIG_IsOK(res1
)) {
38414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38416 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38420 wxPyEndAllowThreads(__tstate
);
38421 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38436 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38437 PyObject
*resultobj
= 0;
38438 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38442 PyObject
*swig_obj
[1] ;
38444 if (!args
) SWIG_fail
;
38445 swig_obj
[0] = args
;
38446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38447 if (!SWIG_IsOK(res1
)) {
38448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38450 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38466 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38467 PyObject
*resultobj
= 0;
38468 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38469 wxArrayString
*arg2
= 0 ;
38472 bool temp2
= false ;
38473 PyObject
* obj0
= 0 ;
38474 PyObject
* obj1
= 0 ;
38475 char * kwnames
[] = {
38476 (char *) "self",(char *) "developers", NULL
38479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38481 if (!SWIG_IsOK(res1
)) {
38482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38484 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38486 if (! PySequence_Check(obj1
)) {
38487 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38490 arg2
= new wxArrayString
;
38492 int i
, len
=PySequence_Length(obj1
);
38493 for (i
=0; i
<len
; i
++) {
38494 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38495 wxString
* s
= wxString_in_helper(item
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38505 wxPyEndAllowThreads(__tstate
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38508 resultobj
= SWIG_Py_Void();
38510 if (temp2
) delete arg2
;
38515 if (temp2
) delete arg2
;
38521 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
= 0;
38523 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38524 wxString
*arg2
= 0 ;
38527 bool temp2
= false ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 char * kwnames
[] = {
38531 (char *) "self",(char *) "developer", NULL
38534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38539 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38541 arg2
= wxString_in_helper(obj1
);
38542 if (arg2
== NULL
) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38548 wxPyEndAllowThreads(__tstate
);
38549 if (PyErr_Occurred()) SWIG_fail
;
38551 resultobj
= SWIG_Py_Void();
38566 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38567 PyObject
*resultobj
= 0;
38568 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38572 PyObject
*swig_obj
[1] ;
38574 if (!args
) SWIG_fail
;
38575 swig_obj
[0] = args
;
38576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38580 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38596 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38597 PyObject
*resultobj
= 0;
38598 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38599 wxArrayString
*result
= 0 ;
38602 PyObject
*swig_obj
[1] ;
38604 if (!args
) SWIG_fail
;
38605 swig_obj
[0] = args
;
38606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38607 if (!SWIG_IsOK(res1
)) {
38608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38610 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38615 result
= (wxArrayString
*) &_result_ref
;
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= wxArrayString2PyList_helper(*result
);
38629 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
= 0;
38631 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38632 wxArrayString
*arg2
= 0 ;
38635 bool temp2
= false ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char * kwnames
[] = {
38639 (char *) "self",(char *) "docwriters", NULL
38642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38647 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38649 if (! PySequence_Check(obj1
)) {
38650 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38653 arg2
= new wxArrayString
;
38655 int i
, len
=PySequence_Length(obj1
);
38656 for (i
=0; i
<len
; i
++) {
38657 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38658 wxString
* s
= wxString_in_helper(item
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38667 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38668 wxPyEndAllowThreads(__tstate
);
38669 if (PyErr_Occurred()) SWIG_fail
;
38671 resultobj
= SWIG_Py_Void();
38673 if (temp2
) delete arg2
;
38678 if (temp2
) delete arg2
;
38684 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38685 PyObject
*resultobj
= 0;
38686 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38687 wxString
*arg2
= 0 ;
38690 bool temp2
= false ;
38691 PyObject
* obj0
= 0 ;
38692 PyObject
* obj1
= 0 ;
38693 char * kwnames
[] = {
38694 (char *) "self",(char *) "docwriter", NULL
38697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38699 if (!SWIG_IsOK(res1
)) {
38700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38702 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38704 arg2
= wxString_in_helper(obj1
);
38705 if (arg2
== NULL
) SWIG_fail
;
38709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38710 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38711 wxPyEndAllowThreads(__tstate
);
38712 if (PyErr_Occurred()) SWIG_fail
;
38714 resultobj
= SWIG_Py_Void();
38729 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38730 PyObject
*resultobj
= 0;
38731 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38735 PyObject
*swig_obj
[1] ;
38737 if (!args
) SWIG_fail
;
38738 swig_obj
[0] = args
;
38739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38740 if (!SWIG_IsOK(res1
)) {
38741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38743 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38746 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38747 wxPyEndAllowThreads(__tstate
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38759 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38760 PyObject
*resultobj
= 0;
38761 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38762 wxArrayString
*result
= 0 ;
38765 PyObject
*swig_obj
[1] ;
38767 if (!args
) SWIG_fail
;
38768 swig_obj
[0] = args
;
38769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38770 if (!SWIG_IsOK(res1
)) {
38771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38773 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38777 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38778 result
= (wxArrayString
*) &_result_ref
;
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= wxArrayString2PyList_helper(*result
);
38792 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
= 0;
38794 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38795 wxArrayString
*arg2
= 0 ;
38798 bool temp2
= false ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 char * kwnames
[] = {
38802 (char *) "self",(char *) "artists", NULL
38805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38807 if (!SWIG_IsOK(res1
)) {
38808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38810 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38812 if (! PySequence_Check(obj1
)) {
38813 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38816 arg2
= new wxArrayString
;
38818 int i
, len
=PySequence_Length(obj1
);
38819 for (i
=0; i
<len
; i
++) {
38820 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38821 wxString
* s
= wxString_in_helper(item
);
38822 if (PyErr_Occurred()) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= SWIG_Py_Void();
38836 if (temp2
) delete arg2
;
38841 if (temp2
) delete arg2
;
38847 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38848 PyObject
*resultobj
= 0;
38849 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38850 wxString
*arg2
= 0 ;
38853 bool temp2
= false ;
38854 PyObject
* obj0
= 0 ;
38855 PyObject
* obj1
= 0 ;
38856 char * kwnames
[] = {
38857 (char *) "self",(char *) "artist", NULL
38860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38862 if (!SWIG_IsOK(res1
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38865 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38867 arg2
= wxString_in_helper(obj1
);
38868 if (arg2
== NULL
) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 (arg1
)->AddArtist((wxString
const &)*arg2
);
38874 wxPyEndAllowThreads(__tstate
);
38875 if (PyErr_Occurred()) SWIG_fail
;
38877 resultobj
= SWIG_Py_Void();
38892 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38893 PyObject
*resultobj
= 0;
38894 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38898 PyObject
*swig_obj
[1] ;
38900 if (!args
) SWIG_fail
;
38901 swig_obj
[0] = args
;
38902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38903 if (!SWIG_IsOK(res1
)) {
38904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38906 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38909 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38910 wxPyEndAllowThreads(__tstate
);
38911 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38922 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38923 PyObject
*resultobj
= 0;
38924 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38925 wxArrayString
*result
= 0 ;
38928 PyObject
*swig_obj
[1] ;
38930 if (!args
) SWIG_fail
;
38931 swig_obj
[0] = args
;
38932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38933 if (!SWIG_IsOK(res1
)) {
38934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38936 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38941 result
= (wxArrayString
*) &_result_ref
;
38943 wxPyEndAllowThreads(__tstate
);
38944 if (PyErr_Occurred()) SWIG_fail
;
38947 resultobj
= wxArrayString2PyList_helper(*result
);
38955 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38956 PyObject
*resultobj
= 0;
38957 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38958 wxArrayString
*arg2
= 0 ;
38961 bool temp2
= false ;
38962 PyObject
* obj0
= 0 ;
38963 PyObject
* obj1
= 0 ;
38964 char * kwnames
[] = {
38965 (char *) "self",(char *) "translators", NULL
38968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38973 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38975 if (! PySequence_Check(obj1
)) {
38976 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38979 arg2
= new wxArrayString
;
38981 int i
, len
=PySequence_Length(obj1
);
38982 for (i
=0; i
<len
; i
++) {
38983 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38984 wxString
* s
= wxString_in_helper(item
);
38985 if (PyErr_Occurred()) SWIG_fail
;
38992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38993 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38994 wxPyEndAllowThreads(__tstate
);
38995 if (PyErr_Occurred()) SWIG_fail
;
38997 resultobj
= SWIG_Py_Void();
38999 if (temp2
) delete arg2
;
39004 if (temp2
) delete arg2
;
39010 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39011 PyObject
*resultobj
= 0;
39012 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39013 wxString
*arg2
= 0 ;
39016 bool temp2
= false ;
39017 PyObject
* obj0
= 0 ;
39018 PyObject
* obj1
= 0 ;
39019 char * kwnames
[] = {
39020 (char *) "self",(char *) "translator", NULL
39023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39025 if (!SWIG_IsOK(res1
)) {
39026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
39028 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39030 arg2
= wxString_in_helper(obj1
);
39031 if (arg2
== NULL
) SWIG_fail
;
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 (arg1
)->AddTranslator((wxString
const &)*arg2
);
39037 wxPyEndAllowThreads(__tstate
);
39038 if (PyErr_Occurred()) SWIG_fail
;
39040 resultobj
= SWIG_Py_Void();
39055 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39056 PyObject
*resultobj
= 0;
39057 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39061 PyObject
*swig_obj
[1] ;
39063 if (!args
) SWIG_fail
;
39064 swig_obj
[0] = args
;
39065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39066 if (!SWIG_IsOK(res1
)) {
39067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39069 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39072 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39085 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39086 PyObject
*resultobj
= 0;
39087 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39088 wxArrayString
*result
= 0 ;
39091 PyObject
*swig_obj
[1] ;
39093 if (!args
) SWIG_fail
;
39094 swig_obj
[0] = args
;
39095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39096 if (!SWIG_IsOK(res1
)) {
39097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39099 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39104 result
= (wxArrayString
*) &_result_ref
;
39106 wxPyEndAllowThreads(__tstate
);
39107 if (PyErr_Occurred()) SWIG_fail
;
39110 resultobj
= wxArrayString2PyList_helper(*result
);
39118 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39119 PyObject
*resultobj
= 0;
39120 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39124 PyObject
*swig_obj
[1] ;
39126 if (!args
) SWIG_fail
;
39127 swig_obj
[0] = args
;
39128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39129 if (!SWIG_IsOK(res1
)) {
39130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39132 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39135 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39136 wxPyEndAllowThreads(__tstate
);
39137 if (PyErr_Occurred()) SWIG_fail
;
39140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39148 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39149 PyObject
*resultobj
= 0;
39150 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39154 PyObject
*swig_obj
[1] ;
39156 if (!args
) SWIG_fail
;
39157 swig_obj
[0] = args
;
39158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39159 if (!SWIG_IsOK(res1
)) {
39160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39162 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39165 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39166 wxPyEndAllowThreads(__tstate
);
39167 if (PyErr_Occurred()) SWIG_fail
;
39171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39182 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39185 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39186 return SWIG_Py_Void();
39189 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39190 return SWIG_Python_InitShadowInstance(args
);
39193 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39194 PyObject
*resultobj
= 0;
39195 wxAboutDialogInfo
*arg1
= 0 ;
39198 PyObject
* obj0
= 0 ;
39199 char * kwnames
[] = {
39200 (char *) "info", NULL
39203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39204 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39205 if (!SWIG_IsOK(res1
)) {
39206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39211 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39214 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39215 wxPyEndAllowThreads(__tstate
);
39216 if (PyErr_Occurred()) SWIG_fail
;
39218 resultobj
= SWIG_Py_Void();
39225 static PyMethodDef SwigMethods
[] = {
39226 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39231 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39233 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39234 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39241 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39242 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39243 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39245 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39250 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39251 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39252 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39253 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39255 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39256 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39257 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39258 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39259 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39266 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39267 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39268 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39269 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39270 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39271 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39273 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39274 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39285 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39286 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39287 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39288 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39289 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39290 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39291 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39292 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39293 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39295 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39297 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39298 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39299 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39305 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39306 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39307 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39308 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39309 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39310 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39311 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39312 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39313 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39314 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39315 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39316 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39326 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39327 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39328 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39329 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39330 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39331 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39332 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39333 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39334 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39335 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39336 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39338 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39340 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39341 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39344 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39345 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39347 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39348 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39349 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39350 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39351 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39352 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39353 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39354 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39355 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39361 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39362 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39364 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39365 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39367 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39368 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39369 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39371 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39372 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39373 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39375 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39376 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39377 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39378 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39379 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39381 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39382 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39383 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39384 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39385 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39387 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39390 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39395 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39398 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39399 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39400 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39402 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39403 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39405 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39406 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39407 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39408 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39411 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39412 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39414 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39415 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39417 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39418 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39419 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39420 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39421 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39422 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39423 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39424 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39425 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39426 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39427 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39434 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39438 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39439 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39440 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39442 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39446 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39450 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39453 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39455 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39456 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39457 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39458 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39459 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39460 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39461 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39462 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39464 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39465 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39466 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39467 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39468 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39472 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39473 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39474 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39477 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39478 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39479 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39481 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39482 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39485 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39487 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39491 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39492 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39494 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39495 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39497 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39498 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39499 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39500 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39501 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39502 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39503 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39504 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39505 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39507 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39508 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39509 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39510 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39511 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39514 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39515 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39516 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39518 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39519 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39523 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39524 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39525 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39526 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39527 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39528 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39529 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39530 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39531 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39544 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39546 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39547 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39548 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39549 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39550 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39552 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39553 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39558 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39560 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39562 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39563 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39564 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39565 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39566 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39567 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39568 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39569 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39570 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39571 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39572 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39573 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39575 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39576 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39577 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39578 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39579 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39580 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39581 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39582 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39586 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39587 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39588 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39589 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39590 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39591 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39592 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39593 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39594 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39595 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39597 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39598 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39599 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39600 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39601 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39602 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39603 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39604 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39605 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39606 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39607 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39608 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39609 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39610 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39611 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39612 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39613 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39614 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39615 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39616 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39617 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39618 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39619 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39620 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39621 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39622 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39623 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39624 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39625 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39626 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39628 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39629 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39630 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39632 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39633 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39634 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39635 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39636 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39642 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39643 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39644 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39648 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39649 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39652 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39655 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39658 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39659 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39660 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39663 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39664 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39667 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39668 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39669 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39670 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39671 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39672 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39673 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39674 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39675 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39676 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39677 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39679 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39680 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39681 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39682 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39683 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39684 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39685 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39691 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39693 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39694 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39696 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39698 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39703 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39707 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39708 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39709 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39710 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39711 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39715 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"ArtProvider_GetIconBundle", (PyCFunction
) _wrap_ArtProvider_GetIconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39721 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39722 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39723 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39724 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39727 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39728 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39730 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39731 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39733 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39754 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39756 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39758 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39760 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39761 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39765 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39766 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39768 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39769 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39770 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39772 { (char *)"FileConfig_GetGlobalFileName", (PyCFunction
) _wrap_FileConfig_GetGlobalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"FileConfig_GetLocalFileName", (PyCFunction
) _wrap_FileConfig_GetLocalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39775 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39776 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39778 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39779 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39780 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39781 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39784 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39795 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39799 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39800 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39801 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39802 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39808 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39809 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39814 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39815 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39837 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39838 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39839 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39840 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39841 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39853 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39854 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39880 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39881 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39882 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39883 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39896 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39897 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39898 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39899 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39900 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39901 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39903 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39905 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39907 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39909 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39911 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39913 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39915 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39919 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39920 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39924 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39935 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39936 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39937 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39941 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39942 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39943 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39944 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39945 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39946 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39948 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39949 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39951 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39953 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39955 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39957 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39959 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39964 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39965 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39966 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39967 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39968 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39971 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39975 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39983 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39984 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39985 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39986 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39987 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39988 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39991 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39992 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39993 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39995 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
39996 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
40000 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
40008 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
40010 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
40012 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
40013 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
40015 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
40016 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
40019 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
40020 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
40021 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
40023 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
40025 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
40027 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
40028 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
40030 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
40031 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
40034 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
40035 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
40037 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40039 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40040 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40043 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40044 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
40045 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
40046 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
40048 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
40049 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
40050 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
40052 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
40053 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
40054 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
40055 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
40057 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
40059 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
40060 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
40061 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
40062 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
40063 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
40067 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40069 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40073 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40074 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40077 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40078 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40082 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40084 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40086 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40087 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40088 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40089 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40094 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40097 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40098 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40099 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40104 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40107 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40108 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40109 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40110 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40111 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40112 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40113 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40118 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40119 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"Clipboard_IsUsingPrimarySelection", (PyCFunction
)_wrap_Clipboard_IsUsingPrimarySelection
, METH_O
, NULL
},
40121 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40122 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40123 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40124 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40126 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40127 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40128 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40129 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40131 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40133 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40134 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40135 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40136 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40139 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40140 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40141 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40142 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40143 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40144 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40145 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40146 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40147 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40148 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40150 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40151 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40154 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40155 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40156 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40157 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40158 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40160 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40162 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40163 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40164 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40165 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40166 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40167 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40168 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40169 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40170 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40171 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40172 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40173 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40174 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40176 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40177 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40179 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40180 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40182 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40183 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40184 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40185 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40186 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40187 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40188 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40189 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40191 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40192 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40193 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40194 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40195 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40196 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40197 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40198 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40199 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40200 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40203 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40204 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40206 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40207 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40209 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40210 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40211 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40212 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40213 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40214 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40215 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40218 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40219 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40222 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40223 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40224 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40225 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40226 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40227 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40228 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40229 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40230 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40231 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40232 { NULL
, NULL
, 0, NULL
}
40236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40238 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40241 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40242 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40244 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40245 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40247 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40248 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40250 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40251 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40253 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40254 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40256 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40257 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40259 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40260 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40262 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40263 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40265 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40268 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40271 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40272 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40274 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40275 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40277 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40278 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40280 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40281 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40283 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40286 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40287 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40289 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40290 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40292 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40293 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40295 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40296 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40298 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40299 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40301 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40302 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40304 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40307 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40308 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40310 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40311 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40313 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40316 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40319 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40320 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40322 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40323 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40325 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40326 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40328 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40329 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40331 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40332 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40334 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40335 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40337 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40338 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40340 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40341 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40343 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40344 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40346 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40347 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40349 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40352 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40353 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40355 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40356 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40358 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40359 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40361 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40362 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40364 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40365 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40367 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40368 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40370 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40371 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40373 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40374 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40376 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40377 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40379 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40380 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40382 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40383 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40385 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40386 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40388 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40389 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40391 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40392 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40394 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40395 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40397 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40398 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40400 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40401 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40403 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40404 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40406 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40407 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40409 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40410 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40412 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40413 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40415 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40416 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40418 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40419 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40421 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40422 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40424 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40425 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40427 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40428 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40430 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40431 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40433 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40434 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40436 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40437 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40439 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40442 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40443 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40445 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40446 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40448 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40449 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40451 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40452 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40454 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40455 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40457 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
40458 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
40460 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40461 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40463 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40464 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40466 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40467 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40472 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40475 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40478 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40481 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40484 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40487 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40490 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40493 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) ((wxSizer
*) x
));
40496 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40499 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40502 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40505 static void *_p_wxEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) ((wxEvent
*) x
));
40508 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40511 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40514 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40517 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40520 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40523 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40526 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40529 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40532 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40535 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40538 static void *_p_wxControlTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40541 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40544 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40547 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40550 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40553 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40556 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40559 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40562 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40565 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40568 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40571 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40574 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40577 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40580 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40583 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40586 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40589 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40592 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40595 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40598 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40601 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40604 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40607 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40610 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40613 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40616 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40619 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40622 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40625 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40628 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40631 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40634 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40637 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40640 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40643 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40646 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40649 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40652 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40653 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40655 static void *_p_wxImageTo_p_wxObject(void *x
) {
40656 return (void *)((wxObject
*) ((wxImage
*) x
));
40658 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40659 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40661 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40662 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40664 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40665 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40667 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40670 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40671 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40673 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40674 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40676 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40679 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40682 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40685 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40686 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40688 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40689 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40691 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40694 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40695 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40697 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40700 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40701 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40703 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40704 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40706 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40707 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40709 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40710 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40712 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40715 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40716 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40718 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40719 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40721 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40722 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40724 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40727 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40728 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40730 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40733 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40736 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40737 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40739 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40742 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40743 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40745 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40746 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40748 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40749 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40751 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40752 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40754 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40755 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40757 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40758 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40760 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40761 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40763 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40764 return (void *)((wxWindow
*) ((wxControl
*) x
));
40766 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40767 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40769 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40770 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40772 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40773 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40775 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40776 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40778 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40779 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};
40780 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40781 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40782 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40783 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40784 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40785 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40786 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40787 static swig_type_info _swigt__p_wxArtClient
= {"_p_wxArtClient", "wxArtClient *", 0, 0, (void*)0, 0};
40788 static swig_type_info _swigt__p_wxArtID
= {"_p_wxArtID", "wxArtID *", 0, 0, (void*)0, 0};
40789 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40790 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40791 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40792 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40793 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40807 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40808 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40815 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40816 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40817 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40818 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40819 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40820 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40821 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40822 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40823 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40824 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40825 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40826 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40827 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40828 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40829 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40830 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40831 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40832 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40833 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40837 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40838 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40839 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40840 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40841 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40842 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40843 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40844 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40845 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40846 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40847 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40848 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40849 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40850 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40851 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40852 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40854 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40855 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40856 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40857 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40858 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40859 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40860 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40887 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40888 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40889 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40890 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40891 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40892 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40893 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40894 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40895 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40896 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40897 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40898 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40899 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40900 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40901 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40902 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40903 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40918 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40919 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40920 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40921 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40922 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40923 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40924 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40925 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40926 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40927 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40928 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40929 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40930 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40931 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40932 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40933 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40934 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40935 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40936 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40937 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40938 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40939 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40940 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40941 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40942 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40943 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40944 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40945 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40946 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40947 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40948 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40949 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40950 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40951 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40952 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40953 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40954 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40955 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40957 static swig_type_info
*swig_type_initial
[] = {
40959 &_swigt__p_form_ops_t
,
40961 &_swigt__p_unsigned_char
,
40962 &_swigt__p_unsigned_int
,
40963 &_swigt__p_unsigned_long
,
40965 &_swigt__p_wxANIHandler
,
40966 &_swigt__p_wxAboutDialogInfo
,
40967 &_swigt__p_wxAcceleratorTable
,
40968 &_swigt__p_wxActivateEvent
,
40969 &_swigt__p_wxArrayString
,
40970 &_swigt__p_wxArtClient
,
40971 &_swigt__p_wxArtID
,
40972 &_swigt__p_wxBMPHandler
,
40973 &_swigt__p_wxBitmap
,
40974 &_swigt__p_wxBitmapDataObject
,
40975 &_swigt__p_wxBoxSizer
,
40976 &_swigt__p_wxBusyCursor
,
40977 &_swigt__p_wxBusyInfo
,
40978 &_swigt__p_wxCURHandler
,
40979 &_swigt__p_wxCaret
,
40981 &_swigt__p_wxChildFocusEvent
,
40982 &_swigt__p_wxClipboard
,
40983 &_swigt__p_wxClipboardLocker
,
40984 &_swigt__p_wxClipboardTextEvent
,
40985 &_swigt__p_wxCloseEvent
,
40986 &_swigt__p_wxColour
,
40987 &_swigt__p_wxCommandEvent
,
40988 &_swigt__p_wxConfig
,
40989 &_swigt__p_wxConfigBase
,
40990 &_swigt__p_wxConfigPathChanger
,
40991 &_swigt__p_wxContextMenuEvent
,
40992 &_swigt__p_wxControl
,
40993 &_swigt__p_wxControlWithItems
,
40994 &_swigt__p_wxCursor
,
40995 &_swigt__p_wxCustomDataObject
,
40997 &_swigt__p_wxDataFormat
,
40998 &_swigt__p_wxDataObject
,
40999 &_swigt__p_wxDataObjectComposite
,
41000 &_swigt__p_wxDataObjectSimple
,
41001 &_swigt__p_wxDateEvent
,
41002 &_swigt__p_wxDateSpan
,
41003 &_swigt__p_wxDateTime
,
41004 &_swigt__p_wxDateTime__TimeZone
,
41005 &_swigt__p_wxDisplay
,
41006 &_swigt__p_wxDisplayChangedEvent
,
41007 &_swigt__p_wxDropFilesEvent
,
41008 &_swigt__p_wxDuplexMode
,
41009 &_swigt__p_wxEraseEvent
,
41010 &_swigt__p_wxEvent
,
41011 &_swigt__p_wxEventBlocker
,
41012 &_swigt__p_wxEvtHandler
,
41013 &_swigt__p_wxFSFile
,
41014 &_swigt__p_wxFileConfig
,
41015 &_swigt__p_wxFileDataObject
,
41016 &_swigt__p_wxFileHistory
,
41017 &_swigt__p_wxFileSystem
,
41018 &_swigt__p_wxFileType
,
41019 &_swigt__p_wxFileTypeInfo
,
41020 &_swigt__p_wxFlexGridSizer
,
41021 &_swigt__p_wxFocusEvent
,
41023 &_swigt__p_wxFrame
,
41024 &_swigt__p_wxGBSizerItem
,
41025 &_swigt__p_wxGIFHandler
,
41026 &_swigt__p_wxGridBagSizer
,
41027 &_swigt__p_wxGridSizer
,
41028 &_swigt__p_wxICOHandler
,
41030 &_swigt__p_wxIconBundle
,
41031 &_swigt__p_wxIconizeEvent
,
41032 &_swigt__p_wxIdleEvent
,
41033 &_swigt__p_wxImage
,
41034 &_swigt__p_wxImageHandler
,
41035 &_swigt__p_wxIndividualLayoutConstraint
,
41036 &_swigt__p_wxInitDialogEvent
,
41037 &_swigt__p_wxJPEGHandler
,
41038 &_swigt__p_wxJoystick
,
41039 &_swigt__p_wxJoystickEvent
,
41040 &_swigt__p_wxKeyEvent
,
41041 &_swigt__p_wxKillError
,
41042 &_swigt__p_wxLayoutConstraints
,
41044 &_swigt__p_wxLogBuffer
,
41045 &_swigt__p_wxLogChain
,
41046 &_swigt__p_wxLogGui
,
41047 &_swigt__p_wxLogNull
,
41048 &_swigt__p_wxLogStderr
,
41049 &_swigt__p_wxLogTextCtrl
,
41050 &_swigt__p_wxLogWindow
,
41051 &_swigt__p_wxMaximizeEvent
,
41053 &_swigt__p_wxMenuBar
,
41054 &_swigt__p_wxMenuEvent
,
41055 &_swigt__p_wxMenuItem
,
41056 &_swigt__p_wxMetafileDataObject
,
41057 &_swigt__p_wxMimeTypesManager
,
41058 &_swigt__p_wxMouseCaptureChangedEvent
,
41059 &_swigt__p_wxMouseCaptureLostEvent
,
41060 &_swigt__p_wxMouseEvent
,
41061 &_swigt__p_wxMouseState
,
41062 &_swigt__p_wxMoveEvent
,
41063 &_swigt__p_wxMutexGuiLocker
,
41064 &_swigt__p_wxNavigationKeyEvent
,
41065 &_swigt__p_wxNcPaintEvent
,
41066 &_swigt__p_wxNotifyEvent
,
41067 &_swigt__p_wxObject
,
41068 &_swigt__p_wxOutputStream
,
41069 &_swigt__p_wxPCXHandler
,
41070 &_swigt__p_wxPNGHandler
,
41071 &_swigt__p_wxPNMHandler
,
41072 &_swigt__p_wxPaintEvent
,
41073 &_swigt__p_wxPaletteChangedEvent
,
41074 &_swigt__p_wxPaperSize
,
41075 &_swigt__p_wxPlatformInfo
,
41076 &_swigt__p_wxPoint
,
41077 &_swigt__p_wxPowerEvent
,
41078 &_swigt__p_wxProcessEvent
,
41079 &_swigt__p_wxPyApp
,
41080 &_swigt__p_wxPyArtProvider
,
41081 &_swigt__p_wxPyBitmapDataObject
,
41082 &_swigt__p_wxPyCommandEvent
,
41083 &_swigt__p_wxPyDataObjectSimple
,
41084 &_swigt__p_wxPyDropSource
,
41085 &_swigt__p_wxPyDropTarget
,
41086 &_swigt__p_wxPyEvent
,
41087 &_swigt__p_wxPyFileDropTarget
,
41088 &_swigt__p_wxPyImageHandler
,
41089 &_swigt__p_wxPyLog
,
41090 &_swigt__p_wxPyProcess
,
41091 &_swigt__p_wxPySizer
,
41092 &_swigt__p_wxPyTextDataObject
,
41093 &_swigt__p_wxPyTextDropTarget
,
41094 &_swigt__p_wxPyTimer
,
41095 &_swigt__p_wxPyTipProvider
,
41096 &_swigt__p_wxPyValidator
,
41097 &_swigt__p_wxQueryNewPaletteEvent
,
41099 &_swigt__p_wxScrollEvent
,
41100 &_swigt__p_wxScrollWinEvent
,
41101 &_swigt__p_wxSetCursorEvent
,
41102 &_swigt__p_wxShowEvent
,
41103 &_swigt__p_wxSingleInstanceChecker
,
41105 &_swigt__p_wxSizeEvent
,
41106 &_swigt__p_wxSizer
,
41107 &_swigt__p_wxSizerItem
,
41108 &_swigt__p_wxSound
,
41109 &_swigt__p_wxStandardPaths
,
41110 &_swigt__p_wxStaticBoxSizer
,
41111 &_swigt__p_wxStdDialogButtonSizer
,
41112 &_swigt__p_wxStopWatch
,
41113 &_swigt__p_wxString
,
41114 &_swigt__p_wxSysColourChangedEvent
,
41115 &_swigt__p_wxSystemOptions
,
41116 &_swigt__p_wxSystemSettings
,
41117 &_swigt__p_wxTGAHandler
,
41118 &_swigt__p_wxTIFFHandler
,
41119 &_swigt__p_wxTextCtrl
,
41120 &_swigt__p_wxTextDataObject
,
41121 &_swigt__p_wxTimeSpan
,
41122 &_swigt__p_wxTimer
,
41123 &_swigt__p_wxTimerEvent
,
41124 &_swigt__p_wxTimerRunner
,
41125 &_swigt__p_wxTipProvider
,
41126 &_swigt__p_wxToolTip
,
41127 &_swigt__p_wxURLDataObject
,
41128 &_swigt__p_wxUpdateUIEvent
,
41129 &_swigt__p_wxValidator
,
41130 &_swigt__p_wxVideoMode
,
41131 &_swigt__p_wxWindow
,
41132 &_swigt__p_wxWindowCreateEvent
,
41133 &_swigt__p_wxWindowDestroyEvent
,
41134 &_swigt__p_wxWindowDisabler
,
41135 &_swigt__p_wxXPMHandler
,
41138 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxArtClient
[] = { {&_swigt__p_wxArtClient
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxArtID
[] = { {&_swigt__p_wxArtID
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41150 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}};
41151 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41159 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}};
41160 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41165 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}};
41166 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41167 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}};
41168 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41211 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}};
41212 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41218 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41219 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}};
41220 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41232 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}};
41233 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41276 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}};
41277 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41287 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}};
41288 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41305 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}};
41306 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41310 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}};
41311 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41314 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}};
41315 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info
*swig_cast_initial
[] = {
41319 _swigc__p_form_ops_t
,
41321 _swigc__p_unsigned_char
,
41322 _swigc__p_unsigned_int
,
41323 _swigc__p_unsigned_long
,
41325 _swigc__p_wxANIHandler
,
41326 _swigc__p_wxAboutDialogInfo
,
41327 _swigc__p_wxAcceleratorTable
,
41328 _swigc__p_wxActivateEvent
,
41329 _swigc__p_wxArrayString
,
41330 _swigc__p_wxArtClient
,
41332 _swigc__p_wxBMPHandler
,
41333 _swigc__p_wxBitmap
,
41334 _swigc__p_wxBitmapDataObject
,
41335 _swigc__p_wxBoxSizer
,
41336 _swigc__p_wxBusyCursor
,
41337 _swigc__p_wxBusyInfo
,
41338 _swigc__p_wxCURHandler
,
41341 _swigc__p_wxChildFocusEvent
,
41342 _swigc__p_wxClipboard
,
41343 _swigc__p_wxClipboardLocker
,
41344 _swigc__p_wxClipboardTextEvent
,
41345 _swigc__p_wxCloseEvent
,
41346 _swigc__p_wxColour
,
41347 _swigc__p_wxCommandEvent
,
41348 _swigc__p_wxConfig
,
41349 _swigc__p_wxConfigBase
,
41350 _swigc__p_wxConfigPathChanger
,
41351 _swigc__p_wxContextMenuEvent
,
41352 _swigc__p_wxControl
,
41353 _swigc__p_wxControlWithItems
,
41354 _swigc__p_wxCursor
,
41355 _swigc__p_wxCustomDataObject
,
41357 _swigc__p_wxDataFormat
,
41358 _swigc__p_wxDataObject
,
41359 _swigc__p_wxDataObjectComposite
,
41360 _swigc__p_wxDataObjectSimple
,
41361 _swigc__p_wxDateEvent
,
41362 _swigc__p_wxDateSpan
,
41363 _swigc__p_wxDateTime
,
41364 _swigc__p_wxDateTime__TimeZone
,
41365 _swigc__p_wxDisplay
,
41366 _swigc__p_wxDisplayChangedEvent
,
41367 _swigc__p_wxDropFilesEvent
,
41368 _swigc__p_wxDuplexMode
,
41369 _swigc__p_wxEraseEvent
,
41371 _swigc__p_wxEventBlocker
,
41372 _swigc__p_wxEvtHandler
,
41373 _swigc__p_wxFSFile
,
41374 _swigc__p_wxFileConfig
,
41375 _swigc__p_wxFileDataObject
,
41376 _swigc__p_wxFileHistory
,
41377 _swigc__p_wxFileSystem
,
41378 _swigc__p_wxFileType
,
41379 _swigc__p_wxFileTypeInfo
,
41380 _swigc__p_wxFlexGridSizer
,
41381 _swigc__p_wxFocusEvent
,
41384 _swigc__p_wxGBSizerItem
,
41385 _swigc__p_wxGIFHandler
,
41386 _swigc__p_wxGridBagSizer
,
41387 _swigc__p_wxGridSizer
,
41388 _swigc__p_wxICOHandler
,
41390 _swigc__p_wxIconBundle
,
41391 _swigc__p_wxIconizeEvent
,
41392 _swigc__p_wxIdleEvent
,
41394 _swigc__p_wxImageHandler
,
41395 _swigc__p_wxIndividualLayoutConstraint
,
41396 _swigc__p_wxInitDialogEvent
,
41397 _swigc__p_wxJPEGHandler
,
41398 _swigc__p_wxJoystick
,
41399 _swigc__p_wxJoystickEvent
,
41400 _swigc__p_wxKeyEvent
,
41401 _swigc__p_wxKillError
,
41402 _swigc__p_wxLayoutConstraints
,
41404 _swigc__p_wxLogBuffer
,
41405 _swigc__p_wxLogChain
,
41406 _swigc__p_wxLogGui
,
41407 _swigc__p_wxLogNull
,
41408 _swigc__p_wxLogStderr
,
41409 _swigc__p_wxLogTextCtrl
,
41410 _swigc__p_wxLogWindow
,
41411 _swigc__p_wxMaximizeEvent
,
41413 _swigc__p_wxMenuBar
,
41414 _swigc__p_wxMenuEvent
,
41415 _swigc__p_wxMenuItem
,
41416 _swigc__p_wxMetafileDataObject
,
41417 _swigc__p_wxMimeTypesManager
,
41418 _swigc__p_wxMouseCaptureChangedEvent
,
41419 _swigc__p_wxMouseCaptureLostEvent
,
41420 _swigc__p_wxMouseEvent
,
41421 _swigc__p_wxMouseState
,
41422 _swigc__p_wxMoveEvent
,
41423 _swigc__p_wxMutexGuiLocker
,
41424 _swigc__p_wxNavigationKeyEvent
,
41425 _swigc__p_wxNcPaintEvent
,
41426 _swigc__p_wxNotifyEvent
,
41427 _swigc__p_wxObject
,
41428 _swigc__p_wxOutputStream
,
41429 _swigc__p_wxPCXHandler
,
41430 _swigc__p_wxPNGHandler
,
41431 _swigc__p_wxPNMHandler
,
41432 _swigc__p_wxPaintEvent
,
41433 _swigc__p_wxPaletteChangedEvent
,
41434 _swigc__p_wxPaperSize
,
41435 _swigc__p_wxPlatformInfo
,
41437 _swigc__p_wxPowerEvent
,
41438 _swigc__p_wxProcessEvent
,
41440 _swigc__p_wxPyArtProvider
,
41441 _swigc__p_wxPyBitmapDataObject
,
41442 _swigc__p_wxPyCommandEvent
,
41443 _swigc__p_wxPyDataObjectSimple
,
41444 _swigc__p_wxPyDropSource
,
41445 _swigc__p_wxPyDropTarget
,
41446 _swigc__p_wxPyEvent
,
41447 _swigc__p_wxPyFileDropTarget
,
41448 _swigc__p_wxPyImageHandler
,
41450 _swigc__p_wxPyProcess
,
41451 _swigc__p_wxPySizer
,
41452 _swigc__p_wxPyTextDataObject
,
41453 _swigc__p_wxPyTextDropTarget
,
41454 _swigc__p_wxPyTimer
,
41455 _swigc__p_wxPyTipProvider
,
41456 _swigc__p_wxPyValidator
,
41457 _swigc__p_wxQueryNewPaletteEvent
,
41459 _swigc__p_wxScrollEvent
,
41460 _swigc__p_wxScrollWinEvent
,
41461 _swigc__p_wxSetCursorEvent
,
41462 _swigc__p_wxShowEvent
,
41463 _swigc__p_wxSingleInstanceChecker
,
41465 _swigc__p_wxSizeEvent
,
41467 _swigc__p_wxSizerItem
,
41469 _swigc__p_wxStandardPaths
,
41470 _swigc__p_wxStaticBoxSizer
,
41471 _swigc__p_wxStdDialogButtonSizer
,
41472 _swigc__p_wxStopWatch
,
41473 _swigc__p_wxString
,
41474 _swigc__p_wxSysColourChangedEvent
,
41475 _swigc__p_wxSystemOptions
,
41476 _swigc__p_wxSystemSettings
,
41477 _swigc__p_wxTGAHandler
,
41478 _swigc__p_wxTIFFHandler
,
41479 _swigc__p_wxTextCtrl
,
41480 _swigc__p_wxTextDataObject
,
41481 _swigc__p_wxTimeSpan
,
41483 _swigc__p_wxTimerEvent
,
41484 _swigc__p_wxTimerRunner
,
41485 _swigc__p_wxTipProvider
,
41486 _swigc__p_wxToolTip
,
41487 _swigc__p_wxURLDataObject
,
41488 _swigc__p_wxUpdateUIEvent
,
41489 _swigc__p_wxValidator
,
41490 _swigc__p_wxVideoMode
,
41491 _swigc__p_wxWindow
,
41492 _swigc__p_wxWindowCreateEvent
,
41493 _swigc__p_wxWindowDestroyEvent
,
41494 _swigc__p_wxWindowDisabler
,
41495 _swigc__p_wxXPMHandler
,
41499 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41501 static swig_const_info swig_const_table
[] = {
41502 {0, 0, 0, 0.0, 0, 0}};
41507 /* -----------------------------------------------------------------------------
41508 * Type initialization:
41509 * This problem is tough by the requirement that no dynamic
41510 * memory is used. Also, since swig_type_info structures store pointers to
41511 * swig_cast_info structures and swig_cast_info structures store pointers back
41512 * to swig_type_info structures, we need some lookup code at initialization.
41513 * The idea is that swig generates all the structures that are needed.
41514 * The runtime then collects these partially filled structures.
41515 * The SWIG_InitializeModule function takes these initial arrays out of
41516 * swig_module, and does all the lookup, filling in the swig_module.types
41517 * array with the correct data and linking the correct swig_cast_info
41518 * structures together.
41520 * The generated swig_type_info structures are assigned staticly to an initial
41521 * array. We just loop though that array, and handle each type individually.
41522 * First we lookup if this type has been already loaded, and if so, use the
41523 * loaded structure instead of the generated one. Then we have to fill in the
41524 * cast linked list. The cast data is initially stored in something like a
41525 * two-dimensional array. Each row corresponds to a type (there are the same
41526 * number of rows as there are in the swig_type_initial array). Each entry in
41527 * a column is one of the swig_cast_info structures for that type.
41528 * The cast_initial array is actually an array of arrays, because each row has
41529 * a variable number of columns. So to actually build the cast linked list,
41530 * we find the array of casts associated with the type, and loop through it
41531 * adding the casts to the list. The one last trick we need to do is making
41532 * sure the type pointer in the swig_cast_info struct is correct.
41534 * First off, we lookup the cast->type name to see if it is already loaded.
41535 * There are three cases to handle:
41536 * 1) If the cast->type has already been loaded AND the type we are adding
41537 * casting info to has not been loaded (it is in this module), THEN we
41538 * replace the cast->type pointer with the type pointer that has already
41540 * 2) If BOTH types (the one we are adding casting info to, and the
41541 * cast->type) are loaded, THEN the cast info has already been loaded by
41542 * the previous module so we just ignore it.
41543 * 3) Finally, if cast->type has not already been loaded, then we add that
41544 * swig_cast_info to the linked list (because the cast->type) pointer will
41546 * ----------------------------------------------------------------------------- */
41556 #define SWIGRUNTIME_DEBUG
41560 SWIG_InitializeModule(void *clientdata
) {
41562 swig_module_info
*module_head
;
41563 static int init_run
= 0;
41565 clientdata
= clientdata
;
41567 if (init_run
) return;
41570 /* Initialize the swig_module */
41571 swig_module
.type_initial
= swig_type_initial
;
41572 swig_module
.cast_initial
= swig_cast_initial
;
41574 /* Try and load any already created modules */
41575 module_head
= SWIG_GetModule(clientdata
);
41577 swig_module
.next
= module_head
->next
;
41578 module_head
->next
= &swig_module
;
41580 /* This is the first module loaded */
41581 swig_module
.next
= &swig_module
;
41582 SWIG_SetModule(clientdata
, &swig_module
);
41585 /* Now work on filling in swig_module.types */
41586 #ifdef SWIGRUNTIME_DEBUG
41587 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41589 for (i
= 0; i
< swig_module
.size
; ++i
) {
41590 swig_type_info
*type
= 0;
41591 swig_type_info
*ret
;
41592 swig_cast_info
*cast
;
41594 #ifdef SWIGRUNTIME_DEBUG
41595 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41598 /* if there is another module already loaded */
41599 if (swig_module
.next
!= &swig_module
) {
41600 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41603 /* Overwrite clientdata field */
41604 #ifdef SWIGRUNTIME_DEBUG
41605 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41607 if (swig_module
.type_initial
[i
]->clientdata
) {
41608 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41609 #ifdef SWIGRUNTIME_DEBUG
41610 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41614 type
= swig_module
.type_initial
[i
];
41617 /* Insert casting types */
41618 cast
= swig_module
.cast_initial
[i
];
41619 while (cast
->type
) {
41620 /* Don't need to add information already in the list */
41622 #ifdef SWIGRUNTIME_DEBUG
41623 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41625 if (swig_module
.next
!= &swig_module
) {
41626 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41627 #ifdef SWIGRUNTIME_DEBUG
41628 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41632 if (type
== swig_module
.type_initial
[i
]) {
41633 #ifdef SWIGRUNTIME_DEBUG
41634 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41639 /* Check for casting already in the list */
41640 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41641 #ifdef SWIGRUNTIME_DEBUG
41642 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41644 if (!ocast
) ret
= 0;
41649 #ifdef SWIGRUNTIME_DEBUG
41650 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41653 type
->cast
->prev
= cast
;
41654 cast
->next
= type
->cast
;
41660 /* Set entry in modules->types array equal to the type */
41661 swig_module
.types
[i
] = type
;
41663 swig_module
.types
[i
] = 0;
41665 #ifdef SWIGRUNTIME_DEBUG
41666 printf("**** SWIG_InitializeModule: Cast List ******\n");
41667 for (i
= 0; i
< swig_module
.size
; ++i
) {
41669 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41670 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41671 while (cast
->type
) {
41672 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41676 printf("---- Total casts: %d\n",j
);
41678 printf("**** SWIG_InitializeModule: Cast List ******\n");
41682 /* This function will propagate the clientdata field of type to
41683 * any new swig_type_info structures that have been added into the list
41684 * of equivalent types. It is like calling
41685 * SWIG_TypeClientData(type, clientdata) a second time.
41688 SWIG_PropagateClientData(void) {
41690 swig_cast_info
*equiv
;
41691 static int init_run
= 0;
41693 if (init_run
) return;
41696 for (i
= 0; i
< swig_module
.size
; i
++) {
41697 if (swig_module
.types
[i
]->clientdata
) {
41698 equiv
= swig_module
.types
[i
]->cast
;
41700 if (!equiv
->converter
) {
41701 if (equiv
->type
&& !equiv
->type
->clientdata
)
41702 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41704 equiv
= equiv
->next
;
41724 /* Python-specific SWIG API */
41725 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41726 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41727 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41729 /* -----------------------------------------------------------------------------
41730 * global variable support code.
41731 * ----------------------------------------------------------------------------- */
41733 typedef struct swig_globalvar
{
41734 char *name
; /* Name of global variable */
41735 PyObject
*(*get_attr
)(void); /* Return the current value */
41736 int (*set_attr
)(PyObject
*); /* Set the value */
41737 struct swig_globalvar
*next
;
41740 typedef struct swig_varlinkobject
{
41742 swig_globalvar
*vars
;
41743 } swig_varlinkobject
;
41745 SWIGINTERN PyObject
*
41746 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41747 return PyString_FromString("<Swig global variables>");
41750 SWIGINTERN PyObject
*
41751 swig_varlink_str(swig_varlinkobject
*v
) {
41752 PyObject
*str
= PyString_FromString("(");
41753 swig_globalvar
*var
;
41754 for (var
= v
->vars
; var
; var
=var
->next
) {
41755 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41756 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41758 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41763 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41764 PyObject
*str
= swig_varlink_str(v
);
41765 fprintf(fp
,"Swig global variables ");
41766 fprintf(fp
,"%s\n", PyString_AsString(str
));
41772 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41773 swig_globalvar
*var
= v
->vars
;
41775 swig_globalvar
*n
= var
->next
;
41782 SWIGINTERN PyObject
*
41783 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41784 PyObject
*res
= NULL
;
41785 swig_globalvar
*var
= v
->vars
;
41787 if (strcmp(var
->name
,n
) == 0) {
41788 res
= (*var
->get_attr
)();
41793 if (res
== NULL
&& !PyErr_Occurred()) {
41794 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41800 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41802 swig_globalvar
*var
= v
->vars
;
41804 if (strcmp(var
->name
,n
) == 0) {
41805 res
= (*var
->set_attr
)(p
);
41810 if (res
== 1 && !PyErr_Occurred()) {
41811 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41816 SWIGINTERN PyTypeObject
*
41817 swig_varlink_type(void) {
41818 static char varlink__doc__
[] = "Swig var link object";
41819 static PyTypeObject varlink_type
;
41820 static int type_init
= 0;
41822 const PyTypeObject tmp
41824 PyObject_HEAD_INIT(NULL
)
41825 0, /* Number of items in variable part (ob_size) */
41826 (char *)"swigvarlink", /* Type name (tp_name) */
41827 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41828 0, /* Itemsize (tp_itemsize) */
41829 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41830 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41831 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41832 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41833 0, /* tp_compare */
41834 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41835 0, /* tp_as_number */
41836 0, /* tp_as_sequence */
41837 0, /* tp_as_mapping */
41840 (reprfunc
)swig_varlink_str
, /* tp_str */
41841 0, /* tp_getattro */
41842 0, /* tp_setattro */
41843 0, /* tp_as_buffer */
41845 varlink__doc__
, /* tp_doc */
41846 0, /* tp_traverse */
41848 0, /* tp_richcompare */
41849 0, /* tp_weaklistoffset */
41850 #if PY_VERSION_HEX >= 0x02020000
41851 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41853 #if PY_VERSION_HEX >= 0x02030000
41856 #ifdef COUNT_ALLOCS
41857 0,0,0,0 /* tp_alloc -> tp_next */
41860 varlink_type
= tmp
;
41861 varlink_type
.ob_type
= &PyType_Type
;
41864 return &varlink_type
;
41867 /* Create a variable linking object for use later */
41868 SWIGINTERN PyObject
*
41869 SWIG_Python_newvarlink(void) {
41870 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41874 return ((PyObject
*) result
);
41878 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41879 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41880 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41882 size_t size
= strlen(name
)+1;
41883 gv
->name
= (char *)malloc(size
);
41885 strncpy(gv
->name
,name
,size
);
41886 gv
->get_attr
= get_attr
;
41887 gv
->set_attr
= set_attr
;
41888 gv
->next
= v
->vars
;
41894 SWIGINTERN PyObject
*
41896 static PyObject
*_SWIG_globals
= 0;
41897 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41898 return _SWIG_globals
;
41901 /* -----------------------------------------------------------------------------
41902 * constants/methods manipulation
41903 * ----------------------------------------------------------------------------- */
41905 /* Install Constants */
41907 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41910 for (i
= 0; constants
[i
].type
; ++i
) {
41911 switch(constants
[i
].type
) {
41912 case SWIG_PY_POINTER
:
41913 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41915 case SWIG_PY_BINARY
:
41916 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41923 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41929 /* -----------------------------------------------------------------------------*/
41930 /* Fix SwigMethods to carry the callback ptrs when needed */
41931 /* -----------------------------------------------------------------------------*/
41934 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41935 swig_const_info
*const_table
,
41936 swig_type_info
**types
,
41937 swig_type_info
**types_initial
) {
41939 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41940 const char *c
= methods
[i
].ml_doc
;
41941 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41943 swig_const_info
*ci
= 0;
41944 const char *name
= c
+ 10;
41945 for (j
= 0; const_table
[j
].type
; ++j
) {
41946 if (strncmp(const_table
[j
].name
, name
,
41947 strlen(const_table
[j
].name
)) == 0) {
41948 ci
= &(const_table
[j
]);
41953 size_t shift
= (ci
->ptype
) - types
;
41954 swig_type_info
*ty
= types_initial
[shift
];
41955 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41956 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41957 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41960 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41962 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41964 strncpy(buff
, "swig_ptr: ", 10);
41966 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41967 methods
[i
].ml_doc
= ndoc
;
41979 /* -----------------------------------------------------------------------------*
41980 * Partial Init method
41981 * -----------------------------------------------------------------------------*/
41986 SWIGEXPORT
void SWIG_init(void) {
41989 /* Fix SwigMethods to carry the callback ptrs when needed */
41990 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41992 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41993 d
= PyModule_GetDict(m
);
41995 SWIG_InitializeModule(0);
41996 SWIG_InstallConstants(d
,swig_const_table
);
41999 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
42000 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
42001 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
42002 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
42003 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
42004 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
42005 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
42006 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
42007 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
42008 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
42009 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
42010 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
42011 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
42012 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
42013 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
42014 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
42015 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
42016 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
42017 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
42018 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
42019 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
42020 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
42021 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
42022 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
42023 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
42024 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
42025 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
42026 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
42027 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
42028 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
42029 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
42030 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
42031 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
42032 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
42033 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
42034 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
42035 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
42036 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
42037 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
42038 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
42039 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
42040 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
42041 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
42042 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
42043 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
42044 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
42045 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
42046 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
42047 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
42048 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
42049 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
42050 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
42051 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
42052 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
42053 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
42054 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
42055 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
42056 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
42057 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
42058 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
42059 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
42060 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
42061 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
42062 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
42063 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
42064 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
42065 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
42066 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
42067 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
42068 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
42069 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
42070 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
42071 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
42072 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
42073 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
42074 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
42075 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
42076 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
42077 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
42078 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
42079 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
42080 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
42081 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
42082 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
42083 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
42084 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
42085 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
42086 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
42087 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
42088 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42089 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42090 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42091 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42092 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42093 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42094 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42095 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42096 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42097 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42098 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42099 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42100 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42101 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42102 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42103 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42104 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42105 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42106 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42107 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42108 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42109 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42110 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42111 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42112 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42113 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42114 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42115 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42116 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42117 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42118 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42119 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42120 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42121 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42122 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42123 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42124 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42125 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42126 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42127 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42128 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42129 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42130 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42131 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42132 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42133 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42134 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42135 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42136 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42137 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42138 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42139 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42140 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42141 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42142 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42143 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42144 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42145 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42146 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42148 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42150 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42151 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42152 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42153 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42154 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42155 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42156 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42157 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42158 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42159 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42160 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42161 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42162 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42163 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42164 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42165 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42166 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42167 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42168 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42169 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42170 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42171 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42172 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42173 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42174 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42175 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42176 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42177 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42178 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42179 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42180 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42181 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42182 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42183 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42184 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42185 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42186 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42187 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42188 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42189 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42190 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42191 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42192 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42193 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42194 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42195 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42196 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42197 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42198 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42199 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42200 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42201 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42202 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42203 SWIG_Python_SetConstant(d
, "EXEC_NOEVENTS",SWIG_From_int(static_cast< int >(wxEXEC_NOEVENTS
)));
42204 SWIG_Python_SetConstant(d
, "EXEC_BLOCK",SWIG_From_int(static_cast< int >(wxEXEC_BLOCK
)));
42206 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42208 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42209 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42210 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42211 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42212 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42213 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42214 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42215 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42216 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42217 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42218 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42219 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42220 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42221 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42222 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42223 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42224 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42225 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42226 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42227 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42228 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42229 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42230 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST",ART_LIST_get
, ART_LIST_set
);
42236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42239 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42240 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42241 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42242 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42243 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42244 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42245 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42246 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42247 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42248 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42249 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42250 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42251 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42252 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42253 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42254 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42255 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42256 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42257 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42258 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42259 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42260 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42261 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42262 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42263 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42264 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42265 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42266 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42267 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42268 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42269 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42270 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42271 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42272 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42273 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42274 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42275 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42276 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42277 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42278 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42279 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42280 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42281 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42282 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42283 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42284 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42286 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42288 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42289 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42290 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42291 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42292 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42293 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42294 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42295 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42296 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42297 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42298 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42299 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42365 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42366 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42367 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42368 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42371 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42372 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42373 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42374 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42375 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42376 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42377 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42378 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42379 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42380 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42381 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42382 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42383 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42384 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42385 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42386 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42387 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42388 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42389 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42390 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42391 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42392 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42393 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42394 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42395 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42396 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42397 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42398 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42399 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42400 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42401 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42402 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42403 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42404 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42405 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42406 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42407 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42408 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42409 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42410 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42411 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42412 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42413 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42414 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42415 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42416 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42417 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42418 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42419 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42420 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42421 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42422 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42423 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42424 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42425 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42426 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42427 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42428 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42429 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42430 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42431 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42432 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42433 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42434 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42435 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42436 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42437 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42438 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42439 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42440 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42441 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42442 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42443 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42444 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42445 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42446 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42447 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42448 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42449 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42450 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42451 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42452 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42453 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42454 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42455 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42456 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42457 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42458 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42459 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42460 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42461 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42462 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42463 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42464 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42465 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42466 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42467 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42468 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42469 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42470 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42471 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42472 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42473 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42474 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42475 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42476 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42477 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42478 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42479 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42480 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42481 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42482 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42483 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42484 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42485 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42486 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42487 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42488 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42489 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42490 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42492 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42493 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42494 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42495 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42497 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42498 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42499 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42500 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42501 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42502 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42503 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42504 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42505 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42506 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42507 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42508 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42509 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42510 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42511 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42512 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));