]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
cc6dd355
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxLogChain swig_types[0]
212#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213#define SWIGTYPE_p_wxFileHistory swig_types[2]
214#define SWIGTYPE_p_wxLog swig_types[3]
215#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216#define SWIGTYPE_p_wxMenu swig_types[5]
217#define SWIGTYPE_p_wxEvent swig_types[6]
218#define SWIGTYPE_p_wxConfigBase swig_types[7]
4276dc52
RD
219#define SWIGTYPE_p_wxDisplay swig_types[8]
220#define SWIGTYPE_p_wxFileType swig_types[9]
221#define SWIGTYPE_p_wxLogGui swig_types[10]
222#define SWIGTYPE_p_wxFont swig_types[11]
223#define SWIGTYPE_p_wxDataFormat swig_types[12]
224#define SWIGTYPE_p_wxTimerEvent swig_types[13]
225#define SWIGTYPE_p_wxCaret swig_types[14]
226#define SWIGTYPE_p_int swig_types[15]
227#define SWIGTYPE_p_wxSize swig_types[16]
228#define SWIGTYPE_p_wxClipboard swig_types[17]
229#define SWIGTYPE_p_wxStopWatch swig_types[18]
230#define SWIGTYPE_p_wxDC swig_types[19]
231#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232#define SWIGTYPE_p_wxIcon swig_types[21]
233#define SWIGTYPE_p_wxLogStderr swig_types[22]
234#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235#define SWIGTYPE_p_wxTextCtrl swig_types[24]
236#define SWIGTYPE_p_wxBusyCursor swig_types[25]
1823fbb4
RD
237#define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
238#define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
239#define SWIGTYPE_p_wxTextDataObject swig_types[28]
240#define SWIGTYPE_p_wxDataObject swig_types[29]
241#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
4276dc52
RD
242#define SWIGTYPE_p_wxFileDataObject swig_types[31]
243#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244#define SWIGTYPE_p_wxURLDataObject swig_types[33]
245#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246#define SWIGTYPE_p_wxSound swig_types[35]
247#define SWIGTYPE_p_wxTimerRunner swig_types[36]
248#define SWIGTYPE_p_wxLogWindow swig_types[37]
249#define SWIGTYPE_p_wxTimeSpan swig_types[38]
250#define SWIGTYPE_p_wxArrayString swig_types[39]
251#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
252#define SWIGTYPE_p_wxToolTip swig_types[41]
253#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
254#define SWIGTYPE_p_wxFileConfig swig_types[43]
255#define SWIGTYPE_p_wxSystemSettings swig_types[44]
256#define SWIGTYPE_p_wxVideoMode swig_types[45]
257#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
258#define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
259#define SWIGTYPE_p_wxEvtHandler swig_types[48]
260#define SWIGTYPE_p_wxRect swig_types[49]
261#define SWIGTYPE_p_char swig_types[50]
262#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
d3b6e4ff
RD
263#define SWIGTYPE_p_wxStandardPaths swig_types[52]
264#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
265#define SWIGTYPE_p_wxFrame swig_types[54]
266#define SWIGTYPE_p_wxTimer swig_types[55]
267#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
268#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
269#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
270#define SWIGTYPE_p_wxTipProvider swig_types[59]
271#define SWIGTYPE_p_wxJoystick swig_types[60]
272#define SWIGTYPE_p_wxSystemOptions swig_types[61]
273#define SWIGTYPE_p_wxPoint swig_types[62]
274#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
275#define SWIGTYPE_p_wxCursor swig_types[64]
276#define SWIGTYPE_p_wxObject swig_types[65]
277#define SWIGTYPE_p_wxOutputStream swig_types[66]
278#define SWIGTYPE_p_wxDateTime swig_types[67]
279#define SWIGTYPE_p_wxPyDropSource swig_types[68]
1823fbb4
RD
280#define SWIGTYPE_p_wxKillError swig_types[69]
281#define SWIGTYPE_p_wxWindow swig_types[70]
282#define SWIGTYPE_p_wxString swig_types[71]
283#define SWIGTYPE_p_wxPyProcess swig_types[72]
284#define SWIGTYPE_p_wxBitmap swig_types[73]
285#define SWIGTYPE_p_wxConfig swig_types[74]
286#define SWIGTYPE_p_wxChar swig_types[75]
287#define SWIGTYPE_p_wxBusyInfo swig_types[76]
288#define SWIGTYPE_p_wxPyDropTarget swig_types[77]
289#define SWIGTYPE_p_wxPyTextDropTarget swig_types[78]
290#define SWIGTYPE_p_wxPyFileDropTarget swig_types[79]
291#define SWIGTYPE_p_wxProcessEvent swig_types[80]
292#define SWIGTYPE_p_wxPyLog swig_types[81]
293#define SWIGTYPE_p_wxLogNull swig_types[82]
294#define SWIGTYPE_p_wxColour swig_types[83]
295#define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
296#define SWIGTYPE_p_wxPyTimer swig_types[85]
297#define SWIGTYPE_p_wxDateSpan swig_types[86]
298static swig_type_info *swig_types[88];
d14a1e28
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
54f9ee45 304 @(target):= _misc_.so
d14a1e28 305 ------------------------------------------------*/
54f9ee45 306#define SWIG_init init_misc_
d14a1e28 307
54f9ee45 308#define SWIG_name "_misc_"
d14a1e28 309
c32bde28
RD
310/* Auxiliar swig macros that appear in the header */
311
312#define SWIG_OLDOBJ 1
313#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 315
994141e6 316#ifdef __cplusplus
15afbcd0 317#define SWIGSTATICINLINE(a) static inline a
994141e6 318#define SWIGSTATIC(a) static a
c32bde28
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
15afbcd0 321#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
322#define swig_const_cast(a,Type) const_cast<Type >(a)
323#define swig_static_cast(a,Type) static_cast<Type >(a)
324#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325#define swig_new_copy(ptr,Type) (new Type(*ptr))
326#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 327
15afbcd0
RD
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c32bde28
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
15afbcd0 334#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
335#define swig_const_cast(a,Type) (Type)(a)
336#define swig_static_cast(a,Type) (Type)(a)
337#define swig_reinterpret_cast(a,Type) (Type)(a)
338#define swig_numeric_cast(a,Type) (Type)(a)
339#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
340
341#endif /* __cplusplus */
994141e6
RD
342
343
c32bde28
RD
344/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
994141e6
RD
368
369
d14a1e28
RD
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
e3b71cb8 372#include "wx/wxPython/pyistream.h"
d14a1e28 373
b2dc1044 374 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28 375
d14a1e28 376
994141e6 377
15afbcd0
RD
378#include <limits.h>
379
380
c32bde28
RD
381SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
15afbcd0 384{
c32bde28
RD
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
15afbcd0 397 }
c32bde28 398 return 0;
15afbcd0 399 }
c32bde28 400 return 1;
15afbcd0
RD
401}
402
403
c32bde28
RD
404// See my_fragments.i
405SWIGSTATICINLINE(int)
406SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 407{
c32bde28
RD
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
69223c70
RD
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
69223c70 417 }
c32bde28 418 return 0;
15afbcd0
RD
419}
420
421
422#if INT_MAX != LONG_MAX
423SWIGSTATICINLINE(int)
c32bde28 424 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 425{
c32bde28
RD
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
15afbcd0
RD
442}
443#else
c32bde28
RD
444SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446{
447 return SWIG_AsVal_long(obj,(long*)val);
448}
15afbcd0
RD
449#endif
450
451
452SWIGSTATICINLINE(int)
c32bde28 453SWIG_As_int(PyObject* obj)
15afbcd0 454{
c32bde28
RD
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
15afbcd0 463 }
c32bde28
RD
464 return v;
465}
466
467
468SWIGSTATICINLINE(int)
469SWIG_Check_int(PyObject* obj)
470{
471 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
472}
473
7e63a440 474 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
023a034e
RD
475
476#include <wx/stockitem.h>
477
b2dc1044
RD
478 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
479 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
480 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 481
c32bde28
RD
482SWIGSTATICINLINE(long)
483SWIG_As_long(PyObject* obj)
484{
485 long v;
486 if (!SWIG_AsVal_long(obj, &v)) {
487 /*
488 this is needed to make valgrind/purify happier. the other
489 solution is throw an exception, but since this code should work
490 with plain C ....
491 */
492 memset((void*)&v, 0, sizeof(long));
493 }
494 return v;
495}
496
497
15afbcd0 498SWIGSTATICINLINE(int)
c32bde28 499SWIG_Check_long(PyObject* obj)
994141e6 500{
c32bde28
RD
501 return SWIG_AsVal_long(obj, (long*)0);
502}
503
504
505SWIGSTATICINLINE(int)
506 SWIG_AsVal_bool(PyObject *obj, bool *val)
507{
508 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
509 if (obj == Py_True) {
510 if (val) *val = true;
511 return 1;
512 }
513 if (obj == Py_False) {
514 if (val) *val = false;
15afbcd0
RD
515 return 1;
516 }
c32bde28
RD
517 int res = 0;
518 if (SWIG_AsVal_int(obj, &res)) {
519 if (val) *val = (bool)res;
520 return 1;
521 }
522 if (val) {
523 PyErr_SetString(PyExc_TypeError, "a bool is expected");
524 }
525 return 0;
994141e6
RD
526}
527
528
15afbcd0 529SWIGSTATICINLINE(bool)
c32bde28 530SWIG_As_bool(PyObject* obj)
994141e6 531{
c32bde28
RD
532 bool v;
533 if (!SWIG_AsVal_bool(obj, &v)) {
534 /*
535 this is needed to make valgrind/purify happier. the other
536 solution is throw an exception, but since this code should work
537 with plain C ....
538 */
539 memset((void*)&v, 0, sizeof(bool));
540 }
541 return v;
994141e6
RD
542}
543
c32bde28 544
15afbcd0 545SWIGSTATICINLINE(int)
c32bde28 546SWIG_Check_bool(PyObject* obj)
15afbcd0 547{
c32bde28 548 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
549}
550
551
c32bde28 552 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
553 PyObject* o2;
554 PyObject* o3;
c32bde28 555
d14a1e28
RD
556 if (!target) {
557 target = o;
558 } else if (target == Py_None) {
559 Py_DECREF(Py_None);
560 target = o;
7e63a440
RD
561 } else {
562 if (!PyTuple_Check(target)) {
563 o2 = target;
564 target = PyTuple_New(1);
565 PyTuple_SetItem(target, 0, o2);
566 }
d14a1e28
RD
567 o3 = PyTuple_New(1);
568 PyTuple_SetItem(o3, 0, o);
569
570 o2 = target;
571 target = PySequence_Concat(o2, o3);
572 Py_DECREF(o2);
573 Py_DECREF(o3);
574 }
575 return target;
7e63a440 576 }
d14a1e28
RD
577
578
c32bde28 579
d14a1e28 580 long wxGetFreeMemory()
39f61e25
RD
581 { wxPyRaiseNotImplemented(); return 0; }
582
583
c32bde28
RD
584// See my_fragments.i
585SWIGSTATICINLINE(int)
586SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 587{
c32bde28
RD
588 long v = 0;
589 if (SWIG_AsVal_long(obj, &v) && v < 0) {
590 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
591 return 0;
15afbcd0 592 }
c32bde28
RD
593 else if (val)
594 *val = (unsigned long)v;
595 return 1;
15afbcd0
RD
596}
597
598
c32bde28
RD
599SWIGSTATICINLINE(unsigned long)
600SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 601{
c32bde28
RD
602 unsigned long v;
603 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
604 /*
605 this is needed to make valgrind/purify happier. the other
606 solution is throw an exception, but since this code should work
607 with plain C ....
608 */
609 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 610 }
c32bde28
RD
611 return v;
612}
613
614
615SWIGSTATICINLINE(int)
616SWIG_Check_unsigned_SS_long(PyObject* obj)
617{
618 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
619}
620
621
622SWIGSTATICINLINE(PyObject* )
c32bde28 623 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 624{
15afbcd0
RD
625 return (value > LONG_MAX) ?
626 PyLong_FromUnsignedLong(value)
c32bde28 627 : PyInt_FromLong(swig_numeric_cast(value,long));
994141e6
RD
628}
629
630
d14a1e28
RD
631 void wxWakeUpMainThread() {}
632
633
634 bool wxThread_IsMain() {
635#ifdef WXP_WITH_THREAD
636 return wxThread::IsMain();
637#else
ae8162c8 638 return true;
d14a1e28
RD
639#endif
640 }
641
642
643 int wxCaret_GetBlinkTime() {
644 return wxCaret::GetBlinkTime();
645 }
646
647 void wxCaret_SetBlinkTime(int milliseconds) {
648 wxCaret::SetBlinkTime(milliseconds);
649 }
650
651
652#include <wx/snglinst.h>
653
654
655#ifdef __WXMSW__
656#include <wx/msw/private.h>
657#include <wx/dynload.h>
658#endif
659
660
661
662void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
663{
664#ifdef __WXMSW__
665
666 switch (method)
667 {
668 case 1:
669 // This one only partially works. Appears to be an undocumented
670 // "standard" convention that not all widgets adhear to. For
671 // example, for some widgets backgrounds or non-client areas may
672 // not be painted.
673 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
674 break;
675
676 case 2:
677 // This one works much better, except for on XP. On Win2k nearly
678 // all widgets and their children are captured correctly[**]. On
679 // XP with Themes activated most native widgets draw only
680 // partially, if at all. Without themes it works just like on
681 // Win2k.
682 //
683 // ** For example the radio buttons in a wxRadioBox are not its
684 // children by default, but you can capture it via the panel
685 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
686 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
687 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
688 PRF_ERASEBKGND | PRF_OWNED );
689 break;
690
691 case 3:
692 // This one is only defined in the latest SDK and is only
693 // available on XP. MSDN says it is similar to sending WM_PRINT
694 // so I expect that it will work similar to the above. Since it
695 // is avaialble only on XP, it can't be compiled like this and
696 // will have to be loaded dynamically.
697 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
698
699 // fall through
700
701 case 4:
702 // Use PrintWindow if available, or fallback to WM_PRINT
703 // otherwise. Unfortunately using PrintWindow is even worse than
704 // WM_PRINT. For most native widgets nothing is drawn to the dc
705 // at all, with or without Themes.
706 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
ae8162c8 707 static bool s_triedToLoad = false;
d14a1e28
RD
708 static PrintWindow_t pfnPrintWindow = NULL;
709 if ( !s_triedToLoad )
710 {
711
ae8162c8 712 s_triedToLoad = true;
d14a1e28
RD
713 wxDynamicLibrary dllUser32(_T("user32.dll"));
714 if ( dllUser32.IsLoaded() )
715 {
716 wxLogNull nolog; // Don't report errors here
717 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
718 }
719 }
720 if (pfnPrintWindow)
721 {
722 printf("Using PrintWindow\n");
723 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
724 }
725 else
726 {
727 printf("Using WM_PRINT\n");
728 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
729 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
730 }
731 }
732#endif
733}
734
735
736
737#include <wx/tipdlg.h>
738
739
740class wxPyTipProvider : public wxTipProvider {
741public:
742 wxPyTipProvider(size_t currentTip)
743 : wxTipProvider(currentTip) {}
744
745 DEC_PYCALLBACK_STRING__pure(GetTip);
746 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
747 PYPRIVATE;
748};
749
750IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
751IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
752
753
4276dc52
RD
754//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
755
1c0f361b
RD
756IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
757
4276dc52
RD
758void wxPyTimer::Notify() {
759 bool found;
4f89f6a3 760 bool blocked = wxPyBeginBlockThreads();
4276dc52
RD
761 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
762 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
4f89f6a3 763 wxPyEndBlockThreads(blocked);
4276dc52
RD
764 if (! found)
765 wxTimer::Notify();
766}
767void wxPyTimer::base_Notify() {
768 wxTimer::Notify();
769}
770
d14a1e28 771
994141e6 772
15afbcd0
RD
773SWIGSTATICINLINE(PyObject *)
774SWIG_FromCharPtr(const char* cptr)
775{
15afbcd0 776 if (cptr) {
c32bde28 777 size_t size = strlen(cptr);
15afbcd0 778 if (size > INT_MAX) {
c32bde28 779 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
15afbcd0
RD
780 SWIG_TypeQuery("char *"), 0);
781 } else {
c32bde28
RD
782 if (size != 0) {
783 return PyString_FromStringAndSize(cptr, size);
784 } else {
785 return PyString_FromString(cptr);
786 }
15afbcd0 787 }
15afbcd0 788 }
c32bde28
RD
789 Py_INCREF(Py_None);
790 return Py_None;
15afbcd0
RD
791}
792
793
c32bde28
RD
794SWIGSTATICINLINE(int)
795 SWIG_CheckUnsignedLongInRange(unsigned long value,
796 unsigned long max_value,
797 const char *errmsg)
15afbcd0 798{
c32bde28
RD
799 if (value > max_value) {
800 if (errmsg) {
801 PyErr_Format(PyExc_OverflowError,
802 "value %ld is greater than '%s' minimum %ld",
803 value, errmsg, max_value);
15afbcd0 804 }
c32bde28 805 return 0;
15afbcd0 806 }
c32bde28
RD
807 return 1;
808 }
15afbcd0
RD
809
810
811#if UINT_MAX != ULONG_MAX
c32bde28
RD
812SWIGSTATICINLINE(int)
813 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 814{
c32bde28
RD
815 const char* errmsg = val ? "unsigned int" : 0;
816 unsigned long v;
817 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
818 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
819 if (val) *val = swig_numeric_cast(v, unsigned int);
820 return 1;
821 }
822 } else {
823 PyErr_Clear();
824 }
825 if (val) {
826 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
827 }
828 return 0;
15afbcd0
RD
829}
830#else
c32bde28
RD
831SWIGSTATICINLINE(unsigned int)
832 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
833{
834 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
835}
15afbcd0
RD
836#endif
837
838
c32bde28
RD
839SWIGSTATICINLINE(unsigned int)
840SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 841{
c32bde28
RD
842 unsigned int v;
843 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
844 /*
845 this is needed to make valgrind/purify happier. the other
846 solution is throw an exception, but since this code should work
847 with plain C ....
848 */
849 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 850 }
c32bde28
RD
851 return v;
852}
853
854
855SWIGSTATICINLINE(int)
856SWIG_Check_unsigned_SS_int(PyObject* obj)
857{
858 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
994141e6
RD
859}
860
d14a1e28
RD
861wxString Log_TimeStamp(){
862 wxString msg;
863 wxLog::TimeStamp(&msg);
864 return msg;
865 }
866void wxLog_Destroy(wxLog *self){ delete self; }
f78cc896
RD
867// Make somce wrappers that double any % signs so they are 'escaped'
868 void wxPyLogFatalError(const wxString& msg)
869 {
870 wxString m(msg);
871 m.Replace(wxT("%"), wxT("%%"));
872 wxLogFatalError(m);
873 }
874
875 void wxPyLogError(const wxString& msg)
876 {
877 wxString m(msg);
878 m.Replace(wxT("%"), wxT("%%"));
879 wxLogError(m);
880 }
881
882 void wxPyLogWarning(const wxString& msg)
883 {
884 wxString m(msg);
885 m.Replace(wxT("%"), wxT("%%"));
886 wxLogWarning(m);
887 }
888
889 void wxPyLogMessage(const wxString& msg)
890 {
891 wxString m(msg);
892 m.Replace(wxT("%"), wxT("%%"));
893 wxLogMessage(m);
894 }
895
896 void wxPyLogInfo(const wxString& msg)
897 {
898 wxString m(msg);
899 m.Replace(wxT("%"), wxT("%%"));
900 wxLogInfo(m);
901 }
902
903 void wxPyLogDebug(const wxString& msg)
904 {
905 wxString m(msg);
906 m.Replace(wxT("%"), wxT("%%"));
907 wxLogDebug(m);
908 }
909
910 void wxPyLogVerbose(const wxString& msg)
911 {
912 wxString m(msg);
913 m.Replace(wxT("%"), wxT("%%"));
914 wxLogVerbose(m);
915 }
916
917 void wxPyLogStatus(const wxString& msg)
918 {
919 wxString m(msg);
920 m.Replace(wxT("%"), wxT("%%"));
921 wxLogStatus(m);
922 }
923
924 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
925 {
926 wxString m(msg);
927 m.Replace(wxT("%"), wxT("%%"));
928 wxLogStatus(pFrame, m);
929 }
930
931 void wxPyLogSysError(const wxString& msg)
932 {
933 wxString m(msg);
934 m.Replace(wxT("%"), wxT("%%"));
935 wxLogSysError(m);
936 }
937
938 void wxPyLogGeneric(unsigned long level, const wxString& msg)
939 {
940 wxString m(msg);
941 m.Replace(wxT("%"), wxT("%%"));
942 wxLogGeneric(level, m);
943 }
944
945 void wxPyLogTrace(unsigned long mask, const wxString& msg)
946 {
947 wxString m(msg);
948 m.Replace(wxT("%"), wxT("%%"));
949 wxLogTrace(mask, m);
950 }
951
952 void wxPyLogTrace(const wxString& mask, const wxString& msg)
953 {
954 wxString m(msg);
955 m.Replace(wxT("%"), wxT("%%"));
956 wxLogTrace(mask, m);
957 }
958
959
d14a1e28
RD
960
961// A wxLog class that can be derived from in wxPython
962class wxPyLog : public wxLog {
963public:
964 wxPyLog() : wxLog() {}
965
966 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
967 bool found;
4f89f6a3 968 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
969 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
970 PyObject* s = wx2PyString(szString);
971 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
972 Py_DECREF(s);
973 }
4f89f6a3 974 wxPyEndBlockThreads(blocked);
d14a1e28
RD
975 if (! found)
976 wxLog::DoLog(level, szString, t);
977 }
978
979 virtual void DoLogString(const wxChar *szString, time_t t) {
980 bool found;
4f89f6a3 981 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
982 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
983 PyObject* s = wx2PyString(szString);
984 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
985 Py_DECREF(s);
986 }
4f89f6a3 987 wxPyEndBlockThreads(blocked);
d14a1e28
RD
988 if (! found)
989 wxLog::DoLogString(szString, t);
990 }
991
992 PYPRIVATE;
993};
994
995
996
997
998IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
999
1000
1001#include <wx/joystick.h>
1002
1003
1004#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1005// A C++ stub class for wxJoystick for platforms that don't have it.
1006class wxJoystick : public wxObject {
1007public:
1008 wxJoystick(int joystick = wxJOYSTICK1) {
4f89f6a3 1009 bool blocked = wxPyBeginBlockThreads();
39f61e25
RD
1010 PyErr_SetString(PyExc_NotImplementedError,
1011 "wxJoystick is not available on this platform.");
4f89f6a3 1012 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1013 }
1014 wxPoint GetPosition() { return wxPoint(-1,-1); }
1015 int GetZPosition() { return -1; }
1016 int GetButtonState() { return -1; }
1017 int GetPOVPosition() { return -1; }
1018 int GetPOVCTSPosition() { return -1; }
1019 int GetRudderPosition() { return -1; }
1020 int GetUPosition() { return -1; }
1021 int GetVPosition() { return -1; }
1022 int GetMovementThreshold() { return -1; }
1023 void SetMovementThreshold(int threshold) {}
1024
ae8162c8 1025 bool IsOk(void) { return false; }
d14a1e28
RD
1026 int GetNumberJoysticks() { return -1; }
1027 int GetManufacturerId() { return -1; }
1028 int GetProductId() { return -1; }
41e2b43e 1029 wxString GetProductName() { return wxEmptyString; }
d14a1e28
RD
1030 int GetXMin() { return -1; }
1031 int GetYMin() { return -1; }
1032 int GetZMin() { return -1; }
1033 int GetXMax() { return -1; }
1034 int GetYMax() { return -1; }
1035 int GetZMax() { return -1; }
1036 int GetNumberButtons() { return -1; }
1037 int GetNumberAxes() { return -1; }
1038 int GetMaxButtons() { return -1; }
1039 int GetMaxAxes() { return -1; }
1040 int GetPollingMin() { return -1; }
1041 int GetPollingMax() { return -1; }
1042 int GetRudderMin() { return -1; }
1043 int GetRudderMax() { return -1; }
1044 int GetUMin() { return -1; }
1045 int GetUMax() { return -1; }
1046 int GetVMin() { return -1; }
1047 int GetVMax() { return -1; }
1048
ae8162c8
RD
1049 bool HasRudder() { return false; }
1050 bool HasZ() { return false; }
1051 bool HasU() { return false; }
1052 bool HasV() { return false; }
1053 bool HasPOV() { return false; }
1054 bool HasPOV4Dir() { return false; }
1055 bool HasPOVCTS() { return false; }
d14a1e28 1056
ae8162c8
RD
1057 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
1058 bool ReleaseCapture() { return false; }
d14a1e28
RD
1059};
1060#endif
1061
1062
4d5c3d91 1063#include <wx/sound.h>
d14a1e28
RD
1064
1065
dff1fa9b 1066#if !wxUSE_SOUND
d14a1e28 1067// A C++ stub class for wxWave for platforms that don't have it.
4d5c3d91 1068class wxSound : public wxObject
d14a1e28
RD
1069{
1070public:
4d5c3d91 1071 wxSound() {
4f89f6a3 1072 bool blocked = wxPyBeginBlockThreads();
39f61e25 1073 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 1074 "wxSound is not available on this platform.");
4f89f6a3 1075 wxPyEndBlockThreads(blocked);
d14a1e28 1076 }
36cadbf7 1077 wxSound(const wxString&/*, bool*/) {
4f89f6a3 1078 bool blocked = wxPyBeginBlockThreads();
39f61e25 1079 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 1080 "wxSound is not available on this platform.");
4f89f6a3 1081 wxPyEndBlockThreads(blocked);
d14a1e28 1082 }
4d5c3d91 1083 wxSound(int, const wxByte*) {
4f89f6a3 1084 bool blocked = wxPyBeginBlockThreads();
4d5c3d91
RD
1085 PyErr_SetString(PyExc_NotImplementedError,
1086 "wxSound is not available on this platform.");
4f89f6a3 1087 wxPyEndBlockThreads(blocked);
4d5c3d91
RD
1088 }
1089
1090 ~wxSound() {};
d14a1e28 1091
36cadbf7 1092 bool Create(const wxString&/*, bool*/) { return false; }
4d5c3d91
RD
1093 bool Create(int, const wxByte*) { return false; };
1094 bool IsOk() { return false; };
1095 bool Play(unsigned) const { return false; }
1096 static bool Play(const wxString&, unsigned) { return false; }
1097 static void Stop() {}
d14a1e28
RD
1098};
1099
1100#endif
1101
36cadbf7
RD
1102wxSound *new_wxSound(wxString const &fileName){
1103 if (fileName.Length() == 0)
1104 return new wxSound;
1105 else
1106 return new wxSound(fileName);
1107 }
1108wxSound *new_wxSound(PyObject *data){
1109 unsigned char* buffer; int size;
1110 wxSound *sound = NULL;
1111
1112 bool blocked = wxPyBeginBlockThreads();
1113 if (!PyArg_Parse(data, "t#", &buffer, &size))
1114 goto done;
1115 sound = new wxSound(size, buffer);
1116 done:
1117 wxPyEndBlockThreads(blocked);
1118 return sound;
1119 }
1120bool wxSound_CreateFromData(wxSound *self,PyObject *data){
1121 #ifndef __WXMAC__
1122 unsigned char* buffer;
1123 int size;
ae8162c8 1124 bool rv = false;
36cadbf7
RD
1125
1126 bool blocked = wxPyBeginBlockThreads();
1127 if (!PyArg_Parse(data, "t#", &buffer, &size))
1128 goto done;
1129 rv = self->Create(size, buffer);
1130 done:
1131 wxPyEndBlockThreads(blocked);
1132 return rv;
1133 #else
1134 bool blocked = wxPyBeginBlockThreads();
1135 PyErr_SetString(PyExc_NotImplementedError,
1136 "Create from data is not available on this platform.");
1137 wxPyEndBlockThreads(blocked);
ae8162c8 1138 return false;
36cadbf7
RD
1139 #endif
1140 }
d14a1e28
RD
1141
1142#include <wx/mimetype.h>
1143
1144PyObject *wxFileType_GetMimeType(wxFileType *self){
1145 wxString str;
1146 if (self->GetMimeType(&str))
1147 return wx2PyString(str);
1148 else
1149 RETURN_NONE();
1150 }
1151PyObject *wxFileType_GetMimeTypes(wxFileType *self){
1152 wxArrayString arr;
1153 if (self->GetMimeTypes(arr))
1154 return wxArrayString2PyList_helper(arr);
1155 else
1156 RETURN_NONE();
1157 }
1158PyObject *wxFileType_GetExtensions(wxFileType *self){
1159 wxArrayString arr;
1160 if (self->GetExtensions(arr))
1161 return wxArrayString2PyList_helper(arr);
1162 else
1163 RETURN_NONE();
1164 }
1165wxIcon *wxFileType_GetIcon(wxFileType *self){
1166 wxIconLocation loc;
1167 if (self->GetIcon(&loc))
1168 return new wxIcon(loc);
1169 else
1170 return NULL;
1171 }
1172PyObject *wxFileType_GetIconInfo(wxFileType *self){
1173 wxIconLocation loc;
1174 if (self->GetIcon(&loc)) {
1175 wxString iconFile = loc.GetFileName();
1176 int iconIndex = -1;
1177
1178
1179
1180 // Make a tuple and put the values in it
4f89f6a3 1181 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1182 PyObject* tuple = PyTuple_New(3);
1183 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
ae8162c8 1184 wxT("wxIcon"), true));
d14a1e28
RD
1185 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
1186 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
4f89f6a3 1187 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1188 return tuple;
1189 }
1190 else
1191 RETURN_NONE();
1192 }
1193PyObject *wxFileType_GetDescription(wxFileType *self){
1194 wxString str;
1195 if (self->GetDescription(&str))
1196 return wx2PyString(str);
1197 else
1198 RETURN_NONE();
1199 }
1200PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1201 wxString str;
1202 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1203 return wx2PyString(str);
1204 else
1205 RETURN_NONE();
1206 }
1207PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1208 wxString str;
1209 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1210 return wx2PyString(str);
1211 else
1212 RETURN_NONE();
1213 }
1214PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
1215 wxArrayString verbs;
1216 wxArrayString commands;
1217 if (self->GetAllCommands(&verbs, &commands,
1218 wxFileType::MessageParameters(filename, mimetype))) {
4f89f6a3 1219 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1220 PyObject* tuple = PyTuple_New(2);
1221 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
1222 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
4f89f6a3 1223 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1224 return tuple;
1225 }
1226 else
1227 RETURN_NONE();
1228 }
1229wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1230 return wxFileType::ExpandCommand(command,
1231 wxFileType::MessageParameters(filename, mimetype));
1232 }
1233PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1234 wxArrayString arr;
1235 self->EnumAllFileTypes(arr);
1236 return wxArrayString2PyList_helper(arr);
1237 }
1238
1239#include <wx/artprov.h>
1240
1241 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1242 static const wxString wxPyART_MENU(wxART_MENU);
1243 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1244 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1245 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1246 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
4cf4100f 1247 static const wxString wxPyART_BUTTON(wxART_BUTTON);
d14a1e28
RD
1248 static const wxString wxPyART_OTHER(wxART_OTHER);
1249 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1250 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1251 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1252 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1253 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1254 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1255 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1256 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1257 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1258 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1259 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1260 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1261 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1262 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1263 static const wxString wxPyART_PRINT(wxART_PRINT);
1264 static const wxString wxPyART_HELP(wxART_HELP);
1265 static const wxString wxPyART_TIP(wxART_TIP);
1266 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1267 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1268 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
f78cc896
RD
1269 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
1270 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
1271 static const wxString wxPyART_CDROM(wxART_CDROM);
1272 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
d14a1e28 1273 static const wxString wxPyART_FOLDER(wxART_FOLDER);
f78cc896 1274 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
d14a1e28
RD
1275 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1276 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1277 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1278 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1279 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1280 static const wxString wxPyART_ERROR(wxART_ERROR);
1281 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1282 static const wxString wxPyART_WARNING(wxART_WARNING);
1283 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1284 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1285 // Python aware wxArtProvider
1286class wxPyArtProvider : public wxArtProvider {
1287public:
1288
1289 virtual wxBitmap CreateBitmap(const wxArtID& id,
1290 const wxArtClient& client,
1291 const wxSize& size) {
1292 wxBitmap rval = wxNullBitmap;
4f89f6a3 1293 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1294 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1295 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1296 PyObject* ro;
1297 wxBitmap* ptr;
1298 PyObject* s1, *s2;
1299 s1 = wx2PyString(id);
1300 s2 = wx2PyString(client);
1301 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1302 Py_DECREF(so);
1303 Py_DECREF(s1);
1304 Py_DECREF(s2);
1305 if (ro) {
1306 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1307 rval = *ptr;
1308 Py_DECREF(ro);
1309 }
1310 }
4f89f6a3 1311 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1312 return rval;
1313 }
1314
1315 PYPRIVATE;
1316};
1317
1e0c8722 1318void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
1319
1320
1321
1322 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1323 PyObject* ret = PyTuple_New(3);
1324 if (ret) {
1325 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1326 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1327 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1328 }
1329 return ret;
1330 }
1331
1332PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1333 bool cont;
1334 long index = 0;
1335 wxString value;
1336
1337 cont = self->GetFirstGroup(value, index);
1338 return __EnumerationHelper(cont, value, index);
1339 }
1340PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1341 bool cont;
1342 wxString value;
1343
1344 cont = self->GetNextGroup(value, index);
1345 return __EnumerationHelper(cont, value, index);
1346 }
1347PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1348 bool cont;
1349 long index = 0;
1350 wxString value;
1351
1352 cont = self->GetFirstEntry(value, index);
1353 return __EnumerationHelper(cont, value, index);
1354 }
1355PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1356 bool cont;
1357 wxString value;
1358
1359 cont = self->GetNextEntry(value, index);
1360 return __EnumerationHelper(cont, value, index);
1361 }
1362long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1363 long rv;
1364 self->Read(key, &rv, defaultVal);
1365 return rv;
1366 }
994141e6 1367
c32bde28
RD
1368// See my_fragments.i
1369SWIGSTATICINLINE(int)
1370SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 1371{
c32bde28
RD
1372 if (PyNumber_Check(obj)) {
1373 if (val) *val = PyFloat_AsDouble(obj);
1374 return 1;
1375 }
69223c70
RD
1376 else {
1377 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1378 obj->ob_type->tp_name);
1379 PyErr_SetObject(PyExc_TypeError, errmsg);
1380 Py_DECREF(errmsg);
69223c70 1381 }
c32bde28 1382 return 0;
15afbcd0
RD
1383}
1384
1385
c32bde28
RD
1386SWIGSTATICINLINE(double)
1387SWIG_As_double(PyObject* obj)
15afbcd0 1388{
c32bde28
RD
1389 double v;
1390 if (!SWIG_AsVal_double(obj, &v)) {
1391 /*
1392 this is needed to make valgrind/purify happier. the other
1393 solution is throw an exception, but since this code should work
1394 with plain C ....
1395 */
1396 memset((void*)&v, 0, sizeof(double));
15afbcd0 1397 }
c32bde28
RD
1398 return v;
1399}
1400
1401
1402SWIGSTATICINLINE(int)
1403SWIG_Check_double(PyObject* obj)
1404{
1405 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
1406}
1407
d14a1e28
RD
1408double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1409 double rv;
1410 self->Read(key, &rv, defaultVal);
1411 return rv;
1412 }
1413bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1414 bool rv;
1415 self->Read(key, &rv, defaultVal);
1416 return rv;
1417 }
1418
1419#include <wx/datetime.h>
1420
d14a1e28 1421
33b885b9
RD
1422 static const wxString wxPyDateFormatStr(wxT("%c"));
1423 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
1424
1425#define LOCAL_TZ wxDateTime::Local
1426
994141e6 1427
15afbcd0 1428#if UINT_MAX < LONG_MAX
c32bde28
RD
1429/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1430#define SWIG_From_unsigned_SS_int SWIG_From_long
1431/*@@*/
15afbcd0 1432#else
c32bde28
RD
1433/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1434#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1435/*@@*/
15afbcd0 1436#endif
994141e6 1437
d14a1e28
RD
1438wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1439wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1440wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1441wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1442wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
a95a7133
RD
1443bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1444 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1445 return (*self < *other);
1446 }
1447bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1448 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1449 return (*self <= *other);
1450 }
1451bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1452 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1453 return (*self > *other);
1454 }
1455bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1456 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1457 return (*self >= *other);
1458 }
1459bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1460 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1461 return (*self == *other);
1462 }
1463bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1464 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1465 return (*self != *other);
1466 }
d14a1e28
RD
1467int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1468 const wxChar* rv;
1469 const wxChar* _date = date;
1470 rv = self->ParseRfc822Date(_date);
1471 if (rv == NULL) return -1;
1472 return rv - _date;
1473 }
1474int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1475 const wxChar* rv;
1476 const wxChar* _date = date;
1477 rv = self->ParseFormat(_date, format, dateDef);
1478 if (rv == NULL) return -1;
1479 return rv - _date;
1480 }
1481int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1482 const wxChar* rv;
1483 const wxChar* _datetime = datetime;
1484 rv = self->ParseDateTime(_datetime);
1485 if (rv == NULL) return -1;
1486 return rv - _datetime;
1487 }
1488int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1489 const wxChar* rv;
1490 const wxChar* _date = date;
1491 rv = self->ParseDate(_date);
1492 if (rv == NULL) return -1;
1493 return rv - _date;
1494 }
1495int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1496 const wxChar* rv;
1497 const wxChar* _time = time;
1498 rv = self->ParseTime(_time);
1499 if (rv == NULL) return -1;
1500 return rv - _time;
1501 }
1502wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1503wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1504wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1505wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
ae8162c8
RD
1506bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
1507bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
1508bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
1509bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
1510bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
1511bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
d14a1e28
RD
1512wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1513wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1514wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1515wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
ae8162c8
RD
1516bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
1517bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d14a1e28
RD
1518
1519#include <wx/dataobj.h>
1520
1a10c483
RD
1521PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1522 size_t count = self->GetFormatCount(dir);
1523 wxDataFormat* formats = new wxDataFormat[count];
1524 self->GetAllFormats(formats, dir);
1525
1526 bool blocked = wxPyBeginBlockThreads();
1527 PyObject* list = PyList_New(count);
1528 for (size_t i=0; i<count; i++) {
1529 wxDataFormat* format = new wxDataFormat(formats[i]);
ae8162c8 1530 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
1a10c483
RD
1531 PyList_Append(list, obj);
1532 Py_DECREF(obj);
1533 }
1534 wxPyEndBlockThreads(blocked);
1535 delete [] formats;
1536 return list;
1537 }
1538PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1539 PyObject* rval = NULL;
1540 size_t size = self->GetDataSize(format);
1541 bool blocked = wxPyBeginBlockThreads();
1542 if (size) {
1543 char* buf = new char[size];
1544 if (self->GetDataHere(format, buf))
1545 rval = PyString_FromStringAndSize(buf, size);
1546 delete [] buf;
1547 }
1548 if (! rval) {
1549 rval = Py_None;
1550 Py_INCREF(rval);
1551 }
1552 wxPyEndBlockThreads(blocked);
1553 return rval;
1554 }
1555bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1556 bool rval;
1557 bool blocked = wxPyBeginBlockThreads();
1558 if (PyString_Check(data)) {
1559 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1560 }
1561 else {
1562 // raise a TypeError if not a string
1563 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1564 rval = false;
1a10c483
RD
1565 }
1566 wxPyEndBlockThreads(blocked);
1567 return rval;
1568 }
1569PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1570 PyObject* rval = NULL;
1571 size_t size = self->GetDataSize();
1572 bool blocked = wxPyBeginBlockThreads();
1573 if (size) {
1574 char* buf = new char[size];
1575 if (self->GetDataHere(buf))
1576 rval = PyString_FromStringAndSize(buf, size);
1577 delete [] buf;
1578 }
1579 if (! rval) {
1580 rval = Py_None;
1581 Py_INCREF(rval);
1582 }
1583 wxPyEndBlockThreads(blocked);
1584 return rval;
1585 }
1586bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1587 bool rval;
1588 bool blocked = wxPyBeginBlockThreads();
1589 if (PyString_Check(data)) {
1590 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1591 }
1592 else {
1593 // raise a TypeError if not a string
1594 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1595 rval = false;
1a10c483
RD
1596 }
1597 wxPyEndBlockThreads(blocked);
1598 return rval;
1599 }
d14a1e28
RD
1600 // Create a new class for wxPython to use
1601class wxPyDataObjectSimple : public wxDataObjectSimple {
1602public:
1603 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1604 : wxDataObjectSimple(format) {}
1605
1606 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1607 bool GetDataHere(void *buf) const;
1608 bool SetData(size_t len, const void *buf) const;
1609 PYPRIVATE;
1610};
1611
1612IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1613
1614bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1615 // We need to get the data for this object and write it to buf. I think
1616 // the best way to do this for wxPython is to have the Python method
1617 // return either a string or None and then act appropriately with the
1618 // C++ version.
1619
ae8162c8 1620 bool rval = false;
4f89f6a3 1621 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1622 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1623 PyObject* ro;
1624 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1625 if (ro) {
1626 rval = (ro != Py_None && PyString_Check(ro));
1627 if (rval)
1628 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1629 Py_DECREF(ro);
1630 }
1631 }
4f89f6a3 1632 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1633 return rval;
1634}
1635
1636bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1637 // For this one we simply need to make a string from buf and len
1638 // and send it to the Python method.
ae8162c8 1639 bool rval = false;
4f89f6a3 1640 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1641 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1642 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1644 Py_DECREF(data);
1645 }
4f89f6a3 1646 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1647 return rval;
1648}
1649
1650 // Create a new class for wxPython to use
1651class wxPyTextDataObject : public wxTextDataObject {
1652public:
1653 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1654 : wxTextDataObject(text) {}
1655
1656 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1657 DEC_PYCALLBACK_STRING__const(GetText);
1658 DEC_PYCALLBACK__STRING(SetText);
1659 PYPRIVATE;
1660};
1661
1662IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1663IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1664IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1665
1666
1667 // Create a new class for wxPython to use
1668class wxPyBitmapDataObject : public wxBitmapDataObject {
1669public:
1670 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1671 : wxBitmapDataObject(bitmap) {}
1672
1673 wxBitmap GetBitmap() const;
1674 void SetBitmap(const wxBitmap& bitmap);
1675 PYPRIVATE;
1676};
1677
1678wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1679 wxBitmap* rval = &wxNullBitmap;
4f89f6a3 1680 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1681 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1682 PyObject* ro;
1683 wxBitmap* ptr;
1684 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1685 if (ro) {
1686 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1687 rval = ptr;
1688 Py_DECREF(ro);
1689 }
1690 }
4f89f6a3 1691 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1692 return *rval;
1693}
1a10c483 1694
d14a1e28 1695void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
4f89f6a3 1696 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1697 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
ae8162c8 1698 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
d14a1e28
RD
1699 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1700 Py_DECREF(bo);
1701 }
4f89f6a3 1702 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1703}
1704
d14a1e28 1705bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1a10c483
RD
1706 bool rval;
1707 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1708 if (PyString_Check(data)) {
1a10c483 1709 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
d14a1e28
RD
1710 }
1711 else {
1712 // raise a TypeError if not a string
1713 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1714 rval = false;
d14a1e28 1715 }
1a10c483
RD
1716 wxPyEndBlockThreads(blocked);
1717 return rval;
d14a1e28
RD
1718 }
1719PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1a10c483
RD
1720 PyObject* obj;
1721 bool blocked = wxPyBeginBlockThreads();
1722 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
a07a67e6
RD
1723 wxPyEndBlockThreads(blocked);
1724 return obj;
d14a1e28
RD
1725 }
1726
1727class wxMetafileDataObject : public wxDataObjectSimple
1728{
1729public:
39f61e25 1730 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1731};
1732
1733
d14a1e28
RD
1734IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1735
1736
d14a1e28
RD
1737IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1738IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1739IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1740IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1741IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1742
1743
d14a1e28
RD
1744class wxPyTextDropTarget : public wxTextDropTarget {
1745public:
1746 wxPyTextDropTarget() {}
1747
1748 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1749
1750 DEC_PYCALLBACK__(OnLeave);
1751 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1752 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1753 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1754 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1755
1756 PYPRIVATE;
1757};
1758
1759IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1760IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1761IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1762IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1763IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1764IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1765
1766
1767
1768class wxPyFileDropTarget : public wxFileDropTarget {
1769public:
1770 wxPyFileDropTarget() {}
1771
1772 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1773
1774 DEC_PYCALLBACK__(OnLeave);
1775 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1776 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1777 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1778 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1779
1780 PYPRIVATE;
1781};
1782
1783bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1784 const wxArrayString& filenames) {
ae8162c8 1785 bool rval = false;
4f89f6a3 1786 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1787 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1788 PyObject* list = wxArrayString2PyList_helper(filenames);
1789 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1790 Py_DECREF(list);
1791 }
4f89f6a3 1792 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1793 return rval;
1794}
1795
1796
1797
1798IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1799IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1800IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1801IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1802IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1803
1804
1805
1806
1807bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
4276dc52 1808
6923d0a9 1809#include <wx/display.h>
4276dc52 1810
ae8162c8
RD
1811bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
1812bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
6923d0a9
RD
1813
1814// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1815#if !wxUSE_DISPLAY
1816#include <wx/dynarray.h>
1817#include <wx/vidmode.h>
1818
1819WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1820#include "wx/arrimpl.cpp"
1821WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1822const wxVideoMode wxDefaultVideoMode;
1823
1824class wxDisplay
1825{
1826public:
1827 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1828 ~wxDisplay() {}
1829
1830 static size_t GetCount()
1831 { wxPyRaiseNotImplemented(); return 0; }
1832
1833 static int GetFromPoint(const wxPoint& pt)
1834 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1835 static int GetFromWindow(wxWindow *window)
1836 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1837
1838 virtual bool IsOk() const { return false; }
1839 virtual wxRect GetGeometry() const { wxRect r; return r; }
1840 virtual wxString GetName() const { return wxEmptyString; }
1841 bool IsPrimary() const { return false; }
1842
1843 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1844 { wxArrayVideoModes a; return a; }
1845
1846 virtual wxVideoMode GetCurrentMode() const
1847 { return wxDefaultVideoMode; }
1848
1849 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1850 { return false; }
1851
1852 void ResetMode() {}
1853};
1854#endif
1855
4276dc52
RD
1856int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1857PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1858 PyObject* pyList = NULL;
1859 wxArrayVideoModes arr = self->GetModes(mode);
4f89f6a3 1860 bool blocked = wxPyBeginBlockThreads();
4276dc52
RD
1861 pyList = PyList_New(0);
1862 for (int i=0; i < arr.GetCount(); i++) {
1863 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1864 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1865 PyList_Append(pyList, pyObj);
1a10c483 1866 Py_DECREF(pyObj);
4276dc52 1867 }
4f89f6a3 1868 wxPyEndBlockThreads(blocked);
4276dc52
RD
1869 return pyList;
1870 }
d3b6e4ff
RD
1871
1872#include <wx/stdpaths.h>
1873
8fb0e70a
RD
1874wxStandardPaths *StandardPaths_Get(){
1875 return (wxStandardPaths*) &wxStandardPaths::Get();
1876 }
d14a1e28
RD
1877#ifdef __cplusplus
1878extern "C" {
1879#endif
c32bde28 1880static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1881 PyObject *resultobj;
1882 int arg1 ;
1883 wxColour result;
994141e6 1884 PyObject * obj0 = 0 ;
d14a1e28
RD
1885 char *kwnames[] = {
1886 (char *) "index", NULL
1887 };
1888
994141e6 1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
c32bde28 1890 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 1891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1892 {
e3b71cb8 1893 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1896
1897 wxPyEndAllowThreads(__tstate);
110da5b0 1898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1899 }
1900 {
1901 wxColour * resultptr;
1902 resultptr = new wxColour((wxColour &) result);
15afbcd0 1903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1904 }
1905 return resultobj;
1906 fail:
1907 return NULL;
1908}
1909
1910
c32bde28 1911static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1912 PyObject *resultobj;
1913 int arg1 ;
1914 wxFont result;
994141e6 1915 PyObject * obj0 = 0 ;
d14a1e28
RD
1916 char *kwnames[] = {
1917 (char *) "index", NULL
1918 };
1919
994141e6 1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
c32bde28 1921 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 1922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1923 {
e3b71cb8 1924 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1927
1928 wxPyEndAllowThreads(__tstate);
110da5b0 1929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1930 }
1931 {
1932 wxFont * resultptr;
1933 resultptr = new wxFont((wxFont &) result);
15afbcd0 1934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
1935 }
1936 return resultobj;
1937 fail:
1938 return NULL;
1939}
1940
1941
c32bde28 1942static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1943 PyObject *resultobj;
1944 int arg1 ;
1945 int result;
994141e6 1946 PyObject * obj0 = 0 ;
d14a1e28
RD
1947 char *kwnames[] = {
1948 (char *) "index", NULL
1949 };
1950
994141e6 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
c32bde28 1952 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 1953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1954 {
e3b71cb8 1955 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1956 PyThreadState* __tstate = wxPyBeginAllowThreads();
1957 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1958
1959 wxPyEndAllowThreads(__tstate);
110da5b0 1960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1961 }
c32bde28 1962 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1963 return resultobj;
1964 fail:
1965 return NULL;
1966}
1967
1968
c32bde28 1969static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1970 PyObject *resultobj;
1971 int arg1 ;
1972 bool result;
994141e6 1973 PyObject * obj0 = 0 ;
d14a1e28
RD
1974 char *kwnames[] = {
1975 (char *) "index", NULL
1976 };
1977
994141e6 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
c32bde28 1979 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 1980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1981 {
e3b71cb8 1982 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1985
1986 wxPyEndAllowThreads(__tstate);
110da5b0 1987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1988 }
4f89f6a3
RD
1989 {
1990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1991 }
d14a1e28
RD
1992 return resultobj;
1993 fail:
1994 return NULL;
1995}
1996
1997
c32bde28 1998static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1999 PyObject *resultobj;
2000 int result;
2001 char *kwnames[] = {
2002 NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
2006 {
e3b71cb8 2007 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (int)wxSystemSettings::GetScreenType();
2010
2011 wxPyEndAllowThreads(__tstate);
110da5b0 2012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2013 }
c32bde28 2014 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
c32bde28 2021static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2022 PyObject *resultobj;
2023 int arg1 ;
994141e6 2024 PyObject * obj0 = 0 ;
d14a1e28
RD
2025 char *kwnames[] = {
2026 (char *) "screen", NULL
2027 };
2028
994141e6 2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
c32bde28 2030 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 2031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2032 {
e3b71cb8 2033 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
2036
2037 wxPyEndAllowThreads(__tstate);
110da5b0 2038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2039 }
2040 Py_INCREF(Py_None); resultobj = Py_None;
2041 return resultobj;
2042 fail:
2043 return NULL;
2044}
2045
2046
c32bde28 2047static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2048 PyObject *obj;
2049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2050 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
2051 Py_INCREF(obj);
2052 return Py_BuildValue((char *)"");
2053}
7e63a440
RD
2054static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
2055 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2056 return 1;
2057}
2058
2059
2060static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get() {
2061 PyObject *pyobj;
2062
2063 {
2064#if wxUSE_UNICODE
2065 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
2066#else
2067 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
2068#endif
2069 }
2070 return pyobj;
2071}
2072
2073
c32bde28 2074static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2075 PyObject *resultobj;
2076 wxSystemOptions *result;
2077 char *kwnames[] = {
2078 NULL
2079 };
2080
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
2082 {
2083 PyThreadState* __tstate = wxPyBeginAllowThreads();
2084 result = (wxSystemOptions *)new wxSystemOptions();
2085
2086 wxPyEndAllowThreads(__tstate);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 }
15afbcd0 2089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
2090 return resultobj;
2091 fail:
2092 return NULL;
2093}
2094
2095
c32bde28 2096static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2097 PyObject *resultobj;
2098 wxString *arg1 = 0 ;
2099 wxString *arg2 = 0 ;
ae8162c8
RD
2100 bool temp1 = false ;
2101 bool temp2 = false ;
d14a1e28
RD
2102 PyObject * obj0 = 0 ;
2103 PyObject * obj1 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "name",(char *) "value", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
2109 {
2110 arg1 = wxString_in_helper(obj0);
2111 if (arg1 == NULL) SWIG_fail;
ae8162c8 2112 temp1 = true;
d14a1e28
RD
2113 }
2114 {
2115 arg2 = wxString_in_helper(obj1);
2116 if (arg2 == NULL) SWIG_fail;
ae8162c8 2117 temp2 = true;
d14a1e28
RD
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 {
2128 if (temp1)
2129 delete arg1;
2130 }
2131 {
2132 if (temp2)
2133 delete arg2;
2134 }
2135 return resultobj;
2136 fail:
2137 {
2138 if (temp1)
2139 delete arg1;
2140 }
2141 {
2142 if (temp2)
2143 delete arg2;
2144 }
2145 return NULL;
2146}
2147
2148
c32bde28 2149static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2150 PyObject *resultobj;
2151 wxString *arg1 = 0 ;
2152 int arg2 ;
ae8162c8 2153 bool temp1 = false ;
d14a1e28 2154 PyObject * obj0 = 0 ;
994141e6 2155 PyObject * obj1 = 0 ;
d14a1e28
RD
2156 char *kwnames[] = {
2157 (char *) "name",(char *) "value", NULL
2158 };
2159
994141e6 2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2161 {
2162 arg1 = wxString_in_helper(obj0);
2163 if (arg1 == NULL) SWIG_fail;
ae8162c8 2164 temp1 = true;
d14a1e28 2165 }
c32bde28 2166 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 Py_INCREF(Py_None); resultobj = Py_None;
2176 {
2177 if (temp1)
2178 delete arg1;
2179 }
2180 return resultobj;
2181 fail:
2182 {
2183 if (temp1)
2184 delete arg1;
2185 }
2186 return NULL;
2187}
2188
2189
c32bde28 2190static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2191 PyObject *resultobj;
2192 wxString *arg1 = 0 ;
2193 wxString result;
ae8162c8 2194 bool temp1 = false ;
d14a1e28
RD
2195 PyObject * obj0 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "name", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
2201 {
2202 arg1 = wxString_in_helper(obj0);
2203 if (arg1 == NULL) SWIG_fail;
ae8162c8 2204 temp1 = true;
d14a1e28
RD
2205 }
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = wxSystemOptions::GetOption((wxString const &)*arg1);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214#if wxUSE_UNICODE
2215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2216#else
2217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2218#endif
2219 }
2220 {
2221 if (temp1)
2222 delete arg1;
2223 }
2224 return resultobj;
2225 fail:
2226 {
2227 if (temp1)
2228 delete arg1;
2229 }
2230 return NULL;
2231}
2232
2233
c32bde28 2234static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2235 PyObject *resultobj;
2236 wxString *arg1 = 0 ;
2237 int result;
ae8162c8 2238 bool temp1 = false ;
d14a1e28
RD
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "name", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
2245 {
2246 arg1 = wxString_in_helper(obj0);
2247 if (arg1 == NULL) SWIG_fail;
ae8162c8 2248 temp1 = true;
d14a1e28
RD
2249 }
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
c32bde28 2257 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2258 {
2259 if (temp1)
2260 delete arg1;
2261 }
2262 return resultobj;
2263 fail:
2264 {
2265 if (temp1)
2266 delete arg1;
2267 }
2268 return NULL;
2269}
2270
2271
c32bde28 2272static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2273 PyObject *resultobj;
2274 wxString *arg1 = 0 ;
2275 bool result;
ae8162c8 2276 bool temp1 = false ;
d14a1e28
RD
2277 PyObject * obj0 = 0 ;
2278 char *kwnames[] = {
2279 (char *) "name", NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2283 {
2284 arg1 = wxString_in_helper(obj0);
2285 if (arg1 == NULL) SWIG_fail;
ae8162c8 2286 temp1 = true;
d14a1e28
RD
2287 }
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
4f89f6a3
RD
2295 {
2296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2297 }
d14a1e28
RD
2298 {
2299 if (temp1)
2300 delete arg1;
2301 }
2302 return resultobj;
2303 fail:
2304 {
2305 if (temp1)
2306 delete arg1;
2307 }
2308 return NULL;
2309}
2310
2311
c32bde28 2312static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2313 PyObject *obj;
2314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2315 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2316 Py_INCREF(obj);
2317 return Py_BuildValue((char *)"");
2318}
c32bde28 2319static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
2320 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2321 return 1;
2322}
2323
2324
2325static PyObject *_wrap_FileSelectorPromptStr_get() {
2326 PyObject *pyobj;
2327
2328 {
2329#if wxUSE_UNICODE
2330 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2331#else
2332 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2333#endif
2334 }
2335 return pyobj;
2336}
2337
2338
c32bde28 2339static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
2340 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2341 return 1;
2342}
2343
2344
2345static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2346 PyObject *pyobj;
2347
2348 {
2349#if wxUSE_UNICODE
2350 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2351#else
2352 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2353#endif
2354 }
2355 return pyobj;
2356}
2357
2358
c32bde28 2359static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
2360 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2361 return 1;
2362}
2363
2364
2365static PyObject *_wrap_DirSelectorPromptStr_get() {
2366 PyObject *pyobj;
2367
2368 {
2369#if wxUSE_UNICODE
2370 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2371#else
2372 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2373#endif
2374 }
2375 return pyobj;
2376}
2377
2378
c32bde28 2379static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2380 PyObject *resultobj;
2381 long result;
2382 char *kwnames[] = {
2383 NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 result = (long)wxNewId();
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
c32bde28 2394 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
c32bde28 2401static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2402 PyObject *resultobj;
2403 long arg1 ;
994141e6 2404 PyObject * obj0 = 0 ;
d14a1e28
RD
2405 char *kwnames[] = {
2406 (char *) "id", NULL
2407 };
2408
994141e6 2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
c32bde28 2410 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 2411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 wxRegisterId(arg1);
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 Py_INCREF(Py_None); resultobj = Py_None;
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
c32bde28 2426static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2427 PyObject *resultobj;
2428 long result;
2429 char *kwnames[] = {
2430 NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = (long)wxGetCurrentId();
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
c32bde28 2441 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
2442 return resultobj;
2443 fail:
2444 return NULL;
2445}
2446
2447
c32bde28 2448static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e
RD
2449 PyObject *resultobj;
2450 int arg1 ;
2451 bool result;
2452 PyObject * obj0 = 0 ;
2453 char *kwnames[] = {
2454 (char *) "id", NULL
2455 };
2456
1f6967c2 2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
c32bde28 2458 arg1 = (int)SWIG_As_int(obj0);
023a034e
RD
2459 if (PyErr_Occurred()) SWIG_fail;
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 result = (bool)wxIsStockID(arg1);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 {
2468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2469 }
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
c32bde28 2476static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e
RD
2477 PyObject *resultobj;
2478 int arg1 ;
2479 wxString *arg2 = 0 ;
2480 bool result;
ae8162c8 2481 bool temp2 = false ;
023a034e
RD
2482 PyObject * obj0 = 0 ;
2483 PyObject * obj1 = 0 ;
2484 char *kwnames[] = {
2485 (char *) "id",(char *) "label", NULL
2486 };
2487
1f6967c2 2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
c32bde28 2489 arg1 = (int)SWIG_As_int(obj0);
023a034e
RD
2490 if (PyErr_Occurred()) SWIG_fail;
2491 {
2492 arg2 = wxString_in_helper(obj1);
2493 if (arg2 == NULL) SWIG_fail;
ae8162c8 2494 temp2 = true;
023a034e
RD
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 {
2504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2505 }
2506 {
2507 if (temp2)
2508 delete arg2;
2509 }
2510 return resultobj;
2511 fail:
2512 {
2513 if (temp2)
2514 delete arg2;
2515 }
2516 return NULL;
2517}
2518
2519
c32bde28 2520static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e
RD
2521 PyObject *resultobj;
2522 int arg1 ;
2523 wxString result;
2524 PyObject * obj0 = 0 ;
2525 char *kwnames[] = {
2526 (char *) "id", NULL
2527 };
2528
1f6967c2 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetStockLabel",kwnames,&obj0)) goto fail;
c32bde28 2530 arg1 = (int)SWIG_As_int(obj0);
023a034e
RD
2531 if (PyErr_Occurred()) SWIG_fail;
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 result = wxGetStockLabel(arg1);
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 {
2540#if wxUSE_UNICODE
2541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2542#else
2543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2544#endif
2545 }
2546 return resultobj;
2547 fail:
2548 return NULL;
2549}
2550
2551
c32bde28 2552static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2553 PyObject *resultobj;
2554 char *kwnames[] = {
2555 NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2559 {
e3b71cb8 2560 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 wxBell();
2563
2564 wxPyEndAllowThreads(__tstate);
110da5b0 2565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2566 }
2567 Py_INCREF(Py_None); resultobj = Py_None;
2568 return resultobj;
2569 fail:
2570 return NULL;
2571}
2572
2573
c32bde28 2574static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2575 PyObject *resultobj;
2576 char *kwnames[] = {
2577 NULL
2578 };
2579
2580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2581 {
e3b71cb8 2582 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 wxEndBusyCursor();
2585
2586 wxPyEndAllowThreads(__tstate);
110da5b0 2587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2588 }
2589 Py_INCREF(Py_None); resultobj = Py_None;
2590 return resultobj;
2591 fail:
2592 return NULL;
2593}
2594
2595
c32bde28 2596static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2597 PyObject *resultobj;
ae8162c8 2598 bool arg1 = (bool) true ;
d14a1e28
RD
2599 long result;
2600 PyObject * obj0 = 0 ;
2601 char *kwnames[] = {
2602 (char *) "resetTimer", NULL
2603 };
2604
2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2606 if (obj0) {
c32bde28 2607 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 2608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2609 }
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = (long)wxGetElapsedTime(arg1);
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
c32bde28 2617 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
2618 return resultobj;
2619 fail:
2620 return NULL;
2621}
2622
2623
c32bde28 2624static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2625 PyObject *resultobj;
2626 int *arg1 = (int *) 0 ;
2627 int *arg2 = (int *) 0 ;
2628 int temp1 ;
c32bde28 2629 int res1 = 0 ;
d14a1e28 2630 int temp2 ;
c32bde28 2631 int res2 = 0 ;
d14a1e28
RD
2632 char *kwnames[] = {
2633 NULL
2634 };
2635
c32bde28
RD
2636 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2637 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d14a1e28
RD
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2639 {
e3b71cb8 2640 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2641 PyThreadState* __tstate = wxPyBeginAllowThreads();
2642 wxGetMousePosition(arg1,arg2);
2643
2644 wxPyEndAllowThreads(__tstate);
110da5b0 2645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2646 }
2647 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2648 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2649 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2650 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2651 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2652 return resultobj;
2653 fail:
2654 return NULL;
2655}
2656
2657
c32bde28 2658static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2659 PyObject *resultobj;
2660 bool result;
2661 char *kwnames[] = {
2662 NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 result = (bool)wxIsBusy();
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
4f89f6a3
RD
2673 {
2674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2675 }
d14a1e28
RD
2676 return resultobj;
2677 fail:
2678 return NULL;
2679}
2680
2681
c32bde28 2682static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2683 PyObject *resultobj;
2684 wxString result;
2685 char *kwnames[] = {
2686 NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = wxNow();
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 {
2698#if wxUSE_UNICODE
2699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2700#else
2701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2702#endif
2703 }
2704 return resultobj;
2705 fail:
2706 return NULL;
2707}
2708
2709
c32bde28 2710static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2711 PyObject *resultobj;
2712 wxString const &arg1_defvalue = wxPyEmptyString ;
2713 wxString *arg1 = (wxString *) &arg1_defvalue ;
2714 bool result;
ae8162c8 2715 bool temp1 = false ;
d14a1e28
RD
2716 PyObject * obj0 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "command", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2722 if (obj0) {
2723 {
2724 arg1 = wxString_in_helper(obj0);
2725 if (arg1 == NULL) SWIG_fail;
ae8162c8 2726 temp1 = true;
d14a1e28
RD
2727 }
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = (bool)wxShell((wxString const &)*arg1);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
4f89f6a3
RD
2736 {
2737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2738 }
d14a1e28
RD
2739 {
2740 if (temp1)
2741 delete arg1;
2742 }
2743 return resultobj;
2744 fail:
2745 {
2746 if (temp1)
2747 delete arg1;
2748 }
2749 return NULL;
2750}
2751
2752
c32bde28 2753static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2754 PyObject *resultobj;
2755 char *kwnames[] = {
2756 NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 wxStartTimer();
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 Py_INCREF(Py_None); resultobj = Py_None;
2768 return resultobj;
2769 fail:
2770 return NULL;
2771}
2772
2773
c32bde28 2774static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2775 PyObject *resultobj;
2776 int *arg1 = (int *) 0 ;
2777 int *arg2 = (int *) 0 ;
2778 int result;
2779 int temp1 ;
c32bde28 2780 int res1 = 0 ;
d14a1e28 2781 int temp2 ;
c32bde28 2782 int res2 = 0 ;
d14a1e28
RD
2783 char *kwnames[] = {
2784 NULL
2785 };
2786
c32bde28
RD
2787 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2788 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d14a1e28
RD
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 result = (int)wxGetOsVersion(arg1,arg2);
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
c32bde28
RD
2797 resultobj = SWIG_From_int((int)result);
2798 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2799 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2800 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2801 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2802 return resultobj;
2803 fail:
2804 return NULL;
2805}
2806
2807
c32bde28 2808static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2809 PyObject *resultobj;
2810 wxString result;
2811 char *kwnames[] = {
2812 NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = wxGetOsDescription();
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 {
2824#if wxUSE_UNICODE
2825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2826#else
2827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2828#endif
2829 }
2830 return resultobj;
2831 fail:
2832 return NULL;
2833}
2834
2835
c32bde28 2836static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2837 PyObject *resultobj;
2838 long result;
2839 char *kwnames[] = {
2840 NULL
2841 };
2842
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (long)wxGetFreeMemory();
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
c32bde28 2851 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
2852 return resultobj;
2853 fail:
2854 return NULL;
2855}
2856
2857
c32bde28 2858static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2859 PyObject *resultobj;
2860 int arg1 ;
2861 bool result;
994141e6 2862 PyObject * obj0 = 0 ;
d14a1e28
RD
2863 char *kwnames[] = {
2864 (char *) "wFlags", NULL
2865 };
2866
994141e6 2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
c32bde28 2868 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 2869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2870 {
e3b71cb8 2871 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2874
2875 wxPyEndAllowThreads(__tstate);
110da5b0 2876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2877 }
4f89f6a3
RD
2878 {
2879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2880 }
d14a1e28
RD
2881 return resultobj;
2882 fail:
2883 return NULL;
2884}
2885
2886
c32bde28 2887static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2888 PyObject *resultobj;
2889 int arg1 ;
994141e6 2890 PyObject * obj0 = 0 ;
d14a1e28
RD
2891 char *kwnames[] = {
2892 (char *) "secs", NULL
2893 };
2894
994141e6 2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
c32bde28 2896 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 2897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 wxSleep(arg1);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 Py_INCREF(Py_None); resultobj = Py_None;
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
c32bde28 2912static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2913 PyObject *resultobj;
2914 unsigned long arg1 ;
2915 PyObject * obj0 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "milliseconds", NULL
2918 };
2919
7f98d120 2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
c32bde28 2921 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 2922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f98d120
RD
2925 wxMilliSleep(arg1);
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 Py_INCREF(Py_None); resultobj = Py_None;
2931 return resultobj;
2932 fail:
2933 return NULL;
2934}
2935
2936
c32bde28 2937static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120
RD
2938 PyObject *resultobj;
2939 unsigned long arg1 ;
2940 PyObject * obj0 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "microseconds", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
c32bde28 2946 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
7f98d120
RD
2947 if (PyErr_Occurred()) SWIG_fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 wxMicroSleep(arg1);
d14a1e28
RD
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 Py_INCREF(Py_None); resultobj = Py_None;
2956 return resultobj;
2957 fail:
2958 return NULL;
2959}
2960
2961
c32bde28 2962static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2963 PyObject *resultobj;
2964 bool arg1 ;
2965 PyObject * obj0 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "enable", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
c32bde28 2971 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 2972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 wxEnableTopLevelWindows(arg1);
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
2980 Py_INCREF(Py_None); resultobj = Py_None;
2981 return resultobj;
2982 fail:
2983 return NULL;
2984}
2985
2986
c32bde28 2987static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2988 PyObject *resultobj;
2989 wxString *arg1 = 0 ;
2990 wxString result;
ae8162c8 2991 bool temp1 = false ;
d14a1e28
RD
2992 PyObject * obj0 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "in", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2998 {
2999 arg1 = wxString_in_helper(obj0);
3000 if (arg1 == NULL) SWIG_fail;
ae8162c8 3001 temp1 = true;
d14a1e28
RD
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 result = wxStripMenuCodes((wxString const &)*arg1);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 {
3011#if wxUSE_UNICODE
3012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3013#else
3014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3015#endif
3016 }
3017 {
3018 if (temp1)
3019 delete arg1;
3020 }
3021 return resultobj;
3022 fail:
3023 {
3024 if (temp1)
3025 delete arg1;
3026 }
3027 return NULL;
3028}
3029
3030
c32bde28 3031static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3032 PyObject *resultobj;
3033 wxString result;
3034 char *kwnames[] = {
3035 NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 result = wxGetEmailAddress();
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 {
3047#if wxUSE_UNICODE
3048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3049#else
3050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3051#endif
3052 }
3053 return resultobj;
3054 fail:
3055 return NULL;
3056}
3057
3058
c32bde28 3059static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3060 PyObject *resultobj;
3061 wxString result;
3062 char *kwnames[] = {
3063 NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = wxGetHostName();
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 {
3075#if wxUSE_UNICODE
3076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3077#else
3078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3079#endif
3080 }
3081 return resultobj;
3082 fail:
3083 return NULL;
3084}
3085
3086
c32bde28 3087static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3088 PyObject *resultobj;
3089 wxString result;
3090 char *kwnames[] = {
3091 NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 result = wxGetFullHostName();
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 {
3103#if wxUSE_UNICODE
3104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3105#else
3106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3107#endif
3108 }
3109 return resultobj;
3110 fail:
3111 return NULL;
3112}
3113
3114
c32bde28 3115static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3116 PyObject *resultobj;
3117 wxString result;
3118 char *kwnames[] = {
3119 NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = wxGetUserId();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131#if wxUSE_UNICODE
3132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3133#else
3134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3135#endif
3136 }
3137 return resultobj;
3138 fail:
3139 return NULL;
3140}
3141
3142
c32bde28 3143static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3144 PyObject *resultobj;
3145 wxString result;
3146 char *kwnames[] = {
3147 NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 result = wxGetUserName();
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 {
3159#if wxUSE_UNICODE
3160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3161#else
3162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3163#endif
3164 }
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
c32bde28 3171static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3172 PyObject *resultobj;
3173 wxString result;
3174 char *kwnames[] = {
3175 NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 result = wxGetHomeDir();
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 {
3187#if wxUSE_UNICODE
3188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3189#else
3190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3191#endif
3192 }
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
c32bde28 3199static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3200 PyObject *resultobj;
3201 wxString const &arg1_defvalue = wxPyEmptyString ;
3202 wxString *arg1 = (wxString *) &arg1_defvalue ;
3203 wxString result;
ae8162c8 3204 bool temp1 = false ;
d14a1e28
RD
3205 PyObject * obj0 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "user", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
3211 if (obj0) {
3212 {
3213 arg1 = wxString_in_helper(obj0);
3214 if (arg1 == NULL) SWIG_fail;
ae8162c8 3215 temp1 = true;
d14a1e28
RD
3216 }
3217 }
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 result = wxGetUserHome((wxString const &)*arg1);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 {
3226#if wxUSE_UNICODE
3227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3228#else
3229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3230#endif
3231 }
3232 {
3233 if (temp1)
3234 delete arg1;
3235 }
3236 return resultobj;
3237 fail:
3238 {
3239 if (temp1)
3240 delete arg1;
3241 }
3242 return NULL;
3243}
3244
3245
c32bde28 3246static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3247 PyObject *resultobj;
3248 unsigned long result;
3249 char *kwnames[] = {
3250 NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (unsigned long)wxGetProcessId();
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
c32bde28 3261 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
3262 return resultobj;
3263 fail:
3264 return NULL;
3265}
3266
3267
c32bde28 3268static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3269 PyObject *resultobj;
3270 char *kwnames[] = {
3271 NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 wxTrap();
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 Py_INCREF(Py_None); resultobj = Py_None;
3283 return resultobj;
3284 fail:
3285 return NULL;
3286}
3287
3288
c32bde28 3289static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3290 PyObject *resultobj;
3291 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
3292 wxString *arg1 = (wxString *) &arg1_defvalue ;
3293 wxString const &arg2_defvalue = wxPyEmptyString ;
3294 wxString *arg2 = (wxString *) &arg2_defvalue ;
3295 wxString const &arg3_defvalue = wxPyEmptyString ;
3296 wxString *arg3 = (wxString *) &arg3_defvalue ;
3297 wxString const &arg4_defvalue = wxPyEmptyString ;
3298 wxString *arg4 = (wxString *) &arg4_defvalue ;
3299 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
3300 wxString *arg5 = (wxString *) &arg5_defvalue ;
3301 int arg6 = (int) 0 ;
3302 wxWindow *arg7 = (wxWindow *) NULL ;
3303 int arg8 = (int) -1 ;
3304 int arg9 = (int) -1 ;
3305 wxString result;
ae8162c8
RD
3306 bool temp1 = false ;
3307 bool temp2 = false ;
3308 bool temp3 = false ;
3309 bool temp4 = false ;
3310 bool temp5 = false ;
d14a1e28
RD
3311 PyObject * obj0 = 0 ;
3312 PyObject * obj1 = 0 ;
3313 PyObject * obj2 = 0 ;
3314 PyObject * obj3 = 0 ;
3315 PyObject * obj4 = 0 ;
994141e6 3316 PyObject * obj5 = 0 ;
d14a1e28 3317 PyObject * obj6 = 0 ;
994141e6
RD
3318 PyObject * obj7 = 0 ;
3319 PyObject * obj8 = 0 ;
d14a1e28
RD
3320 char *kwnames[] = {
3321 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3322 };
3323
994141e6 3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3325 if (obj0) {
3326 {
3327 arg1 = wxString_in_helper(obj0);
3328 if (arg1 == NULL) SWIG_fail;
ae8162c8 3329 temp1 = true;
d14a1e28
RD
3330 }
3331 }
3332 if (obj1) {
3333 {
3334 arg2 = wxString_in_helper(obj1);
3335 if (arg2 == NULL) SWIG_fail;
ae8162c8 3336 temp2 = true;
d14a1e28
RD
3337 }
3338 }
3339 if (obj2) {
3340 {
3341 arg3 = wxString_in_helper(obj2);
3342 if (arg3 == NULL) SWIG_fail;
ae8162c8 3343 temp3 = true;
d14a1e28
RD
3344 }
3345 }
3346 if (obj3) {
3347 {
3348 arg4 = wxString_in_helper(obj3);
3349 if (arg4 == NULL) SWIG_fail;
ae8162c8 3350 temp4 = true;
d14a1e28
RD
3351 }
3352 }
3353 if (obj4) {
3354 {
3355 arg5 = wxString_in_helper(obj4);
3356 if (arg5 == NULL) SWIG_fail;
ae8162c8 3357 temp5 = true;
d14a1e28
RD
3358 }
3359 }
994141e6 3360 if (obj5) {
c32bde28 3361 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 3362 if (PyErr_Occurred()) SWIG_fail;
994141e6 3363 }
d14a1e28 3364 if (obj6) {
15afbcd0
RD
3365 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3367 }
994141e6 3368 if (obj7) {
c32bde28 3369 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 3370 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3371 }
3372 if (obj8) {
c32bde28 3373 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 3374 if (PyErr_Occurred()) SWIG_fail;
994141e6 3375 }
d14a1e28 3376 {
e3b71cb8 3377 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3380
3381 wxPyEndAllowThreads(__tstate);
110da5b0 3382 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3383 }
3384 {
3385#if wxUSE_UNICODE
3386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3387#else
3388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3389#endif
3390 }
3391 {
3392 if (temp1)
3393 delete arg1;
3394 }
3395 {
3396 if (temp2)
3397 delete arg2;
3398 }
3399 {
3400 if (temp3)
3401 delete arg3;
3402 }
3403 {
3404 if (temp4)
3405 delete arg4;
3406 }
3407 {
3408 if (temp5)
3409 delete arg5;
3410 }
3411 return resultobj;
3412 fail:
3413 {
3414 if (temp1)
3415 delete arg1;
3416 }
3417 {
3418 if (temp2)
3419 delete arg2;
3420 }
3421 {
3422 if (temp3)
3423 delete arg3;
3424 }
3425 {
3426 if (temp4)
3427 delete arg4;
3428 }
3429 {
3430 if (temp5)
3431 delete arg5;
3432 }
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3438 PyObject *resultobj;
3439 wxString *arg1 = 0 ;
3440 wxString *arg2 = 0 ;
3441 wxString const &arg3_defvalue = wxPyEmptyString ;
3442 wxString *arg3 = (wxString *) &arg3_defvalue ;
3443 wxWindow *arg4 = (wxWindow *) NULL ;
3444 wxString result;
ae8162c8
RD
3445 bool temp1 = false ;
3446 bool temp2 = false ;
3447 bool temp3 = false ;
d14a1e28
RD
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
3450 PyObject * obj2 = 0 ;
3451 PyObject * obj3 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3457 {
3458 arg1 = wxString_in_helper(obj0);
3459 if (arg1 == NULL) SWIG_fail;
ae8162c8 3460 temp1 = true;
d14a1e28
RD
3461 }
3462 {
3463 arg2 = wxString_in_helper(obj1);
3464 if (arg2 == NULL) SWIG_fail;
ae8162c8 3465 temp2 = true;
d14a1e28
RD
3466 }
3467 if (obj2) {
3468 {
3469 arg3 = wxString_in_helper(obj2);
3470 if (arg3 == NULL) SWIG_fail;
ae8162c8 3471 temp3 = true;
d14a1e28
RD
3472 }
3473 }
3474 if (obj3) {
15afbcd0
RD
3475 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3477 }
3478 {
e3b71cb8 3479 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3482
3483 wxPyEndAllowThreads(__tstate);
110da5b0 3484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3485 }
3486 {
3487#if wxUSE_UNICODE
3488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3489#else
3490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3491#endif
3492 }
3493 {
3494 if (temp1)
3495 delete arg1;
3496 }
3497 {
3498 if (temp2)
3499 delete arg2;
3500 }
3501 {
3502 if (temp3)
3503 delete arg3;
3504 }
3505 return resultobj;
3506 fail:
3507 {
3508 if (temp1)
3509 delete arg1;
3510 }
3511 {
3512 if (temp2)
3513 delete arg2;
3514 }
3515 {
3516 if (temp3)
3517 delete arg3;
3518 }
3519 return NULL;
3520}
3521
3522
c32bde28 3523static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3524 PyObject *resultobj;
3525 wxString *arg1 = 0 ;
3526 wxString *arg2 = 0 ;
3527 wxString const &arg3_defvalue = wxPyEmptyString ;
3528 wxString *arg3 = (wxString *) &arg3_defvalue ;
3529 wxWindow *arg4 = (wxWindow *) NULL ;
3530 wxString result;
ae8162c8
RD
3531 bool temp1 = false ;
3532 bool temp2 = false ;
3533 bool temp3 = false ;
d14a1e28
RD
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536 PyObject * obj2 = 0 ;
3537 PyObject * obj3 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3543 {
3544 arg1 = wxString_in_helper(obj0);
3545 if (arg1 == NULL) SWIG_fail;
ae8162c8 3546 temp1 = true;
d14a1e28
RD
3547 }
3548 {
3549 arg2 = wxString_in_helper(obj1);
3550 if (arg2 == NULL) SWIG_fail;
ae8162c8 3551 temp2 = true;
d14a1e28
RD
3552 }
3553 if (obj2) {
3554 {
3555 arg3 = wxString_in_helper(obj2);
3556 if (arg3 == NULL) SWIG_fail;
ae8162c8 3557 temp3 = true;
d14a1e28
RD
3558 }
3559 }
3560 if (obj3) {
15afbcd0
RD
3561 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3563 }
3564 {
e3b71cb8 3565 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3568
3569 wxPyEndAllowThreads(__tstate);
110da5b0 3570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3571 }
3572 {
3573#if wxUSE_UNICODE
3574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3575#else
3576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3577#endif
3578 }
3579 {
3580 if (temp1)
3581 delete arg1;
3582 }
3583 {
3584 if (temp2)
3585 delete arg2;
3586 }
3587 {
3588 if (temp3)
3589 delete arg3;
3590 }
3591 return resultobj;
3592 fail:
3593 {
3594 if (temp1)
3595 delete arg1;
3596 }
3597 {
3598 if (temp2)
3599 delete arg2;
3600 }
3601 {
3602 if (temp3)
3603 delete arg3;
3604 }
3605 return NULL;
3606}
3607
3608
c32bde28 3609static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3610 PyObject *resultobj;
3611 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3612 wxString *arg1 = (wxString *) &arg1_defvalue ;
3613 wxString const &arg2_defvalue = wxPyEmptyString ;
3614 wxString *arg2 = (wxString *) &arg2_defvalue ;
3615 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3618 wxWindow *arg5 = (wxWindow *) NULL ;
3619 wxString result;
ae8162c8
RD
3620 bool temp1 = false ;
3621 bool temp2 = false ;
d14a1e28
RD
3622 wxPoint temp4 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
994141e6 3625 PyObject * obj2 = 0 ;
d14a1e28
RD
3626 PyObject * obj3 = 0 ;
3627 PyObject * obj4 = 0 ;
3628 char *kwnames[] = {
3629 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3630 };
3631
994141e6 3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
3633 if (obj0) {
3634 {
3635 arg1 = wxString_in_helper(obj0);
3636 if (arg1 == NULL) SWIG_fail;
ae8162c8 3637 temp1 = true;
d14a1e28
RD
3638 }
3639 }
3640 if (obj1) {
3641 {
3642 arg2 = wxString_in_helper(obj1);
3643 if (arg2 == NULL) SWIG_fail;
ae8162c8 3644 temp2 = true;
d14a1e28
RD
3645 }
3646 }
994141e6 3647 if (obj2) {
c32bde28 3648 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3649 if (PyErr_Occurred()) SWIG_fail;
994141e6 3650 }
d14a1e28
RD
3651 if (obj3) {
3652 {
3653 arg4 = &temp4;
3654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3655 }
3656 }
3657 if (obj4) {
15afbcd0
RD
3658 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3660 }
3661 {
e3b71cb8 3662 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3665
3666 wxPyEndAllowThreads(__tstate);
110da5b0 3667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3668 }
3669 {
3670#if wxUSE_UNICODE
3671 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3672#else
3673 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3674#endif
3675 }
3676 {
3677 if (temp1)
3678 delete arg1;
3679 }
3680 {
3681 if (temp2)
3682 delete arg2;
3683 }
3684 return resultobj;
3685 fail:
3686 {
3687 if (temp1)
3688 delete arg1;
3689 }
3690 {
3691 if (temp2)
3692 delete arg2;
3693 }
3694 return NULL;
3695}
3696
3697
c32bde28 3698static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3699 PyObject *resultobj;
3700 wxString *arg1 = 0 ;
3701 wxString const &arg2_defvalue = wxPyEmptyString ;
3702 wxString *arg2 = (wxString *) &arg2_defvalue ;
3703 wxString const &arg3_defvalue = wxPyEmptyString ;
3704 wxString *arg3 = (wxString *) &arg3_defvalue ;
3705 wxWindow *arg4 = (wxWindow *) NULL ;
3706 int arg5 = (int) -1 ;
3707 int arg6 = (int) -1 ;
ae8162c8 3708 bool arg7 = (bool) true ;
d14a1e28 3709 wxString result;
ae8162c8
RD
3710 bool temp1 = false ;
3711 bool temp2 = false ;
3712 bool temp3 = false ;
d14a1e28
RD
3713 PyObject * obj0 = 0 ;
3714 PyObject * obj1 = 0 ;
3715 PyObject * obj2 = 0 ;
3716 PyObject * obj3 = 0 ;
994141e6
RD
3717 PyObject * obj4 = 0 ;
3718 PyObject * obj5 = 0 ;
d14a1e28
RD
3719 PyObject * obj6 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3722 };
3723
994141e6 3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
3725 {
3726 arg1 = wxString_in_helper(obj0);
3727 if (arg1 == NULL) SWIG_fail;
ae8162c8 3728 temp1 = true;
d14a1e28
RD
3729 }
3730 if (obj1) {
3731 {
3732 arg2 = wxString_in_helper(obj1);
3733 if (arg2 == NULL) SWIG_fail;
ae8162c8 3734 temp2 = true;
d14a1e28
RD
3735 }
3736 }
3737 if (obj2) {
3738 {
3739 arg3 = wxString_in_helper(obj2);
3740 if (arg3 == NULL) SWIG_fail;
ae8162c8 3741 temp3 = true;
d14a1e28
RD
3742 }
3743 }
3744 if (obj3) {
15afbcd0
RD
3745 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3747 }
994141e6 3748 if (obj4) {
c32bde28 3749 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 3750 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3751 }
3752 if (obj5) {
c32bde28 3753 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 3754 if (PyErr_Occurred()) SWIG_fail;
994141e6 3755 }
d14a1e28 3756 if (obj6) {
c32bde28 3757 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 3758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3759 }
3760 {
e3b71cb8 3761 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3764
3765 wxPyEndAllowThreads(__tstate);
110da5b0 3766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3767 }
3768 {
3769#if wxUSE_UNICODE
3770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3771#else
3772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3773#endif
3774 }
3775 {
3776 if (temp1)
3777 delete arg1;
3778 }
3779 {
3780 if (temp2)
3781 delete arg2;
3782 }
3783 {
3784 if (temp3)
3785 delete arg3;
3786 }
3787 return resultobj;
3788 fail:
3789 {
3790 if (temp1)
3791 delete arg1;
3792 }
3793 {
3794 if (temp2)
3795 delete arg2;
3796 }
3797 {
3798 if (temp3)
3799 delete arg3;
3800 }
3801 return NULL;
3802}
3803
3804
c32bde28 3805static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3806 PyObject *resultobj;
3807 wxString *arg1 = 0 ;
3808 wxString const &arg2_defvalue = wxPyEmptyString ;
3809 wxString *arg2 = (wxString *) &arg2_defvalue ;
3810 wxString const &arg3_defvalue = wxPyEmptyString ;
3811 wxString *arg3 = (wxString *) &arg3_defvalue ;
3812 wxWindow *arg4 = (wxWindow *) NULL ;
3813 wxString result;
ae8162c8
RD
3814 bool temp1 = false ;
3815 bool temp2 = false ;
3816 bool temp3 = false ;
d14a1e28
RD
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 PyObject * obj2 = 0 ;
3820 PyObject * obj3 = 0 ;
3821 char *kwnames[] = {
3822 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3823 };
3824
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3826 {
3827 arg1 = wxString_in_helper(obj0);
3828 if (arg1 == NULL) SWIG_fail;
ae8162c8 3829 temp1 = true;
d14a1e28
RD
3830 }
3831 if (obj1) {
3832 {
3833 arg2 = wxString_in_helper(obj1);
3834 if (arg2 == NULL) SWIG_fail;
ae8162c8 3835 temp2 = true;
d14a1e28
RD
3836 }
3837 }
3838 if (obj2) {
3839 {
3840 arg3 = wxString_in_helper(obj2);
3841 if (arg3 == NULL) SWIG_fail;
ae8162c8 3842 temp3 = true;
d14a1e28
RD
3843 }
3844 }
3845 if (obj3) {
15afbcd0
RD
3846 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3848 }
3849 {
e3b71cb8 3850 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3853
3854 wxPyEndAllowThreads(__tstate);
110da5b0 3855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3856 }
3857 {
3858#if wxUSE_UNICODE
3859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3860#else
3861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3862#endif
3863 }
3864 {
3865 if (temp1)
3866 delete arg1;
3867 }
3868 {
3869 if (temp2)
3870 delete arg2;
3871 }
3872 {
3873 if (temp3)
3874 delete arg3;
3875 }
3876 return resultobj;
3877 fail:
3878 {
3879 if (temp1)
3880 delete arg1;
3881 }
3882 {
3883 if (temp2)
3884 delete arg2;
3885 }
3886 {
3887 if (temp3)
3888 delete arg3;
3889 }
3890 return NULL;
3891}
3892
3893
c32bde28 3894static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3895 PyObject *resultobj;
3896 wxString *arg1 = 0 ;
3897 wxString *arg2 = 0 ;
3898 int arg3 ;
3899 wxString *arg4 = (wxString *) 0 ;
3900 wxWindow *arg5 = (wxWindow *) NULL ;
3901 int arg6 = (int) -1 ;
3902 int arg7 = (int) -1 ;
ae8162c8 3903 bool arg8 = (bool) true ;
d14a1e28
RD
3904 int arg9 = (int) 150 ;
3905 int arg10 = (int) 200 ;
3906 wxString result;
ae8162c8
RD
3907 bool temp1 = false ;
3908 bool temp2 = false ;
d14a1e28
RD
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 PyObject * obj2 = 0 ;
3912 PyObject * obj3 = 0 ;
994141e6
RD
3913 PyObject * obj4 = 0 ;
3914 PyObject * obj5 = 0 ;
d14a1e28 3915 PyObject * obj6 = 0 ;
994141e6
RD
3916 PyObject * obj7 = 0 ;
3917 PyObject * obj8 = 0 ;
d14a1e28
RD
3918 char *kwnames[] = {
3919 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3920 };
3921
994141e6 3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3923 {
3924 arg1 = wxString_in_helper(obj0);
3925 if (arg1 == NULL) SWIG_fail;
ae8162c8 3926 temp1 = true;
d14a1e28
RD
3927 }
3928 {
3929 arg2 = wxString_in_helper(obj1);
3930 if (arg2 == NULL) SWIG_fail;
ae8162c8 3931 temp2 = true;
d14a1e28
RD
3932 }
3933 {
3934 arg3 = PyList_Size(obj2);
3935 arg4 = wxString_LIST_helper(obj2);
3936 if (arg4 == NULL) SWIG_fail;
3937 }
3938 if (obj3) {
15afbcd0
RD
3939 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3941 }
994141e6 3942 if (obj4) {
c32bde28 3943 arg6 = (int)SWIG_As_int(obj4);
15afbcd0 3944 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3945 }
3946 if (obj5) {
c32bde28 3947 arg7 = (int)SWIG_As_int(obj5);
15afbcd0 3948 if (PyErr_Occurred()) SWIG_fail;
994141e6 3949 }
d14a1e28 3950 if (obj6) {
c32bde28 3951 arg8 = (bool)SWIG_As_bool(obj6);
15afbcd0 3952 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3953 }
3954 if (obj7) {
c32bde28 3955 arg9 = (int)SWIG_As_int(obj7);
15afbcd0 3956 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3957 }
3958 if (obj8) {
c32bde28 3959 arg10 = (int)SWIG_As_int(obj8);
15afbcd0 3960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3961 }
3962 {
e3b71cb8 3963 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3966
3967 wxPyEndAllowThreads(__tstate);
110da5b0 3968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3969 }
3970 {
3971#if wxUSE_UNICODE
3972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3973#else
3974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3975#endif
3976 }
3977 {
3978 if (temp1)
3979 delete arg1;
3980 }
3981 {
3982 if (temp2)
3983 delete arg2;
3984 }
3985 {
3986 if (arg4) delete [] arg4;
3987 }
3988 return resultobj;
3989 fail:
3990 {
3991 if (temp1)
3992 delete arg1;
3993 }
3994 {
3995 if (temp2)
3996 delete arg2;
3997 }
3998 {
3999 if (arg4) delete [] arg4;
4000 }
4001 return NULL;
4002}
4003
4004
c32bde28 4005static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4006 PyObject *resultobj;
4007 wxString *arg1 = 0 ;
4008 wxString *arg2 = 0 ;
4009 int arg3 ;
4010 wxString *arg4 = (wxString *) 0 ;
4011 wxWindow *arg5 = (wxWindow *) NULL ;
4012 int arg6 = (int) -1 ;
4013 int arg7 = (int) -1 ;
ae8162c8 4014 bool arg8 = (bool) true ;
d14a1e28
RD
4015 int arg9 = (int) 150 ;
4016 int arg10 = (int) 200 ;
4017 int result;
ae8162c8
RD
4018 bool temp1 = false ;
4019 bool temp2 = false ;
d14a1e28
RD
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 PyObject * obj2 = 0 ;
4023 PyObject * obj3 = 0 ;
994141e6
RD
4024 PyObject * obj4 = 0 ;
4025 PyObject * obj5 = 0 ;
d14a1e28 4026 PyObject * obj6 = 0 ;
994141e6
RD
4027 PyObject * obj7 = 0 ;
4028 PyObject * obj8 = 0 ;
d14a1e28
RD
4029 char *kwnames[] = {
4030 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4031 };
4032
994141e6 4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
4034 {
4035 arg1 = wxString_in_helper(obj0);
4036 if (arg1 == NULL) SWIG_fail;
ae8162c8 4037 temp1 = true;
d14a1e28
RD
4038 }
4039 {
4040 arg2 = wxString_in_helper(obj1);
4041 if (arg2 == NULL) SWIG_fail;
ae8162c8 4042 temp2 = true;
d14a1e28
RD
4043 }
4044 {
4045 arg3 = PyList_Size(obj2);
4046 arg4 = wxString_LIST_helper(obj2);
4047 if (arg4 == NULL) SWIG_fail;
4048 }
4049 if (obj3) {
15afbcd0
RD
4050 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4052 }
994141e6 4053 if (obj4) {
c32bde28 4054 arg6 = (int)SWIG_As_int(obj4);
15afbcd0 4055 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4056 }
4057 if (obj5) {
c32bde28 4058 arg7 = (int)SWIG_As_int(obj5);
15afbcd0 4059 if (PyErr_Occurred()) SWIG_fail;
994141e6 4060 }
d14a1e28 4061 if (obj6) {
c32bde28 4062 arg8 = (bool)SWIG_As_bool(obj6);
15afbcd0 4063 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4064 }
4065 if (obj7) {
c32bde28 4066 arg9 = (int)SWIG_As_int(obj7);
15afbcd0 4067 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4068 }
4069 if (obj8) {
c32bde28 4070 arg10 = (int)SWIG_As_int(obj8);
15afbcd0 4071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4072 }
4073 {
e3b71cb8 4074 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
4077
4078 wxPyEndAllowThreads(__tstate);
110da5b0 4079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4080 }
c32bde28 4081 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4082 {
4083 if (temp1)
4084 delete arg1;
4085 }
4086 {
4087 if (temp2)
4088 delete arg2;
4089 }
4090 {
4091 if (arg4) delete [] arg4;
4092 }
4093 return resultobj;
4094 fail:
4095 {
4096 if (temp1)
4097 delete arg1;
4098 }
4099 {
4100 if (temp2)
4101 delete arg2;
4102 }
4103 {
4104 if (arg4) delete [] arg4;
4105 }
4106 return NULL;
4107}
4108
4109
c32bde28 4110static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4111 PyObject *resultobj;
4112 wxString *arg1 = 0 ;
4113 wxString const &arg2_defvalue = wxPyEmptyString ;
4114 wxString *arg2 = (wxString *) &arg2_defvalue ;
4115 int arg3 = (int) wxOK|wxCENTRE ;
4116 wxWindow *arg4 = (wxWindow *) NULL ;
4117 int arg5 = (int) -1 ;
4118 int arg6 = (int) -1 ;
4119 int result;
ae8162c8
RD
4120 bool temp1 = false ;
4121 bool temp2 = false ;
d14a1e28
RD
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
994141e6 4124 PyObject * obj2 = 0 ;
d14a1e28 4125 PyObject * obj3 = 0 ;
994141e6
RD
4126 PyObject * obj4 = 0 ;
4127 PyObject * obj5 = 0 ;
d14a1e28
RD
4128 char *kwnames[] = {
4129 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4130 };
4131
994141e6 4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
4133 {
4134 arg1 = wxString_in_helper(obj0);
4135 if (arg1 == NULL) SWIG_fail;
ae8162c8 4136 temp1 = true;
d14a1e28
RD
4137 }
4138 if (obj1) {
4139 {
4140 arg2 = wxString_in_helper(obj1);
4141 if (arg2 == NULL) SWIG_fail;
ae8162c8 4142 temp2 = true;
d14a1e28
RD
4143 }
4144 }
994141e6 4145 if (obj2) {
c32bde28 4146 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4147 if (PyErr_Occurred()) SWIG_fail;
994141e6 4148 }
d14a1e28 4149 if (obj3) {
15afbcd0
RD
4150 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4152 }
994141e6 4153 if (obj4) {
c32bde28 4154 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 4155 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4156 }
4157 if (obj5) {
c32bde28 4158 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 4159 if (PyErr_Occurred()) SWIG_fail;
994141e6 4160 }
d14a1e28 4161 {
e3b71cb8 4162 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
4165
4166 wxPyEndAllowThreads(__tstate);
110da5b0 4167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4168 }
c32bde28 4169 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4170 {
4171 if (temp1)
4172 delete arg1;
4173 }
4174 {
4175 if (temp2)
4176 delete arg2;
4177 }
4178 return resultobj;
4179 fail:
4180 {
4181 if (temp1)
4182 delete arg1;
4183 }
4184 {
4185 if (temp2)
4186 delete arg2;
4187 }
4188 return NULL;
4189}
4190
4191
c32bde28 4192static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4193 PyObject *resultobj;
4194 wxString *arg1 = 0 ;
4195 wxString *arg2 = 0 ;
4196 wxString *arg3 = 0 ;
4197 long arg4 ;
4198 long arg5 = (long) 0 ;
4199 long arg6 = (long) 100 ;
4200 wxWindow *arg7 = (wxWindow *) NULL ;
4201 wxPoint const &arg8_defvalue = wxDefaultPosition ;
4202 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
4203 long result;
ae8162c8
RD
4204 bool temp1 = false ;
4205 bool temp2 = false ;
4206 bool temp3 = false ;
d14a1e28
RD
4207 wxPoint temp8 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 PyObject * obj2 = 0 ;
994141e6
RD
4211 PyObject * obj3 = 0 ;
4212 PyObject * obj4 = 0 ;
4213 PyObject * obj5 = 0 ;
4214 PyObject * obj6 = 0 ;
d14a1e28
RD
4215 PyObject * obj7 = 0 ;
4216 char *kwnames[] = {
4217 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4218 };
4219
994141e6 4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
4221 {
4222 arg1 = wxString_in_helper(obj0);
4223 if (arg1 == NULL) SWIG_fail;
ae8162c8 4224 temp1 = true;
d14a1e28
RD
4225 }
4226 {
4227 arg2 = wxString_in_helper(obj1);
4228 if (arg2 == NULL) SWIG_fail;
ae8162c8 4229 temp2 = true;
d14a1e28
RD
4230 }
4231 {
4232 arg3 = wxString_in_helper(obj2);
4233 if (arg3 == NULL) SWIG_fail;
ae8162c8 4234 temp3 = true;
d14a1e28 4235 }
c32bde28 4236 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 4237 if (PyErr_Occurred()) SWIG_fail;
994141e6 4238 if (obj4) {
c32bde28 4239 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 4240 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4241 }
4242 if (obj5) {
c32bde28 4243 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4244 if (PyErr_Occurred()) SWIG_fail;
994141e6 4245 }
d14a1e28 4246 if (obj6) {
15afbcd0
RD
4247 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
4248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4249 }
4250 if (obj7) {
4251 {
4252 arg8 = &temp8;
4253 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
4254 }
4255 }
4256 {
e3b71cb8 4257 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
4260
4261 wxPyEndAllowThreads(__tstate);
110da5b0 4262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4263 }
c32bde28 4264 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
4265 {
4266 if (temp1)
4267 delete arg1;
4268 }
4269 {
4270 if (temp2)
4271 delete arg2;
4272 }
4273 {
4274 if (temp3)
4275 delete arg3;
4276 }
4277 return resultobj;
4278 fail:
4279 {
4280 if (temp1)
4281 delete arg1;
4282 }
4283 {
4284 if (temp2)
4285 delete arg2;
4286 }
4287 {
4288 if (temp3)
4289 delete arg3;
4290 }
4291 return NULL;
4292}
4293
4294
c32bde28 4295static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4296 PyObject *resultobj;
4297 bool result;
4298 char *kwnames[] = {
4299 NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
4303 {
e3b71cb8 4304 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (bool)wxColourDisplay();
4307
4308 wxPyEndAllowThreads(__tstate);
110da5b0 4309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4310 }
4f89f6a3
RD
4311 {
4312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4313 }
d14a1e28
RD
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
c32bde28 4320static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4321 PyObject *resultobj;
4322 int result;
4323 char *kwnames[] = {
4324 NULL
4325 };
4326
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
4328 {
e3b71cb8 4329 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (int)wxDisplayDepth();
4332
4333 wxPyEndAllowThreads(__tstate);
110da5b0 4334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4335 }
c32bde28 4336 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4337 return resultobj;
4338 fail:
4339 return NULL;
4340}
4341
4342
c32bde28 4343static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4344 PyObject *resultobj;
4345 int result;
4346 char *kwnames[] = {
4347 NULL
4348 };
4349
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
4351 {
e3b71cb8 4352 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 result = (int)wxGetDisplayDepth();
4355
4356 wxPyEndAllowThreads(__tstate);
110da5b0 4357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4358 }
c32bde28 4359 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4360 return resultobj;
4361 fail:
4362 return NULL;
4363}
4364
4365
c32bde28 4366static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4367 PyObject *resultobj;
4368 int *arg1 = (int *) 0 ;
4369 int *arg2 = (int *) 0 ;
4370 int temp1 ;
c32bde28 4371 int res1 = 0 ;
d14a1e28 4372 int temp2 ;
c32bde28 4373 int res2 = 0 ;
d14a1e28
RD
4374 char *kwnames[] = {
4375 NULL
4376 };
4377
c32bde28
RD
4378 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4379 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d14a1e28
RD
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
4381 {
e3b71cb8 4382 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4384 wxDisplaySize(arg1,arg2);
4385
4386 wxPyEndAllowThreads(__tstate);
110da5b0 4387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4388 }
4389 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4390 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4391 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4392 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4393 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4394 return resultobj;
4395 fail:
4396 return NULL;
4397}
4398
4399
c32bde28 4400static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4401 PyObject *resultobj;
4402 wxSize result;
4403 char *kwnames[] = {
4404 NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4408 {
e3b71cb8 4409 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = wxGetDisplaySize();
4412
4413 wxPyEndAllowThreads(__tstate);
110da5b0 4414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4415 }
4416 {
4417 wxSize * resultptr;
4418 resultptr = new wxSize((wxSize &) result);
15afbcd0 4419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4420 }
4421 return resultobj;
4422 fail:
4423 return NULL;
4424}
4425
4426
c32bde28 4427static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4428 PyObject *resultobj;
4429 int *arg1 = (int *) 0 ;
4430 int *arg2 = (int *) 0 ;
4431 int temp1 ;
c32bde28 4432 int res1 = 0 ;
d14a1e28 4433 int temp2 ;
c32bde28 4434 int res2 = 0 ;
d14a1e28
RD
4435 char *kwnames[] = {
4436 NULL
4437 };
4438
c32bde28
RD
4439 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4440 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d14a1e28
RD
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4442 {
e3b71cb8 4443 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 wxDisplaySizeMM(arg1,arg2);
4446
4447 wxPyEndAllowThreads(__tstate);
110da5b0 4448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4449 }
4450 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4451 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4452 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4453 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4454 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
c32bde28 4461static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4462 PyObject *resultobj;
4463 wxSize result;
4464 char *kwnames[] = {
4465 NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4469 {
e3b71cb8 4470 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = wxGetDisplaySizeMM();
4473
4474 wxPyEndAllowThreads(__tstate);
110da5b0 4475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4476 }
4477 {
4478 wxSize * resultptr;
4479 resultptr = new wxSize((wxSize &) result);
15afbcd0 4480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4481 }
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
c32bde28 4488static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4489 PyObject *resultobj;
4490 int *arg1 = (int *) 0 ;
4491 int *arg2 = (int *) 0 ;
4492 int *arg3 = (int *) 0 ;
4493 int *arg4 = (int *) 0 ;
4494 int temp1 ;
c32bde28 4495 int res1 = 0 ;
d14a1e28 4496 int temp2 ;
c32bde28 4497 int res2 = 0 ;
d14a1e28 4498 int temp3 ;
c32bde28 4499 int res3 = 0 ;
d14a1e28 4500 int temp4 ;
c32bde28 4501 int res4 = 0 ;
d14a1e28
RD
4502 char *kwnames[] = {
4503 NULL
4504 };
4505
c32bde28
RD
4506 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4509 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28
RD
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4511 {
e3b71cb8 4512 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4515
4516 wxPyEndAllowThreads(__tstate);
110da5b0 4517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4520 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4521 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4522 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4523 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4524 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4525 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4526 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
4527 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
c32bde28 4534static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4535 PyObject *resultobj;
4536 wxRect result;
4537 char *kwnames[] = {
4538 NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4542 {
e3b71cb8 4543 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = wxGetClientDisplayRect();
4546
4547 wxPyEndAllowThreads(__tstate);
110da5b0 4548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4549 }
4550 {
4551 wxRect * resultptr;
4552 resultptr = new wxRect((wxRect &) result);
15afbcd0 4553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4554 }
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
c32bde28 4561static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4562 PyObject *resultobj;
4563 wxCursor *arg1 = 0 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "cursor", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1)
4572 SWIG_fail;
d14a1e28 4573 if (arg1 == NULL) {
15afbcd0
RD
4574 PyErr_SetString(PyExc_TypeError,"null reference");
4575 SWIG_fail;
d14a1e28
RD
4576 }
4577 {
e3b71cb8 4578 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 wxSetCursor(*arg1);
4581
4582 wxPyEndAllowThreads(__tstate);
110da5b0 4583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4584 }
4585 Py_INCREF(Py_None); resultobj = Py_None;
4586 return resultobj;
4587 fail:
4588 return NULL;
4589}
4590
4591
c32bde28 4592static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4593 PyObject *resultobj;
4594 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4595 PyObject * obj0 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "cursor", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4601 if (obj0) {
15afbcd0
RD
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4604 }
4605 {
e3b71cb8 4606 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 wxBeginBusyCursor(arg1);
4609
4610 wxPyEndAllowThreads(__tstate);
110da5b0 4611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4612 }
4613 Py_INCREF(Py_None); resultobj = Py_None;
4614 return resultobj;
4615 fail:
4616 return NULL;
4617}
4618
4619
c32bde28 4620static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4621 PyObject *resultobj;
4622 wxWindow *result;
4623 char *kwnames[] = {
4624 NULL
4625 };
4626
4627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4628 {
e3b71cb8 4629 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 result = (wxWindow *)wxGetActiveWindow();
4632
4633 wxPyEndAllowThreads(__tstate);
110da5b0 4634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4635 }
4636 {
412d302d 4637 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4638 }
4639 return resultobj;
4640 fail:
4641 return NULL;
4642}
4643
4644
c32bde28 4645static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4646 PyObject *resultobj;
4647 wxPoint *arg1 = 0 ;
4648 wxWindow *result;
4649 wxPoint temp1 ;
4650 PyObject * obj0 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "pt", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4656 {
4657 arg1 = &temp1;
4658 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4659 }
4660 {
e3b71cb8 4661 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4664
4665 wxPyEndAllowThreads(__tstate);
110da5b0 4666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4667 }
4668 {
412d302d 4669 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4670 }
4671 return resultobj;
4672 fail:
4673 return NULL;
4674}
4675
4676
c32bde28 4677static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4678 PyObject *resultobj;
4679 wxPoint *arg1 = 0 ;
4680 wxWindow *result;
4681 wxPoint temp1 ;
4682 PyObject * obj0 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "pt", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4688 {
4689 arg1 = &temp1;
4690 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4691 }
4692 {
e3b71cb8 4693 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4696
4697 wxPyEndAllowThreads(__tstate);
110da5b0 4698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4699 }
4700 {
412d302d 4701 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4702 }
4703 return resultobj;
4704 fail:
4705 return NULL;
4706}
4707
4708
c32bde28 4709static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4710 PyObject *resultobj;
4711 wxWindow *arg1 = (wxWindow *) 0 ;
4712 wxWindow *result;
4713 PyObject * obj0 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "win", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
4719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4721 {
e3b71cb8 4722 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (wxWindow *)wxGetTopLevelParent(arg1);
4725
4726 wxPyEndAllowThreads(__tstate);
110da5b0 4727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4728 }
4729 {
412d302d 4730 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4731 }
4732 return resultobj;
4733 fail:
4734 return NULL;
4735}
4736
4737
c32bde28 4738static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
4739 PyObject *resultobj;
4740 int arg1 ;
4741 bool result;
994141e6 4742 PyObject * obj0 = 0 ;
39f61e25
RD
4743 char *kwnames[] = {
4744 (char *) "key", NULL
4745 };
4746
994141e6 4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
c32bde28 4748 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 4749 if (PyErr_Occurred()) SWIG_fail;
39f61e25 4750 {
e3b71cb8 4751 if (!wxPyCheckForApp()) SWIG_fail;
39f61e25
RD
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4754
4755 wxPyEndAllowThreads(__tstate);
110da5b0 4756 if (PyErr_Occurred()) SWIG_fail;
39f61e25 4757 }
4f89f6a3
RD
4758 {
4759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4760 }
39f61e25
RD
4761 return resultobj;
4762 fail:
4763 return NULL;
4764}
4765
4766
c32bde28 4767static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4768 PyObject *resultobj;
4769 char *kwnames[] = {
4770 NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4774 {
e3b71cb8 4775 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 wxWakeUpMainThread();
4778
4779 wxPyEndAllowThreads(__tstate);
110da5b0 4780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4781 }
4782 Py_INCREF(Py_None); resultobj = Py_None;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786}
4787
4788
c32bde28 4789static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4790 PyObject *resultobj;
4791 char *kwnames[] = {
4792 NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4796 {
e3b71cb8 4797 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 wxMutexGuiEnter();
4800
4801 wxPyEndAllowThreads(__tstate);
110da5b0 4802 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808}
4809
4810
c32bde28 4811static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4812 PyObject *resultobj;
4813 char *kwnames[] = {
4814 NULL
4815 };
4816
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4818 {
e3b71cb8 4819 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 wxMutexGuiLeave();
4822
4823 wxPyEndAllowThreads(__tstate);
110da5b0 4824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4825 }
4826 Py_INCREF(Py_None); resultobj = Py_None;
4827 return resultobj;
4828 fail:
4829 return NULL;
4830}
4831
4832
c32bde28 4833static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4834 PyObject *resultobj;
4835 wxMutexGuiLocker *result;
4836 char *kwnames[] = {
4837 NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4841 {
e3b71cb8 4842 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4845
4846 wxPyEndAllowThreads(__tstate);
110da5b0 4847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4848 }
15afbcd0 4849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
4850 return resultobj;
4851 fail:
4852 return NULL;
4853}
4854
4855
c32bde28 4856static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4857 PyObject *resultobj;
4858 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4859 PyObject * obj0 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
15afbcd0
RD
4865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 delete arg1;
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 Py_INCREF(Py_None); resultobj = Py_None;
4875 return resultobj;
4876 fail:
4877 return NULL;
4878}
4879
4880
c32bde28 4881static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4882 PyObject *obj;
4883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4884 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4885 Py_INCREF(obj);
4886 return Py_BuildValue((char *)"");
4887}
c32bde28 4888static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4889 PyObject *resultobj;
4890 bool result;
4891 char *kwnames[] = {
4892 NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 result = (bool)wxThread_IsMain();
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4f89f6a3
RD
4903 {
4904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4905 }
d14a1e28
RD
4906 return resultobj;
4907 fail:
4908 return NULL;
4909}
4910
4911
c32bde28 4912static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4913 PyObject *resultobj;
4914 wxString *arg1 = 0 ;
4915 wxToolTip *result;
ae8162c8 4916 bool temp1 = false ;
d14a1e28
RD
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "tip", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4923 {
4924 arg1 = wxString_in_helper(obj0);
4925 if (arg1 == NULL) SWIG_fail;
ae8162c8 4926 temp1 = true;
d14a1e28
RD
4927 }
4928 {
e3b71cb8 4929 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4932
4933 wxPyEndAllowThreads(__tstate);
110da5b0 4934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4935 }
4936 {
412d302d 4937 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
4938 }
4939 {
4940 if (temp1)
4941 delete arg1;
4942 }
4943 return resultobj;
4944 fail:
4945 {
4946 if (temp1)
4947 delete arg1;
4948 }
4949 return NULL;
4950}
4951
4952
c32bde28 4953static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4954 PyObject *resultobj;
4955 wxToolTip *arg1 = (wxToolTip *) 0 ;
4956 wxString *arg2 = 0 ;
ae8162c8 4957 bool temp2 = false ;
d14a1e28
RD
4958 PyObject * obj0 = 0 ;
4959 PyObject * obj1 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "tip", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4967 {
4968 arg2 = wxString_in_helper(obj1);
4969 if (arg2 == NULL) SWIG_fail;
ae8162c8 4970 temp2 = true;
d14a1e28
RD
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 (arg1)->SetTip((wxString const &)*arg2);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 Py_INCREF(Py_None); resultobj = Py_None;
4980 {
4981 if (temp2)
4982 delete arg2;
4983 }
4984 return resultobj;
4985 fail:
4986 {
4987 if (temp2)
4988 delete arg2;
4989 }
4990 return NULL;
4991}
4992
4993
c32bde28 4994static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4995 PyObject *resultobj;
4996 wxToolTip *arg1 = (wxToolTip *) 0 ;
4997 wxString result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (arg1)->GetTip();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014#if wxUSE_UNICODE
5015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5016#else
5017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5018#endif
5019 }
5020 return resultobj;
5021 fail:
5022 return NULL;
5023}
5024
5025
c32bde28 5026static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5027 PyObject *resultobj;
5028 wxToolTip *arg1 = (wxToolTip *) 0 ;
5029 wxWindow *result;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
5036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
5037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (wxWindow *)(arg1)->GetWindow();
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
412d302d 5046 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5047 }
5048 return resultobj;
5049 fail:
5050 return NULL;
5051}
5052
5053
c32bde28 5054static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5055 PyObject *resultobj;
5056 bool arg1 ;
5057 PyObject * obj0 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "flag", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
c32bde28 5063 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 5064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 wxToolTip::Enable(arg1);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
c32bde28 5079static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5080 PyObject *resultobj;
5081 long arg1 ;
994141e6 5082 PyObject * obj0 = 0 ;
d14a1e28
RD
5083 char *kwnames[] = {
5084 (char *) "milliseconds", NULL
5085 };
5086
994141e6 5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
c32bde28 5088 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 5089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 wxToolTip::SetDelay(arg1);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
c32bde28 5104static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5105 PyObject *obj;
5106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5107 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
5108 Py_INCREF(obj);
5109 return Py_BuildValue((char *)"");
5110}
c32bde28 5111static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5112 PyObject *resultobj;
5113 wxWindow *arg1 = (wxWindow *) 0 ;
5114 wxSize *arg2 = 0 ;
5115 wxCaret *result;
5116 wxSize temp2 ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "window",(char *) "size", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5126 {
5127 arg2 = &temp2;
5128 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5129 }
5130 {
e3b71cb8 5131 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
5134
5135 wxPyEndAllowThreads(__tstate);
110da5b0 5136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5137 }
15afbcd0 5138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
5139 return resultobj;
5140 fail:
5141 return NULL;
5142}
5143
5144
c32bde28 5145static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5146 PyObject *resultobj;
5147 wxCaret *arg1 = (wxCaret *) 0 ;
5148 PyObject * obj0 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
15afbcd0
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 delete arg1;
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 Py_INCREF(Py_None); resultobj = Py_None;
5164 return resultobj;
5165 fail:
5166 return NULL;
5167}
5168
5169
c32bde28 5170static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5171 PyObject *resultobj;
5172 wxCaret *arg1 = (wxCaret *) 0 ;
5173 bool result;
5174 PyObject * obj0 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
5180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = (bool)(arg1)->IsOk();
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
4f89f6a3
RD
5189 {
5190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5191 }
d14a1e28
RD
5192 return resultobj;
5193 fail:
5194 return NULL;
5195}
5196
5197
c32bde28 5198static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5199 PyObject *resultobj;
5200 wxCaret *arg1 = (wxCaret *) 0 ;
5201 bool result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
5208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)(arg1)->IsVisible();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
4f89f6a3
RD
5217 {
5218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5219 }
d14a1e28
RD
5220 return resultobj;
5221 fail:
5222 return NULL;
5223}
5224
5225
c32bde28 5226static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
5227 PyObject *resultobj;
5228 wxCaret *arg1 = (wxCaret *) 0 ;
5229 wxPoint result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
5236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (arg1)->GetPosition();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 wxPoint * resultptr;
5247 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 5248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
322913ce
RD
5249 }
5250 return resultobj;
5251 fail:
5252 return NULL;
5253}
5254
5255
c32bde28 5256static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5257 PyObject *resultobj;
5258 wxCaret *arg1 = (wxCaret *) 0 ;
5259 int *arg2 = (int *) 0 ;
5260 int *arg3 = (int *) 0 ;
5261 int temp2 ;
c32bde28 5262 int res2 = 0 ;
d14a1e28 5263 int temp3 ;
c32bde28 5264 int res3 = 0 ;
d14a1e28
RD
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
c32bde28
RD
5270 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5271 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->GetPosition(arg2,arg3);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5283 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5284 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5285 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5286 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
5287 return resultobj;
5288 fail:
5289 return NULL;
5290}
5291
5292
c32bde28 5293static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5294 PyObject *resultobj;
5295 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 5296 wxSize result;
d14a1e28
RD
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self", NULL
5300 };
5301
322913ce 5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
5303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 5307 result = (arg1)->GetSize();
d14a1e28
RD
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
322913ce
RD
5313 wxSize * resultptr;
5314 resultptr = new wxSize((wxSize &) result);
15afbcd0 5315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
5316 }
5317 return resultobj;
5318 fail:
5319 return NULL;
5320}
5321
5322
c32bde28 5323static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5324 PyObject *resultobj;
5325 wxCaret *arg1 = (wxCaret *) 0 ;
5326 int *arg2 = (int *) 0 ;
5327 int *arg3 = (int *) 0 ;
5328 int temp2 ;
c32bde28 5329 int res2 = 0 ;
d14a1e28 5330 int temp3 ;
c32bde28 5331 int res3 = 0 ;
d14a1e28
RD
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
c32bde28
RD
5337 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5338 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
5340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->GetSize(arg2,arg3);
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5350 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5351 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5352 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5353 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
5354 return resultobj;
5355 fail:
5356 return NULL;
5357}
5358
5359
c32bde28 5360static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5361 PyObject *resultobj;
5362 wxCaret *arg1 = (wxCaret *) 0 ;
5363 wxWindow *result;
5364 PyObject * obj0 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
5370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (wxWindow *)(arg1)->GetWindow();
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 {
412d302d 5380 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5381 }
5382 return resultobj;
5383 fail:
5384 return NULL;
5385}
5386
5387
c32bde28 5388static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5389 PyObject *resultobj;
5390 wxCaret *arg1 = (wxCaret *) 0 ;
5391 int arg2 ;
5392 int arg3 ;
5393 PyObject * obj0 = 0 ;
994141e6
RD
5394 PyObject * obj1 = 0 ;
5395 PyObject * obj2 = 0 ;
d14a1e28
RD
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "x",(char *) "y", NULL
5398 };
5399
994141e6 5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5403 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5404 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5405 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->Move(arg2,arg3);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 Py_INCREF(Py_None); resultobj = Py_None;
5415 return resultobj;
5416 fail:
5417 return NULL;
5418}
5419
5420
c32bde28 5421static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5422 PyObject *resultobj;
5423 wxCaret *arg1 = (wxCaret *) 0 ;
5424 wxPoint *arg2 = 0 ;
5425 wxPoint temp2 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "pt", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5435 {
5436 arg2 = &temp2;
5437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5438 }
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 (arg1)->Move((wxPoint const &)*arg2);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 Py_INCREF(Py_None); resultobj = Py_None;
5447 return resultobj;
5448 fail:
5449 return NULL;
5450}
5451
5452
c32bde28 5453static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5454 PyObject *resultobj;
5455 wxCaret *arg1 = (wxCaret *) 0 ;
5456 int arg2 ;
5457 int arg3 ;
5458 PyObject * obj0 = 0 ;
994141e6
RD
5459 PyObject * obj1 = 0 ;
5460 PyObject * obj2 = 0 ;
d14a1e28
RD
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "width",(char *) "height", NULL
5463 };
5464
994141e6 5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5468 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5469 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5470 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->SetSize(arg2,arg3);
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 Py_INCREF(Py_None); resultobj = Py_None;
5480 return resultobj;
5481 fail:
5482 return NULL;
5483}
5484
5485
c32bde28 5486static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5487 PyObject *resultobj;
5488 wxCaret *arg1 = (wxCaret *) 0 ;
5489 wxSize *arg2 = 0 ;
5490 wxSize temp2 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "size", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5500 {
5501 arg2 = &temp2;
5502 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->SetSize((wxSize const &)*arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 return resultobj;
5513 fail:
5514 return NULL;
5515}
5516
5517
c32bde28 5518static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5519 PyObject *resultobj;
5520 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 5521 int arg2 = (int) true ;
d14a1e28 5522 PyObject * obj0 = 0 ;
994141e6 5523 PyObject * obj1 = 0 ;
d14a1e28
RD
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "show", NULL
5526 };
5527
994141e6 5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5531 if (obj1) {
c32bde28 5532 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5533 if (PyErr_Occurred()) SWIG_fail;
994141e6 5534 }
d14a1e28
RD
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->Show(arg2);
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 return resultobj;
5544 fail:
5545 return NULL;
5546}
5547
5548
c32bde28 5549static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5550 PyObject *resultobj;
5551 wxCaret *arg1 = (wxCaret *) 0 ;
5552 PyObject * obj0 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
5558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->Hide();
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571}
5572
5573
c32bde28 5574static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5575 PyObject *obj;
5576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5577 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5578 Py_INCREF(obj);
5579 return Py_BuildValue((char *)"");
5580}
c32bde28 5581static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5582 PyObject *resultobj;
5583 int result;
5584 char *kwnames[] = {
5585 NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (int)wxCaret_GetBlinkTime();
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
c32bde28 5596 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5597 return resultobj;
5598 fail:
5599 return NULL;
5600}
5601
5602
c32bde28 5603static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5604 PyObject *resultobj;
5605 int arg1 ;
994141e6 5606 PyObject * obj0 = 0 ;
d14a1e28
RD
5607 char *kwnames[] = {
5608 (char *) "milliseconds", NULL
5609 };
5610
994141e6 5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
c32bde28 5612 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 5613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 wxCaret_SetBlinkTime(arg1);
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 Py_INCREF(Py_None); resultobj = Py_None;
5622 return resultobj;
5623 fail:
5624 return NULL;
5625}
5626
5627
c32bde28 5628static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5629 PyObject *resultobj;
5630 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5631 wxBusyCursor *result;
5632 PyObject * obj0 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "cursor", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5638 if (obj0) {
15afbcd0
RD
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5641 }
5642 {
e3b71cb8 5643 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5646
5647 wxPyEndAllowThreads(__tstate);
110da5b0 5648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5649 }
15afbcd0 5650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
5651 return resultobj;
5652 fail:
5653 return NULL;
5654}
5655
5656
c32bde28 5657static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5658 PyObject *resultobj;
5659 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5660 PyObject * obj0 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 delete arg1;
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 Py_INCREF(Py_None); resultobj = Py_None;
5676 return resultobj;
5677 fail:
5678 return NULL;
5679}
5680
5681
c32bde28 5682static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5683 PyObject *obj;
5684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5685 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5686 Py_INCREF(obj);
5687 return Py_BuildValue((char *)"");
5688}
c32bde28 5689static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5690 PyObject *resultobj;
5691 wxWindow *arg1 = (wxWindow *) NULL ;
5692 wxWindowDisabler *result;
5693 PyObject * obj0 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "winToSkip", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5699 if (obj0) {
15afbcd0
RD
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5702 }
5703 {
e3b71cb8 5704 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5707
5708 wxPyEndAllowThreads(__tstate);
110da5b0 5709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5710 }
15afbcd0 5711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
5712 return resultobj;
5713 fail:
5714 return NULL;
5715}
5716
5717
c32bde28 5718static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5719 PyObject *resultobj;
5720 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5721 PyObject * obj0 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 delete arg1;
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740}
5741
5742
c32bde28 5743static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5744 PyObject *obj;
5745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5746 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5747 Py_INCREF(obj);
5748 return Py_BuildValue((char *)"");
5749}
c32bde28 5750static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5751 PyObject *resultobj;
5752 wxString *arg1 = 0 ;
5753 wxBusyInfo *result;
ae8162c8 5754 bool temp1 = false ;
d14a1e28
RD
5755 PyObject * obj0 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "message", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5761 {
5762 arg1 = wxString_in_helper(obj0);
5763 if (arg1 == NULL) SWIG_fail;
ae8162c8 5764 temp1 = true;
d14a1e28
RD
5765 }
5766 {
e3b71cb8 5767 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5770
5771 wxPyEndAllowThreads(__tstate);
110da5b0 5772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5773 }
15afbcd0 5774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
5775 {
5776 if (temp1)
5777 delete arg1;
5778 }
5779 return resultobj;
5780 fail:
5781 {
5782 if (temp1)
5783 delete arg1;
5784 }
5785 return NULL;
5786}
5787
5788
c32bde28 5789static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5790 PyObject *resultobj;
5791 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 delete arg1;
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
c32bde28 5814static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5815 PyObject *obj;
5816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5817 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5818 Py_INCREF(obj);
5819 return Py_BuildValue((char *)"");
5820}
c32bde28 5821static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5822 PyObject *resultobj;
5823 wxStopWatch *result;
5824 char *kwnames[] = {
5825 NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (wxStopWatch *)new wxStopWatch();
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
15afbcd0 5836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
c32bde28 5843static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5844 PyObject *resultobj;
5845 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5846 long arg2 = (long) 0 ;
5847 PyObject * obj0 = 0 ;
994141e6 5848 PyObject * obj1 = 0 ;
d14a1e28
RD
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "t0", NULL
5851 };
5852
994141e6 5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5856 if (obj1) {
c32bde28 5857 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 5858 if (PyErr_Occurred()) SWIG_fail;
994141e6 5859 }
d14a1e28
RD
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->Start(arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 return resultobj;
5869 fail:
5870 return NULL;
5871}
5872
5873
c32bde28 5874static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5875 PyObject *resultobj;
5876 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
15afbcd0
RD
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->Pause();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 Py_INCREF(Py_None); resultobj = Py_None;
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
c32bde28 5899static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5900 PyObject *resultobj;
5901 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5902 PyObject * obj0 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 (arg1)->Resume();
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 Py_INCREF(Py_None); resultobj = Py_None;
5918 return resultobj;
5919 fail:
5920 return NULL;
5921}
5922
5923
c32bde28 5924static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5925 PyObject *resultobj;
5926 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5927 long result;
5928 PyObject * obj0 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
15afbcd0
RD
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 result = (long)((wxStopWatch const *)arg1)->Time();
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
c32bde28 5943 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
5944 return resultobj;
5945 fail:
5946 return NULL;
5947}
5948
5949
c32bde28 5950static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5951 PyObject *obj;
5952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5953 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5954 Py_INCREF(obj);
5955 return Py_BuildValue((char *)"");
5956}
c32bde28 5957static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5958 PyObject *resultobj;
5959 int arg1 = (int) 9 ;
4cf4100f 5960 int arg2 = (int) wxID_FILE1 ;
d14a1e28 5961 wxFileHistory *result;
994141e6 5962 PyObject * obj0 = 0 ;
4cf4100f 5963 PyObject * obj1 = 0 ;
d14a1e28 5964 char *kwnames[] = {
4cf4100f 5965 (char *) "maxFiles",(char *) "idBase", NULL
d14a1e28
RD
5966 };
5967
4cf4100f 5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
994141e6 5969 if (obj0) {
c32bde28 5970 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 5971 if (PyErr_Occurred()) SWIG_fail;
994141e6 5972 }
4cf4100f 5973 if (obj1) {
c32bde28 5974 arg2 = (int)SWIG_As_int(obj1);
4cf4100f
RD
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
d14a1e28
RD
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 5979 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d14a1e28
RD
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
15afbcd0 5984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
5985 return resultobj;
5986 fail:
5987 return NULL;
5988}
5989
5990
c32bde28 5991static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5992 PyObject *resultobj;
5993 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5994 PyObject * obj0 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
15afbcd0
RD
6000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 delete arg1;
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 Py_INCREF(Py_None); resultobj = Py_None;
6010 return resultobj;
6011 fail:
6012 return NULL;
6013}
6014
6015
c32bde28 6016static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6017 PyObject *resultobj;
6018 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6019 wxString *arg2 = 0 ;
ae8162c8 6020 bool temp2 = false ;
d14a1e28
RD
6021 PyObject * obj0 = 0 ;
6022 PyObject * obj1 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self",(char *) "file", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6030 {
6031 arg2 = wxString_in_helper(obj1);
6032 if (arg2 == NULL) SWIG_fail;
ae8162c8 6033 temp2 = true;
d14a1e28
RD
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 (arg1)->AddFileToHistory((wxString const &)*arg2);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 Py_INCREF(Py_None); resultobj = Py_None;
6043 {
6044 if (temp2)
6045 delete arg2;
6046 }
6047 return resultobj;
6048 fail:
6049 {
6050 if (temp2)
6051 delete arg2;
6052 }
6053 return NULL;
6054}
6055
6056
c32bde28 6057static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6058 PyObject *resultobj;
6059 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6060 int arg2 ;
6061 PyObject * obj0 = 0 ;
994141e6 6062 PyObject * obj1 = 0 ;
d14a1e28
RD
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "i", NULL
6065 };
6066
994141e6 6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6070 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 (arg1)->RemoveFileFromHistory(arg2);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083}
6084
6085
c32bde28 6086static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6087 PyObject *resultobj;
6088 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6089 int result;
6090 PyObject * obj0 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
c32bde28 6105 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6106 return resultobj;
6107 fail:
6108 return NULL;
6109}
6110
6111
c32bde28 6112static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6113 PyObject *resultobj;
6114 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6115 wxMenu *arg2 = (wxMenu *) 0 ;
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "menu", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 (arg1)->UseMenu(arg2);
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 Py_INCREF(Py_None); resultobj = Py_None;
6135 return resultobj;
6136 fail:
6137 return NULL;
6138}
6139
6140
c32bde28 6141static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6142 PyObject *resultobj;
6143 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6144 wxMenu *arg2 = (wxMenu *) 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "menu", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->RemoveMenu(arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
c32bde28 6170static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6171 PyObject *resultobj;
6172 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6173 wxConfigBase *arg2 = 0 ;
6174 PyObject * obj0 = 0 ;
6175 PyObject * obj1 = 0 ;
6176 char *kwnames[] = {
6177 (char *) "self",(char *) "config", NULL
6178 };
6179
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6184 SWIG_POINTER_EXCEPTION | 0)) == -1)
6185 SWIG_fail;
d14a1e28 6186 if (arg2 == NULL) {
15afbcd0
RD
6187 PyErr_SetString(PyExc_TypeError,"null reference");
6188 SWIG_fail;
d14a1e28
RD
6189 }
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->Load(*arg2);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 Py_INCREF(Py_None); resultobj = Py_None;
6198 return resultobj;
6199 fail:
6200 return NULL;
6201}
6202
6203
c32bde28 6204static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6205 PyObject *resultobj;
6206 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6207 wxConfigBase *arg2 = 0 ;
6208 PyObject * obj0 = 0 ;
6209 PyObject * obj1 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "config", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1)
6219 SWIG_fail;
d14a1e28 6220 if (arg2 == NULL) {
15afbcd0
RD
6221 PyErr_SetString(PyExc_TypeError,"null reference");
6222 SWIG_fail;
d14a1e28
RD
6223 }
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 (arg1)->Save(*arg2);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 Py_INCREF(Py_None); resultobj = Py_None;
6232 return resultobj;
6233 fail:
6234 return NULL;
6235}
6236
6237
c32bde28 6238static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6239 PyObject *resultobj;
6240 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6241 PyObject * obj0 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 (arg1)->AddFilesToMenu();
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 Py_INCREF(Py_None); resultobj = Py_None;
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
c32bde28 6263static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6264 PyObject *resultobj;
6265 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6266 wxMenu *arg2 = (wxMenu *) 0 ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "menu", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 (arg1)->AddFilesToMenu(arg2);
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 Py_INCREF(Py_None); resultobj = Py_None;
6286 return resultobj;
6287 fail:
6288 return NULL;
6289}
6290
6291
c32bde28 6292static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6293 PyObject *resultobj;
6294 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6295 int arg2 ;
6296 wxString result;
6297 PyObject * obj0 = 0 ;
994141e6 6298 PyObject * obj1 = 0 ;
d14a1e28
RD
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "i", NULL
6301 };
6302
994141e6 6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6306 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 {
6316#if wxUSE_UNICODE
6317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6318#else
6319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6320#endif
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325}
6326
6327
c32bde28 6328static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6329 PyObject *resultobj;
6330 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6331 int result;
6332 PyObject * obj0 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
6338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (int)((wxFileHistory const *)arg1)->GetCount();
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
c32bde28 6347 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6348 return resultobj;
6349 fail:
6350 return NULL;
6351}
6352
6353
c32bde28 6354static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6355 PyObject *obj;
6356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
6358 Py_INCREF(obj);
6359 return Py_BuildValue((char *)"");
6360}
c32bde28 6361static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6362 PyObject *resultobj;
6363 wxString *arg1 = 0 ;
6364 wxString const &arg2_defvalue = wxPyEmptyString ;
6365 wxString *arg2 = (wxString *) &arg2_defvalue ;
6366 wxSingleInstanceChecker *result;
ae8162c8
RD
6367 bool temp1 = false ;
6368 bool temp2 = false ;
d14a1e28
RD
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "name",(char *) "path", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6376 {
6377 arg1 = wxString_in_helper(obj0);
6378 if (arg1 == NULL) SWIG_fail;
ae8162c8 6379 temp1 = true;
d14a1e28
RD
6380 }
6381 if (obj1) {
6382 {
6383 arg2 = wxString_in_helper(obj1);
6384 if (arg2 == NULL) SWIG_fail;
ae8162c8 6385 temp2 = true;
d14a1e28
RD
6386 }
6387 }
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
15afbcd0 6395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
6396 {
6397 if (temp1)
6398 delete arg1;
6399 }
6400 {
6401 if (temp2)
6402 delete arg2;
6403 }
6404 return resultobj;
6405 fail:
6406 {
6407 if (temp1)
6408 delete arg1;
6409 }
6410 {
6411 if (temp2)
6412 delete arg2;
6413 }
6414 return NULL;
6415}
6416
6417
c32bde28 6418static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6419 PyObject *resultobj;
6420 wxSingleInstanceChecker *result;
6421 char *kwnames[] = {
6422 NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
15afbcd0 6433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
c32bde28 6440static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6441 PyObject *resultobj;
6442 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6443 PyObject * obj0 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
15afbcd0
RD
6449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 delete arg1;
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462}
6463
6464
c32bde28 6465static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6466 PyObject *resultobj;
6467 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6468 wxString *arg2 = 0 ;
6469 wxString const &arg3_defvalue = wxPyEmptyString ;
6470 wxString *arg3 = (wxString *) &arg3_defvalue ;
6471 bool result;
ae8162c8
RD
6472 bool temp2 = false ;
6473 bool temp3 = false ;
d14a1e28
RD
6474 PyObject * obj0 = 0 ;
6475 PyObject * obj1 = 0 ;
6476 PyObject * obj2 = 0 ;
6477 char *kwnames[] = {
6478 (char *) "self",(char *) "name",(char *) "path", NULL
6479 };
6480
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6484 {
6485 arg2 = wxString_in_helper(obj1);
6486 if (arg2 == NULL) SWIG_fail;
ae8162c8 6487 temp2 = true;
d14a1e28
RD
6488 }
6489 if (obj2) {
6490 {
6491 arg3 = wxString_in_helper(obj2);
6492 if (arg3 == NULL) SWIG_fail;
ae8162c8 6493 temp3 = true;
d14a1e28
RD
6494 }
6495 }
6496 {
6497 PyThreadState* __tstate = wxPyBeginAllowThreads();
6498 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6499
6500 wxPyEndAllowThreads(__tstate);
6501 if (PyErr_Occurred()) SWIG_fail;
6502 }
4f89f6a3
RD
6503 {
6504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6505 }
d14a1e28
RD
6506 {
6507 if (temp2)
6508 delete arg2;
6509 }
6510 {
6511 if (temp3)
6512 delete arg3;
6513 }
6514 return resultobj;
6515 fail:
6516 {
6517 if (temp2)
6518 delete arg2;
6519 }
6520 {
6521 if (temp3)
6522 delete arg3;
6523 }
6524 return NULL;
6525}
6526
6527
c32bde28 6528static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6529 PyObject *resultobj;
6530 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6531 bool result;
6532 PyObject * obj0 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
15afbcd0
RD
6538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
4f89f6a3
RD
6547 {
6548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6549 }
d14a1e28
RD
6550 return resultobj;
6551 fail:
6552 return NULL;
6553}
6554
6555
c32bde28 6556static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6557 PyObject *obj;
6558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6560 Py_INCREF(obj);
6561 return Py_BuildValue((char *)"");
6562}
c32bde28 6563static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6564 PyObject *resultobj;
6565 wxWindow *arg1 = (wxWindow *) 0 ;
6566 wxDC *arg2 = 0 ;
6567 int arg3 ;
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
994141e6 6570 PyObject * obj2 = 0 ;
d14a1e28
RD
6571 char *kwnames[] = {
6572 (char *) "window",(char *) "dc",(char *) "method", NULL
6573 };
6574
994141e6 6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6579 SWIG_POINTER_EXCEPTION | 0)) == -1)
6580 SWIG_fail;
d14a1e28 6581 if (arg2 == NULL) {
15afbcd0
RD
6582 PyErr_SetString(PyExc_TypeError,"null reference");
6583 SWIG_fail;
994141e6 6584 }
c32bde28 6585 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 Py_INCREF(Py_None); resultobj = Py_None;
6595 return resultobj;
6596 fail:
6597 return NULL;
6598}
6599
6600
c32bde28 6601static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6602 PyObject *resultobj;
6603 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
6610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 delete arg1;
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 Py_INCREF(Py_None); resultobj = Py_None;
6620 return resultobj;
6621 fail:
6622 return NULL;
6623}
6624
6625
c32bde28 6626static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6627 PyObject *resultobj;
6628 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6629 wxString result;
6630 PyObject * obj0 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
6636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 result = (arg1)->GetTip();
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 {
6646#if wxUSE_UNICODE
6647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6648#else
6649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6650#endif
6651 }
6652 return resultobj;
6653 fail:
6654 return NULL;
6655}
6656
6657
c32bde28 6658static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6659 PyObject *resultobj;
6660 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6661 size_t result;
6662 PyObject * obj0 = 0 ;
6663 char *kwnames[] = {
6664 (char *) "self", NULL
6665 };
6666
6667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
6668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (size_t)(arg1)->GetCurrentTip();
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
c32bde28 6677 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
6678 return resultobj;
6679 fail:
6680 return NULL;
6681}
6682
6683
c32bde28 6684static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6685 PyObject *resultobj;
6686 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6687 wxString *arg2 = 0 ;
6688 wxString result;
ae8162c8 6689 bool temp2 = false ;
d14a1e28
RD
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self",(char *) "tip", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6699 {
6700 arg2 = wxString_in_helper(obj1);
6701 if (arg2 == NULL) SWIG_fail;
ae8162c8 6702 temp2 = true;
d14a1e28
RD
6703 }
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 {
6712#if wxUSE_UNICODE
6713 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6714#else
6715 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6716#endif
6717 }
6718 {
6719 if (temp2)
6720 delete arg2;
6721 }
6722 return resultobj;
6723 fail:
6724 {
6725 if (temp2)
6726 delete arg2;
6727 }
6728 return NULL;
6729}
6730
6731
c32bde28 6732static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6733 PyObject *obj;
6734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6735 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6736 Py_INCREF(obj);
6737 return Py_BuildValue((char *)"");
6738}
c32bde28 6739static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6740 PyObject *resultobj;
6741 size_t arg1 ;
6742 wxPyTipProvider *result;
6743 PyObject * obj0 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "currentTip", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
c32bde28 6749 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 6750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
15afbcd0 6758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
6759 return resultobj;
6760 fail:
6761 return NULL;
6762}
6763
6764
c32bde28 6765static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6766 PyObject *resultobj;
6767 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6768 PyObject *arg2 = (PyObject *) 0 ;
6769 PyObject *arg3 = (PyObject *) 0 ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 PyObject * obj2 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "self",(char *) "_class", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6780 arg2 = obj1;
6781 arg3 = obj2;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->_setCallbackInfo(arg2,arg3);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6797 PyObject *obj;
6798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6799 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6800 Py_INCREF(obj);
6801 return Py_BuildValue((char *)"");
6802}
c32bde28 6803static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6804 PyObject *resultobj;
6805 wxWindow *arg1 = (wxWindow *) 0 ;
6806 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 6807 bool arg3 = (bool) true ;
d14a1e28
RD
6808 bool result;
6809 PyObject * obj0 = 0 ;
6810 PyObject * obj1 = 0 ;
6811 PyObject * obj2 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6821 if (obj2) {
c32bde28 6822 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 6823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6824 }
6825 {
e3b71cb8 6826 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (bool)wxShowTip(arg1,arg2,arg3);
6829
6830 wxPyEndAllowThreads(__tstate);
110da5b0 6831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6832 }
4f89f6a3
RD
6833 {
6834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6835 }
d14a1e28
RD
6836 return resultobj;
6837 fail:
6838 return NULL;
6839}
6840
6841
c32bde28 6842static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6843 PyObject *resultobj;
6844 wxString *arg1 = 0 ;
6845 size_t arg2 ;
6846 wxTipProvider *result;
ae8162c8 6847 bool temp1 = false ;
d14a1e28
RD
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char *kwnames[] = {
6851 (char *) "filename",(char *) "currentTip", NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6855 {
6856 arg1 = wxString_in_helper(obj0);
6857 if (arg1 == NULL) SWIG_fail;
ae8162c8 6858 temp1 = true;
d14a1e28 6859 }
c32bde28 6860 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 6861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6862 {
e3b71cb8 6863 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
110da5b0 6868 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6869 }
15afbcd0 6870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
6871 {
6872 if (temp1)
6873 delete arg1;
6874 }
6875 return resultobj;
6876 fail:
6877 {
6878 if (temp1)
6879 delete arg1;
6880 }
6881 return NULL;
6882}
6883
6884
c32bde28 6885static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6886 PyObject *resultobj;
6887 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6888 int arg2 = (int) -1 ;
6889 wxPyTimer *result;
6890 PyObject * obj0 = 0 ;
994141e6 6891 PyObject * obj1 = 0 ;
d14a1e28
RD
6892 char *kwnames[] = {
6893 (char *) "owner",(char *) "id", NULL
6894 };
6895
994141e6 6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6897 if (obj0) {
15afbcd0
RD
6898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6900 }
994141e6 6901 if (obj1) {
c32bde28 6902 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6903 if (PyErr_Occurred()) SWIG_fail;
994141e6 6904 }
d14a1e28 6905 {
e3b71cb8 6906 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6909
6910 wxPyEndAllowThreads(__tstate);
110da5b0 6911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6912 }
15afbcd0 6913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
6914 return resultobj;
6915 fail:
6916 return NULL;
6917}
6918
6919
c32bde28 6920static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6921 PyObject *resultobj;
6922 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6923 PyObject * obj0 = 0 ;
6924 char *kwnames[] = {
6925 (char *) "self", NULL
6926 };
6927
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
15afbcd0
RD
6929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 delete arg1;
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 Py_INCREF(Py_None); resultobj = Py_None;
6939 return resultobj;
6940 fail:
6941 return NULL;
6942}
6943
6944
c32bde28 6945static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7722248d
RD
6946 PyObject *resultobj;
6947 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6948 PyObject *arg2 = (PyObject *) 0 ;
6949 PyObject *arg3 = (PyObject *) 0 ;
4276dc52 6950 int arg4 = (int) 1 ;
7722248d
RD
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 PyObject * obj2 = 0 ;
4276dc52 6954 PyObject * obj3 = 0 ;
7722248d 6955 char *kwnames[] = {
4276dc52 6956 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7722248d
RD
6957 };
6958
4276dc52 6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722248d
RD
6962 arg2 = obj1;
6963 arg3 = obj2;
4276dc52 6964 if (obj3) {
c32bde28 6965 arg4 = (int)SWIG_As_int(obj3);
4276dc52
RD
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
7722248d
RD
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 6970 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
7722248d
RD
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979}
6980
6981
c32bde28 6982static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6983 PyObject *resultobj;
6984 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6985 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6986 int arg3 = (int) -1 ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
994141e6 6989 PyObject * obj2 = 0 ;
d14a1e28
RD
6990 char *kwnames[] = {
6991 (char *) "self",(char *) "owner",(char *) "id", NULL
6992 };
6993
994141e6 6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6999 if (obj2) {
c32bde28 7000 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7001 if (PyErr_Occurred()) SWIG_fail;
994141e6 7002 }
d14a1e28
RD
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetOwner(arg2,arg3);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014}
7015
7016
c32bde28 7017static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1c0f361b
RD
7018 PyObject *resultobj;
7019 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7020 wxEvtHandler *result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (wxEvtHandler *)(arg1)->GetOwner();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 {
412d302d 7037 resultobj = wxPyMake_wxObject(result, 0);
1c0f361b
RD
7038 }
7039 return resultobj;
7040 fail:
7041 return NULL;
7042}
7043
7044
c32bde28 7045static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7046 PyObject *resultobj;
7047 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7048 int arg2 = (int) -1 ;
ae8162c8 7049 bool arg3 = (bool) false ;
d14a1e28
RD
7050 bool result;
7051 PyObject * obj0 = 0 ;
994141e6 7052 PyObject * obj1 = 0 ;
d14a1e28
RD
7053 PyObject * obj2 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7056 };
7057
994141e6 7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 7061 if (obj1) {
c32bde28 7062 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7063 if (PyErr_Occurred()) SWIG_fail;
994141e6 7064 }
d14a1e28 7065 if (obj2) {
c32bde28 7066 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (bool)(arg1)->Start(arg2,arg3);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
4f89f6a3
RD
7076 {
7077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7078 }
d14a1e28
RD
7079 return resultobj;
7080 fail:
7081 return NULL;
7082}
7083
7084
c32bde28 7085static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7086 PyObject *resultobj;
7087 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7088 PyObject * obj0 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
15afbcd0
RD
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 (arg1)->Stop();
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 Py_INCREF(Py_None); resultobj = Py_None;
7104 return resultobj;
7105 fail:
7106 return NULL;
7107}
7108
7109
c32bde28 7110static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7111 PyObject *resultobj;
7112 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7113 bool result;
7114 PyObject * obj0 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
15afbcd0
RD
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
4f89f6a3
RD
7129 {
7130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7131 }
d14a1e28
RD
7132 return resultobj;
7133 fail:
7134 return NULL;
7135}
7136
7137
c32bde28 7138static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7139 PyObject *resultobj;
7140 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7141 int result;
7142 PyObject * obj0 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
7148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = (int)((wxPyTimer const *)arg1)->GetInterval();
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
c32bde28 7157 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7158 return resultobj;
7159 fail:
7160 return NULL;
7161}
7162
7163
c32bde28 7164static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7165 PyObject *resultobj;
7166 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7167 bool result;
7168 PyObject * obj0 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
15afbcd0
RD
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
4f89f6a3
RD
7183 {
7184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7185 }
d14a1e28
RD
7186 return resultobj;
7187 fail:
7188 return NULL;
7189}
7190
7191
c32bde28 7192static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cc6dd355
RD
7193 PyObject *resultobj;
7194 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7195 int result;
7196 PyObject * obj0 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
7202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cc6dd355
RD
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (int)((wxPyTimer const *)arg1)->GetId();
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
c32bde28 7211 resultobj = SWIG_From_int((int)result);
cc6dd355
RD
7212 return resultobj;
7213 fail:
7214 return NULL;
7215}
7216
7217
c32bde28 7218static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7219 PyObject *obj;
7220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
7222 Py_INCREF(obj);
7223 return Py_BuildValue((char *)"");
7224}
c32bde28 7225static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7226 PyObject *resultobj;
7227 int arg1 = (int) 0 ;
7228 int arg2 = (int) 0 ;
7229 wxTimerEvent *result;
994141e6
RD
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
d14a1e28
RD
7232 char *kwnames[] = {
7233 (char *) "timerid",(char *) "interval", NULL
7234 };
7235
994141e6
RD
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
7237 if (obj0) {
c32bde28 7238 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7239 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7240 }
7241 if (obj1) {
c32bde28 7242 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7243 if (PyErr_Occurred()) SWIG_fail;
994141e6 7244 }
d14a1e28
RD
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
15afbcd0 7252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
c32bde28 7259static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7260 PyObject *resultobj;
7261 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
7262 int result;
7263 PyObject * obj0 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
7269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
c32bde28 7278 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7279 return resultobj;
7280 fail:
7281 return NULL;
7282}
7283
7284
c32bde28 7285static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7286 PyObject *obj;
7287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7288 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
7289 Py_INCREF(obj);
7290 return Py_BuildValue((char *)"");
7291}
c32bde28 7292static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
7293 PyObject *resultobj;
7294 wxTimer *arg1 = 0 ;
7295 wxTimerRunner *result;
7296 PyObject * obj0 = 0 ;
7297
7298 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
15afbcd0
RD
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1)
7301 SWIG_fail;
d14a1e28 7302 if (arg1 == NULL) {
15afbcd0
RD
7303 PyErr_SetString(PyExc_TypeError,"null reference");
7304 SWIG_fail;
d14a1e28
RD
7305 }
7306 {
e3b71cb8 7307 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
7310
7311 wxPyEndAllowThreads(__tstate);
110da5b0 7312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7313 }
15afbcd0 7314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
7315 return resultobj;
7316 fail:
7317 return NULL;
7318}
7319
7320
c32bde28 7321static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
7322 PyObject *resultobj;
7323 wxTimer *arg1 = 0 ;
7324 int arg2 ;
ae8162c8 7325 bool arg3 = (bool) false ;
d14a1e28
RD
7326 wxTimerRunner *result;
7327 PyObject * obj0 = 0 ;
994141e6 7328 PyObject * obj1 = 0 ;
d14a1e28
RD
7329 PyObject * obj2 = 0 ;
7330
994141e6 7331 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7333 SWIG_POINTER_EXCEPTION | 0)) == -1)
7334 SWIG_fail;
d14a1e28 7335 if (arg1 == NULL) {
15afbcd0
RD
7336 PyErr_SetString(PyExc_TypeError,"null reference");
7337 SWIG_fail;
994141e6 7338 }
c32bde28 7339 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7341 if (obj2) {
c32bde28 7342 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7344 }
7345 {
e3b71cb8 7346 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
7349
7350 wxPyEndAllowThreads(__tstate);
110da5b0 7351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7352 }
15afbcd0 7353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
7354 return resultobj;
7355 fail:
7356 return NULL;
7357}
7358
7359
7360static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
7361 int argc;
7362 PyObject *argv[4];
7363 int ii;
7364
7365 argc = PyObject_Length(args);
7366 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
7367 argv[ii] = PyTuple_GetItem(args,ii);
7368 }
7369 if (argc == 1) {
7370 int _v;
7371 {
7372 void *ptr;
15afbcd0 7373 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
7374 _v = 0;
7375 PyErr_Clear();
7376 } else {
7377 _v = 1;
7378 }
7379 }
7380 if (_v) {
7381 return _wrap_new_TimerRunner__SWIG_0(self,args);
7382 }
7383 }
7384 if ((argc >= 2) && (argc <= 3)) {
7385 int _v;
7386 {
7387 void *ptr;
15afbcd0 7388 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
7389 _v = 0;
7390 PyErr_Clear();
7391 } else {
7392 _v = 1;
7393 }
7394 }
7395 if (_v) {
c32bde28 7396 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
7397 if (_v) {
7398 if (argc <= 2) {
7399 return _wrap_new_TimerRunner__SWIG_1(self,args);
7400 }
c32bde28 7401 _v = SWIG_Check_bool(argv[2]);
d14a1e28
RD
7402 if (_v) {
7403 return _wrap_new_TimerRunner__SWIG_1(self,args);
7404 }
7405 }
7406 }
7407 }
7408
7409 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7410 return NULL;
7411}
7412
7413
c32bde28 7414static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7415 PyObject *resultobj;
7416 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7417 PyObject * obj0 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
15afbcd0
RD
7423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 delete arg1;
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436}
7437
7438
c32bde28 7439static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7440 PyObject *resultobj;
7441 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7442 int arg2 ;
ae8162c8 7443 bool arg3 = (bool) false ;
d14a1e28 7444 PyObject * obj0 = 0 ;
994141e6 7445 PyObject * obj1 = 0 ;
d14a1e28
RD
7446 PyObject * obj2 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7449 };
7450
994141e6 7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7454 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7456 if (obj2) {
c32bde28 7457 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 (arg1)->Start(arg2,arg3);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 Py_INCREF(Py_None); resultobj = Py_None;
7468 return resultobj;
7469 fail:
7470 return NULL;
7471}
7472
7473
c32bde28 7474static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7475 PyObject *obj;
7476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7477 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7478 Py_INCREF(obj);
7479 return Py_BuildValue((char *)"");
7480}
c32bde28 7481static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7482 PyObject *resultobj;
7483 wxLog *result;
7484 char *kwnames[] = {
7485 NULL
7486 };
7487
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (wxLog *)new wxLog();
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
15afbcd0 7496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
c32bde28 7503static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7504 PyObject *resultobj;
7505 bool result;
7506 char *kwnames[] = {
7507 NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (bool)wxLog::IsEnabled();
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
4f89f6a3
RD
7518 {
7519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7520 }
d14a1e28
RD
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
c32bde28 7527static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7528 PyObject *resultobj;
ae8162c8 7529 bool arg1 = (bool) true ;
d14a1e28
RD
7530 bool result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "doIt", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7537 if (obj0) {
c32bde28 7538 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 7539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7540 }
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (bool)wxLog::EnableLogging(arg1);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
4f89f6a3
RD
7548 {
7549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7550 }
d14a1e28
RD
7551 return resultobj;
7552 fail:
7553 return NULL;
7554}
7555
7556
c32bde28 7557static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7558 PyObject *resultobj;
7559 wxLogLevel arg1 ;
7560 wxChar *arg2 = (wxChar *) 0 ;
7561 time_t arg3 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 PyObject * obj2 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "level",(char *) "szString",(char *) "t", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 7570 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
15afbcd0
RD
7571 if (PyErr_Occurred()) SWIG_fail;
7572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7574 arg3 = (time_t)SWIG_As_unsigned_SS_int(obj2);
15afbcd0 7575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
c32bde28 7590static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7591 PyObject *resultobj;
7592 wxLog *arg1 = (wxLog *) 0 ;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->Flush();
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 Py_INCREF(Py_None); resultobj = Py_None;
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
c32bde28 7615static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7616 PyObject *resultobj;
7617 char *kwnames[] = {
7618 NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 wxLog::FlushActive();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633}
7634
7635
c32bde28 7636static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7637 PyObject *resultobj;
7638 wxLog *result;
7639 char *kwnames[] = {
7640 NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (wxLog *)wxLog::GetActiveTarget();
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
15afbcd0 7651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7652 return resultobj;
7653 fail:
7654 return NULL;
7655}
7656
7657
c32bde28 7658static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7659 PyObject *resultobj;
7660 wxLog *arg1 = (wxLog *) 0 ;
7661 wxLog *result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "pLogger", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
7668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
15afbcd0 7677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
c32bde28 7684static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7685 PyObject *resultobj;
7686 char *kwnames[] = {
7687 NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 wxLog::Suspend();
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 Py_INCREF(Py_None); resultobj = Py_None;
7699 return resultobj;
7700 fail:
7701 return NULL;
7702}
7703
7704
c32bde28 7705static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7706 PyObject *resultobj;
7707 char *kwnames[] = {
7708 NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 wxLog::Resume();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 Py_INCREF(Py_None); resultobj = Py_None;
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
c32bde28 7726static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7727 PyObject *resultobj;
ae8162c8 7728 bool arg1 = (bool) true ;
d14a1e28
RD
7729 PyObject * obj0 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "bVerbose", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7735 if (obj0) {
c32bde28 7736 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 7737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 wxLog::SetVerbose(arg1);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 Py_INCREF(Py_None); resultobj = Py_None;
7747 return resultobj;
7748 fail:
7749 return NULL;
7750}
7751
7752
c32bde28 7753static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7754 PyObject *resultobj;
7755 wxLogLevel arg1 ;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "logLevel", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
c32bde28 7762 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 7763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 wxLog::SetLogLevel(arg1);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 return resultobj;
7773 fail:
7774 return NULL;
7775}
7776
7777
c32bde28 7778static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7779 PyObject *resultobj;
7780 char *kwnames[] = {
7781 NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 wxLog::DontCreateOnDemand();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 Py_INCREF(Py_None); resultobj = Py_None;
7793 return resultobj;
7794 fail:
7795 return NULL;
7796}
7797
7798
c32bde28 7799static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7800 PyObject *resultobj;
7801 wxTraceMask arg1 ;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "ulMask", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
c32bde28 7808 arg1 = (wxTraceMask)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 7809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 wxLog::SetTraceMask(arg1);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 Py_INCREF(Py_None); resultobj = Py_None;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
c32bde28 7824static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7825 PyObject *resultobj;
7826 wxString *arg1 = 0 ;
ae8162c8 7827 bool temp1 = false ;
d14a1e28
RD
7828 PyObject * obj0 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "str", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7834 {
7835 arg1 = wxString_in_helper(obj0);
7836 if (arg1 == NULL) SWIG_fail;
ae8162c8 7837 temp1 = true;
d14a1e28
RD
7838 }
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 wxLog::AddTraceMask((wxString const &)*arg1);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 {
7848 if (temp1)
7849 delete arg1;
7850 }
7851 return resultobj;
7852 fail:
7853 {
7854 if (temp1)
7855 delete arg1;
7856 }
7857 return NULL;
7858}
7859
7860
c32bde28 7861static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7862 PyObject *resultobj;
7863 wxString *arg1 = 0 ;
ae8162c8 7864 bool temp1 = false ;
d14a1e28
RD
7865 PyObject * obj0 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "str", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7871 {
7872 arg1 = wxString_in_helper(obj0);
7873 if (arg1 == NULL) SWIG_fail;
ae8162c8 7874 temp1 = true;
d14a1e28
RD
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 wxLog::RemoveTraceMask((wxString const &)*arg1);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 {
7885 if (temp1)
7886 delete arg1;
7887 }
7888 return resultobj;
7889 fail:
7890 {
7891 if (temp1)
7892 delete arg1;
7893 }
7894 return NULL;
7895}
7896
7897
c32bde28 7898static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7899 PyObject *resultobj;
7900 char *kwnames[] = {
7901 NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 wxLog::ClearTraceMasks();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 Py_INCREF(Py_None); resultobj = Py_None;
7913 return resultobj;
7914 fail:
7915 return NULL;
7916}
7917
7918
c32bde28 7919static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7920 PyObject *resultobj;
7921 wxArrayString *result;
7922 char *kwnames[] = {
7923 NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 {
7930 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7931 result = (wxArrayString *) &_result_ref;
7932 }
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 {
7938 resultobj = wxArrayString2PyList_helper(*result);
7939 }
7940 return resultobj;
7941 fail:
7942 return NULL;
7943}
7944
7945
c32bde28 7946static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7947 PyObject *resultobj;
7948 wxChar *arg1 = (wxChar *) 0 ;
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "ts", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
7955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 wxLog::SetTimestamp((wxChar const *)arg1);
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 Py_INCREF(Py_None); resultobj = Py_None;
7965 return resultobj;
7966 fail:
7967 return NULL;
7968}
7969
7970
c32bde28 7971static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7972 PyObject *resultobj;
7973 bool result;
7974 char *kwnames[] = {
7975 NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (bool)wxLog::GetVerbose();
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
4f89f6a3
RD
7986 {
7987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7988 }
d14a1e28
RD
7989 return resultobj;
7990 fail:
7991 return NULL;
7992}
7993
7994
c32bde28 7995static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7996 PyObject *resultobj;
7997 wxTraceMask result;
7998 char *kwnames[] = {
7999 NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 result = (wxTraceMask)wxLog::GetTraceMask();
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
c32bde28 8010 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
8011 return resultobj;
8012 fail:
8013 return NULL;
8014}
8015
8016
c32bde28 8017static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8018 PyObject *resultobj;
8019 wxChar *arg1 = (wxChar *) 0 ;
8020 bool result;
8021 PyObject * obj0 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "mask", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
8027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
8028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
4f89f6a3
RD
8036 {
8037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8038 }
d14a1e28
RD
8039 return resultobj;
8040 fail:
8041 return NULL;
8042}
8043
8044
c32bde28 8045static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8046 PyObject *resultobj;
8047 wxLogLevel result;
8048 char *kwnames[] = {
8049 NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (wxLogLevel)wxLog::GetLogLevel();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
c32bde28 8060 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
8061 return resultobj;
8062 fail:
8063 return NULL;
8064}
8065
8066
c32bde28 8067static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8068 PyObject *resultobj;
8069 wxChar *result;
8070 char *kwnames[] = {
8071 NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (wxChar *)wxLog::GetTimestamp();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
15afbcd0 8082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
8083 return resultobj;
8084 fail:
8085 return NULL;
8086}
8087
8088
c32bde28 8089static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8090 PyObject *resultobj;
8091 wxString result;
8092 char *kwnames[] = {
8093 NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = Log_TimeStamp();
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 {
8105#if wxUSE_UNICODE
8106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8107#else
8108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8109#endif
8110 }
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
c32bde28 8117static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8118 PyObject *resultobj;
8119 wxLog *arg1 = (wxLog *) 0 ;
8120 PyObject * obj0 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 wxLog_Destroy(arg1);
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 Py_INCREF(Py_None); resultobj = Py_None;
8136 return resultobj;
8137 fail:
8138 return NULL;
8139}
8140
8141
c32bde28 8142static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8143 PyObject *obj;
8144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8145 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
8146 Py_INCREF(obj);
8147 return Py_BuildValue((char *)"");
8148}
c32bde28 8149static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8150 PyObject *resultobj;
8151 wxLogStderr *result;
8152 char *kwnames[] = {
8153 NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (wxLogStderr *)new wxLogStderr();
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
15afbcd0 8164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
8165 return resultobj;
8166 fail:
8167 return NULL;
8168}
8169
8170
c32bde28 8171static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8172 PyObject *obj;
8173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8174 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
8175 Py_INCREF(obj);
8176 return Py_BuildValue((char *)"");
8177}
c32bde28 8178static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8179 PyObject *resultobj;
8180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8181 wxLogTextCtrl *result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "pTextCtrl", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
15afbcd0 8197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
c32bde28 8204static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8205 PyObject *obj;
8206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8207 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
8208 Py_INCREF(obj);
8209 return Py_BuildValue((char *)"");
8210}
c32bde28 8211static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8212 PyObject *resultobj;
8213 wxLogGui *result;
8214 char *kwnames[] = {
8215 NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (wxLogGui *)new wxLogGui();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
15afbcd0 8226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
8227 return resultobj;
8228 fail:
8229 return NULL;
8230}
8231
8232
c32bde28 8233static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8234 PyObject *obj;
8235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8236 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
8237 Py_INCREF(obj);
8238 return Py_BuildValue((char *)"");
8239}
c32bde28 8240static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8241 PyObject *resultobj;
8242 wxFrame *arg1 = (wxFrame *) 0 ;
8243 wxString *arg2 = 0 ;
ae8162c8
RD
8244 bool arg3 = (bool) true ;
8245 bool arg4 = (bool) true ;
d14a1e28 8246 wxLogWindow *result;
ae8162c8 8247 bool temp2 = false ;
d14a1e28
RD
8248 PyObject * obj0 = 0 ;
8249 PyObject * obj1 = 0 ;
8250 PyObject * obj2 = 0 ;
8251 PyObject * obj3 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8259 {
8260 arg2 = wxString_in_helper(obj1);
8261 if (arg2 == NULL) SWIG_fail;
ae8162c8 8262 temp2 = true;
d14a1e28
RD
8263 }
8264 if (obj2) {
c32bde28 8265 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 8266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8267 }
8268 if (obj3) {
c32bde28 8269 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8271 }
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
15afbcd0 8279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
8280 {
8281 if (temp2)
8282 delete arg2;
8283 }
8284 return resultobj;
8285 fail:
8286 {
8287 if (temp2)
8288 delete arg2;
8289 }
8290 return NULL;
8291}
8292
8293
c32bde28 8294static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8295 PyObject *resultobj;
8296 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 8297 bool arg2 = (bool) true ;
d14a1e28
RD
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "bShow", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8307 if (obj1) {
c32bde28 8308 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8310 }
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 (arg1)->Show(arg2);
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 return resultobj;
8320 fail:
8321 return NULL;
8322}
8323
8324
c32bde28 8325static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8326 PyObject *resultobj;
8327 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8328 wxFrame *result;
8329 PyObject * obj0 = 0 ;
8330 char *kwnames[] = {
8331 (char *) "self", NULL
8332 };
8333
8334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
8335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 {
412d302d 8345 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8346 }
8347 return resultobj;
8348 fail:
8349 return NULL;
8350}
8351
8352
c32bde28 8353static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8354 PyObject *resultobj;
8355 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8356 wxLog *result;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
15afbcd0
RD
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
15afbcd0 8372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
8373 return resultobj;
8374 fail:
8375 return NULL;
8376}
8377
8378
c32bde28 8379static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8380 PyObject *resultobj;
8381 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8382 bool result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
15afbcd0
RD
8389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
4f89f6a3
RD
8398 {
8399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8400 }
d14a1e28
RD
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c32bde28 8407static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8408 PyObject *resultobj;
8409 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8410 bool arg2 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "bDoPass", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8420 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->PassMessages(arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
c32bde28 8436static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8437 PyObject *obj;
8438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8439 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8440 Py_INCREF(obj);
8441 return Py_BuildValue((char *)"");
8442}
c32bde28 8443static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8444 PyObject *resultobj;
8445 wxLog *arg1 = (wxLog *) 0 ;
8446 wxLogChain *result;
8447 PyObject * obj0 = 0 ;
8448 char *kwnames[] = {
8449 (char *) "logger", NULL
8450 };
8451
8452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
15afbcd0
RD
8453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 result = (wxLogChain *)new wxLogChain(arg1);
8458
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
15afbcd0 8462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
8463 return resultobj;
8464 fail:
8465 return NULL;
8466}
8467
8468
c32bde28 8469static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8470 PyObject *resultobj;
8471 wxLogChain *arg1 = (wxLogChain *) 0 ;
8472 wxLog *arg2 = (wxLog *) 0 ;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self",(char *) "logger", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 (arg1)->SetLog(arg2);
8487
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 Py_INCREF(Py_None); resultobj = Py_None;
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
c32bde28 8498static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8499 PyObject *resultobj;
8500 wxLogChain *arg1 = (wxLogChain *) 0 ;
8501 bool arg2 ;
8502 PyObject * obj0 = 0 ;
8503 PyObject * obj1 = 0 ;
8504 char *kwnames[] = {
8505 (char *) "self",(char *) "bDoPass", NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8511 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 (arg1)->PassMessages(arg2);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 Py_INCREF(Py_None); resultobj = Py_None;
8521 return resultobj;
8522 fail:
8523 return NULL;
8524}
8525
8526
c32bde28 8527static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8528 PyObject *resultobj;
8529 wxLogChain *arg1 = (wxLogChain *) 0 ;
8530 bool result;
8531 PyObject * obj0 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "self", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
15afbcd0
RD
8537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (bool)(arg1)->IsPassingMessages();
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
4f89f6a3
RD
8546 {
8547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8548 }
d14a1e28
RD
8549 return resultobj;
8550 fail:
8551 return NULL;
8552}
8553
8554
c32bde28 8555static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8556 PyObject *resultobj;
8557 wxLogChain *arg1 = (wxLogChain *) 0 ;
8558 wxLog *result;
8559 PyObject * obj0 = 0 ;
8560 char *kwnames[] = {
8561 (char *) "self", NULL
8562 };
8563
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
15afbcd0
RD
8565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (wxLog *)(arg1)->GetOldLog();
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
15afbcd0 8574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
8575 return resultobj;
8576 fail:
8577 return NULL;
8578}
8579
8580
c32bde28 8581static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8582 PyObject *obj;
8583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8585 Py_INCREF(obj);
8586 return Py_BuildValue((char *)"");
8587}
c32bde28 8588static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8589 PyObject *resultobj;
8590 unsigned long result;
8591 char *kwnames[] = {
8592 NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (unsigned long)wxSysErrorCode();
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
c32bde28 8603 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
8604 return resultobj;
8605 fail:
8606 return NULL;
8607}
8608
8609
c32bde28 8610static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8611 PyObject *resultobj;
8612 unsigned long arg1 = (unsigned long) 0 ;
8613 wxString result;
8614 PyObject * obj0 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "nErrCode", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8620 if (obj0) {
c32bde28 8621 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 8622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8623 }
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = wxSysErrorMsg(arg1);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 {
8632#if wxUSE_UNICODE
8633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8634#else
8635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8636#endif
8637 }
8638 return resultobj;
8639 fail:
8640 return NULL;
8641}
8642
8643
c32bde28 8644static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8645 PyObject *resultobj;
8646 wxString *arg1 = 0 ;
ae8162c8 8647 bool temp1 = false ;
d14a1e28
RD
8648 PyObject * obj0 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "msg", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8654 {
8655 arg1 = wxString_in_helper(obj0);
8656 if (arg1 == NULL) SWIG_fail;
ae8162c8 8657 temp1 = true;
d14a1e28
RD
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8661 wxPyLogFatalError((wxString const &)*arg1);
d14a1e28
RD
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 {
8668 if (temp1)
8669 delete arg1;
8670 }
8671 return resultobj;
8672 fail:
8673 {
8674 if (temp1)
8675 delete arg1;
8676 }
8677 return NULL;
8678}
8679
8680
c32bde28 8681static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8682 PyObject *resultobj;
8683 wxString *arg1 = 0 ;
ae8162c8 8684 bool temp1 = false ;
d14a1e28
RD
8685 PyObject * obj0 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "msg", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8691 {
8692 arg1 = wxString_in_helper(obj0);
8693 if (arg1 == NULL) SWIG_fail;
ae8162c8 8694 temp1 = true;
d14a1e28
RD
8695 }
8696 {
8697 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8698 wxPyLogError((wxString const &)*arg1);
d14a1e28
RD
8699
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 Py_INCREF(Py_None); resultobj = Py_None;
8704 {
8705 if (temp1)
8706 delete arg1;
8707 }
8708 return resultobj;
8709 fail:
8710 {
8711 if (temp1)
8712 delete arg1;
8713 }
8714 return NULL;
8715}
8716
8717
c32bde28 8718static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8719 PyObject *resultobj;
8720 wxString *arg1 = 0 ;
ae8162c8 8721 bool temp1 = false ;
d14a1e28
RD
8722 PyObject * obj0 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "msg", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8728 {
8729 arg1 = wxString_in_helper(obj0);
8730 if (arg1 == NULL) SWIG_fail;
ae8162c8 8731 temp1 = true;
d14a1e28
RD
8732 }
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8735 wxPyLogWarning((wxString const &)*arg1);
d14a1e28
RD
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 Py_INCREF(Py_None); resultobj = Py_None;
8741 {
8742 if (temp1)
8743 delete arg1;
8744 }
8745 return resultobj;
8746 fail:
8747 {
8748 if (temp1)
8749 delete arg1;
8750 }
8751 return NULL;
8752}
8753
8754
c32bde28 8755static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8756 PyObject *resultobj;
8757 wxString *arg1 = 0 ;
ae8162c8 8758 bool temp1 = false ;
d14a1e28
RD
8759 PyObject * obj0 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "msg", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8765 {
8766 arg1 = wxString_in_helper(obj0);
8767 if (arg1 == NULL) SWIG_fail;
ae8162c8 8768 temp1 = true;
d14a1e28
RD
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8772 wxPyLogMessage((wxString const &)*arg1);
d14a1e28
RD
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 {
8779 if (temp1)
8780 delete arg1;
8781 }
8782 return resultobj;
8783 fail:
8784 {
8785 if (temp1)
8786 delete arg1;
8787 }
8788 return NULL;
8789}
8790
8791
c32bde28 8792static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 wxString *arg1 = 0 ;
ae8162c8 8795 bool temp1 = false ;
d14a1e28
RD
8796 PyObject * obj0 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "msg", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8802 {
8803 arg1 = wxString_in_helper(obj0);
8804 if (arg1 == NULL) SWIG_fail;
ae8162c8 8805 temp1 = true;
d14a1e28
RD
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8809 wxPyLogInfo((wxString const &)*arg1);
d14a1e28
RD
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 {
8816 if (temp1)
8817 delete arg1;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp1)
8823 delete arg1;
8824 }
8825 return NULL;
8826}
8827
8828
c32bde28 8829static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8830 PyObject *resultobj;
8831 wxString *arg1 = 0 ;
ae8162c8 8832 bool temp1 = false ;
d14a1e28
RD
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "msg", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8839 {
8840 arg1 = wxString_in_helper(obj0);
8841 if (arg1 == NULL) SWIG_fail;
ae8162c8 8842 temp1 = true;
d14a1e28
RD
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8846 wxPyLogDebug((wxString const &)*arg1);
d14a1e28
RD
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 Py_INCREF(Py_None); resultobj = Py_None;
8852 {
8853 if (temp1)
8854 delete arg1;
8855 }
8856 return resultobj;
8857 fail:
8858 {
8859 if (temp1)
8860 delete arg1;
8861 }
8862 return NULL;
8863}
8864
8865
c32bde28 8866static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8867 PyObject *resultobj;
8868 wxString *arg1 = 0 ;
ae8162c8 8869 bool temp1 = false ;
d14a1e28
RD
8870 PyObject * obj0 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "msg", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8876 {
8877 arg1 = wxString_in_helper(obj0);
8878 if (arg1 == NULL) SWIG_fail;
ae8162c8 8879 temp1 = true;
d14a1e28
RD
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8883 wxPyLogVerbose((wxString const &)*arg1);
d14a1e28
RD
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 {
8890 if (temp1)
8891 delete arg1;
8892 }
8893 return resultobj;
8894 fail:
8895 {
8896 if (temp1)
8897 delete arg1;
8898 }
8899 return NULL;
8900}
8901
8902
c32bde28 8903static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8904 PyObject *resultobj;
8905 wxString *arg1 = 0 ;
ae8162c8 8906 bool temp1 = false ;
d14a1e28
RD
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "msg", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8913 {
8914 arg1 = wxString_in_helper(obj0);
8915 if (arg1 == NULL) SWIG_fail;
ae8162c8 8916 temp1 = true;
d14a1e28
RD
8917 }
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8920 wxPyLogStatus((wxString const &)*arg1);
d14a1e28
RD
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 Py_INCREF(Py_None); resultobj = Py_None;
8926 {
8927 if (temp1)
8928 delete arg1;
8929 }
8930 return resultobj;
8931 fail:
8932 {
8933 if (temp1)
8934 delete arg1;
8935 }
8936 return NULL;
8937}
8938
8939
c32bde28 8940static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8941 PyObject *resultobj;
8942 wxFrame *arg1 = (wxFrame *) 0 ;
8943 wxString *arg2 = 0 ;
ae8162c8 8944 bool temp2 = false ;
d14a1e28
RD
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "pFrame",(char *) "msg", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8954 {
8955 arg2 = wxString_in_helper(obj1);
8956 if (arg2 == NULL) SWIG_fail;
ae8162c8 8957 temp2 = true;
d14a1e28
RD
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8961 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d14a1e28
RD
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 {
8968 if (temp2)
8969 delete arg2;
8970 }
8971 return resultobj;
8972 fail:
8973 {
8974 if (temp2)
8975 delete arg2;
8976 }
8977 return NULL;
8978}
8979
8980
c32bde28 8981static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8982 PyObject *resultobj;
8983 wxString *arg1 = 0 ;
ae8162c8 8984 bool temp1 = false ;
d14a1e28
RD
8985 PyObject * obj0 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "msg", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8991 {
8992 arg1 = wxString_in_helper(obj0);
8993 if (arg1 == NULL) SWIG_fail;
ae8162c8 8994 temp1 = true;
d14a1e28
RD
8995 }
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8998 wxPyLogSysError((wxString const &)*arg1);
d14a1e28
RD
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 {
9005 if (temp1)
9006 delete arg1;
9007 }
9008 return resultobj;
9009 fail:
9010 {
9011 if (temp1)
9012 delete arg1;
9013 }
9014 return NULL;
9015}
9016
9017
f78cc896
RD
9018static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 unsigned long arg1 ;
9021 wxString *arg2 = 0 ;
9022 bool temp2 = false ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 char *kwnames[] = {
9026 (char *) "level",(char *) "msg", NULL
9027 };
9028
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
9030 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 {
9033 arg2 = wxString_in_helper(obj1);
9034 if (arg2 == NULL) SWIG_fail;
9035 temp2 = true;
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 wxPyLogGeneric(arg1,(wxString const &)*arg2);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 Py_INCREF(Py_None); resultobj = Py_None;
9045 {
9046 if (temp2)
9047 delete arg2;
9048 }
9049 return resultobj;
9050 fail:
9051 {
9052 if (temp2)
9053 delete arg2;
9054 }
9055 return NULL;
9056}
9057
9058
c32bde28 9059static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 9060 PyObject *resultobj;
cc6dd355
RD
9061 unsigned long arg1 ;
9062 wxString *arg2 = 0 ;
ae8162c8 9063 bool temp2 = false ;
d14a1e28 9064 PyObject * obj0 = 0 ;
cc6dd355 9065 PyObject * obj1 = 0 ;
d14a1e28 9066
cc6dd355 9067 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
c32bde28 9068 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 9069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9070 {
cc6dd355
RD
9071 arg2 = wxString_in_helper(obj1);
9072 if (arg2 == NULL) SWIG_fail;
ae8162c8 9073 temp2 = true;
d14a1e28
RD
9074 }
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 9077 wxPyLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 Py_INCREF(Py_None); resultobj = Py_None;
9083 {
cc6dd355
RD
9084 if (temp2)
9085 delete arg2;
d14a1e28
RD
9086 }
9087 return resultobj;
9088 fail:
9089 {
cc6dd355
RD
9090 if (temp2)
9091 delete arg2;
d14a1e28
RD
9092 }
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
9098 PyObject *resultobj;
9099 wxString *arg1 = 0 ;
9100 wxString *arg2 = 0 ;
ae8162c8
RD
9101 bool temp1 = false ;
9102 bool temp2 = false ;
d14a1e28
RD
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
d14a1e28 9105
cc6dd355 9106 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
9107 {
9108 arg1 = wxString_in_helper(obj0);
9109 if (arg1 == NULL) SWIG_fail;
ae8162c8 9110 temp1 = true;
d14a1e28
RD
9111 }
9112 {
9113 arg2 = wxString_in_helper(obj1);
9114 if (arg2 == NULL) SWIG_fail;
ae8162c8 9115 temp2 = true;
d14a1e28
RD
9116 }
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 9119 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d14a1e28
RD
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 {
9126 if (temp1)
9127 delete arg1;
9128 }
9129 {
9130 if (temp2)
9131 delete arg2;
9132 }
9133 return resultobj;
9134 fail:
9135 {
9136 if (temp1)
9137 delete arg1;
9138 }
9139 {
9140 if (temp2)
9141 delete arg2;
9142 }
9143 return NULL;
9144}
9145
9146
cc6dd355
RD
9147static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
9148 int argc;
9149 PyObject *argv[3];
9150 int ii;
9151
9152 argc = PyObject_Length(args);
9153 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
9154 argv[ii] = PyTuple_GetItem(args,ii);
9155 }
9156 if (argc == 2) {
9157 int _v;
9158 {
4d5c3d91 9159 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
cc6dd355
RD
9160 }
9161 if (_v) {
9162 {
4d5c3d91 9163 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
9164 }
9165 if (_v) {
9166 return _wrap_LogTrace__SWIG_1(self,args);
9167 }
9168 }
9169 }
9170 if (argc == 2) {
9171 int _v;
c32bde28 9172 _v = SWIG_Check_unsigned_SS_long(argv[0]);
cc6dd355
RD
9173 if (_v) {
9174 {
4d5c3d91 9175 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
9176 }
9177 if (_v) {
9178 return _wrap_LogTrace__SWIG_0(self,args);
9179 }
9180 }
9181 }
9182
9183 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
9184 return NULL;
9185}
9186
9187
c32bde28 9188static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9189 PyObject *resultobj;
9190 wxString *arg1 = 0 ;
9191 wxString *arg2 = 0 ;
ae8162c8
RD
9192 bool temp1 = false ;
9193 bool temp2 = false ;
d14a1e28
RD
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "title",(char *) "text", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
9201 {
9202 arg1 = wxString_in_helper(obj0);
9203 if (arg1 == NULL) SWIG_fail;
ae8162c8 9204 temp1 = true;
d14a1e28
RD
9205 }
9206 {
9207 arg2 = wxString_in_helper(obj1);
9208 if (arg2 == NULL) SWIG_fail;
ae8162c8 9209 temp2 = true;
d14a1e28
RD
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 {
9220 if (temp1)
9221 delete arg1;
9222 }
9223 {
9224 if (temp2)
9225 delete arg2;
9226 }
9227 return resultobj;
9228 fail:
9229 {
9230 if (temp1)
9231 delete arg1;
9232 }
9233 {
9234 if (temp2)
9235 delete arg2;
9236 }
9237 return NULL;
9238}
9239
9240
c32bde28 9241static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9242 PyObject *resultobj;
9243 wxLogNull *result;
9244 char *kwnames[] = {
9245 NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (wxLogNull *)new wxLogNull();
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
15afbcd0 9256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
9257 return resultobj;
9258 fail:
9259 return NULL;
9260}
9261
9262
c32bde28 9263static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9264 PyObject *resultobj;
9265 wxLogNull *arg1 = (wxLogNull *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
9272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
9273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 delete arg1;
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285}
9286
9287
c32bde28 9288static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9289 PyObject *obj;
9290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9291 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
9292 Py_INCREF(obj);
9293 return Py_BuildValue((char *)"");
9294}
c32bde28 9295static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9296 PyObject *resultobj;
9297 wxPyLog *result;
9298 char *kwnames[] = {
9299 NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 result = (wxPyLog *)new wxPyLog();
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
15afbcd0 9310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
9311 return resultobj;
9312 fail:
9313 return NULL;
9314}
9315
9316
c32bde28 9317static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9318 PyObject *resultobj;
9319 wxPyLog *arg1 = (wxPyLog *) 0 ;
9320 PyObject *arg2 = (PyObject *) 0 ;
9321 PyObject *arg3 = (PyObject *) 0 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 PyObject * obj2 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "self",(char *) "_class", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9332 arg2 = obj1;
9333 arg3 = obj2;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 (arg1)->_setCallbackInfo(arg2,arg3);
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 Py_INCREF(Py_None); resultobj = Py_None;
9342 return resultobj;
9343 fail:
9344 return NULL;
9345}
9346
9347
c32bde28 9348static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9349 PyObject *obj;
9350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9351 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
9352 Py_INCREF(obj);
9353 return Py_BuildValue((char *)"");
9354}
c32bde28 9355static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9356 PyObject *resultobj;
9357 int arg1 ;
9358 int arg2 = (int) wxSIGTERM ;
1823fbb4 9359 int arg3 = (int) wxKILL_NOCHILDREN ;
d14a1e28 9360 int result;
994141e6
RD
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj1 = 0 ;
1823fbb4 9363 PyObject * obj2 = 0 ;
d14a1e28 9364 char *kwnames[] = {
1823fbb4 9365 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d14a1e28
RD
9366 };
9367
1823fbb4 9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 9369 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9370 if (PyErr_Occurred()) SWIG_fail;
994141e6 9371 if (obj1) {
c32bde28 9372 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9373 if (PyErr_Occurred()) SWIG_fail;
994141e6 9374 }
1823fbb4
RD
9375 if (obj2) {
9376 arg3 = (int)SWIG_As_int(obj2);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
d14a1e28
RD
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823fbb4 9381 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
d14a1e28
RD
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
c32bde28 9386 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9387 return resultobj;
9388 fail:
9389 return NULL;
9390}
9391
9392
c32bde28 9393static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9394 PyObject *resultobj;
9395 int arg1 ;
9396 bool result;
994141e6 9397 PyObject * obj0 = 0 ;
d14a1e28
RD
9398 char *kwnames[] = {
9399 (char *) "pid", NULL
9400 };
9401
994141e6 9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
c32bde28 9403 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (bool)wxPyProcess::Exists(arg1);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
4f89f6a3
RD
9412 {
9413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9414 }
d14a1e28
RD
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
c32bde28 9421static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9422 PyObject *resultobj;
9423 wxString *arg1 = 0 ;
9424 int arg2 = (int) wxEXEC_ASYNC ;
9425 wxPyProcess *result;
ae8162c8 9426 bool temp1 = false ;
d14a1e28 9427 PyObject * obj0 = 0 ;
994141e6 9428 PyObject * obj1 = 0 ;
d14a1e28
RD
9429 char *kwnames[] = {
9430 (char *) "cmd",(char *) "flags", NULL
9431 };
9432
994141e6 9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9434 {
9435 arg1 = wxString_in_helper(obj0);
9436 if (arg1 == NULL) SWIG_fail;
ae8162c8 9437 temp1 = true;
d14a1e28 9438 }
994141e6 9439 if (obj1) {
c32bde28 9440 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9441 if (PyErr_Occurred()) SWIG_fail;
994141e6 9442 }
d14a1e28
RD
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
15afbcd0 9450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
9451 {
9452 if (temp1)
9453 delete arg1;
9454 }
9455 return resultobj;
9456 fail:
9457 {
9458 if (temp1)
9459 delete arg1;
9460 }
9461 return NULL;
9462}
9463
9464
c32bde28 9465static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9466 PyObject *resultobj;
9467 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9468 int arg2 = (int) -1 ;
9469 wxPyProcess *result;
9470 PyObject * obj0 = 0 ;
994141e6 9471 PyObject * obj1 = 0 ;
d14a1e28
RD
9472 char *kwnames[] = {
9473 (char *) "parent",(char *) "id", NULL
9474 };
9475
994141e6 9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9477 if (obj0) {
15afbcd0
RD
9478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9480 }
994141e6 9481 if (obj1) {
c32bde28 9482 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9483 if (PyErr_Occurred()) SWIG_fail;
994141e6 9484 }
d14a1e28
RD
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
15afbcd0 9492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
9493 return resultobj;
9494 fail:
9495 return NULL;
9496}
9497
9498
c32bde28 9499static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9500 PyObject *resultobj;
9501 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9502 PyObject *arg2 = (PyObject *) 0 ;
9503 PyObject *arg3 = (PyObject *) 0 ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 PyObject * obj2 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self",(char *) "self",(char *) "_class", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9514 arg2 = obj1;
9515 arg3 = obj2;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 (arg1)->_setCallbackInfo(arg2,arg3);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 Py_INCREF(Py_None); resultobj = Py_None;
9524 return resultobj;
9525 fail:
9526 return NULL;
9527}
9528
9529
c32bde28 9530static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9531 PyObject *resultobj;
9532 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9533 int arg2 ;
9534 int arg3 ;
9535 PyObject * obj0 = 0 ;
994141e6
RD
9536 PyObject * obj1 = 0 ;
9537 PyObject * obj2 = 0 ;
d14a1e28
RD
9538 char *kwnames[] = {
9539 (char *) "self",(char *) "pid",(char *) "status", NULL
9540 };
9541
994141e6 9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9545 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9546 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9547 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 (arg1)->base_OnTerminate(arg2,arg3);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 Py_INCREF(Py_None); resultobj = Py_None;
9557 return resultobj;
9558 fail:
9559 return NULL;
9560}
9561
9562
c32bde28 9563static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9564 PyObject *resultobj;
9565 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
15afbcd0
RD
9572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 (arg1)->Redirect();
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 Py_INCREF(Py_None); resultobj = Py_None;
9582 return resultobj;
9583 fail:
9584 return NULL;
9585}
9586
9587
c32bde28 9588static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9589 PyObject *resultobj;
9590 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9591 bool result;
9592 PyObject * obj0 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "self", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
15afbcd0
RD
9598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->IsRedirected();
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
4f89f6a3
RD
9607 {
9608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9609 }
d14a1e28
RD
9610 return resultobj;
9611 fail:
9612 return NULL;
9613}
9614
9615
c32bde28 9616static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9617 PyObject *resultobj;
9618 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
9625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 (arg1)->Detach();
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 Py_INCREF(Py_None); resultobj = Py_None;
9635 return resultobj;
9636 fail:
9637 return NULL;
9638}
9639
9640
c32bde28 9641static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9642 PyObject *resultobj;
9643 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9644 wxInputStream *result;
9645 PyObject * obj0 = 0 ;
9646 char *kwnames[] = {
9647 (char *) "self", NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxInputStream *)(arg1)->GetInputStream();
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 wxPyInputStream * _ptr = NULL;
9662
9663 if (result) {
9664 _ptr = new wxPyInputStream(result);
9665 }
fc71d09b 9666 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
9667 }
9668 return resultobj;
9669 fail:
9670 return NULL;
9671}
9672
9673
c32bde28 9674static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9675 PyObject *resultobj;
9676 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9677 wxInputStream *result;
9678 PyObject * obj0 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
9684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (wxInputStream *)(arg1)->GetErrorStream();
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 wxPyInputStream * _ptr = NULL;
9695
9696 if (result) {
9697 _ptr = new wxPyInputStream(result);
9698 }
fc71d09b 9699 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
9700 }
9701 return resultobj;
9702 fail:
9703 return NULL;
9704}
9705
9706
c32bde28 9707static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9708 PyObject *resultobj;
9709 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9710 wxOutputStream *result;
9711 PyObject * obj0 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
9717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (wxOutputStream *)(arg1)->GetOutputStream();
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
15afbcd0 9726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
c32bde28 9733static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9734 PyObject *resultobj;
9735 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
15afbcd0
RD
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 (arg1)->CloseOutput();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 Py_INCREF(Py_None); resultobj = Py_None;
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
c32bde28 9758static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9759 PyObject *resultobj;
9760 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9761 bool result;
9762 PyObject * obj0 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
15afbcd0
RD
9768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
4f89f6a3
RD
9777 {
9778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9779 }
d14a1e28
RD
9780 return resultobj;
9781 fail:
9782 return NULL;
9783}
9784
9785
c32bde28 9786static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9787 PyObject *resultobj;
9788 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9789 bool result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
4f89f6a3
RD
9805 {
9806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9807 }
d14a1e28
RD
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
c32bde28 9814static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9815 PyObject *resultobj;
9816 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9817 bool result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
4f89f6a3
RD
9833 {
9834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9835 }
d14a1e28
RD
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
c32bde28 9842static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9843 PyObject *obj;
9844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9845 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9846 Py_INCREF(obj);
9847 return Py_BuildValue((char *)"");
9848}
c32bde28 9849static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9850 PyObject *resultobj;
9851 int arg1 = (int) 0 ;
9852 int arg2 = (int) 0 ;
9853 int arg3 = (int) 0 ;
9854 wxProcessEvent *result;
994141e6
RD
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 PyObject * obj2 = 0 ;
d14a1e28
RD
9858 char *kwnames[] = {
9859 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9860 };
9861
994141e6
RD
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9863 if (obj0) {
c32bde28 9864 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9865 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9866 }
9867 if (obj1) {
c32bde28 9868 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9869 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9870 }
9871 if (obj2) {
c32bde28 9872 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9873 if (PyErr_Occurred()) SWIG_fail;
994141e6 9874 }
d14a1e28
RD
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
15afbcd0 9882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
9883 return resultobj;
9884 fail:
9885 return NULL;
9886}
9887
9888
c32bde28 9889static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9890 PyObject *resultobj;
9891 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9892 int result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
15afbcd0
RD
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)(arg1)->GetPid();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
c32bde28 9908 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9909 return resultobj;
9910 fail:
9911 return NULL;
9912}
9913
9914
c32bde28 9915static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9916 PyObject *resultobj;
9917 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9918 int result;
9919 PyObject * obj0 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
9925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 result = (int)(arg1)->GetExitCode();
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
c32bde28 9934 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9935 return resultobj;
9936 fail:
9937 return NULL;
9938}
9939
9940
c32bde28 9941static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9942 PyObject *resultobj;
9943 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9944 int arg2 ;
9945 PyObject * obj0 = 0 ;
994141e6 9946 PyObject * obj1 = 0 ;
d14a1e28
RD
9947 char *kwnames[] = {
9948 (char *) "self",(char *) "m_pid", NULL
9949 };
9950
994141e6 9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9954 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9956 if (arg1) (arg1)->m_pid = arg2;
9957
9958 Py_INCREF(Py_None); resultobj = Py_None;
9959 return resultobj;
9960 fail:
9961 return NULL;
9962}
9963
9964
c32bde28 9965static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9966 PyObject *resultobj;
9967 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9968 int result;
9969 PyObject * obj0 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9977 result = (int) ((arg1)->m_pid);
9978
c32bde28 9979 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9980 return resultobj;
9981 fail:
9982 return NULL;
9983}
9984
9985
c32bde28 9986static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9987 PyObject *resultobj;
9988 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9989 int arg2 ;
9990 PyObject * obj0 = 0 ;
994141e6 9991 PyObject * obj1 = 0 ;
d14a1e28
RD
9992 char *kwnames[] = {
9993 (char *) "self",(char *) "m_exitcode", NULL
9994 };
9995
994141e6 9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9999 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10001 if (arg1) (arg1)->m_exitcode = arg2;
10002
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 return resultobj;
10005 fail:
10006 return NULL;
10007}
10008
10009
c32bde28 10010static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10011 PyObject *resultobj;
10012 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
10013 int result;
10014 PyObject * obj0 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10022 result = (int) ((arg1)->m_exitcode);
10023
c32bde28 10024 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10025 return resultobj;
10026 fail:
10027 return NULL;
10028}
10029
10030
c32bde28 10031static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10032 PyObject *obj;
10033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
10035 Py_INCREF(obj);
10036 return Py_BuildValue((char *)"");
10037}
c32bde28 10038static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10039 PyObject *resultobj;
10040 wxString *arg1 = 0 ;
10041 int arg2 = (int) wxEXEC_ASYNC ;
10042 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
10043 long result;
ae8162c8 10044 bool temp1 = false ;
d14a1e28 10045 PyObject * obj0 = 0 ;
994141e6 10046 PyObject * obj1 = 0 ;
d14a1e28
RD
10047 PyObject * obj2 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "command",(char *) "flags",(char *) "process", NULL
10050 };
10051
994141e6 10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
10053 {
10054 arg1 = wxString_in_helper(obj0);
10055 if (arg1 == NULL) SWIG_fail;
ae8162c8 10056 temp1 = true;
d14a1e28 10057 }
994141e6 10058 if (obj1) {
c32bde28 10059 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10060 if (PyErr_Occurred()) SWIG_fail;
994141e6 10061 }
d14a1e28 10062 if (obj2) {
15afbcd0
RD
10063 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10065 }
10066 {
e3b71cb8 10067 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
10070
10071 wxPyEndAllowThreads(__tstate);
110da5b0 10072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10073 }
c32bde28 10074 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
10075 {
10076 if (temp1)
10077 delete arg1;
10078 }
10079 return resultobj;
10080 fail:
10081 {
10082 if (temp1)
10083 delete arg1;
10084 }
10085 return NULL;
10086}
10087
10088
1823fbb4
RD
10089static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 long arg1 ;
10092 int arg2 = (int) wxSIGTERM ;
10093 wxKillError *arg3 = (wxKillError *) 0 ;
10094 int arg4 = (int) wxKILL_NOCHILDREN ;
10095 int result;
10096 wxKillError temp3 ;
10097 PyObject * obj0 = 0 ;
10098 PyObject * obj1 = 0 ;
10099 PyObject * obj2 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10102 };
10103
10104 {
10105 arg3 = &temp3;
10106 }
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
10108 arg1 = (long)SWIG_As_long(obj0);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 if (obj1) {
10111 arg2 = (int)SWIG_As_int(obj1);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 if (obj2) {
10115 arg4 = (int)SWIG_As_int(obj2);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
10121
10122 wxPyEndAllowThreads(__tstate);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 resultobj = SWIG_From_int((int)result);
10126 {
10127 PyObject* o;
10128 o = PyInt_FromLong((long) (*arg3));
10129 resultobj = t_output_helper(resultobj, o);
10130 }
10131 return resultobj;
10132 fail:
10133 return NULL;
10134}
10135
10136
c32bde28 10137static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10138 PyObject *resultobj;
10139 int arg1 = (int) wxJOYSTICK1 ;
10140 wxJoystick *result;
994141e6 10141 PyObject * obj0 = 0 ;
d14a1e28
RD
10142 char *kwnames[] = {
10143 (char *) "joystick", NULL
10144 };
10145
994141e6
RD
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
10147 if (obj0) {
c32bde28 10148 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10149 if (PyErr_Occurred()) SWIG_fail;
994141e6 10150 }
d14a1e28 10151 {
e3b71cb8 10152 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (wxJoystick *)new wxJoystick(arg1);
10155
10156 wxPyEndAllowThreads(__tstate);
110da5b0 10157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10158 }
15afbcd0 10159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
10160 return resultobj;
10161 fail:
10162 return NULL;
10163}
10164
10165
c32bde28 10166static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10167 PyObject *resultobj;
10168 wxJoystick *arg1 = (wxJoystick *) 0 ;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
15afbcd0
RD
10175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 delete arg1;
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 Py_INCREF(Py_None); resultobj = Py_None;
10185 return resultobj;
10186 fail:
10187 return NULL;
10188}
10189
10190
c32bde28 10191static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10192 PyObject *resultobj;
10193 wxJoystick *arg1 = (wxJoystick *) 0 ;
10194 wxPoint result;
10195 PyObject * obj0 = 0 ;
10196 char *kwnames[] = {
10197 (char *) "self", NULL
10198 };
10199
10200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (arg1)->GetPosition();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 {
10211 wxPoint * resultptr;
10212 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 10213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10214 }
10215 return resultobj;
10216 fail:
10217 return NULL;
10218}
10219
10220
c32bde28 10221static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10222 PyObject *resultobj;
10223 wxJoystick *arg1 = (wxJoystick *) 0 ;
10224 int result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (int)(arg1)->GetZPosition();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
c32bde28 10240 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10241 return resultobj;
10242 fail:
10243 return NULL;
10244}
10245
10246
c32bde28 10247static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10248 PyObject *resultobj;
10249 wxJoystick *arg1 = (wxJoystick *) 0 ;
10250 int result;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
15afbcd0
RD
10257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (int)(arg1)->GetButtonState();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
c32bde28 10266 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
c32bde28 10273static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10274 PyObject *resultobj;
10275 wxJoystick *arg1 = (wxJoystick *) 0 ;
10276 int result;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (int)(arg1)->GetPOVPosition();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
c32bde28 10292 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10293 return resultobj;
10294 fail:
10295 return NULL;
10296}
10297
10298
c32bde28 10299static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10300 PyObject *resultobj;
10301 wxJoystick *arg1 = (wxJoystick *) 0 ;
10302 int result;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = (int)(arg1)->GetPOVCTSPosition();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
c32bde28 10318 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10319 return resultobj;
10320 fail:
10321 return NULL;
10322}
10323
10324
c32bde28 10325static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10326 PyObject *resultobj;
10327 wxJoystick *arg1 = (wxJoystick *) 0 ;
10328 int result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (int)(arg1)->GetRudderPosition();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
c32bde28 10344 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10345 return resultobj;
10346 fail:
10347 return NULL;
10348}
10349
10350
c32bde28 10351static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10352 PyObject *resultobj;
10353 wxJoystick *arg1 = (wxJoystick *) 0 ;
10354 int result;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 result = (int)(arg1)->GetUPosition();
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
c32bde28 10370 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10371 return resultobj;
10372 fail:
10373 return NULL;
10374}
10375
10376
c32bde28 10377static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10378 PyObject *resultobj;
10379 wxJoystick *arg1 = (wxJoystick *) 0 ;
10380 int result;
10381 PyObject * obj0 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 result = (int)(arg1)->GetVPosition();
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
c32bde28 10396 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10397 return resultobj;
10398 fail:
10399 return NULL;
10400}
10401
10402
c32bde28 10403static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10404 PyObject *resultobj;
10405 wxJoystick *arg1 = (wxJoystick *) 0 ;
10406 int result;
10407 PyObject * obj0 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
15afbcd0
RD
10413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (int)(arg1)->GetMovementThreshold();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
c32bde28 10422 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10423 return resultobj;
10424 fail:
10425 return NULL;
10426}
10427
10428
c32bde28 10429static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10430 PyObject *resultobj;
10431 wxJoystick *arg1 = (wxJoystick *) 0 ;
10432 int arg2 ;
10433 PyObject * obj0 = 0 ;
994141e6 10434 PyObject * obj1 = 0 ;
d14a1e28
RD
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "threshold", NULL
10437 };
10438
994141e6 10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10442 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 (arg1)->SetMovementThreshold(arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 Py_INCREF(Py_None); resultobj = Py_None;
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
c32bde28 10458static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10459 PyObject *resultobj;
10460 wxJoystick *arg1 = (wxJoystick *) 0 ;
10461 bool result;
10462 PyObject * obj0 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
10468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (bool)(arg1)->IsOk();
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
4f89f6a3
RD
10477 {
10478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10479 }
d14a1e28
RD
10480 return resultobj;
10481 fail:
10482 return NULL;
10483}
10484
10485
c32bde28 10486static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10487 PyObject *resultobj;
10488 wxJoystick *arg1 = (wxJoystick *) 0 ;
10489 int result;
10490 PyObject * obj0 = 0 ;
10491 char *kwnames[] = {
10492 (char *) "self", NULL
10493 };
10494
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
15afbcd0
RD
10496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 result = (int)(arg1)->GetNumberJoysticks();
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
c32bde28 10505 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
c32bde28 10512static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10513 PyObject *resultobj;
10514 wxJoystick *arg1 = (wxJoystick *) 0 ;
10515 int result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
15afbcd0
RD
10522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)(arg1)->GetManufacturerId();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
c32bde28 10531 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
c32bde28 10538static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10539 PyObject *resultobj;
10540 wxJoystick *arg1 = (wxJoystick *) 0 ;
10541 int result;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
15afbcd0
RD
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (int)(arg1)->GetProductId();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
c32bde28 10557 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10558 return resultobj;
10559 fail:
10560 return NULL;
10561}
10562
10563
c32bde28 10564static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10565 PyObject *resultobj;
10566 wxJoystick *arg1 = (wxJoystick *) 0 ;
10567 wxString result;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
15afbcd0
RD
10574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (arg1)->GetProductName();
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 {
10584#if wxUSE_UNICODE
10585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10586#else
10587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10588#endif
10589 }
10590 return resultobj;
10591 fail:
10592 return NULL;
10593}
10594
10595
c32bde28 10596static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10597 PyObject *resultobj;
10598 wxJoystick *arg1 = (wxJoystick *) 0 ;
10599 int result;
10600 PyObject * obj0 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 result = (int)(arg1)->GetXMin();
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
c32bde28 10615 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10616 return resultobj;
10617 fail:
10618 return NULL;
10619}
10620
10621
c32bde28 10622static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10623 PyObject *resultobj;
10624 wxJoystick *arg1 = (wxJoystick *) 0 ;
10625 int result;
10626 PyObject * obj0 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 result = (int)(arg1)->GetYMin();
10637
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
c32bde28 10641 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10642 return resultobj;
10643 fail:
10644 return NULL;
10645}
10646
10647
c32bde28 10648static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10649 PyObject *resultobj;
10650 wxJoystick *arg1 = (wxJoystick *) 0 ;
10651 int result;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)(arg1)->GetZMin();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
c32bde28 10667 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
c32bde28 10674static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10675 PyObject *resultobj;
10676 wxJoystick *arg1 = (wxJoystick *) 0 ;
10677 int result;
10678 PyObject * obj0 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (int)(arg1)->GetXMax();
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
c32bde28 10693 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10694 return resultobj;
10695 fail:
10696 return NULL;
10697}
10698
10699
c32bde28 10700static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10701 PyObject *resultobj;
10702 wxJoystick *arg1 = (wxJoystick *) 0 ;
10703 int result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)(arg1)->GetYMax();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
c32bde28 10719 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
c32bde28 10726static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10727 PyObject *resultobj;
10728 wxJoystick *arg1 = (wxJoystick *) 0 ;
10729 int result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (int)(arg1)->GetZMax();
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
c32bde28 10745 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
c32bde28 10752static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10753 PyObject *resultobj;
10754 wxJoystick *arg1 = (wxJoystick *) 0 ;
10755 int result;
10756 PyObject * obj0 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (int)(arg1)->GetNumberButtons();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
c32bde28 10771 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
c32bde28 10778static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10779 PyObject *resultobj;
10780 wxJoystick *arg1 = (wxJoystick *) 0 ;
10781 int result;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
15afbcd0
RD
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = (int)(arg1)->GetNumberAxes();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
c32bde28 10797 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10798 return resultobj;
10799 fail:
10800 return NULL;
10801}
10802
10803
c32bde28 10804static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10805 PyObject *resultobj;
10806 wxJoystick *arg1 = (wxJoystick *) 0 ;
10807 int result;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
10814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = (int)(arg1)->GetMaxButtons();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
c32bde28 10823 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
c32bde28 10830static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10831 PyObject *resultobj;
10832 wxJoystick *arg1 = (wxJoystick *) 0 ;
10833 int result;
10834 PyObject * obj0 = 0 ;
10835 char *kwnames[] = {
10836 (char *) "self", NULL
10837 };
10838
10839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
15afbcd0
RD
10840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (int)(arg1)->GetMaxAxes();
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
c32bde28 10849 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10850 return resultobj;
10851 fail:
10852 return NULL;
10853}
10854
10855
c32bde28 10856static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10857 PyObject *resultobj;
10858 wxJoystick *arg1 = (wxJoystick *) 0 ;
10859 int result;
10860 PyObject * obj0 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (int)(arg1)->GetPollingMin();
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
c32bde28 10875 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10876 return resultobj;
10877 fail:
10878 return NULL;
10879}
10880
10881
c32bde28 10882static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10883 PyObject *resultobj;
10884 wxJoystick *arg1 = (wxJoystick *) 0 ;
10885 int result;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 result = (int)(arg1)->GetPollingMax();
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
c32bde28 10901 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10902 return resultobj;
10903 fail:
10904 return NULL;
10905}
10906
10907
c32bde28 10908static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10909 PyObject *resultobj;
10910 wxJoystick *arg1 = (wxJoystick *) 0 ;
10911 int result;
10912 PyObject * obj0 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "self", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = (int)(arg1)->GetRudderMin();
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
c32bde28 10927 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10928 return resultobj;
10929 fail:
10930 return NULL;
10931}
10932
10933
c32bde28 10934static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10935 PyObject *resultobj;
10936 wxJoystick *arg1 = (wxJoystick *) 0 ;
10937 int result;
10938 PyObject * obj0 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (int)(arg1)->GetRudderMax();
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
c32bde28 10953 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c32bde28 10960static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10961 PyObject *resultobj;
10962 wxJoystick *arg1 = (wxJoystick *) 0 ;
10963 int result;
10964 PyObject * obj0 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 result = (int)(arg1)->GetUMin();
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
c32bde28 10979 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10980 return resultobj;
10981 fail:
10982 return NULL;
10983}
10984
10985
c32bde28 10986static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10987 PyObject *resultobj;
10988 wxJoystick *arg1 = (wxJoystick *) 0 ;
10989 int result;
10990 PyObject * obj0 = 0 ;
10991 char *kwnames[] = {
10992 (char *) "self", NULL
10993 };
10994
10995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 result = (int)(arg1)->GetUMax();
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
c32bde28 11005 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11006 return resultobj;
11007 fail:
11008 return NULL;
11009}
11010
11011
c32bde28 11012static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11013 PyObject *resultobj;
11014 wxJoystick *arg1 = (wxJoystick *) 0 ;
11015 int result;
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
11022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (int)(arg1)->GetVMin();
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
c32bde28 11031 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11032 return resultobj;
11033 fail:
11034 return NULL;
11035}
11036
11037
c32bde28 11038static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11039 PyObject *resultobj;
11040 wxJoystick *arg1 = (wxJoystick *) 0 ;
11041 int result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (int)(arg1)->GetVMax();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
c32bde28 11057 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
c32bde28 11064static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11065 PyObject *resultobj;
11066 wxJoystick *arg1 = (wxJoystick *) 0 ;
11067 bool result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
15afbcd0
RD
11074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (bool)(arg1)->HasRudder();
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
4f89f6a3
RD
11083 {
11084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11085 }
d14a1e28
RD
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
c32bde28 11092static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11093 PyObject *resultobj;
11094 wxJoystick *arg1 = (wxJoystick *) 0 ;
11095 bool result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
15afbcd0
RD
11102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = (bool)(arg1)->HasZ();
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
4f89f6a3
RD
11111 {
11112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11113 }
d14a1e28
RD
11114 return resultobj;
11115 fail:
11116 return NULL;
11117}
11118
11119
c32bde28 11120static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11121 PyObject *resultobj;
11122 wxJoystick *arg1 = (wxJoystick *) 0 ;
11123 bool result;
11124 PyObject * obj0 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
15afbcd0
RD
11130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)(arg1)->HasU();
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
4f89f6a3
RD
11139 {
11140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11141 }
d14a1e28
RD
11142 return resultobj;
11143 fail:
11144 return NULL;
11145}
11146
11147
c32bde28 11148static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11149 PyObject *resultobj;
11150 wxJoystick *arg1 = (wxJoystick *) 0 ;
11151 bool result;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
15afbcd0
RD
11158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = (bool)(arg1)->HasV();
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
4f89f6a3
RD
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
d14a1e28
RD
11170 return resultobj;
11171 fail:
11172 return NULL;
11173}
11174
11175
c32bde28 11176static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11177 PyObject *resultobj;
11178 wxJoystick *arg1 = (wxJoystick *) 0 ;
11179 bool result;
11180 PyObject * obj0 = 0 ;
11181 char *kwnames[] = {
11182 (char *) "self", NULL
11183 };
11184
11185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
15afbcd0
RD
11186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 result = (bool)(arg1)->HasPOV();
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
4f89f6a3
RD
11195 {
11196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11197 }
d14a1e28
RD
11198 return resultobj;
11199 fail:
11200 return NULL;
11201}
11202
11203
c32bde28 11204static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11205 PyObject *resultobj;
11206 wxJoystick *arg1 = (wxJoystick *) 0 ;
11207 bool result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
15afbcd0
RD
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)(arg1)->HasPOV4Dir();
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
4f89f6a3
RD
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
d14a1e28
RD
11226 return resultobj;
11227 fail:
11228 return NULL;
11229}
11230
11231
c32bde28 11232static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11233 PyObject *resultobj;
11234 wxJoystick *arg1 = (wxJoystick *) 0 ;
11235 bool result;
11236 PyObject * obj0 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
15afbcd0
RD
11242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (bool)(arg1)->HasPOVCTS();
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
4f89f6a3
RD
11251 {
11252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11253 }
d14a1e28
RD
11254 return resultobj;
11255 fail:
11256 return NULL;
11257}
11258
11259
c32bde28 11260static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11261 PyObject *resultobj;
11262 wxJoystick *arg1 = (wxJoystick *) 0 ;
11263 wxWindow *arg2 = (wxWindow *) 0 ;
11264 int arg3 = (int) 0 ;
11265 bool result;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
994141e6 11268 PyObject * obj2 = 0 ;
d14a1e28
RD
11269 char *kwnames[] = {
11270 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11271 };
11272
994141e6 11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11278 if (obj2) {
c32bde28 11279 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11280 if (PyErr_Occurred()) SWIG_fail;
994141e6 11281 }
d14a1e28
RD
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (bool)(arg1)->SetCapture(arg2,arg3);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
4f89f6a3
RD
11289 {
11290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11291 }
d14a1e28
RD
11292 return resultobj;
11293 fail:
11294 return NULL;
11295}
11296
11297
c32bde28 11298static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11299 PyObject *resultobj;
11300 wxJoystick *arg1 = (wxJoystick *) 0 ;
11301 bool result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (bool)(arg1)->ReleaseCapture();
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
4f89f6a3
RD
11317 {
11318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11319 }
d14a1e28
RD
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
c32bde28 11326static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11327 PyObject *obj;
11328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
11330 Py_INCREF(obj);
11331 return Py_BuildValue((char *)"");
11332}
c32bde28 11333static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11334 PyObject *resultobj;
11335 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11336 wxPoint *arg2 = (wxPoint *) 0 ;
11337 PyObject * obj0 = 0 ;
11338 PyObject * obj1 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "m_pos", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
11347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11348 if (arg1) (arg1)->m_pos = *arg2;
11349
11350 Py_INCREF(Py_None); resultobj = Py_None;
11351 return resultobj;
11352 fail:
11353 return NULL;
11354}
11355
11356
c32bde28 11357static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11358 PyObject *resultobj;
11359 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11360 wxPoint *result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11369 result = (wxPoint *)& ((arg1)->m_pos);
11370
15afbcd0 11371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
11372 return resultobj;
11373 fail:
11374 return NULL;
11375}
11376
11377
c32bde28 11378static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11379 PyObject *resultobj;
11380 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11381 int arg2 ;
11382 PyObject * obj0 = 0 ;
994141e6 11383 PyObject * obj1 = 0 ;
d14a1e28
RD
11384 char *kwnames[] = {
11385 (char *) "self",(char *) "m_zPosition", NULL
11386 };
11387
994141e6 11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11391 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11393 if (arg1) (arg1)->m_zPosition = arg2;
11394
11395 Py_INCREF(Py_None); resultobj = Py_None;
11396 return resultobj;
11397 fail:
11398 return NULL;
11399}
11400
11401
c32bde28 11402static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11403 PyObject *resultobj;
11404 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11405 int result;
11406 PyObject * obj0 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
11412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11414 result = (int) ((arg1)->m_zPosition);
11415
c32bde28 11416 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11417 return resultobj;
11418 fail:
11419 return NULL;
11420}
11421
11422
c32bde28 11423static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11424 PyObject *resultobj;
11425 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11426 int arg2 ;
11427 PyObject * obj0 = 0 ;
994141e6 11428 PyObject * obj1 = 0 ;
d14a1e28
RD
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "m_buttonChange", NULL
11431 };
11432
994141e6 11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11436 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11438 if (arg1) (arg1)->m_buttonChange = arg2;
11439
11440 Py_INCREF(Py_None); resultobj = Py_None;
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
c32bde28 11447static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11448 PyObject *resultobj;
11449 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11450 int result;
11451 PyObject * obj0 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11459 result = (int) ((arg1)->m_buttonChange);
11460
c32bde28 11461 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11462 return resultobj;
11463 fail:
11464 return NULL;
11465}
11466
11467
c32bde28 11468static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11469 PyObject *resultobj;
11470 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11471 int arg2 ;
11472 PyObject * obj0 = 0 ;
994141e6 11473 PyObject * obj1 = 0 ;
d14a1e28
RD
11474 char *kwnames[] = {
11475 (char *) "self",(char *) "m_buttonState", NULL
11476 };
11477
994141e6 11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11481 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11483 if (arg1) (arg1)->m_buttonState = arg2;
11484
11485 Py_INCREF(Py_None); resultobj = Py_None;
11486 return resultobj;
11487 fail:
11488 return NULL;
11489}
11490
11491
c32bde28 11492static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11493 PyObject *resultobj;
11494 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11495 int result;
11496 PyObject * obj0 = 0 ;
11497 char *kwnames[] = {
11498 (char *) "self", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
11502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11504 result = (int) ((arg1)->m_buttonState);
11505
c32bde28 11506 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
c32bde28 11513static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11514 PyObject *resultobj;
11515 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11516 int arg2 ;
11517 PyObject * obj0 = 0 ;
994141e6 11518 PyObject * obj1 = 0 ;
d14a1e28
RD
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "m_joyStick", NULL
11521 };
11522
994141e6 11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11526 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11528 if (arg1) (arg1)->m_joyStick = arg2;
11529
11530 Py_INCREF(Py_None); resultobj = Py_None;
11531 return resultobj;
11532 fail:
11533 return NULL;
11534}
11535
11536
c32bde28 11537static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11538 PyObject *resultobj;
11539 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11540 int result;
11541 PyObject * obj0 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
11547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11549 result = (int) ((arg1)->m_joyStick);
11550
c32bde28 11551 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11552 return resultobj;
11553 fail:
11554 return NULL;
11555}
11556
11557
c32bde28 11558static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11559 PyObject *resultobj;
11560 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11561 int arg2 = (int) 0 ;
11562 int arg3 = (int) wxJOYSTICK1 ;
11563 int arg4 = (int) 0 ;
11564 wxJoystickEvent *result;
994141e6
RD
11565 PyObject * obj0 = 0 ;
11566 PyObject * obj1 = 0 ;
11567 PyObject * obj2 = 0 ;
11568 PyObject * obj3 = 0 ;
d14a1e28
RD
11569 char *kwnames[] = {
11570 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11571 };
11572
994141e6
RD
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11574 if (obj0) {
c32bde28 11575 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 11576 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11577 }
11578 if (obj1) {
c32bde28 11579 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11580 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11581 }
11582 if (obj2) {
c32bde28 11583 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11584 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11585 }
11586 if (obj3) {
c32bde28 11587 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11588 if (PyErr_Occurred()) SWIG_fail;
994141e6 11589 }
d14a1e28
RD
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
15afbcd0 11597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
11598 return resultobj;
11599 fail:
11600 return NULL;
11601}
11602
11603
c32bde28 11604static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11605 PyObject *resultobj;
11606 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11607 wxPoint result;
11608 PyObject * obj0 = 0 ;
11609 char *kwnames[] = {
11610 (char *) "self", NULL
11611 };
11612
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
11614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 {
11624 wxPoint * resultptr;
11625 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 11626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
11627 }
11628 return resultobj;
11629 fail:
11630 return NULL;
11631}
11632
11633
c32bde28 11634static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11635 PyObject *resultobj;
11636 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11637 int result;
11638 PyObject * obj0 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
11644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
c32bde28 11653 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11654 return resultobj;
11655 fail:
11656 return NULL;
11657}
11658
11659
c32bde28 11660static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11661 PyObject *resultobj;
11662 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11663 int result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
15afbcd0
RD
11670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
c32bde28 11679 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11680 return resultobj;
11681 fail:
11682 return NULL;
11683}
11684
11685
c32bde28 11686static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11687 PyObject *resultobj;
11688 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11689 int result;
11690 PyObject * obj0 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
c32bde28 11705 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11706 return resultobj;
11707 fail:
11708 return NULL;
11709}
11710
11711
c32bde28 11712static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11713 PyObject *resultobj;
11714 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11715 int result;
11716 PyObject * obj0 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "self", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
15afbcd0
RD
11722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
c32bde28 11731 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11732 return resultobj;
11733 fail:
11734 return NULL;
11735}
11736
11737
c32bde28 11738static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11739 PyObject *resultobj;
11740 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11741 int arg2 ;
11742 PyObject * obj0 = 0 ;
994141e6 11743 PyObject * obj1 = 0 ;
d14a1e28
RD
11744 char *kwnames[] = {
11745 (char *) "self",(char *) "stick", NULL
11746 };
11747
994141e6 11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11751 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 (arg1)->SetJoystick(arg2);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 Py_INCREF(Py_None); resultobj = Py_None;
11761 return resultobj;
11762 fail:
11763 return NULL;
11764}
11765
11766
c32bde28 11767static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11768 PyObject *resultobj;
11769 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11770 int arg2 ;
11771 PyObject * obj0 = 0 ;
994141e6 11772 PyObject * obj1 = 0 ;
d14a1e28
RD
11773 char *kwnames[] = {
11774 (char *) "self",(char *) "state", NULL
11775 };
11776
994141e6 11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11780 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 (arg1)->SetButtonState(arg2);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 return resultobj;
11791 fail:
11792 return NULL;
11793}
11794
11795
c32bde28 11796static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11797 PyObject *resultobj;
11798 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11799 int arg2 ;
11800 PyObject * obj0 = 0 ;
994141e6 11801 PyObject * obj1 = 0 ;
d14a1e28
RD
11802 char *kwnames[] = {
11803 (char *) "self",(char *) "change", NULL
11804 };
11805
994141e6 11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11809 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 (arg1)->SetButtonChange(arg2);
11814
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 Py_INCREF(Py_None); resultobj = Py_None;
11819 return resultobj;
11820 fail:
11821 return NULL;
11822}
11823
11824
c32bde28 11825static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11826 PyObject *resultobj;
11827 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11828 wxPoint *arg2 = 0 ;
11829 wxPoint temp2 ;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self",(char *) "pos", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11839 {
11840 arg2 = &temp2;
11841 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetPosition((wxPoint const &)*arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854}
11855
11856
c32bde28 11857static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11858 PyObject *resultobj;
11859 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11860 int arg2 ;
11861 PyObject * obj0 = 0 ;
994141e6 11862 PyObject * obj1 = 0 ;
d14a1e28
RD
11863 char *kwnames[] = {
11864 (char *) "self",(char *) "zPos", NULL
11865 };
11866
994141e6 11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11870 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 (arg1)->SetZPosition(arg2);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 Py_INCREF(Py_None); resultobj = Py_None;
11880 return resultobj;
11881 fail:
11882 return NULL;
11883}
11884
11885
c32bde28 11886static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11887 PyObject *resultobj;
11888 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11889 bool result;
11890 PyObject * obj0 = 0 ;
11891 char *kwnames[] = {
11892 (char *) "self", NULL
11893 };
11894
11895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
11896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
4f89f6a3
RD
11905 {
11906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11907 }
d14a1e28
RD
11908 return resultobj;
11909 fail:
11910 return NULL;
11911}
11912
11913
c32bde28 11914static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11915 PyObject *resultobj;
11916 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11917 bool result;
11918 PyObject * obj0 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "self", NULL
11921 };
11922
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
11924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
4f89f6a3
RD
11933 {
11934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11935 }
d14a1e28
RD
11936 return resultobj;
11937 fail:
11938 return NULL;
11939}
11940
11941
c32bde28 11942static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11943 PyObject *resultobj;
11944 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11945 bool result;
11946 PyObject * obj0 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
11952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
4f89f6a3
RD
11961 {
11962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11963 }
d14a1e28
RD
11964 return resultobj;
11965 fail:
11966 return NULL;
11967}
11968
11969
c32bde28 11970static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11971 PyObject *resultobj;
11972 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11973 int arg2 = (int) wxJOY_BUTTON_ANY ;
11974 bool result;
11975 PyObject * obj0 = 0 ;
994141e6 11976 PyObject * obj1 = 0 ;
d14a1e28
RD
11977 char *kwnames[] = {
11978 (char *) "self",(char *) "but", NULL
11979 };
11980
994141e6 11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11984 if (obj1) {
c32bde28 11985 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11986 if (PyErr_Occurred()) SWIG_fail;
994141e6 11987 }
d14a1e28
RD
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
4f89f6a3
RD
11995 {
11996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11997 }
d14a1e28
RD
11998 return resultobj;
11999 fail:
12000 return NULL;
12001}
12002
12003
c32bde28 12004static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12005 PyObject *resultobj;
12006 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12007 int arg2 = (int) wxJOY_BUTTON_ANY ;
12008 bool result;
12009 PyObject * obj0 = 0 ;
994141e6 12010 PyObject * obj1 = 0 ;
d14a1e28
RD
12011 char *kwnames[] = {
12012 (char *) "self",(char *) "but", NULL
12013 };
12014
994141e6 12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12018 if (obj1) {
c32bde28 12019 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12020 if (PyErr_Occurred()) SWIG_fail;
994141e6 12021 }
d14a1e28
RD
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
4f89f6a3
RD
12029 {
12030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12031 }
d14a1e28
RD
12032 return resultobj;
12033 fail:
12034 return NULL;
12035}
12036
12037
c32bde28 12038static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12039 PyObject *resultobj;
12040 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12041 int arg2 = (int) wxJOY_BUTTON_ANY ;
12042 bool result;
12043 PyObject * obj0 = 0 ;
994141e6 12044 PyObject * obj1 = 0 ;
d14a1e28
RD
12045 char *kwnames[] = {
12046 (char *) "self",(char *) "but", NULL
12047 };
12048
994141e6 12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
12051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12052 if (obj1) {
c32bde28 12053 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12054 if (PyErr_Occurred()) SWIG_fail;
994141e6 12055 }
d14a1e28
RD
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
4f89f6a3
RD
12063 {
12064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12065 }
d14a1e28
RD
12066 return resultobj;
12067 fail:
12068 return NULL;
12069}
12070
12071
c32bde28 12072static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12073 PyObject *obj;
12074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12075 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
12076 Py_INCREF(obj);
12077 return Py_BuildValue((char *)"");
12078}
c32bde28 12079static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12080 PyObject *resultobj;
36cadbf7
RD
12081 wxString const &arg1_defvalue = wxPyEmptyString ;
12082 wxString *arg1 = (wxString *) &arg1_defvalue ;
4d5c3d91 12083 wxSound *result;
ae8162c8 12084 bool temp1 = false ;
d14a1e28 12085 PyObject * obj0 = 0 ;
36cadbf7
RD
12086 char *kwnames[] = {
12087 (char *) "fileName", NULL
12088 };
d14a1e28 12089
36cadbf7
RD
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
12091 if (obj0) {
12092 {
12093 arg1 = wxString_in_helper(obj0);
12094 if (arg1 == NULL) SWIG_fail;
ae8162c8 12095 temp1 = true;
36cadbf7 12096 }
d14a1e28
RD
12097 }
12098 {
e3b71cb8 12099 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 12101 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d14a1e28
RD
12102
12103 wxPyEndAllowThreads(__tstate);
110da5b0 12104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12105 }
15afbcd0 12106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
12107 {
12108 if (temp1)
12109 delete arg1;
12110 }
12111 return resultobj;
12112 fail:
12113 {
12114 if (temp1)
12115 delete arg1;
12116 }
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12122 PyObject *resultobj;
36cadbf7 12123 PyObject *arg1 = (PyObject *) 0 ;
4d5c3d91 12124 wxSound *result;
d14a1e28 12125 PyObject * obj0 = 0 ;
36cadbf7
RD
12126 char *kwnames[] = {
12127 (char *) "data", NULL
12128 };
d14a1e28 12129
36cadbf7
RD
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
12131 arg1 = obj0;
d14a1e28 12132 {
e3b71cb8 12133 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 12135 result = (wxSound *)new_wxSound(arg1);
d14a1e28
RD
12136
12137 wxPyEndAllowThreads(__tstate);
110da5b0 12138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12139 }
15afbcd0 12140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
12141 return resultobj;
12142 fail:
4d5c3d91
RD
12143 return NULL;
12144}
12145
12146
c32bde28 12147static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12148 PyObject *resultobj;
4d5c3d91 12149 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
4d5c3d91 12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
15afbcd0
RD
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 delete arg1;
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
c32bde28 12172static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12173 PyObject *resultobj;
4d5c3d91
RD
12174 wxSound *arg1 = (wxSound *) 0 ;
12175 wxString *arg2 = 0 ;
d14a1e28 12176 bool result;
ae8162c8 12177 bool temp2 = false ;
d14a1e28 12178 PyObject * obj0 = 0 ;
4d5c3d91 12179 PyObject * obj1 = 0 ;
36cadbf7
RD
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "fileName", NULL
12182 };
d14a1e28 12183
36cadbf7 12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
12187 {
12188 arg2 = wxString_in_helper(obj1);
12189 if (arg2 == NULL) SWIG_fail;
ae8162c8 12190 temp2 = true;
4d5c3d91 12191 }
d14a1e28
RD
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 12194 result = (bool)(arg1)->Create((wxString const &)*arg2);
d14a1e28
RD
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
4f89f6a3
RD
12199 {
12200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12201 }
4d5c3d91
RD
12202 {
12203 if (temp2)
12204 delete arg2;
12205 }
d14a1e28
RD
12206 return resultobj;
12207 fail:
4d5c3d91
RD
12208 {
12209 if (temp2)
12210 delete arg2;
12211 }
d14a1e28
RD
12212 return NULL;
12213}
12214
12215
c32bde28 12216static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12217 PyObject *resultobj;
4d5c3d91 12218 wxSound *arg1 = (wxSound *) 0 ;
36cadbf7 12219 PyObject *arg2 = (PyObject *) 0 ;
d14a1e28
RD
12220 bool result;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
36cadbf7
RD
12223 char *kwnames[] = {
12224 (char *) "self",(char *) "data", NULL
12225 };
4d5c3d91 12226
36cadbf7 12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36cadbf7 12230 arg2 = obj1;
4d5c3d91
RD
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 12233 result = (bool)wxSound_CreateFromData(arg1,arg2);
4d5c3d91
RD
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
4f89f6a3
RD
12238 {
12239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12240 }
4d5c3d91
RD
12241 return resultobj;
12242 fail:
12243 return NULL;
12244}
12245
12246
c32bde28 12247static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
12248 PyObject *resultobj;
12249 wxSound *arg1 = (wxSound *) 0 ;
12250 bool result;
12251 PyObject * obj0 = 0 ;
d14a1e28 12252 char *kwnames[] = {
4d5c3d91 12253 (char *) "self", NULL
d14a1e28
RD
12254 };
12255
4d5c3d91 12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
12257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (bool)(arg1)->IsOk();
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
4f89f6a3
RD
12266 {
12267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12268 }
4d5c3d91
RD
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
c32bde28 12275static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
12276 PyObject *resultobj;
12277 wxSound *arg1 = (wxSound *) 0 ;
12278 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12279 bool result;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
36cadbf7
RD
12282 char *kwnames[] = {
12283 (char *) "self",(char *) "flags", NULL
12284 };
4d5c3d91 12285
36cadbf7 12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12289 if (obj1) {
c32bde28 12290 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 12291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12292 }
4d5c3d91 12293 {
e3b71cb8 12294 if (!wxPyCheckForApp()) SWIG_fail;
4d5c3d91
RD
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)((wxSound const *)arg1)->Play(arg2);
12297
12298 wxPyEndAllowThreads(__tstate);
110da5b0 12299 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91 12300 }
4f89f6a3
RD
12301 {
12302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12303 }
4d5c3d91
RD
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
c32bde28 12310static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
12311 PyObject *resultobj;
12312 wxString *arg1 = 0 ;
12313 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12314 bool result;
ae8162c8 12315 bool temp1 = false ;
4d5c3d91
RD
12316 PyObject * obj0 = 0 ;
12317 PyObject * obj1 = 0 ;
36cadbf7
RD
12318 char *kwnames[] = {
12319 (char *) "filename",(char *) "flags", NULL
12320 };
4d5c3d91 12321
36cadbf7 12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
4d5c3d91
RD
12323 {
12324 arg1 = wxString_in_helper(obj0);
12325 if (arg1 == NULL) SWIG_fail;
ae8162c8 12326 temp1 = true;
4d5c3d91
RD
12327 }
12328 if (obj1) {
c32bde28 12329 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 12330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12331 }
12332 {
e3b71cb8 12333 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 12335 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
12336
12337 wxPyEndAllowThreads(__tstate);
110da5b0 12338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12339 }
4f89f6a3
RD
12340 {
12341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12342 }
4d5c3d91
RD
12343 {
12344 if (temp1)
12345 delete arg1;
12346 }
d14a1e28
RD
12347 return resultobj;
12348 fail:
4d5c3d91
RD
12349 {
12350 if (temp1)
12351 delete arg1;
12352 }
d14a1e28
RD
12353 return NULL;
12354}
12355
12356
c32bde28 12357static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
12358 PyObject *resultobj;
12359 char *kwnames[] = {
12360 NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
12364 {
e3b71cb8 12365 if (!wxPyCheckForApp()) SWIG_fail;
4d5c3d91
RD
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 wxSound::Stop();
12368
12369 wxPyEndAllowThreads(__tstate);
110da5b0 12370 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
12371 }
12372 Py_INCREF(Py_None); resultobj = Py_None;
12373 return resultobj;
12374 fail:
12375 return NULL;
12376}
12377
12378
c32bde28 12379static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12380 PyObject *obj;
12381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4d5c3d91 12382 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
12383 Py_INCREF(obj);
12384 return Py_BuildValue((char *)"");
12385}
c32bde28 12386static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12387 PyObject *resultobj;
12388 wxString *arg1 = 0 ;
12389 wxString *arg2 = 0 ;
12390 wxString *arg3 = 0 ;
12391 wxString *arg4 = 0 ;
12392 wxFileTypeInfo *result;
ae8162c8
RD
12393 bool temp1 = false ;
12394 bool temp2 = false ;
12395 bool temp3 = false ;
12396 bool temp4 = false ;
d14a1e28
RD
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 PyObject * obj2 = 0 ;
12400 PyObject * obj3 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12406 {
12407 arg1 = wxString_in_helper(obj0);
12408 if (arg1 == NULL) SWIG_fail;
ae8162c8 12409 temp1 = true;
d14a1e28
RD
12410 }
12411 {
12412 arg2 = wxString_in_helper(obj1);
12413 if (arg2 == NULL) SWIG_fail;
ae8162c8 12414 temp2 = true;
d14a1e28
RD
12415 }
12416 {
12417 arg3 = wxString_in_helper(obj2);
12418 if (arg3 == NULL) SWIG_fail;
ae8162c8 12419 temp3 = true;
d14a1e28
RD
12420 }
12421 {
12422 arg4 = wxString_in_helper(obj3);
12423 if (arg4 == NULL) SWIG_fail;
ae8162c8 12424 temp4 = true;
d14a1e28
RD
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
15afbcd0 12433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
12434 {
12435 if (temp1)
12436 delete arg1;
12437 }
12438 {
12439 if (temp2)
12440 delete arg2;
12441 }
12442 {
12443 if (temp3)
12444 delete arg3;
12445 }
12446 {
12447 if (temp4)
12448 delete arg4;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp1)
12454 delete arg1;
12455 }
12456 {
12457 if (temp2)
12458 delete arg2;
12459 }
12460 {
12461 if (temp3)
12462 delete arg3;
12463 }
12464 {
12465 if (temp4)
12466 delete arg4;
12467 }
12468 return NULL;
12469}
12470
12471
c32bde28 12472static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12473 PyObject *resultobj;
12474 wxArrayString *arg1 = 0 ;
12475 wxFileTypeInfo *result;
ae8162c8 12476 bool temp1 = false ;
d14a1e28
RD
12477 PyObject * obj0 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "sArray", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12483 {
12484 if (! PySequence_Check(obj0)) {
12485 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12486 SWIG_fail;
12487 }
12488 arg1 = new wxArrayString;
ae8162c8 12489 temp1 = true;
d14a1e28
RD
12490 int i, len=PySequence_Length(obj0);
12491 for (i=0; i<len; i++) {
12492 PyObject* item = PySequence_GetItem(obj0, i);
12493#if wxUSE_UNICODE
12494 PyObject* str = PyObject_Unicode(item);
12495#else
12496 PyObject* str = PyObject_Str(item);
12497#endif
74a57fcd 12498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12499 arg1->Add(Py2wxString(str));
12500 Py_DECREF(item);
12501 Py_DECREF(str);
12502 }
12503 }
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
15afbcd0 12511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 12512 {
3adfb63b 12513 if (temp1) delete arg1;
d14a1e28
RD
12514 }
12515 return resultobj;
12516 fail:
12517 {
3adfb63b 12518 if (temp1) delete arg1;
d14a1e28
RD
12519 }
12520 return NULL;
12521}
12522
12523
c32bde28 12524static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12525 PyObject *resultobj;
12526 wxFileTypeInfo *result;
12527 char *kwnames[] = {
12528 NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
15afbcd0 12539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
12540 return resultobj;
12541 fail:
12542 return NULL;
12543}
12544
12545
c32bde28 12546static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12547 PyObject *resultobj;
12548 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12549 bool result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
15afbcd0
RD
12556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
4f89f6a3
RD
12565 {
12566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12567 }
d14a1e28
RD
12568 return resultobj;
12569 fail:
12570 return NULL;
12571}
12572
12573
c32bde28 12574static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12575 PyObject *resultobj;
12576 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12577 wxString *arg2 = 0 ;
12578 int arg3 = (int) 0 ;
ae8162c8 12579 bool temp2 = false ;
d14a1e28
RD
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
994141e6 12582 PyObject * obj2 = 0 ;
d14a1e28
RD
12583 char *kwnames[] = {
12584 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12585 };
12586
994141e6 12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12590 {
12591 arg2 = wxString_in_helper(obj1);
12592 if (arg2 == NULL) SWIG_fail;
ae8162c8 12593 temp2 = true;
d14a1e28 12594 }
994141e6 12595 if (obj2) {
c32bde28 12596 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12597 if (PyErr_Occurred()) SWIG_fail;
994141e6 12598 }
d14a1e28
RD
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 Py_INCREF(Py_None); resultobj = Py_None;
12607 {
12608 if (temp2)
12609 delete arg2;
12610 }
12611 return resultobj;
12612 fail:
12613 {
12614 if (temp2)
12615 delete arg2;
12616 }
12617 return NULL;
12618}
12619
12620
c32bde28 12621static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12622 PyObject *resultobj;
12623 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12624 wxString *arg2 = 0 ;
ae8162c8 12625 bool temp2 = false ;
d14a1e28
RD
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self",(char *) "shortDesc", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12635 {
12636 arg2 = wxString_in_helper(obj1);
12637 if (arg2 == NULL) SWIG_fail;
ae8162c8 12638 temp2 = true;
d14a1e28
RD
12639 }
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 (arg1)->SetShortDesc((wxString const &)*arg2);
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 Py_INCREF(Py_None); resultobj = Py_None;
12648 {
12649 if (temp2)
12650 delete arg2;
12651 }
12652 return resultobj;
12653 fail:
12654 {
12655 if (temp2)
12656 delete arg2;
12657 }
12658 return NULL;
12659}
12660
12661
c32bde28 12662static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12663 PyObject *resultobj;
12664 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12665 wxString *result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 {
12677 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12678 result = (wxString *) &_result_ref;
12679 }
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
cc6dd355
RD
12684 {
12685#if wxUSE_UNICODE
12686 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12687#else
12688 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12689#endif
12690 }
d14a1e28
RD
12691 return resultobj;
12692 fail:
12693 return NULL;
12694}
12695
12696
c32bde28 12697static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12698 PyObject *resultobj;
12699 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12700 wxString *result;
12701 PyObject * obj0 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "self", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
12707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 {
12712 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12713 result = (wxString *) &_result_ref;
12714 }
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
cc6dd355
RD
12719 {
12720#if wxUSE_UNICODE
12721 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12722#else
12723 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12724#endif
12725 }
d14a1e28
RD
12726 return resultobj;
12727 fail:
12728 return NULL;
12729}
12730
12731
c32bde28 12732static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12733 PyObject *resultobj;
12734 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12735 wxString *result;
12736 PyObject * obj0 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 {
12747 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12748 result = (wxString *) &_result_ref;
12749 }
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
cc6dd355
RD
12754 {
12755#if wxUSE_UNICODE
12756 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12757#else
12758 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12759#endif
12760 }
d14a1e28
RD
12761 return resultobj;
12762 fail:
12763 return NULL;
12764}
12765
12766
c32bde28 12767static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12768 PyObject *resultobj;
12769 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12770 wxString *result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 {
12782 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12783 result = (wxString *) &_result_ref;
12784 }
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
cc6dd355
RD
12789 {
12790#if wxUSE_UNICODE
12791 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12792#else
12793 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12794#endif
12795 }
d14a1e28
RD
12796 return resultobj;
12797 fail:
12798 return NULL;
12799}
12800
12801
c32bde28 12802static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12803 PyObject *resultobj;
12804 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12805 wxString *result;
12806 PyObject * obj0 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "self", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
12812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 {
12817 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12818 result = (wxString *) &_result_ref;
12819 }
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
cc6dd355
RD
12824 {
12825#if wxUSE_UNICODE
12826 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12827#else
12828 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12829#endif
12830 }
d14a1e28
RD
12831 return resultobj;
12832 fail:
12833 return NULL;
12834}
12835
12836
c32bde28 12837static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12838 PyObject *resultobj;
12839 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12840 wxArrayString *result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
15afbcd0
RD
12847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 {
12852 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12853 result = (wxArrayString *) &_result_ref;
12854 }
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 {
12860 resultobj = wxArrayString2PyList_helper(*result);
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12869 PyObject *resultobj;
12870 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
c32bde28 12887 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12888 return resultobj;
12889 fail:
12890 return NULL;
12891}
12892
12893
c32bde28 12894static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12895 PyObject *resultobj;
12896 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12897 wxString *result;
12898 PyObject * obj0 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
12904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 {
12909 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12910 result = (wxString *) &_result_ref;
12911 }
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
cc6dd355
RD
12916 {
12917#if wxUSE_UNICODE
12918 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12919#else
12920 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12921#endif
12922 }
d14a1e28
RD
12923 return resultobj;
12924 fail:
12925 return NULL;
12926}
12927
12928
c32bde28 12929static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12930 PyObject *resultobj;
12931 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12932 int result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
c32bde28 12948 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12949 return resultobj;
12950 fail:
12951 return NULL;
12952}
12953
12954
c32bde28 12955static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12956 PyObject *obj;
12957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12958 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12959 Py_INCREF(obj);
12960 return Py_BuildValue((char *)"");
12961}
c32bde28 12962static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12963 PyObject *resultobj;
12964 wxFileTypeInfo *arg1 = 0 ;
12965 wxFileType *result;
12966 PyObject * obj0 = 0 ;
12967 char *kwnames[] = {
12968 (char *) "ftInfo", NULL
12969 };
12970
12971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12973 SWIG_POINTER_EXCEPTION | 0)) == -1)
12974 SWIG_fail;
d14a1e28 12975 if (arg1 == NULL) {
15afbcd0
RD
12976 PyErr_SetString(PyExc_TypeError,"null reference");
12977 SWIG_fail;
d14a1e28
RD
12978 }
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
15afbcd0 12986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
12987 return resultobj;
12988 fail:
12989 return NULL;
12990}
12991
12992
c32bde28 12993static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12994 PyObject *resultobj;
12995 wxFileType *arg1 = (wxFileType *) 0 ;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
15afbcd0
RD
13002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 delete arg1;
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 Py_INCREF(Py_None); resultobj = Py_None;
13012 return resultobj;
13013 fail:
13014 return NULL;
13015}
13016
13017
c32bde28 13018static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13019 PyObject *resultobj;
13020 wxFileType *arg1 = (wxFileType *) 0 ;
13021 PyObject *result;
13022 PyObject * obj0 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (PyObject *)wxFileType_GetMimeType(arg1);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 resultobj = result;
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
c32bde28 13044static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13045 PyObject *resultobj;
13046 wxFileType *arg1 = (wxFileType *) 0 ;
13047 PyObject *result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
15afbcd0
RD
13054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 resultobj = result;
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
c32bde28 13070static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13071 PyObject *resultobj;
13072 wxFileType *arg1 = (wxFileType *) 0 ;
13073 PyObject *result;
13074 PyObject * obj0 = 0 ;
13075 char *kwnames[] = {
13076 (char *) "self", NULL
13077 };
13078
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
15afbcd0
RD
13080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 result = (PyObject *)wxFileType_GetExtensions(arg1);
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) SWIG_fail;
13088 }
13089 resultobj = result;
13090 return resultobj;
13091 fail:
13092 return NULL;
13093}
13094
13095
c32bde28 13096static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13097 PyObject *resultobj;
13098 wxFileType *arg1 = (wxFileType *) 0 ;
13099 wxIcon *result;
13100 PyObject * obj0 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (wxIcon *)wxFileType_GetIcon(arg1);
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
15afbcd0 13115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
13116 return resultobj;
13117 fail:
13118 return NULL;
13119}
13120
13121
c32bde28 13122static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13123 PyObject *resultobj;
13124 wxFileType *arg1 = (wxFileType *) 0 ;
13125 PyObject *result;
13126 PyObject * obj0 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
13132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (PyObject *)wxFileType_GetIconInfo(arg1);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 resultobj = result;
13142 return resultobj;
13143 fail:
13144 return NULL;
13145}
13146
13147
c32bde28 13148static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13149 PyObject *resultobj;
13150 wxFileType *arg1 = (wxFileType *) 0 ;
13151 PyObject *result;
13152 PyObject * obj0 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
13158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = (PyObject *)wxFileType_GetDescription(arg1);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = result;
13168 return resultobj;
13169 fail:
13170 return NULL;
13171}
13172
13173
c32bde28 13174static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13175 PyObject *resultobj;
13176 wxFileType *arg1 = (wxFileType *) 0 ;
13177 wxString *arg2 = 0 ;
13178 wxString const &arg3_defvalue = wxPyEmptyString ;
13179 wxString *arg3 = (wxString *) &arg3_defvalue ;
13180 PyObject *result;
ae8162c8
RD
13181 bool temp2 = false ;
13182 bool temp3 = false ;
d14a1e28
RD
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 PyObject * obj2 = 0 ;
13186 char *kwnames[] = {
13187 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13188 };
13189
13190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13193 {
13194 arg2 = wxString_in_helper(obj1);
13195 if (arg2 == NULL) SWIG_fail;
ae8162c8 13196 temp2 = true;
d14a1e28
RD
13197 }
13198 if (obj2) {
13199 {
13200 arg3 = wxString_in_helper(obj2);
13201 if (arg3 == NULL) SWIG_fail;
ae8162c8 13202 temp3 = true;
d14a1e28
RD
13203 }
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = result;
13213 {
13214 if (temp2)
13215 delete arg2;
13216 }
13217 {
13218 if (temp3)
13219 delete arg3;
13220 }
13221 return resultobj;
13222 fail:
13223 {
13224 if (temp2)
13225 delete arg2;
13226 }
13227 {
13228 if (temp3)
13229 delete arg3;
13230 }
13231 return NULL;
13232}
13233
13234
c32bde28 13235static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13236 PyObject *resultobj;
13237 wxFileType *arg1 = (wxFileType *) 0 ;
13238 wxString *arg2 = 0 ;
13239 wxString const &arg3_defvalue = wxPyEmptyString ;
13240 wxString *arg3 = (wxString *) &arg3_defvalue ;
13241 PyObject *result;
ae8162c8
RD
13242 bool temp2 = false ;
13243 bool temp3 = false ;
d14a1e28
RD
13244 PyObject * obj0 = 0 ;
13245 PyObject * obj1 = 0 ;
13246 PyObject * obj2 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13254 {
13255 arg2 = wxString_in_helper(obj1);
13256 if (arg2 == NULL) SWIG_fail;
ae8162c8 13257 temp2 = true;
d14a1e28
RD
13258 }
13259 if (obj2) {
13260 {
13261 arg3 = wxString_in_helper(obj2);
13262 if (arg3 == NULL) SWIG_fail;
ae8162c8 13263 temp3 = true;
d14a1e28
RD
13264 }
13265 }
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 resultobj = result;
13274 {
13275 if (temp2)
13276 delete arg2;
13277 }
13278 {
13279 if (temp3)
13280 delete arg3;
13281 }
13282 return resultobj;
13283 fail:
13284 {
13285 if (temp2)
13286 delete arg2;
13287 }
13288 {
13289 if (temp3)
13290 delete arg3;
13291 }
13292 return NULL;
13293}
13294
13295
c32bde28 13296static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13297 PyObject *resultobj;
13298 wxFileType *arg1 = (wxFileType *) 0 ;
13299 wxString *arg2 = 0 ;
13300 wxString const &arg3_defvalue = wxPyEmptyString ;
13301 wxString *arg3 = (wxString *) &arg3_defvalue ;
13302 PyObject *result;
ae8162c8
RD
13303 bool temp2 = false ;
13304 bool temp3 = false ;
d14a1e28
RD
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 PyObject * obj2 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
ae8162c8 13318 temp2 = true;
d14a1e28
RD
13319 }
13320 if (obj2) {
13321 {
13322 arg3 = wxString_in_helper(obj2);
13323 if (arg3 == NULL) SWIG_fail;
ae8162c8 13324 temp3 = true;
d14a1e28
RD
13325 }
13326 }
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 resultobj = result;
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 {
13340 if (temp3)
13341 delete arg3;
13342 }
13343 return resultobj;
13344 fail:
13345 {
13346 if (temp2)
13347 delete arg2;
13348 }
13349 {
13350 if (temp3)
13351 delete arg3;
13352 }
13353 return NULL;
13354}
13355
13356
c32bde28 13357static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13358 PyObject *resultobj;
13359 wxFileType *arg1 = (wxFileType *) 0 ;
13360 wxString *arg2 = 0 ;
13361 wxString *arg3 = 0 ;
ae8162c8 13362 bool arg4 = (bool) true ;
d14a1e28 13363 bool result;
ae8162c8
RD
13364 bool temp2 = false ;
13365 bool temp3 = false ;
d14a1e28
RD
13366 PyObject * obj0 = 0 ;
13367 PyObject * obj1 = 0 ;
13368 PyObject * obj2 = 0 ;
13369 PyObject * obj3 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13377 {
13378 arg2 = wxString_in_helper(obj1);
13379 if (arg2 == NULL) SWIG_fail;
ae8162c8 13380 temp2 = true;
d14a1e28
RD
13381 }
13382 {
13383 arg3 = wxString_in_helper(obj2);
13384 if (arg3 == NULL) SWIG_fail;
ae8162c8 13385 temp3 = true;
d14a1e28
RD
13386 }
13387 if (obj3) {
c32bde28 13388 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 13389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13390 }
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
4f89f6a3
RD
13398 {
13399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13400 }
d14a1e28
RD
13401 {
13402 if (temp2)
13403 delete arg2;
13404 }
13405 {
13406 if (temp3)
13407 delete arg3;
13408 }
13409 return resultobj;
13410 fail:
13411 {
13412 if (temp2)
13413 delete arg2;
13414 }
13415 {
13416 if (temp3)
13417 delete arg3;
13418 }
13419 return NULL;
13420}
13421
13422
c32bde28 13423static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13424 PyObject *resultobj;
13425 wxFileType *arg1 = (wxFileType *) 0 ;
13426 wxString const &arg2_defvalue = wxPyEmptyString ;
13427 wxString *arg2 = (wxString *) &arg2_defvalue ;
13428 int arg3 = (int) 0 ;
13429 bool result;
ae8162c8 13430 bool temp2 = false ;
d14a1e28
RD
13431 PyObject * obj0 = 0 ;
13432 PyObject * obj1 = 0 ;
994141e6 13433 PyObject * obj2 = 0 ;
d14a1e28
RD
13434 char *kwnames[] = {
13435 (char *) "self",(char *) "cmd",(char *) "index", NULL
13436 };
13437
994141e6 13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13441 if (obj1) {
13442 {
13443 arg2 = wxString_in_helper(obj1);
13444 if (arg2 == NULL) SWIG_fail;
ae8162c8 13445 temp2 = true;
d14a1e28
RD
13446 }
13447 }
994141e6 13448 if (obj2) {
c32bde28 13449 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13450 if (PyErr_Occurred()) SWIG_fail;
994141e6 13451 }
d14a1e28
RD
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
4f89f6a3
RD
13459 {
13460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13461 }
d14a1e28
RD
13462 {
13463 if (temp2)
13464 delete arg2;
13465 }
13466 return resultobj;
13467 fail:
13468 {
13469 if (temp2)
13470 delete arg2;
13471 }
13472 return NULL;
13473}
13474
13475
c32bde28 13476static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13477 PyObject *resultobj;
13478 wxFileType *arg1 = (wxFileType *) 0 ;
13479 bool result;
13480 PyObject * obj0 = 0 ;
13481 char *kwnames[] = {
13482 (char *) "self", NULL
13483 };
13484
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
15afbcd0
RD
13486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 result = (bool)(arg1)->Unassociate();
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
4f89f6a3
RD
13495 {
13496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13497 }
d14a1e28
RD
13498 return resultobj;
13499 fail:
13500 return NULL;
13501}
13502
13503
c32bde28 13504static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13505 PyObject *resultobj;
13506 wxString *arg1 = 0 ;
13507 wxString *arg2 = 0 ;
13508 wxString const &arg3_defvalue = wxPyEmptyString ;
13509 wxString *arg3 = (wxString *) &arg3_defvalue ;
13510 wxString result;
ae8162c8
RD
13511 bool temp1 = false ;
13512 bool temp2 = false ;
13513 bool temp3 = false ;
d14a1e28
RD
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 PyObject * obj2 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13522 {
13523 arg1 = wxString_in_helper(obj0);
13524 if (arg1 == NULL) SWIG_fail;
ae8162c8 13525 temp1 = true;
d14a1e28
RD
13526 }
13527 {
13528 arg2 = wxString_in_helper(obj1);
13529 if (arg2 == NULL) SWIG_fail;
ae8162c8 13530 temp2 = true;
d14a1e28
RD
13531 }
13532 if (obj2) {
13533 {
13534 arg3 = wxString_in_helper(obj2);
13535 if (arg3 == NULL) SWIG_fail;
ae8162c8 13536 temp3 = true;
d14a1e28
RD
13537 }
13538 }
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547#if wxUSE_UNICODE
13548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13549#else
13550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13551#endif
13552 }
13553 {
13554 if (temp1)
13555 delete arg1;
13556 }
13557 {
13558 if (temp2)
13559 delete arg2;
13560 }
13561 {
13562 if (temp3)
13563 delete arg3;
13564 }
13565 return resultobj;
13566 fail:
13567 {
13568 if (temp1)
13569 delete arg1;
13570 }
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 {
13576 if (temp3)
13577 delete arg3;
13578 }
13579 return NULL;
13580}
13581
13582
c32bde28 13583static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13584 PyObject *obj;
13585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13586 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13587 Py_INCREF(obj);
13588 return Py_BuildValue((char *)"");
13589}
c32bde28 13590static int _wrap_TheMimeTypesManager_set(PyObject *) {
d14a1e28
RD
13591 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13592 return 1;
13593}
13594
13595
13596static PyObject *_wrap_TheMimeTypesManager_get() {
13597 PyObject *pyobj;
13598
15afbcd0 13599 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
13600 return pyobj;
13601}
13602
13603
c32bde28 13604static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13605 PyObject *resultobj;
13606 wxString *arg1 = 0 ;
13607 wxString *arg2 = 0 ;
13608 bool result;
ae8162c8
RD
13609 bool temp1 = false ;
13610 bool temp2 = false ;
d14a1e28
RD
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "mimeType",(char *) "wildcard", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13618 {
13619 arg1 = wxString_in_helper(obj0);
13620 if (arg1 == NULL) SWIG_fail;
ae8162c8 13621 temp1 = true;
d14a1e28
RD
13622 }
13623 {
13624 arg2 = wxString_in_helper(obj1);
13625 if (arg2 == NULL) SWIG_fail;
ae8162c8 13626 temp2 = true;
d14a1e28
RD
13627 }
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
4f89f6a3
RD
13635 {
13636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13637 }
d14a1e28
RD
13638 {
13639 if (temp1)
13640 delete arg1;
13641 }
13642 {
13643 if (temp2)
13644 delete arg2;
13645 }
13646 return resultobj;
13647 fail:
13648 {
13649 if (temp1)
13650 delete arg1;
13651 }
13652 {
13653 if (temp2)
13654 delete arg2;
13655 }
13656 return NULL;
13657}
13658
13659
c32bde28 13660static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13661 PyObject *resultobj;
13662 wxMimeTypesManager *result;
13663 char *kwnames[] = {
13664 NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
15afbcd0 13675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
13676 return resultobj;
13677 fail:
13678 return NULL;
13679}
13680
13681
c32bde28 13682static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13683 PyObject *resultobj;
13684 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13685 int arg2 = (int) wxMAILCAP_ALL ;
13686 wxString const &arg3_defvalue = wxPyEmptyString ;
13687 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 13688 bool temp3 = false ;
d14a1e28 13689 PyObject * obj0 = 0 ;
994141e6 13690 PyObject * obj1 = 0 ;
d14a1e28
RD
13691 PyObject * obj2 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13694 };
13695
994141e6 13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13699 if (obj1) {
c32bde28 13700 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13701 if (PyErr_Occurred()) SWIG_fail;
994141e6 13702 }
d14a1e28
RD
13703 if (obj2) {
13704 {
13705 arg3 = wxString_in_helper(obj2);
13706 if (arg3 == NULL) SWIG_fail;
ae8162c8 13707 temp3 = true;
d14a1e28
RD
13708 }
13709 }
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 Py_INCREF(Py_None); resultobj = Py_None;
13718 {
13719 if (temp3)
13720 delete arg3;
13721 }
13722 return resultobj;
13723 fail:
13724 {
13725 if (temp3)
13726 delete arg3;
13727 }
13728 return NULL;
13729}
13730
13731
c32bde28 13732static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13733 PyObject *resultobj;
13734 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13735 PyObject * obj0 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->ClearData();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754}
13755
13756
c32bde28 13757static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13758 PyObject *resultobj;
13759 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13760 wxString *arg2 = 0 ;
13761 wxFileType *result;
ae8162c8 13762 bool temp2 = false ;
d14a1e28
RD
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self",(char *) "ext", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13772 {
13773 arg2 = wxString_in_helper(obj1);
13774 if (arg2 == NULL) SWIG_fail;
ae8162c8 13775 temp2 = true;
d14a1e28
RD
13776 }
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
15afbcd0 13784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13785 {
13786 if (temp2)
13787 delete arg2;
13788 }
13789 return resultobj;
13790 fail:
13791 {
13792 if (temp2)
13793 delete arg2;
13794 }
13795 return NULL;
13796}
13797
13798
c32bde28 13799static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13800 PyObject *resultobj;
13801 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13802 wxString *arg2 = 0 ;
13803 wxFileType *result;
ae8162c8 13804 bool temp2 = false ;
d14a1e28
RD
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self",(char *) "mimeType", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13814 {
13815 arg2 = wxString_in_helper(obj1);
13816 if (arg2 == NULL) SWIG_fail;
ae8162c8 13817 temp2 = true;
d14a1e28
RD
13818 }
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
15afbcd0 13826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13827 {
13828 if (temp2)
13829 delete arg2;
13830 }
13831 return resultobj;
13832 fail:
13833 {
13834 if (temp2)
13835 delete arg2;
13836 }
13837 return NULL;
13838}
13839
13840
c32bde28 13841static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13842 PyObject *resultobj;
13843 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13844 wxString *arg2 = 0 ;
ae8162c8 13845 bool arg3 = (bool) false ;
d14a1e28 13846 bool result;
ae8162c8 13847 bool temp2 = false ;
d14a1e28
RD
13848 PyObject * obj0 = 0 ;
13849 PyObject * obj1 = 0 ;
13850 PyObject * obj2 = 0 ;
13851 char *kwnames[] = {
13852 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13853 };
13854
13855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13858 {
13859 arg2 = wxString_in_helper(obj1);
13860 if (arg2 == NULL) SWIG_fail;
ae8162c8 13861 temp2 = true;
d14a1e28
RD
13862 }
13863 if (obj2) {
c32bde28 13864 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 13865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13866 }
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
4f89f6a3
RD
13874 {
13875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13876 }
d14a1e28
RD
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 return resultobj;
13882 fail:
13883 {
13884 if (temp2)
13885 delete arg2;
13886 }
13887 return NULL;
13888}
13889
13890
c32bde28 13891static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13892 PyObject *resultobj;
13893 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13894 wxString *arg2 = 0 ;
13895 bool result;
ae8162c8 13896 bool temp2 = false ;
d14a1e28
RD
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self",(char *) "filename", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13906 {
13907 arg2 = wxString_in_helper(obj1);
13908 if (arg2 == NULL) SWIG_fail;
ae8162c8 13909 temp2 = true;
d14a1e28
RD
13910 }
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
4f89f6a3
RD
13918 {
13919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13920 }
d14a1e28
RD
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return NULL;
13932}
13933
13934
c32bde28 13935static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13936 PyObject *resultobj;
13937 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13938 PyObject *result;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
15afbcd0
RD
13945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = result;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958}
13959
13960
c32bde28 13961static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13962 PyObject *resultobj;
13963 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13964 wxFileTypeInfo *arg2 = 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "ft", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13975 SWIG_POINTER_EXCEPTION | 0)) == -1)
13976 SWIG_fail;
d14a1e28 13977 if (arg2 == NULL) {
15afbcd0
RD
13978 PyErr_SetString(PyExc_TypeError,"null reference");
13979 SWIG_fail;
d14a1e28
RD
13980 }
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 Py_INCREF(Py_None); resultobj = Py_None;
13989 return resultobj;
13990 fail:
13991 return NULL;
13992}
13993
13994
c32bde28 13995static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13996 PyObject *resultobj;
13997 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13998 wxFileTypeInfo *arg2 = 0 ;
13999 wxFileType *result;
14000 PyObject * obj0 = 0 ;
14001 PyObject * obj1 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self",(char *) "ftInfo", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1)
14011 SWIG_fail;
d14a1e28 14012 if (arg2 == NULL) {
15afbcd0
RD
14013 PyErr_SetString(PyExc_TypeError,"null reference");
14014 SWIG_fail;
d14a1e28
RD
14015 }
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
14019
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
15afbcd0 14023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
14024 return resultobj;
14025 fail:
14026 return NULL;
14027}
14028
14029
c32bde28 14030static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14031 PyObject *resultobj;
14032 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
14033 wxFileType *arg2 = (wxFileType *) 0 ;
14034 bool result;
14035 PyObject * obj0 = 0 ;
14036 PyObject * obj1 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "ft", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
14043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
14045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)(arg1)->Unassociate(arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
4f89f6a3
RD
14053 {
14054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14055 }
d14a1e28
RD
14056 return resultobj;
14057 fail:
14058 return NULL;
14059}
14060
14061
c32bde28 14062static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14063 PyObject *resultobj;
14064 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
15afbcd0
RD
14071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
14072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 delete arg1;
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 Py_INCREF(Py_None); resultobj = Py_None;
14081 return resultobj;
14082 fail:
14083 return NULL;
14084}
14085
14086
c32bde28 14087static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14088 PyObject *obj;
14089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14090 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
14091 Py_INCREF(obj);
14092 return Py_BuildValue((char *)"");
14093}
c32bde28 14094static int _wrap_ART_TOOLBAR_set(PyObject *) {
d14a1e28
RD
14095 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
14096 return 1;
14097}
14098
14099
14100static PyObject *_wrap_ART_TOOLBAR_get() {
14101 PyObject *pyobj;
14102
14103 {
14104#if wxUSE_UNICODE
14105 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
14106#else
14107 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
14108#endif
14109 }
14110 return pyobj;
14111}
14112
14113
c32bde28 14114static int _wrap_ART_MENU_set(PyObject *) {
d14a1e28
RD
14115 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
14116 return 1;
14117}
14118
14119
14120static PyObject *_wrap_ART_MENU_get() {
14121 PyObject *pyobj;
14122
14123 {
14124#if wxUSE_UNICODE
14125 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
14126#else
14127 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
14128#endif
14129 }
14130 return pyobj;
14131}
14132
14133
c32bde28 14134static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d14a1e28
RD
14135 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
14136 return 1;
14137}
14138
14139
14140static PyObject *_wrap_ART_FRAME_ICON_get() {
14141 PyObject *pyobj;
14142
14143 {
14144#if wxUSE_UNICODE
14145 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
14146#else
14147 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
14148#endif
14149 }
14150 return pyobj;
14151}
14152
14153
c32bde28 14154static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d14a1e28
RD
14155 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
14156 return 1;
14157}
14158
14159
14160static PyObject *_wrap_ART_CMN_DIALOG_get() {
14161 PyObject *pyobj;
14162
14163 {
14164#if wxUSE_UNICODE
14165 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14166#else
14167 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14168#endif
14169 }
14170 return pyobj;
14171}
14172
14173
c32bde28 14174static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d14a1e28
RD
14175 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
14176 return 1;
14177}
14178
14179
14180static PyObject *_wrap_ART_HELP_BROWSER_get() {
14181 PyObject *pyobj;
14182
14183 {
14184#if wxUSE_UNICODE
14185 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14186#else
14187 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14188#endif
14189 }
14190 return pyobj;
14191}
14192
14193
c32bde28 14194static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d14a1e28
RD
14195 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
14196 return 1;
14197}
14198
14199
14200static PyObject *_wrap_ART_MESSAGE_BOX_get() {
14201 PyObject *pyobj;
14202
14203 {
14204#if wxUSE_UNICODE
14205 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14206#else
14207 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14208#endif
14209 }
14210 return pyobj;
14211}
14212
14213
c32bde28 14214static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
14215 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
14216 return 1;
14217}
14218
14219
14220static PyObject *_wrap_ART_BUTTON_get() {
14221 PyObject *pyobj;
14222
14223 {
14224#if wxUSE_UNICODE
14225 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14226#else
14227 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14228#endif
14229 }
14230 return pyobj;
14231}
14232
14233
c32bde28 14234static int _wrap_ART_OTHER_set(PyObject *) {
d14a1e28
RD
14235 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
14236 return 1;
14237}
14238
14239
14240static PyObject *_wrap_ART_OTHER_get() {
14241 PyObject *pyobj;
14242
14243 {
14244#if wxUSE_UNICODE
14245 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14246#else
14247 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14248#endif
14249 }
14250 return pyobj;
14251}
14252
14253
c32bde28 14254static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d14a1e28
RD
14255 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
14256 return 1;
14257}
14258
14259
14260static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
14261 PyObject *pyobj;
14262
14263 {
14264#if wxUSE_UNICODE
14265 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14266#else
14267 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14268#endif
14269 }
14270 return pyobj;
14271}
14272
14273
c32bde28 14274static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d14a1e28
RD
14275 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
14276 return 1;
14277}
14278
14279
14280static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
14281 PyObject *pyobj;
14282
14283 {
14284#if wxUSE_UNICODE
14285 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14286#else
14287 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14288#endif
14289 }
14290 return pyobj;
14291}
14292
14293
c32bde28 14294static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d14a1e28
RD
14295 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
14296 return 1;
14297}
14298
14299
14300static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
14301 PyObject *pyobj;
14302
14303 {
14304#if wxUSE_UNICODE
14305 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14306#else
14307 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14308#endif
14309 }
14310 return pyobj;
14311}
14312
14313
c32bde28 14314static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d14a1e28
RD
14315 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
14316 return 1;
14317}
14318
14319
14320static PyObject *_wrap_ART_HELP_SETTINGS_get() {
14321 PyObject *pyobj;
14322
14323 {
14324#if wxUSE_UNICODE
14325 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14326#else
14327 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14328#endif
14329 }
14330 return pyobj;
14331}
14332
14333
c32bde28 14334static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d14a1e28
RD
14335 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
14336 return 1;
14337}
14338
14339
14340static PyObject *_wrap_ART_HELP_BOOK_get() {
14341 PyObject *pyobj;
14342
14343 {
14344#if wxUSE_UNICODE
14345 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14346#else
14347 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14348#endif
14349 }
14350 return pyobj;
14351}
14352
14353
c32bde28 14354static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d14a1e28
RD
14355 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
14356 return 1;
14357}
14358
14359
14360static PyObject *_wrap_ART_HELP_FOLDER_get() {
14361 PyObject *pyobj;
14362
14363 {
14364#if wxUSE_UNICODE
14365 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14366#else
14367 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14368#endif
14369 }
14370 return pyobj;
14371}
14372
14373
c32bde28 14374static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d14a1e28
RD
14375 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
14376 return 1;
14377}
14378
14379
14380static PyObject *_wrap_ART_HELP_PAGE_get() {
14381 PyObject *pyobj;
14382
14383 {
14384#if wxUSE_UNICODE
14385 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14386#else
14387 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14388#endif
14389 }
14390 return pyobj;
14391}
14392
14393
c32bde28 14394static int _wrap_ART_GO_BACK_set(PyObject *) {
d14a1e28
RD
14395 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
14396 return 1;
14397}
14398
14399
14400static PyObject *_wrap_ART_GO_BACK_get() {
14401 PyObject *pyobj;
14402
14403 {
14404#if wxUSE_UNICODE
14405 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14406#else
14407 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14408#endif
14409 }
14410 return pyobj;
14411}
14412
14413
c32bde28 14414static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d14a1e28
RD
14415 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
14416 return 1;
14417}
14418
14419
14420static PyObject *_wrap_ART_GO_FORWARD_get() {
14421 PyObject *pyobj;
14422
14423 {
14424#if wxUSE_UNICODE
14425 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14426#else
14427 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14428#endif
14429 }
14430 return pyobj;
14431}
14432
14433
c32bde28 14434static int _wrap_ART_GO_UP_set(PyObject *) {
d14a1e28
RD
14435 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14436 return 1;
14437}
14438
14439
14440static PyObject *_wrap_ART_GO_UP_get() {
14441 PyObject *pyobj;
14442
14443 {
14444#if wxUSE_UNICODE
14445 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14446#else
14447 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14448#endif
14449 }
14450 return pyobj;
14451}
14452
14453
c32bde28 14454static int _wrap_ART_GO_DOWN_set(PyObject *) {
d14a1e28
RD
14455 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14456 return 1;
14457}
14458
14459
14460static PyObject *_wrap_ART_GO_DOWN_get() {
14461 PyObject *pyobj;
14462
14463 {
14464#if wxUSE_UNICODE
14465 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14466#else
14467 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14468#endif
14469 }
14470 return pyobj;
14471}
14472
14473
c32bde28 14474static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d14a1e28
RD
14475 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14476 return 1;
14477}
14478
14479
14480static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14481 PyObject *pyobj;
14482
14483 {
14484#if wxUSE_UNICODE
14485 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14486#else
14487 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14488#endif
14489 }
14490 return pyobj;
14491}
14492
14493
c32bde28 14494static int _wrap_ART_GO_HOME_set(PyObject *) {
d14a1e28
RD
14495 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14496 return 1;
14497}
14498
14499
14500static PyObject *_wrap_ART_GO_HOME_get() {
14501 PyObject *pyobj;
14502
14503 {
14504#if wxUSE_UNICODE
14505 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14506#else
14507 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14508#endif
14509 }
14510 return pyobj;
14511}
14512
14513
c32bde28 14514static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d14a1e28
RD
14515 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14516 return 1;
14517}
14518
14519
14520static PyObject *_wrap_ART_FILE_OPEN_get() {
14521 PyObject *pyobj;
14522
14523 {
14524#if wxUSE_UNICODE
14525 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14526#else
14527 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14528#endif
14529 }
14530 return pyobj;
14531}
14532
14533
c32bde28 14534static int _wrap_ART_PRINT_set(PyObject *) {
d14a1e28
RD
14535 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14536 return 1;
14537}
14538
14539
14540static PyObject *_wrap_ART_PRINT_get() {
14541 PyObject *pyobj;
14542
14543 {
14544#if wxUSE_UNICODE
14545 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14546#else
14547 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14548#endif
14549 }
14550 return pyobj;
14551}
14552
14553
c32bde28 14554static int _wrap_ART_HELP_set(PyObject *) {
d14a1e28
RD
14555 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14556 return 1;
14557}
14558
14559
14560static PyObject *_wrap_ART_HELP_get() {
14561 PyObject *pyobj;
14562
14563 {
14564#if wxUSE_UNICODE
14565 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14566#else
14567 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14568#endif
14569 }
14570 return pyobj;
14571}
14572
14573
c32bde28 14574static int _wrap_ART_TIP_set(PyObject *) {
d14a1e28
RD
14575 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14576 return 1;
14577}
14578
14579
14580static PyObject *_wrap_ART_TIP_get() {
14581 PyObject *pyobj;
14582
14583 {
14584#if wxUSE_UNICODE
14585 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14586#else
14587 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14588#endif
14589 }
14590 return pyobj;
14591}
14592
14593
c32bde28 14594static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d14a1e28
RD
14595 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14596 return 1;
14597}
14598
14599
14600static PyObject *_wrap_ART_REPORT_VIEW_get() {
14601 PyObject *pyobj;
14602
14603 {
14604#if wxUSE_UNICODE
14605 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14606#else
14607 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14608#endif
14609 }
14610 return pyobj;
14611}
14612
14613
c32bde28 14614static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d14a1e28
RD
14615 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14616 return 1;
14617}
14618
14619
14620static PyObject *_wrap_ART_LIST_VIEW_get() {
14621 PyObject *pyobj;
14622
14623 {
14624#if wxUSE_UNICODE
14625 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14626#else
14627 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14628#endif
14629 }
14630 return pyobj;
14631}
14632
14633
c32bde28 14634static int _wrap_ART_NEW_DIR_set(PyObject *) {
d14a1e28
RD
14635 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14636 return 1;
14637}
14638
14639
14640static PyObject *_wrap_ART_NEW_DIR_get() {
14641 PyObject *pyobj;
14642
14643 {
14644#if wxUSE_UNICODE
14645 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14646#else
14647 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14648#endif
14649 }
14650 return pyobj;
14651}
14652
14653
f78cc896
RD
14654static int _wrap_ART_HARDDISK_set(PyObject *) {
14655 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
14656 return 1;
14657}
14658
14659
14660static PyObject *_wrap_ART_HARDDISK_get() {
14661 PyObject *pyobj;
14662
14663 {
14664#if wxUSE_UNICODE
14665 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
14666#else
14667 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
14668#endif
14669 }
14670 return pyobj;
14671}
14672
14673
14674static int _wrap_ART_FLOPPY_set(PyObject *) {
14675 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
14676 return 1;
14677}
14678
14679
14680static PyObject *_wrap_ART_FLOPPY_get() {
14681 PyObject *pyobj;
14682
14683 {
14684#if wxUSE_UNICODE
14685 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
14686#else
14687 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
14688#endif
14689 }
14690 return pyobj;
14691}
14692
14693
14694static int _wrap_ART_CDROM_set(PyObject *) {
14695 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
14696 return 1;
14697}
14698
14699
14700static PyObject *_wrap_ART_CDROM_get() {
14701 PyObject *pyobj;
14702
14703 {
14704#if wxUSE_UNICODE
14705 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
14706#else
14707 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
14708#endif
14709 }
14710 return pyobj;
14711}
14712
14713
14714static int _wrap_ART_REMOVABLE_set(PyObject *) {
14715 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
14716 return 1;
14717}
14718
14719
14720static PyObject *_wrap_ART_REMOVABLE_get() {
14721 PyObject *pyobj;
14722
14723 {
14724#if wxUSE_UNICODE
14725 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
14726#else
14727 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
14728#endif
14729 }
14730 return pyobj;
14731}
14732
14733
c32bde28 14734static int _wrap_ART_FOLDER_set(PyObject *) {
d14a1e28
RD
14735 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14736 return 1;
14737}
14738
14739
14740static PyObject *_wrap_ART_FOLDER_get() {
14741 PyObject *pyobj;
14742
14743 {
14744#if wxUSE_UNICODE
14745 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14746#else
14747 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14748#endif
14749 }
14750 return pyobj;
14751}
14752
14753
f78cc896
RD
14754static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
14755 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
14756 return 1;
14757}
14758
14759
14760static PyObject *_wrap_ART_FOLDER_OPEN_get() {
14761 PyObject *pyobj;
14762
14763 {
14764#if wxUSE_UNICODE
14765 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
14766#else
14767 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
14768#endif
14769 }
14770 return pyobj;
14771}
14772
14773
c32bde28 14774static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d14a1e28
RD
14775 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14776 return 1;
14777}
14778
14779
14780static PyObject *_wrap_ART_GO_DIR_UP_get() {
14781 PyObject *pyobj;
14782
14783 {
14784#if wxUSE_UNICODE
14785 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14786#else
14787 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14788#endif
14789 }
14790 return pyobj;
14791}
14792
14793
c32bde28 14794static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d14a1e28
RD
14795 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14796 return 1;
14797}
14798
14799
14800static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14801 PyObject *pyobj;
14802
14803 {
14804#if wxUSE_UNICODE
14805 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14806#else
14807 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14808#endif
14809 }
14810 return pyobj;
14811}
14812
14813
c32bde28 14814static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d14a1e28
RD
14815 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14816 return 1;
14817}
14818
14819
14820static PyObject *_wrap_ART_NORMAL_FILE_get() {
14821 PyObject *pyobj;
14822
14823 {
14824#if wxUSE_UNICODE
14825 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14826#else
14827 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14828#endif
14829 }
14830 return pyobj;
14831}
14832
14833
c32bde28 14834static int _wrap_ART_TICK_MARK_set(PyObject *) {
d14a1e28
RD
14835 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14836 return 1;
14837}
14838
14839
14840static PyObject *_wrap_ART_TICK_MARK_get() {
14841 PyObject *pyobj;
14842
14843 {
14844#if wxUSE_UNICODE
14845 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14846#else
14847 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14848#endif
14849 }
14850 return pyobj;
14851}
14852
14853
c32bde28 14854static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d14a1e28
RD
14855 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14856 return 1;
14857}
14858
14859
14860static PyObject *_wrap_ART_CROSS_MARK_get() {
14861 PyObject *pyobj;
14862
14863 {
14864#if wxUSE_UNICODE
14865 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14866#else
14867 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14868#endif
14869 }
14870 return pyobj;
14871}
14872
14873
c32bde28 14874static int _wrap_ART_ERROR_set(PyObject *) {
d14a1e28
RD
14875 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14876 return 1;
14877}
14878
14879
14880static PyObject *_wrap_ART_ERROR_get() {
14881 PyObject *pyobj;
14882
14883 {
14884#if wxUSE_UNICODE
14885 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14886#else
14887 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14888#endif
14889 }
14890 return pyobj;
14891}
14892
14893
c32bde28 14894static int _wrap_ART_QUESTION_set(PyObject *) {
d14a1e28
RD
14895 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14896 return 1;
14897}
14898
14899
14900static PyObject *_wrap_ART_QUESTION_get() {
14901 PyObject *pyobj;
14902
14903 {
14904#if wxUSE_UNICODE
14905 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14906#else
14907 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14908#endif
14909 }
14910 return pyobj;
14911}
14912
14913
c32bde28 14914static int _wrap_ART_WARNING_set(PyObject *) {
d14a1e28
RD
14915 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14916 return 1;
14917}
14918
14919
14920static PyObject *_wrap_ART_WARNING_get() {
14921 PyObject *pyobj;
14922
14923 {
14924#if wxUSE_UNICODE
14925 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14926#else
14927 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14928#endif
14929 }
14930 return pyobj;
14931}
14932
14933
c32bde28 14934static int _wrap_ART_INFORMATION_set(PyObject *) {
d14a1e28
RD
14935 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14936 return 1;
14937}
14938
14939
14940static PyObject *_wrap_ART_INFORMATION_get() {
14941 PyObject *pyobj;
14942
14943 {
14944#if wxUSE_UNICODE
14945 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14946#else
14947 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14948#endif
14949 }
14950 return pyobj;
14951}
14952
14953
c32bde28 14954static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d14a1e28
RD
14955 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14956 return 1;
14957}
14958
14959
14960static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14961 PyObject *pyobj;
14962
14963 {
14964#if wxUSE_UNICODE
14965 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14966#else
14967 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14968#endif
14969 }
14970 return pyobj;
14971}
14972
14973
c32bde28 14974static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14975 PyObject *resultobj;
14976 wxPyArtProvider *result;
14977 char *kwnames[] = {
14978 NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14982 {
e3b71cb8 14983 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (wxPyArtProvider *)new wxPyArtProvider();
14986
14987 wxPyEndAllowThreads(__tstate);
110da5b0 14988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14989 }
15afbcd0 14990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
14991 return resultobj;
14992 fail:
14993 return NULL;
14994}
14995
14996
c32bde28 14997static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14998 PyObject *resultobj;
14999 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15000 PyObject *arg2 = (PyObject *) 0 ;
15001 PyObject *arg3 = (PyObject *) 0 ;
15002 PyObject * obj0 = 0 ;
15003 PyObject * obj1 = 0 ;
15004 PyObject * obj2 = 0 ;
15005 char *kwnames[] = {
15006 (char *) "self",(char *) "self",(char *) "_class", NULL
15007 };
15008
15009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15012 arg2 = obj1;
15013 arg3 = obj2;
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 (arg1)->_setCallbackInfo(arg2,arg3);
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 Py_INCREF(Py_None); resultobj = Py_None;
15022 return resultobj;
15023 fail:
15024 return NULL;
15025}
15026
15027
c32bde28 15028static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15029 PyObject *resultobj;
15030 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "provider", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 wxPyArtProvider::PushProvider(arg1);
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 Py_INCREF(Py_None); resultobj = Py_None;
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
c32bde28 15053static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15054 PyObject *resultobj;
15055 bool result;
15056 char *kwnames[] = {
15057 NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = (bool)wxPyArtProvider::PopProvider();
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
4f89f6a3
RD
15068 {
15069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15070 }
d14a1e28
RD
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
c32bde28 15077static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15078 PyObject *resultobj;
15079 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15080 bool result;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "provider", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
4f89f6a3
RD
15096 {
15097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15098 }
d14a1e28
RD
15099 return resultobj;
15100 fail:
15101 return NULL;
15102}
15103
15104
c32bde28 15105static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15106 PyObject *resultobj;
15107 wxString *arg1 = 0 ;
15108 wxString const &arg2_defvalue = wxPyART_OTHER ;
15109 wxString *arg2 = (wxString *) &arg2_defvalue ;
15110 wxSize const &arg3_defvalue = wxDefaultSize ;
15111 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
15112 wxBitmap result;
ae8162c8
RD
15113 bool temp1 = false ;
15114 bool temp2 = false ;
d14a1e28
RD
15115 wxSize temp3 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 PyObject * obj2 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "id",(char *) "client",(char *) "size", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15124 {
15125 arg1 = wxString_in_helper(obj0);
15126 if (arg1 == NULL) SWIG_fail;
ae8162c8 15127 temp1 = true;
d14a1e28
RD
15128 }
15129 if (obj1) {
15130 {
15131 arg2 = wxString_in_helper(obj1);
15132 if (arg2 == NULL) SWIG_fail;
ae8162c8 15133 temp2 = true;
d14a1e28
RD
15134 }
15135 }
15136 if (obj2) {
15137 {
15138 arg3 = &temp3;
15139 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
15140 }
15141 }
15142 {
e3b71cb8 15143 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
15146
15147 wxPyEndAllowThreads(__tstate);
110da5b0 15148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15149 }
15150 {
15151 wxBitmap * resultptr;
15152 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 15153 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
15154 }
15155 {
15156 if (temp1)
15157 delete arg1;
15158 }
15159 {
15160 if (temp2)
15161 delete arg2;
15162 }
15163 return resultobj;
15164 fail:
15165 {
15166 if (temp1)
15167 delete arg1;
15168 }
15169 {
15170 if (temp2)
15171 delete arg2;
15172 }
15173 return NULL;
15174}
15175
15176
c32bde28 15177static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15178 PyObject *resultobj;
15179 wxString *arg1 = 0 ;
15180 wxString const &arg2_defvalue = wxPyART_OTHER ;
15181 wxString *arg2 = (wxString *) &arg2_defvalue ;
15182 wxSize const &arg3_defvalue = wxDefaultSize ;
15183 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
15184 wxIcon result;
ae8162c8
RD
15185 bool temp1 = false ;
15186 bool temp2 = false ;
d14a1e28
RD
15187 wxSize temp3 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 PyObject * obj2 = 0 ;
15191 char *kwnames[] = {
15192 (char *) "id",(char *) "client",(char *) "size", NULL
15193 };
15194
15195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15196 {
15197 arg1 = wxString_in_helper(obj0);
15198 if (arg1 == NULL) SWIG_fail;
ae8162c8 15199 temp1 = true;
d14a1e28
RD
15200 }
15201 if (obj1) {
15202 {
15203 arg2 = wxString_in_helper(obj1);
15204 if (arg2 == NULL) SWIG_fail;
ae8162c8 15205 temp2 = true;
d14a1e28
RD
15206 }
15207 }
15208 if (obj2) {
15209 {
15210 arg3 = &temp3;
15211 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
15212 }
15213 }
15214 {
e3b71cb8 15215 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
15218
15219 wxPyEndAllowThreads(__tstate);
110da5b0 15220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15221 }
15222 {
15223 wxIcon * resultptr;
15224 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 15225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
15226 }
15227 {
15228 if (temp1)
15229 delete arg1;
15230 }
15231 {
15232 if (temp2)
15233 delete arg2;
15234 }
15235 return resultobj;
15236 fail:
15237 {
15238 if (temp1)
15239 delete arg1;
15240 }
15241 {
15242 if (temp2)
15243 delete arg2;
15244 }
15245 return NULL;
15246}
15247
15248
c32bde28 15249static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
15250 PyObject *resultobj;
15251 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 wxPyArtProvider_Destroy(arg1);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 Py_INCREF(Py_None); resultobj = Py_None;
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
c32bde28 15274static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15275 PyObject *obj;
15276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15277 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
15278 Py_INCREF(obj);
15279 return Py_BuildValue((char *)"");
15280}
c32bde28 15281static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15282 PyObject *resultobj;
15283 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15284 PyObject * obj0 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "self", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
15afbcd0
RD
15290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 delete arg1;
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 Py_INCREF(Py_None); resultobj = Py_None;
15300 return resultobj;
15301 fail:
15302 return NULL;
15303}
15304
15305
c32bde28 15306static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15307 PyObject *resultobj;
15308 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15309 wxConfigBase *result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
b88bce5f 15312 (char *) "config", NULL
d14a1e28
RD
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
15316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (wxConfigBase *)wxConfigBase::Set(arg1);
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15afbcd0 15325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
15326 return resultobj;
15327 fail:
15328 return NULL;
15329}
15330
15331
c32bde28 15332static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15333 PyObject *resultobj;
ae8162c8 15334 bool arg1 = (bool) true ;
d14a1e28
RD
15335 wxConfigBase *result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "createOnDemand", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
15342 if (obj0) {
c32bde28 15343 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 15344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15345 }
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (wxConfigBase *)wxConfigBase::Get(arg1);
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15afbcd0 15353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
15354 return resultobj;
15355 fail:
15356 return NULL;
15357}
15358
15359
c32bde28 15360static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15361 PyObject *resultobj;
15362 wxConfigBase *result;
15363 char *kwnames[] = {
15364 NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 result = (wxConfigBase *)wxConfigBase::Create();
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15afbcd0 15375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
15376 return resultobj;
15377 fail:
15378 return NULL;
15379}
15380
15381
c32bde28 15382static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15383 PyObject *resultobj;
15384 char *kwnames[] = {
15385 NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 wxConfigBase::DontCreateOnDemand();
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 Py_INCREF(Py_None); resultobj = Py_None;
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c32bde28 15403static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15404 PyObject *resultobj;
15405 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15406 wxString *arg2 = 0 ;
ae8162c8 15407 bool temp2 = false ;
d14a1e28
RD
15408 PyObject * obj0 = 0 ;
15409 PyObject * obj1 = 0 ;
15410 char *kwnames[] = {
b88bce5f 15411 (char *) "self",(char *) "path", NULL
d14a1e28
RD
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15417 {
15418 arg2 = wxString_in_helper(obj1);
15419 if (arg2 == NULL) SWIG_fail;
ae8162c8 15420 temp2 = true;
d14a1e28
RD
15421 }
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 (arg1)->SetPath((wxString const &)*arg2);
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 Py_INCREF(Py_None); resultobj = Py_None;
15430 {
15431 if (temp2)
15432 delete arg2;
15433 }
15434 return resultobj;
15435 fail:
15436 {
15437 if (temp2)
15438 delete arg2;
15439 }
15440 return NULL;
15441}
15442
15443
c32bde28 15444static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15445 PyObject *resultobj;
15446 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15447 wxString *result;
15448 PyObject * obj0 = 0 ;
15449 char *kwnames[] = {
15450 (char *) "self", NULL
15451 };
15452
15453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
15454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 {
15459 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
15460 result = (wxString *) &_result_ref;
15461 }
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
cc6dd355
RD
15466 {
15467#if wxUSE_UNICODE
15468 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15469#else
15470 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15471#endif
15472 }
d14a1e28
RD
15473 return resultobj;
15474 fail:
15475 return NULL;
15476}
15477
15478
c32bde28 15479static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15480 PyObject *resultobj;
15481 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15482 PyObject *result;
15483 PyObject * obj0 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
15afbcd0
RD
15489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 resultobj = result;
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
c32bde28 15505static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15506 PyObject *resultobj;
15507 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15508 long arg2 ;
15509 PyObject *result;
15510 PyObject * obj0 = 0 ;
994141e6 15511 PyObject * obj1 = 0 ;
d14a1e28
RD
15512 char *kwnames[] = {
15513 (char *) "self",(char *) "index", NULL
15514 };
15515
994141e6 15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15519 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 15520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 resultobj = result;
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
c32bde28 15535static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15536 PyObject *resultobj;
15537 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15538 PyObject *result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
15545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = result;
15555 return resultobj;
15556 fail:
15557 return NULL;
15558}
15559
15560
c32bde28 15561static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15562 PyObject *resultobj;
15563 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15564 long arg2 ;
15565 PyObject *result;
15566 PyObject * obj0 = 0 ;
994141e6 15567 PyObject * obj1 = 0 ;
d14a1e28
RD
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "index", NULL
15570 };
15571
994141e6 15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15575 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 15576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 resultobj = result;
15585 return resultobj;
15586 fail:
15587 return NULL;
15588}
15589
15590
c32bde28 15591static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15592 PyObject *resultobj;
15593 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 15594 bool arg2 = (bool) false ;
d14a1e28
RD
15595 size_t result;
15596 PyObject * obj0 = 0 ;
15597 PyObject * obj1 = 0 ;
15598 char *kwnames[] = {
b88bce5f 15599 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15605 if (obj1) {
c32bde28 15606 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15608 }
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
c32bde28 15616 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
15617 return resultobj;
15618 fail:
15619 return NULL;
15620}
15621
15622
c32bde28 15623static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15624 PyObject *resultobj;
15625 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 15626 bool arg2 = (bool) false ;
d14a1e28
RD
15627 size_t result;
15628 PyObject * obj0 = 0 ;
15629 PyObject * obj1 = 0 ;
15630 char *kwnames[] = {
b88bce5f 15631 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15637 if (obj1) {
c32bde28 15638 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15640 }
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
c32bde28 15648 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
15649 return resultobj;
15650 fail:
15651 return NULL;
15652}
15653
15654
c32bde28 15655static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15656 PyObject *resultobj;
15657 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15658 wxString *arg2 = 0 ;
15659 bool result;
ae8162c8 15660 bool temp2 = false ;
d14a1e28
RD
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 char *kwnames[] = {
b88bce5f 15664 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15670 {
15671 arg2 = wxString_in_helper(obj1);
15672 if (arg2 == NULL) SWIG_fail;
ae8162c8 15673 temp2 = true;
d14a1e28
RD
15674 }
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
4f89f6a3
RD
15682 {
15683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15684 }
d14a1e28
RD
15685 {
15686 if (temp2)
15687 delete arg2;
15688 }
15689 return resultobj;
15690 fail:
15691 {
15692 if (temp2)
15693 delete arg2;
15694 }
15695 return NULL;
15696}
15697
15698
c32bde28 15699static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15700 PyObject *resultobj;
15701 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15702 wxString *arg2 = 0 ;
15703 bool result;
ae8162c8 15704 bool temp2 = false ;
d14a1e28
RD
15705 PyObject * obj0 = 0 ;
15706 PyObject * obj1 = 0 ;
15707 char *kwnames[] = {
b88bce5f 15708 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15714 {
15715 arg2 = wxString_in_helper(obj1);
15716 if (arg2 == NULL) SWIG_fail;
ae8162c8 15717 temp2 = true;
d14a1e28
RD
15718 }
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
4f89f6a3
RD
15726 {
15727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15728 }
d14a1e28
RD
15729 {
15730 if (temp2)
15731 delete arg2;
15732 }
15733 return resultobj;
15734 fail:
15735 {
15736 if (temp2)
15737 delete arg2;
15738 }
15739 return NULL;
15740}
15741
15742
c32bde28 15743static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15744 PyObject *resultobj;
15745 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15746 wxString *arg2 = 0 ;
15747 bool result;
ae8162c8 15748 bool temp2 = false ;
d14a1e28
RD
15749 PyObject * obj0 = 0 ;
15750 PyObject * obj1 = 0 ;
15751 char *kwnames[] = {
b88bce5f 15752 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15753 };
15754
15755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15758 {
15759 arg2 = wxString_in_helper(obj1);
15760 if (arg2 == NULL) SWIG_fail;
ae8162c8 15761 temp2 = true;
d14a1e28
RD
15762 }
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
4f89f6a3
RD
15770 {
15771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15772 }
d14a1e28
RD
15773 {
15774 if (temp2)
15775 delete arg2;
15776 }
15777 return resultobj;
15778 fail:
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 return NULL;
15784}
15785
15786
c32bde28 15787static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15788 PyObject *resultobj;
15789 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15790 wxString *arg2 = 0 ;
15791 int result;
ae8162c8 15792 bool temp2 = false ;
d14a1e28
RD
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "name", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15802 {
15803 arg2 = wxString_in_helper(obj1);
15804 if (arg2 == NULL) SWIG_fail;
ae8162c8 15805 temp2 = true;
d14a1e28
RD
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
c32bde28 15814 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15815 {
15816 if (temp2)
15817 delete arg2;
15818 }
15819 return resultobj;
15820 fail:
15821 {
15822 if (temp2)
15823 delete arg2;
15824 }
15825 return NULL;
15826}
15827
15828
c32bde28 15829static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15830 PyObject *resultobj;
15831 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15832 wxString *arg2 = 0 ;
15833 wxString const &arg3_defvalue = wxPyEmptyString ;
15834 wxString *arg3 = (wxString *) &arg3_defvalue ;
15835 wxString result;
ae8162c8
RD
15836 bool temp2 = false ;
15837 bool temp3 = false ;
d14a1e28
RD
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 PyObject * obj2 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15848 {
15849 arg2 = wxString_in_helper(obj1);
15850 if (arg2 == NULL) SWIG_fail;
ae8162c8 15851 temp2 = true;
d14a1e28
RD
15852 }
15853 if (obj2) {
15854 {
15855 arg3 = wxString_in_helper(obj2);
15856 if (arg3 == NULL) SWIG_fail;
ae8162c8 15857 temp3 = true;
d14a1e28
RD
15858 }
15859 }
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 {
15868#if wxUSE_UNICODE
15869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15870#else
15871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15872#endif
15873 }
15874 {
15875 if (temp2)
15876 delete arg2;
15877 }
15878 {
15879 if (temp3)
15880 delete arg3;
15881 }
15882 return resultobj;
15883 fail:
15884 {
15885 if (temp2)
15886 delete arg2;
15887 }
15888 {
15889 if (temp3)
15890 delete arg3;
15891 }
15892 return NULL;
15893}
15894
15895
c32bde28 15896static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15897 PyObject *resultobj;
15898 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15899 wxString *arg2 = 0 ;
15900 long arg3 = (long) 0 ;
15901 long result;
ae8162c8 15902 bool temp2 = false ;
d14a1e28
RD
15903 PyObject * obj0 = 0 ;
15904 PyObject * obj1 = 0 ;
994141e6 15905 PyObject * obj2 = 0 ;
d14a1e28
RD
15906 char *kwnames[] = {
15907 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15908 };
15909
994141e6 15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15913 {
15914 arg2 = wxString_in_helper(obj1);
15915 if (arg2 == NULL) SWIG_fail;
ae8162c8 15916 temp2 = true;
d14a1e28 15917 }
994141e6 15918 if (obj2) {
c32bde28 15919 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 15920 if (PyErr_Occurred()) SWIG_fail;
994141e6 15921 }
d14a1e28
RD
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
c32bde28 15929 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
15930 {
15931 if (temp2)
15932 delete arg2;
15933 }
15934 return resultobj;
15935 fail:
15936 {
15937 if (temp2)
15938 delete arg2;
15939 }
15940 return NULL;
15941}
15942
15943
c32bde28 15944static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15945 PyObject *resultobj;
15946 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15947 wxString *arg2 = 0 ;
15948 double arg3 = (double) 0.0 ;
15949 double result;
ae8162c8 15950 bool temp2 = false ;
d14a1e28
RD
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
994141e6 15953 PyObject * obj2 = 0 ;
d14a1e28
RD
15954 char *kwnames[] = {
15955 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15956 };
15957
994141e6 15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15961 {
15962 arg2 = wxString_in_helper(obj1);
15963 if (arg2 == NULL) SWIG_fail;
ae8162c8 15964 temp2 = true;
d14a1e28 15965 }
994141e6 15966 if (obj2) {
c32bde28 15967 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 15968 if (PyErr_Occurred()) SWIG_fail;
994141e6 15969 }
d14a1e28
RD
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
c32bde28 15977 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
15978 {
15979 if (temp2)
15980 delete arg2;
15981 }
15982 return resultobj;
15983 fail:
15984 {
15985 if (temp2)
15986 delete arg2;
15987 }
15988 return NULL;
15989}
15990
15991
c32bde28 15992static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15993 PyObject *resultobj;
15994 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15995 wxString *arg2 = 0 ;
ae8162c8 15996 bool arg3 = (bool) false ;
d14a1e28 15997 bool result;
ae8162c8 15998 bool temp2 = false ;
d14a1e28
RD
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 PyObject * obj2 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16004 };
16005
16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16009 {
16010 arg2 = wxString_in_helper(obj1);
16011 if (arg2 == NULL) SWIG_fail;
ae8162c8 16012 temp2 = true;
d14a1e28
RD
16013 }
16014 if (obj2) {
c32bde28 16015 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 16016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16017 }
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
4f89f6a3
RD
16025 {
16026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16027 }
d14a1e28
RD
16028 {
16029 if (temp2)
16030 delete arg2;
16031 }
16032 return resultobj;
16033 fail:
16034 {
16035 if (temp2)
16036 delete arg2;
16037 }
16038 return NULL;
16039}
16040
16041
c32bde28 16042static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16043 PyObject *resultobj;
16044 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16045 wxString *arg2 = 0 ;
16046 wxString *arg3 = 0 ;
16047 bool result;
ae8162c8
RD
16048 bool temp2 = false ;
16049 bool temp3 = false ;
d14a1e28
RD
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 PyObject * obj2 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "key",(char *) "value", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16060 {
16061 arg2 = wxString_in_helper(obj1);
16062 if (arg2 == NULL) SWIG_fail;
ae8162c8 16063 temp2 = true;
d14a1e28
RD
16064 }
16065 {
16066 arg3 = wxString_in_helper(obj2);
16067 if (arg3 == NULL) SWIG_fail;
ae8162c8 16068 temp3 = true;
d14a1e28
RD
16069 }
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
4f89f6a3
RD
16077 {
16078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16079 }
d14a1e28
RD
16080 {
16081 if (temp2)
16082 delete arg2;
16083 }
16084 {
16085 if (temp3)
16086 delete arg3;
16087 }
16088 return resultobj;
16089 fail:
16090 {
16091 if (temp2)
16092 delete arg2;
16093 }
16094 {
16095 if (temp3)
16096 delete arg3;
16097 }
16098 return NULL;
16099}
16100
16101
c32bde28 16102static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16103 PyObject *resultobj;
16104 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16105 wxString *arg2 = 0 ;
16106 long arg3 ;
16107 bool result;
ae8162c8 16108 bool temp2 = false ;
d14a1e28
RD
16109 PyObject * obj0 = 0 ;
16110 PyObject * obj1 = 0 ;
994141e6 16111 PyObject * obj2 = 0 ;
d14a1e28
RD
16112 char *kwnames[] = {
16113 (char *) "self",(char *) "key",(char *) "value", NULL
16114 };
16115
994141e6 16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16119 {
16120 arg2 = wxString_in_helper(obj1);
16121 if (arg2 == NULL) SWIG_fail;
ae8162c8 16122 temp2 = true;
d14a1e28 16123 }
c32bde28 16124 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 16125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
4f89f6a3
RD
16133 {
16134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16135 }
d14a1e28
RD
16136 {
16137 if (temp2)
16138 delete arg2;
16139 }
16140 return resultobj;
16141 fail:
16142 {
16143 if (temp2)
16144 delete arg2;
16145 }
16146 return NULL;
16147}
16148
16149
c32bde28 16150static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16151 PyObject *resultobj;
16152 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16153 wxString *arg2 = 0 ;
16154 double arg3 ;
16155 bool result;
ae8162c8 16156 bool temp2 = false ;
d14a1e28
RD
16157 PyObject * obj0 = 0 ;
16158 PyObject * obj1 = 0 ;
994141e6 16159 PyObject * obj2 = 0 ;
d14a1e28
RD
16160 char *kwnames[] = {
16161 (char *) "self",(char *) "key",(char *) "value", NULL
16162 };
16163
994141e6 16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16167 {
16168 arg2 = wxString_in_helper(obj1);
16169 if (arg2 == NULL) SWIG_fail;
ae8162c8 16170 temp2 = true;
d14a1e28 16171 }
c32bde28 16172 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 16173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
4f89f6a3
RD
16181 {
16182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16183 }
d14a1e28
RD
16184 {
16185 if (temp2)
16186 delete arg2;
16187 }
16188 return resultobj;
16189 fail:
16190 {
16191 if (temp2)
16192 delete arg2;
16193 }
16194 return NULL;
16195}
16196
16197
c32bde28 16198static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16199 PyObject *resultobj;
16200 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16201 wxString *arg2 = 0 ;
16202 bool arg3 ;
16203 bool result;
ae8162c8 16204 bool temp2 = false ;
d14a1e28
RD
16205 PyObject * obj0 = 0 ;
16206 PyObject * obj1 = 0 ;
16207 PyObject * obj2 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "key",(char *) "value", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16215 {
16216 arg2 = wxString_in_helper(obj1);
16217 if (arg2 == NULL) SWIG_fail;
ae8162c8 16218 temp2 = true;
d14a1e28 16219 }
c32bde28 16220 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 16221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
4f89f6a3
RD
16229 {
16230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16231 }
d14a1e28
RD
16232 {
16233 if (temp2)
16234 delete arg2;
16235 }
16236 return resultobj;
16237 fail:
16238 {
16239 if (temp2)
16240 delete arg2;
16241 }
16242 return NULL;
16243}
16244
16245
c32bde28 16246static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16247 PyObject *resultobj;
16248 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16249 bool arg2 = (bool) false ;
d14a1e28
RD
16250 bool result;
16251 PyObject * obj0 = 0 ;
16252 PyObject * obj1 = 0 ;
16253 char *kwnames[] = {
b88bce5f 16254 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 16260 if (obj1) {
c32bde28 16261 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16263 }
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 result = (bool)(arg1)->Flush(arg2);
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
4f89f6a3
RD
16271 {
16272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16273 }
d14a1e28
RD
16274 return resultobj;
16275 fail:
16276 return NULL;
16277}
16278
16279
c32bde28 16280static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16281 PyObject *resultobj;
16282 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16283 wxString *arg2 = 0 ;
16284 wxString *arg3 = 0 ;
16285 bool result;
ae8162c8
RD
16286 bool temp2 = false ;
16287 bool temp3 = false ;
d14a1e28
RD
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 PyObject * obj2 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16298 {
16299 arg2 = wxString_in_helper(obj1);
16300 if (arg2 == NULL) SWIG_fail;
ae8162c8 16301 temp2 = true;
d14a1e28
RD
16302 }
16303 {
16304 arg3 = wxString_in_helper(obj2);
16305 if (arg3 == NULL) SWIG_fail;
ae8162c8 16306 temp3 = true;
d14a1e28
RD
16307 }
16308 {
16309 PyThreadState* __tstate = wxPyBeginAllowThreads();
16310 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
16311
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
4f89f6a3
RD
16315 {
16316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16317 }
d14a1e28
RD
16318 {
16319 if (temp2)
16320 delete arg2;
16321 }
16322 {
16323 if (temp3)
16324 delete arg3;
16325 }
16326 return resultobj;
16327 fail:
16328 {
16329 if (temp2)
16330 delete arg2;
16331 }
16332 {
16333 if (temp3)
16334 delete arg3;
16335 }
16336 return NULL;
16337}
16338
16339
c32bde28 16340static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16341 PyObject *resultobj;
16342 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16343 wxString *arg2 = 0 ;
16344 wxString *arg3 = 0 ;
16345 bool result;
ae8162c8
RD
16346 bool temp2 = false ;
16347 bool temp3 = false ;
d14a1e28
RD
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 PyObject * obj2 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16358 {
16359 arg2 = wxString_in_helper(obj1);
16360 if (arg2 == NULL) SWIG_fail;
ae8162c8 16361 temp2 = true;
d14a1e28
RD
16362 }
16363 {
16364 arg3 = wxString_in_helper(obj2);
16365 if (arg3 == NULL) SWIG_fail;
ae8162c8 16366 temp3 = true;
d14a1e28
RD
16367 }
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
4f89f6a3
RD
16375 {
16376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16377 }
d14a1e28
RD
16378 {
16379 if (temp2)
16380 delete arg2;
16381 }
16382 {
16383 if (temp3)
16384 delete arg3;
16385 }
16386 return resultobj;
16387 fail:
16388 {
16389 if (temp2)
16390 delete arg2;
16391 }
16392 {
16393 if (temp3)
16394 delete arg3;
16395 }
16396 return NULL;
16397}
16398
16399
c32bde28 16400static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16401 PyObject *resultobj;
16402 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16403 wxString *arg2 = 0 ;
ae8162c8 16404 bool arg3 = (bool) true ;
d14a1e28 16405 bool result;
ae8162c8 16406 bool temp2 = false ;
d14a1e28
RD
16407 PyObject * obj0 = 0 ;
16408 PyObject * obj1 = 0 ;
16409 PyObject * obj2 = 0 ;
16410 char *kwnames[] = {
b88bce5f 16411 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16417 {
16418 arg2 = wxString_in_helper(obj1);
16419 if (arg2 == NULL) SWIG_fail;
ae8162c8 16420 temp2 = true;
d14a1e28
RD
16421 }
16422 if (obj2) {
c32bde28 16423 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 16424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16425 }
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
4f89f6a3
RD
16433 {
16434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16435 }
d14a1e28
RD
16436 {
16437 if (temp2)
16438 delete arg2;
16439 }
16440 return resultobj;
16441 fail:
16442 {
16443 if (temp2)
16444 delete arg2;
16445 }
16446 return NULL;
16447}
16448
16449
c32bde28 16450static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16451 PyObject *resultobj;
16452 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16453 wxString *arg2 = 0 ;
16454 bool result;
ae8162c8 16455 bool temp2 = false ;
d14a1e28
RD
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self",(char *) "key", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16465 {
16466 arg2 = wxString_in_helper(obj1);
16467 if (arg2 == NULL) SWIG_fail;
ae8162c8 16468 temp2 = true;
d14a1e28
RD
16469 }
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
4f89f6a3
RD
16477 {
16478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16479 }
d14a1e28
RD
16480 {
16481 if (temp2)
16482 delete arg2;
16483 }
16484 return resultobj;
16485 fail:
16486 {
16487 if (temp2)
16488 delete arg2;
16489 }
16490 return NULL;
16491}
16492
16493
c32bde28 16494static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16495 PyObject *resultobj;
16496 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16497 bool result;
16498 PyObject * obj0 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (bool)(arg1)->DeleteAll();
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
4f89f6a3
RD
16513 {
16514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16515 }
d14a1e28
RD
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
c32bde28 16522static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16523 PyObject *resultobj;
16524 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16525 bool arg2 = (bool) true ;
d14a1e28 16526 PyObject * obj0 = 0 ;
b88bce5f 16527 PyObject * obj1 = 0 ;
d14a1e28 16528 char *kwnames[] = {
b88bce5f 16529 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
16530 };
16531
b88bce5f 16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f 16535 if (obj1) {
c32bde28 16536 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16537 if (PyErr_Occurred()) SWIG_fail;
b88bce5f 16538 }
d14a1e28
RD
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 16541 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
b88bce5f 16546 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16547 return resultobj;
16548 fail:
16549 return NULL;
16550}
16551
16552
c32bde28 16553static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16554 PyObject *resultobj;
16555 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b88bce5f 16556 bool result;
d14a1e28 16557 PyObject * obj0 = 0 ;
d14a1e28 16558 char *kwnames[] = {
b88bce5f 16559 (char *) "self", NULL
d14a1e28
RD
16560 };
16561
b88bce5f 16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15afbcd0
RD
16563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 16567 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
4f89f6a3
RD
16572 {
16573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16574 }
d14a1e28
RD
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
c32bde28 16581static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16582 PyObject *resultobj;
16583 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16584 bool arg2 = (bool) true ;
d14a1e28
RD
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 char *kwnames[] = {
b88bce5f 16588 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 16594 if (obj1) {
c32bde28 16595 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 (arg1)->SetRecordDefaults(arg2);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
c32bde28 16612static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16613 PyObject *resultobj;
16614 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16615 bool result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15afbcd0
RD
16622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
4f89f6a3
RD
16631 {
16632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16633 }
d14a1e28
RD
16634 return resultobj;
16635 fail:
16636 return NULL;
16637}
16638
16639
c32bde28 16640static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16641 PyObject *resultobj;
16642 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16643 wxString *arg2 = 0 ;
16644 wxString result;
ae8162c8 16645 bool temp2 = false ;
d14a1e28
RD
16646 PyObject * obj0 = 0 ;
16647 PyObject * obj1 = 0 ;
16648 char *kwnames[] = {
16649 (char *) "self",(char *) "str", NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16655 {
16656 arg2 = wxString_in_helper(obj1);
16657 if (arg2 == NULL) SWIG_fail;
ae8162c8 16658 temp2 = true;
d14a1e28
RD
16659 }
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 {
16668#if wxUSE_UNICODE
16669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16670#else
16671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16672#endif
16673 }
16674 {
16675 if (temp2)
16676 delete arg2;
16677 }
16678 return resultobj;
16679 fail:
16680 {
16681 if (temp2)
16682 delete arg2;
16683 }
16684 return NULL;
16685}
16686
16687
c32bde28 16688static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16689 PyObject *resultobj;
16690 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16691 wxString result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 result = ((wxConfigBase const *)arg1)->GetAppName();
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 {
16708#if wxUSE_UNICODE
16709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16710#else
16711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16712#endif
16713 }
16714 return resultobj;
16715 fail:
16716 return NULL;
16717}
16718
16719
c32bde28 16720static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16721 PyObject *resultobj;
16722 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16723 wxString result;
16724 PyObject * obj0 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
16730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = ((wxConfigBase const *)arg1)->GetVendorName();
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 {
16740#if wxUSE_UNICODE
16741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16742#else
16743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16744#endif
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749}
16750
16751
c32bde28 16752static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16753 PyObject *resultobj;
16754 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16755 wxString *arg2 = 0 ;
ae8162c8 16756 bool temp2 = false ;
d14a1e28
RD
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self",(char *) "appName", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16766 {
16767 arg2 = wxString_in_helper(obj1);
16768 if (arg2 == NULL) SWIG_fail;
ae8162c8 16769 temp2 = true;
d14a1e28
RD
16770 }
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 (arg1)->SetAppName((wxString const &)*arg2);
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 Py_INCREF(Py_None); resultobj = Py_None;
16779 {
16780 if (temp2)
16781 delete arg2;
16782 }
16783 return resultobj;
16784 fail:
16785 {
16786 if (temp2)
16787 delete arg2;
16788 }
16789 return NULL;
16790}
16791
16792
c32bde28 16793static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16794 PyObject *resultobj;
16795 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16796 wxString *arg2 = 0 ;
ae8162c8 16797 bool temp2 = false ;
d14a1e28
RD
16798 PyObject * obj0 = 0 ;
16799 PyObject * obj1 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self",(char *) "vendorName", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16807 {
16808 arg2 = wxString_in_helper(obj1);
16809 if (arg2 == NULL) SWIG_fail;
ae8162c8 16810 temp2 = true;
d14a1e28
RD
16811 }
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 (arg1)->SetVendorName((wxString const &)*arg2);
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 Py_INCREF(Py_None); resultobj = Py_None;
16820 {
16821 if (temp2)
16822 delete arg2;
16823 }
16824 return resultobj;
16825 fail:
16826 {
16827 if (temp2)
16828 delete arg2;
16829 }
16830 return NULL;
16831}
16832
16833
c32bde28 16834static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16835 PyObject *resultobj;
16836 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16837 long arg2 ;
16838 PyObject * obj0 = 0 ;
994141e6 16839 PyObject * obj1 = 0 ;
d14a1e28
RD
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "style", NULL
16842 };
16843
994141e6 16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16847 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 16848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->SetStyle(arg2);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 return resultobj;
16858 fail:
16859 return NULL;
16860}
16861
16862
c32bde28 16863static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16864 PyObject *resultobj;
16865 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16866 long result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
c32bde28 16882 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
c32bde28 16889static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16890 PyObject *obj;
16891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16893 Py_INCREF(obj);
16894 return Py_BuildValue((char *)"");
16895}
c32bde28 16896static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16897 PyObject *resultobj;
16898 wxString const &arg1_defvalue = wxPyEmptyString ;
16899 wxString *arg1 = (wxString *) &arg1_defvalue ;
16900 wxString const &arg2_defvalue = wxPyEmptyString ;
16901 wxString *arg2 = (wxString *) &arg2_defvalue ;
16902 wxString const &arg3_defvalue = wxPyEmptyString ;
16903 wxString *arg3 = (wxString *) &arg3_defvalue ;
16904 wxString const &arg4_defvalue = wxPyEmptyString ;
16905 wxString *arg4 = (wxString *) &arg4_defvalue ;
4f89f6a3 16906 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16907 wxConfig *result;
ae8162c8
RD
16908 bool temp1 = false ;
16909 bool temp2 = false ;
16910 bool temp3 = false ;
16911 bool temp4 = false ;
d14a1e28
RD
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 PyObject * obj3 = 0 ;
994141e6 16916 PyObject * obj4 = 0 ;
d14a1e28
RD
16917 char *kwnames[] = {
16918 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16919 };
16920
994141e6 16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16922 if (obj0) {
16923 {
16924 arg1 = wxString_in_helper(obj0);
16925 if (arg1 == NULL) SWIG_fail;
ae8162c8 16926 temp1 = true;
d14a1e28
RD
16927 }
16928 }
16929 if (obj1) {
16930 {
16931 arg2 = wxString_in_helper(obj1);
16932 if (arg2 == NULL) SWIG_fail;
ae8162c8 16933 temp2 = true;
d14a1e28
RD
16934 }
16935 }
16936 if (obj2) {
16937 {
16938 arg3 = wxString_in_helper(obj2);
16939 if (arg3 == NULL) SWIG_fail;
ae8162c8 16940 temp3 = true;
d14a1e28
RD
16941 }
16942 }
16943 if (obj3) {
16944 {
16945 arg4 = wxString_in_helper(obj3);
16946 if (arg4 == NULL) SWIG_fail;
ae8162c8 16947 temp4 = true;
d14a1e28
RD
16948 }
16949 }
994141e6 16950 if (obj4) {
c32bde28 16951 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 16952 if (PyErr_Occurred()) SWIG_fail;
994141e6 16953 }
d14a1e28
RD
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
15afbcd0 16961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
16962 {
16963 if (temp1)
16964 delete arg1;
16965 }
16966 {
16967 if (temp2)
16968 delete arg2;
16969 }
16970 {
16971 if (temp3)
16972 delete arg3;
16973 }
16974 {
16975 if (temp4)
16976 delete arg4;
16977 }
16978 return resultobj;
16979 fail:
16980 {
16981 if (temp1)
16982 delete arg1;
16983 }
16984 {
16985 if (temp2)
16986 delete arg2;
16987 }
16988 {
16989 if (temp3)
16990 delete arg3;
16991 }
16992 {
16993 if (temp4)
16994 delete arg4;
16995 }
16996 return NULL;
16997}
16998
16999
c32bde28 17000static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17001 PyObject *resultobj;
17002 wxConfig *arg1 = (wxConfig *) 0 ;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15afbcd0
RD
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 delete arg1;
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 Py_INCREF(Py_None); resultobj = Py_None;
17019 return resultobj;
17020 fail:
17021 return NULL;
17022}
17023
17024
c32bde28 17025static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17026 PyObject *obj;
17027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17028 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
17029 Py_INCREF(obj);
17030 return Py_BuildValue((char *)"");
17031}
c32bde28 17032static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17033 PyObject *resultobj;
17034 wxString const &arg1_defvalue = wxPyEmptyString ;
17035 wxString *arg1 = (wxString *) &arg1_defvalue ;
17036 wxString const &arg2_defvalue = wxPyEmptyString ;
17037 wxString *arg2 = (wxString *) &arg2_defvalue ;
17038 wxString const &arg3_defvalue = wxPyEmptyString ;
17039 wxString *arg3 = (wxString *) &arg3_defvalue ;
17040 wxString const &arg4_defvalue = wxPyEmptyString ;
17041 wxString *arg4 = (wxString *) &arg4_defvalue ;
4276dc52 17042 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 17043 wxFileConfig *result;
ae8162c8
RD
17044 bool temp1 = false ;
17045 bool temp2 = false ;
17046 bool temp3 = false ;
17047 bool temp4 = false ;
d14a1e28
RD
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
994141e6 17052 PyObject * obj4 = 0 ;
d14a1e28
RD
17053 char *kwnames[] = {
17054 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17055 };
17056
994141e6 17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
17058 if (obj0) {
17059 {
17060 arg1 = wxString_in_helper(obj0);
17061 if (arg1 == NULL) SWIG_fail;
ae8162c8 17062 temp1 = true;
d14a1e28
RD
17063 }
17064 }
17065 if (obj1) {
17066 {
17067 arg2 = wxString_in_helper(obj1);
17068 if (arg2 == NULL) SWIG_fail;
ae8162c8 17069 temp2 = true;
d14a1e28
RD
17070 }
17071 }
17072 if (obj2) {
17073 {
17074 arg3 = wxString_in_helper(obj2);
17075 if (arg3 == NULL) SWIG_fail;
ae8162c8 17076 temp3 = true;
d14a1e28
RD
17077 }
17078 }
17079 if (obj3) {
17080 {
17081 arg4 = wxString_in_helper(obj3);
17082 if (arg4 == NULL) SWIG_fail;
ae8162c8 17083 temp4 = true;
d14a1e28
RD
17084 }
17085 }
994141e6 17086 if (obj4) {
c32bde28 17087 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 17088 if (PyErr_Occurred()) SWIG_fail;
994141e6 17089 }
d14a1e28
RD
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
15afbcd0 17097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
17098 {
17099 if (temp1)
17100 delete arg1;
17101 }
17102 {
17103 if (temp2)
17104 delete arg2;
17105 }
17106 {
17107 if (temp3)
17108 delete arg3;
17109 }
17110 {
17111 if (temp4)
17112 delete arg4;
17113 }
17114 return resultobj;
17115 fail:
17116 {
17117 if (temp1)
17118 delete arg1;
17119 }
17120 {
17121 if (temp2)
17122 delete arg2;
17123 }
17124 {
17125 if (temp3)
17126 delete arg3;
17127 }
17128 {
17129 if (temp4)
17130 delete arg4;
17131 }
17132 return NULL;
17133}
17134
17135
c32bde28 17136static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17137 PyObject *resultobj;
17138 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15afbcd0
RD
17145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
17146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 delete arg1;
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 Py_INCREF(Py_None); resultobj = Py_None;
17155 return resultobj;
17156 fail:
17157 return NULL;
17158}
17159
17160
c32bde28 17161static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17162 PyObject *obj;
17163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17164 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
17165 Py_INCREF(obj);
17166 return Py_BuildValue((char *)"");
17167}
c32bde28 17168static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
17169 PyObject *resultobj;
17170 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17171 wxString *arg2 = 0 ;
17172 wxConfigPathChanger *result;
ae8162c8 17173 bool temp2 = false ;
b88bce5f
RD
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "config",(char *) "entry", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
17183 {
17184 arg2 = wxString_in_helper(obj1);
17185 if (arg2 == NULL) SWIG_fail;
ae8162c8 17186 temp2 = true;
b88bce5f
RD
17187 }
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
17191
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
15afbcd0 17195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
b88bce5f
RD
17196 {
17197 if (temp2)
17198 delete arg2;
17199 }
17200 return resultobj;
17201 fail:
17202 {
17203 if (temp2)
17204 delete arg2;
17205 }
17206 return NULL;
17207}
17208
17209
c32bde28 17210static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
17211 PyObject *resultobj;
17212 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15afbcd0
RD
17219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
17220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 delete arg1;
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232}
17233
17234
c32bde28 17235static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
17236 PyObject *resultobj;
17237 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
17238 wxString *result;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15afbcd0
RD
17245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
17246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 {
17250 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
17251 result = (wxString *) &_result_ref;
17252 }
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 {
17258#if wxUSE_UNICODE
17259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17260#else
17261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17262#endif
17263 }
17264 return resultobj;
17265 fail:
17266 return NULL;
17267}
17268
17269
c32bde28 17270static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
b88bce5f
RD
17271 PyObject *obj;
17272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17273 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
17274 Py_INCREF(obj);
17275 return Py_BuildValue((char *)"");
17276}
c32bde28 17277static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17278 PyObject *resultobj;
17279 wxString *arg1 = 0 ;
17280 wxString result;
ae8162c8 17281 bool temp1 = false ;
d14a1e28
RD
17282 PyObject * obj0 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "sz", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
17288 {
17289 arg1 = wxString_in_helper(obj0);
17290 if (arg1 == NULL) SWIG_fail;
ae8162c8 17291 temp1 = true;
d14a1e28
RD
17292 }
17293 {
17294 PyThreadState* __tstate = wxPyBeginAllowThreads();
17295 result = wxExpandEnvVars((wxString const &)*arg1);
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 {
17301#if wxUSE_UNICODE
17302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17303#else
17304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17305#endif
17306 }
17307 {
17308 if (temp1)
17309 delete arg1;
17310 }
17311 return resultobj;
17312 fail:
17313 {
17314 if (temp1)
17315 delete arg1;
17316 }
17317 return NULL;
17318}
17319
17320
c32bde28 17321static int _wrap_DateFormatStr_set(PyObject *) {
b2dc1044
RD
17322 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
17323 return 1;
17324}
17325
17326
17327static PyObject *_wrap_DateFormatStr_get() {
17328 PyObject *pyobj;
17329
17330 {
17331#if wxUSE_UNICODE
17332 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17333#else
17334 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17335#endif
17336 }
17337 return pyobj;
17338}
17339
17340
c32bde28 17341static int _wrap_TimeSpanFormatStr_set(PyObject *) {
b2dc1044
RD
17342 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
17343 return 1;
17344}
17345
17346
17347static PyObject *_wrap_TimeSpanFormatStr_get() {
17348 PyObject *pyobj;
17349
17350 {
17351#if wxUSE_UNICODE
17352 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17353#else
17354 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17355#endif
17356 }
17357 return pyobj;
17358}
17359
17360
c32bde28 17361static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17362 PyObject *resultobj;
17363 int arg1 ;
994141e6 17364 PyObject * obj0 = 0 ;
d14a1e28
RD
17365 char *kwnames[] = {
17366 (char *) "country", NULL
17367 };
17368
994141e6 17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
c32bde28 17370 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 wxDateTime::SetCountry((wxDateTime::Country )arg1);
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 Py_INCREF(Py_None); resultobj = Py_None;
17380 return resultobj;
17381 fail:
17382 return NULL;
17383}
17384
17385
c32bde28 17386static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17387 PyObject *resultobj;
17388 int result;
17389 char *kwnames[] = {
17390 NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = (int)wxDateTime::GetCountry();
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
c32bde28 17401 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17402 return resultobj;
17403 fail:
17404 return NULL;
17405}
17406
17407
c32bde28 17408static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17409 PyObject *resultobj;
17410 int arg1 = (int) wxDateTime::Country_Default ;
17411 bool result;
994141e6 17412 PyObject * obj0 = 0 ;
d14a1e28
RD
17413 char *kwnames[] = {
17414 (char *) "country", NULL
17415 };
17416
994141e6
RD
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
17418 if (obj0) {
c32bde28 17419 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17420 if (PyErr_Occurred()) SWIG_fail;
994141e6 17421 }
d14a1e28
RD
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
4f89f6a3
RD
17429 {
17430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17431 }
d14a1e28
RD
17432 return resultobj;
17433 fail:
17434 return NULL;
17435}
17436
17437
c32bde28 17438static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17439 PyObject *resultobj;
17440 int arg1 = (int) wxDateTime::Gregorian ;
17441 int result;
994141e6 17442 PyObject * obj0 = 0 ;
d14a1e28
RD
17443 char *kwnames[] = {
17444 (char *) "cal", NULL
17445 };
17446
994141e6
RD
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
17448 if (obj0) {
c32bde28 17449 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17450 if (PyErr_Occurred()) SWIG_fail;
994141e6 17451 }
d14a1e28
RD
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
17455
17456 wxPyEndAllowThreads(__tstate);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 }
c32bde28 17459 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17460 return resultobj;
17461 fail:
17462 return NULL;
17463}
17464
17465
c32bde28 17466static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17467 PyObject *resultobj;
17468 int arg1 ;
17469 int result;
994141e6 17470 PyObject * obj0 = 0 ;
d14a1e28
RD
17471 char *kwnames[] = {
17472 (char *) "year", NULL
17473 };
17474
994141e6 17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
c32bde28 17476 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 result = (int)wxDateTime::ConvertYearToBC(arg1);
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
c32bde28 17485 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17486 return resultobj;
17487 fail:
17488 return NULL;
17489}
17490
17491
c32bde28 17492static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17493 PyObject *resultobj;
17494 int arg1 = (int) wxDateTime::Gregorian ;
17495 int result;
994141e6 17496 PyObject * obj0 = 0 ;
d14a1e28
RD
17497 char *kwnames[] = {
17498 (char *) "cal", NULL
17499 };
17500
994141e6
RD
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
17502 if (obj0) {
c32bde28 17503 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17504 if (PyErr_Occurred()) SWIG_fail;
994141e6 17505 }
d14a1e28
RD
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
c32bde28 17513 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17514 return resultobj;
17515 fail:
17516 return NULL;
17517}
17518
17519
c32bde28 17520static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17521 PyObject *resultobj;
17522 int arg1 = (int) wxDateTime::Inv_Year ;
17523 int arg2 = (int) wxDateTime::Gregorian ;
17524 bool result;
994141e6
RD
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
d14a1e28
RD
17527 char *kwnames[] = {
17528 (char *) "year",(char *) "cal", NULL
17529 };
17530
994141e6
RD
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17532 if (obj0) {
c32bde28 17533 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17534 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17535 }
17536 if (obj1) {
c32bde28 17537 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17538 if (PyErr_Occurred()) SWIG_fail;
994141e6 17539 }
d14a1e28
RD
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
4f89f6a3
RD
17547 {
17548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17549 }
d14a1e28
RD
17550 return resultobj;
17551 fail:
17552 return NULL;
17553}
17554
17555
c32bde28 17556static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17557 PyObject *resultobj;
17558 int arg1 = (int) wxDateTime::Inv_Year ;
17559 int result;
994141e6 17560 PyObject * obj0 = 0 ;
d14a1e28
RD
17561 char *kwnames[] = {
17562 (char *) "year", NULL
17563 };
17564
994141e6
RD
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17566 if (obj0) {
c32bde28 17567 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17568 if (PyErr_Occurred()) SWIG_fail;
994141e6 17569 }
d14a1e28
RD
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (int)wxDateTime::GetCentury(arg1);
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
c32bde28 17577 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17578 return resultobj;
17579 fail:
17580 return NULL;
17581}
17582
17583
c32bde28 17584static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17585 PyObject *resultobj;
17586 int arg1 ;
17587 int arg2 = (int) wxDateTime::Gregorian ;
322913ce 17588 int result;
994141e6
RD
17589 PyObject * obj0 = 0 ;
17590 PyObject * obj1 = 0 ;
d14a1e28
RD
17591 char *kwnames[] = {
17592 (char *) "year",(char *) "cal", NULL
17593 };
17594
994141e6 17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17596 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17597 if (PyErr_Occurred()) SWIG_fail;
994141e6 17598 if (obj1) {
c32bde28 17599 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17600 if (PyErr_Occurred()) SWIG_fail;
994141e6 17601 }
d14a1e28
RD
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17604 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
c32bde28 17609 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
c32bde28 17616static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17617 PyObject *resultobj;
17618 int arg1 ;
17619 int arg2 = (int) wxDateTime::Inv_Year ;
17620 int arg3 = (int) wxDateTime::Gregorian ;
322913ce 17621 int result;
994141e6
RD
17622 PyObject * obj0 = 0 ;
17623 PyObject * obj1 = 0 ;
17624 PyObject * obj2 = 0 ;
d14a1e28
RD
17625 char *kwnames[] = {
17626 (char *) "month",(char *) "year",(char *) "cal", NULL
17627 };
17628
994141e6 17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 17630 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17631 if (PyErr_Occurred()) SWIG_fail;
994141e6 17632 if (obj1) {
c32bde28 17633 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17634 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17635 }
17636 if (obj2) {
c32bde28 17637 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17638 if (PyErr_Occurred()) SWIG_fail;
994141e6 17639 }
d14a1e28
RD
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17642 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
c32bde28 17647 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17648 return resultobj;
17649 fail:
17650 return NULL;
17651}
17652
17653
c32bde28 17654static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17655 PyObject *resultobj;
17656 int arg1 ;
17657 int arg2 = (int) wxDateTime::Name_Full ;
17658 wxString result;
994141e6
RD
17659 PyObject * obj0 = 0 ;
17660 PyObject * obj1 = 0 ;
d14a1e28
RD
17661 char *kwnames[] = {
17662 (char *) "month",(char *) "flags", NULL
17663 };
17664
994141e6 17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17666 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17667 if (PyErr_Occurred()) SWIG_fail;
994141e6 17668 if (obj1) {
c32bde28 17669 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17670 if (PyErr_Occurred()) SWIG_fail;
994141e6 17671 }
d14a1e28
RD
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 {
17680#if wxUSE_UNICODE
17681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17682#else
17683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17684#endif
17685 }
17686 return resultobj;
17687 fail:
17688 return NULL;
17689}
17690
17691
c32bde28 17692static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17693 PyObject *resultobj;
17694 int arg1 ;
17695 int arg2 = (int) wxDateTime::Name_Full ;
17696 wxString result;
994141e6
RD
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
d14a1e28
RD
17699 char *kwnames[] = {
17700 (char *) "weekday",(char *) "flags", NULL
17701 };
17702
994141e6 17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17704 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17705 if (PyErr_Occurred()) SWIG_fail;
994141e6 17706 if (obj1) {
c32bde28 17707 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17708 if (PyErr_Occurred()) SWIG_fail;
994141e6 17709 }
d14a1e28
RD
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 {
17718#if wxUSE_UNICODE
17719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17720#else
17721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17722#endif
17723 }
17724 return resultobj;
17725 fail:
17726 return NULL;
17727}
17728
17729
c32bde28 17730static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17731 PyObject *resultobj;
17732 wxString *arg1 = (wxString *) 0 ;
17733 wxString *arg2 = (wxString *) 0 ;
ae8162c8
RD
17734 bool temp1 = false ;
17735 bool temp2 = false ;
d14a1e28
RD
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
7eae615b
RD
17743 {
17744 arg1 = wxString_in_helper(obj0);
17745 if (arg1 == NULL) SWIG_fail;
ae8162c8 17746 temp1 = true;
7eae615b
RD
17747 }
17748 {
17749 arg2 = wxString_in_helper(obj1);
17750 if (arg2 == NULL) SWIG_fail;
ae8162c8 17751 temp2 = true;
7eae615b 17752 }
d14a1e28
RD
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 wxDateTime::GetAmPmStrings(arg1,arg2);
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
17761 {
17762 if (temp1)
17763 delete arg1;
17764 }
17765 {
17766 if (temp2)
17767 delete arg2;
17768 }
d14a1e28
RD
17769 return resultobj;
17770 fail:
7eae615b
RD
17771 {
17772 if (temp1)
17773 delete arg1;
17774 }
17775 {
17776 if (temp2)
17777 delete arg2;
17778 }
d14a1e28
RD
17779 return NULL;
17780}
17781
17782
c32bde28 17783static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17784 PyObject *resultobj;
17785 int arg1 = (int) wxDateTime::Inv_Year ;
17786 int arg2 = (int) wxDateTime::Country_Default ;
17787 bool result;
994141e6
RD
17788 PyObject * obj0 = 0 ;
17789 PyObject * obj1 = 0 ;
d14a1e28
RD
17790 char *kwnames[] = {
17791 (char *) "year",(char *) "country", NULL
17792 };
17793
994141e6
RD
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17795 if (obj0) {
c32bde28 17796 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17797 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17798 }
17799 if (obj1) {
c32bde28 17800 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17801 if (PyErr_Occurred()) SWIG_fail;
994141e6 17802 }
d14a1e28
RD
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
4f89f6a3
RD
17810 {
17811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17812 }
d14a1e28
RD
17813 return resultobj;
17814 fail:
17815 return NULL;
17816}
17817
17818
c32bde28 17819static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17820 PyObject *resultobj;
17821 int arg1 = (int) wxDateTime::Inv_Year ;
17822 int arg2 = (int) wxDateTime::Country_Default ;
17823 wxDateTime result;
994141e6
RD
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
d14a1e28
RD
17826 char *kwnames[] = {
17827 (char *) "year",(char *) "country", NULL
17828 };
17829
994141e6
RD
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17831 if (obj0) {
c32bde28 17832 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17833 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17834 }
17835 if (obj1) {
c32bde28 17836 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17837 if (PyErr_Occurred()) SWIG_fail;
994141e6 17838 }
d14a1e28
RD
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17842
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 {
17847 wxDateTime * resultptr;
17848 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17850 }
17851 return resultobj;
17852 fail:
17853 return NULL;
17854}
17855
17856
c32bde28 17857static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17858 PyObject *resultobj;
17859 int arg1 = (int) wxDateTime::Inv_Year ;
17860 int arg2 = (int) wxDateTime::Country_Default ;
17861 wxDateTime result;
994141e6
RD
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
d14a1e28
RD
17864 char *kwnames[] = {
17865 (char *) "year",(char *) "country", NULL
17866 };
17867
994141e6
RD
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17869 if (obj0) {
c32bde28 17870 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17871 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17872 }
17873 if (obj1) {
c32bde28 17874 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17875 if (PyErr_Occurred()) SWIG_fail;
994141e6 17876 }
d14a1e28
RD
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 wxDateTime * resultptr;
17886 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892}
17893
17894
c32bde28 17895static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17896 PyObject *resultobj;
17897 wxDateTime result;
17898 char *kwnames[] = {
17899 NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = wxDateTime::Now();
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 {
17911 wxDateTime * resultptr;
17912 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17914 }
17915 return resultobj;
17916 fail:
17917 return NULL;
17918}
17919
17920
c32bde28 17921static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17922 PyObject *resultobj;
17923 wxDateTime result;
17924 char *kwnames[] = {
17925 NULL
17926 };
17927
17928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 result = wxDateTime::UNow();
17932
17933 wxPyEndAllowThreads(__tstate);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 }
17936 {
17937 wxDateTime * resultptr;
17938 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17940 }
17941 return resultobj;
17942 fail:
17943 return NULL;
17944}
17945
17946
c32bde28 17947static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17948 PyObject *resultobj;
17949 wxDateTime result;
17950 char *kwnames[] = {
17951 NULL
17952 };
17953
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = wxDateTime::Today();
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 {
17963 wxDateTime * resultptr;
17964 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17966 }
17967 return resultobj;
17968 fail:
17969 return NULL;
17970}
17971
17972
c32bde28 17973static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17974 PyObject *resultobj;
17975 wxDateTime *result;
17976 char *kwnames[] = {
17977 NULL
17978 };
17979
17980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (wxDateTime *)new wxDateTime();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
15afbcd0 17988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
c32bde28 17995static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17996 PyObject *resultobj;
17997 time_t arg1 ;
17998 wxDateTime *result;
17999 PyObject * obj0 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "timet", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
c32bde28 18005 arg1 = (time_t)SWIG_As_unsigned_SS_int(obj0);
15afbcd0 18006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (wxDateTime *)new wxDateTime(arg1);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
15afbcd0 18014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18015 return resultobj;
18016 fail:
18017 return NULL;
18018}
18019
18020
c32bde28 18021static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18022 PyObject *resultobj;
18023 double arg1 ;
18024 wxDateTime *result;
994141e6 18025 PyObject * obj0 = 0 ;
d14a1e28
RD
18026 char *kwnames[] = {
18027 (char *) "jdn", NULL
18028 };
18029
994141e6 18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
c32bde28 18031 arg1 = (double)SWIG_As_double(obj0);
15afbcd0 18032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 result = (wxDateTime *)new wxDateTime(arg1);
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
15afbcd0 18040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18041 return resultobj;
18042 fail:
18043 return NULL;
18044}
18045
18046
c32bde28 18047static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18048 PyObject *resultobj;
322913ce
RD
18049 int arg1 ;
18050 int arg2 = (int) 0 ;
18051 int arg3 = (int) 0 ;
18052 int arg4 = (int) 0 ;
d14a1e28 18053 wxDateTime *result;
994141e6
RD
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 PyObject * obj2 = 0 ;
18057 PyObject * obj3 = 0 ;
d14a1e28
RD
18058 char *kwnames[] = {
18059 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18060 };
18061
994141e6 18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 18063 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18064 if (PyErr_Occurred()) SWIG_fail;
994141e6 18065 if (obj1) {
c32bde28 18066 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18067 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18068 }
18069 if (obj2) {
c32bde28 18070 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18071 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18072 }
18073 if (obj3) {
c32bde28 18074 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18075 if (PyErr_Occurred()) SWIG_fail;
994141e6 18076 }
d14a1e28
RD
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
15afbcd0 18084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18085 return resultobj;
18086 fail:
18087 return NULL;
18088}
18089
18090
c32bde28 18091static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18092 PyObject *resultobj;
322913ce 18093 int arg1 ;
d14a1e28
RD
18094 int arg2 = (int) wxDateTime::Inv_Month ;
18095 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
18096 int arg4 = (int) 0 ;
18097 int arg5 = (int) 0 ;
18098 int arg6 = (int) 0 ;
18099 int arg7 = (int) 0 ;
d14a1e28 18100 wxDateTime *result;
994141e6
RD
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 PyObject * obj2 = 0 ;
18104 PyObject * obj3 = 0 ;
18105 PyObject * obj4 = 0 ;
18106 PyObject * obj5 = 0 ;
18107 PyObject * obj6 = 0 ;
d14a1e28
RD
18108 char *kwnames[] = {
18109 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18110 };
18111
994141e6 18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 18113 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18114 if (PyErr_Occurred()) SWIG_fail;
994141e6 18115 if (obj1) {
c32bde28 18116 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18117 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18118 }
18119 if (obj2) {
c32bde28 18120 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18121 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18122 }
18123 if (obj3) {
c32bde28 18124 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18125 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18126 }
18127 if (obj4) {
c32bde28 18128 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 18129 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18130 }
18131 if (obj5) {
c32bde28 18132 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 18133 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18134 }
18135 if (obj6) {
c32bde28 18136 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 18137 if (PyErr_Occurred()) SWIG_fail;
994141e6 18138 }
d14a1e28
RD
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
18142
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
15afbcd0 18146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18147 return resultobj;
18148 fail:
18149 return NULL;
18150}
18151
18152
c32bde28 18153static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18154 PyObject *resultobj;
18155 wxDateTime *arg1 = (wxDateTime *) 0 ;
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self", NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
18162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 delete arg1;
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175}
18176
18177
c32bde28 18178static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18179 PyObject *resultobj;
18180 wxDateTime *arg1 = (wxDateTime *) 0 ;
18181 wxDateTime *result;
18182 PyObject * obj0 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15afbcd0
RD
18188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 {
18193 wxDateTime &_result_ref = (arg1)->SetToCurrent();
18194 result = (wxDateTime *) &_result_ref;
18195 }
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
15afbcd0 18200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18201 return resultobj;
18202 fail:
18203 return NULL;
18204}
18205
18206
c32bde28 18207static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18208 PyObject *resultobj;
18209 wxDateTime *arg1 = (wxDateTime *) 0 ;
18210 time_t arg2 ;
18211 wxDateTime *result;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 char *kwnames[] = {
18215 (char *) "self",(char *) "timet", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18221 arg2 = (time_t)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 18222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 {
18226 wxDateTime &_result_ref = (arg1)->Set(arg2);
18227 result = (wxDateTime *) &_result_ref;
18228 }
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
15afbcd0 18233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18234 return resultobj;
18235 fail:
18236 return NULL;
18237}
18238
18239
c32bde28 18240static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18241 PyObject *resultobj;
18242 wxDateTime *arg1 = (wxDateTime *) 0 ;
18243 double arg2 ;
18244 wxDateTime *result;
18245 PyObject * obj0 = 0 ;
994141e6 18246 PyObject * obj1 = 0 ;
d14a1e28
RD
18247 char *kwnames[] = {
18248 (char *) "self",(char *) "jdn", NULL
18249 };
18250
994141e6 18251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18254 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 18255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 {
18259 wxDateTime &_result_ref = (arg1)->Set(arg2);
18260 result = (wxDateTime *) &_result_ref;
18261 }
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
15afbcd0 18266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18267 return resultobj;
18268 fail:
18269 return NULL;
18270}
18271
18272
c32bde28 18273static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18274 PyObject *resultobj;
18275 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
18276 int arg2 ;
18277 int arg3 = (int) 0 ;
18278 int arg4 = (int) 0 ;
18279 int arg5 = (int) 0 ;
d14a1e28
RD
18280 wxDateTime *result;
18281 PyObject * obj0 = 0 ;
994141e6
RD
18282 PyObject * obj1 = 0 ;
18283 PyObject * obj2 = 0 ;
18284 PyObject * obj3 = 0 ;
18285 PyObject * obj4 = 0 ;
d14a1e28
RD
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18288 };
18289
994141e6 18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18293 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18294 if (PyErr_Occurred()) SWIG_fail;
994141e6 18295 if (obj2) {
c32bde28 18296 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18297 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18298 }
18299 if (obj3) {
c32bde28 18300 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18301 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18302 }
18303 if (obj4) {
c32bde28 18304 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 18305 if (PyErr_Occurred()) SWIG_fail;
994141e6 18306 }
d14a1e28
RD
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 {
18310 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
18311 result = (wxDateTime *) &_result_ref;
18312 }
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
15afbcd0 18317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
c32bde28 18324static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18325 PyObject *resultobj;
18326 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18327 int arg2 ;
d14a1e28
RD
18328 int arg3 = (int) wxDateTime::Inv_Month ;
18329 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
18330 int arg5 = (int) 0 ;
18331 int arg6 = (int) 0 ;
18332 int arg7 = (int) 0 ;
18333 int arg8 = (int) 0 ;
d14a1e28
RD
18334 wxDateTime *result;
18335 PyObject * obj0 = 0 ;
994141e6
RD
18336 PyObject * obj1 = 0 ;
18337 PyObject * obj2 = 0 ;
18338 PyObject * obj3 = 0 ;
18339 PyObject * obj4 = 0 ;
18340 PyObject * obj5 = 0 ;
18341 PyObject * obj6 = 0 ;
18342 PyObject * obj7 = 0 ;
d14a1e28
RD
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18345 };
18346
994141e6 18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
18348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18350 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18351 if (PyErr_Occurred()) SWIG_fail;
994141e6 18352 if (obj2) {
c32bde28 18353 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18354 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18355 }
18356 if (obj3) {
c32bde28 18357 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18358 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18359 }
18360 if (obj4) {
c32bde28 18361 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 18362 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18363 }
18364 if (obj5) {
c32bde28 18365 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 18366 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18367 }
18368 if (obj6) {
c32bde28 18369 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 18370 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18371 }
18372 if (obj7) {
c32bde28 18373 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 18374 if (PyErr_Occurred()) SWIG_fail;
994141e6 18375 }
d14a1e28
RD
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 {
18379 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
18380 result = (wxDateTime *) &_result_ref;
18381 }
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
15afbcd0 18386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18387 return resultobj;
18388 fail:
18389 return NULL;
18390}
18391
18392
c32bde28 18393static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18394 PyObject *resultobj;
18395 wxDateTime *arg1 = (wxDateTime *) 0 ;
18396 wxDateTime *result;
18397 PyObject * obj0 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
18403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 {
18408 wxDateTime &_result_ref = (arg1)->ResetTime();
18409 result = (wxDateTime *) &_result_ref;
18410 }
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
15afbcd0 18415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18416 return resultobj;
18417 fail:
18418 return NULL;
18419}
18420
18421
c32bde28 18422static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18423 PyObject *resultobj;
18424 wxDateTime *arg1 = (wxDateTime *) 0 ;
18425 int arg2 ;
18426 wxDateTime *result;
18427 PyObject * obj0 = 0 ;
994141e6 18428 PyObject * obj1 = 0 ;
d14a1e28
RD
18429 char *kwnames[] = {
18430 (char *) "self",(char *) "year", NULL
18431 };
18432
994141e6 18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18436 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 {
18441 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
18442 result = (wxDateTime *) &_result_ref;
18443 }
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
15afbcd0 18448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
c32bde28 18455static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18456 PyObject *resultobj;
18457 wxDateTime *arg1 = (wxDateTime *) 0 ;
18458 int arg2 ;
18459 wxDateTime *result;
18460 PyObject * obj0 = 0 ;
994141e6 18461 PyObject * obj1 = 0 ;
d14a1e28
RD
18462 char *kwnames[] = {
18463 (char *) "self",(char *) "month", NULL
18464 };
18465
994141e6 18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18469 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 {
18474 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
18475 result = (wxDateTime *) &_result_ref;
18476 }
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
15afbcd0 18481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18482 return resultobj;
18483 fail:
18484 return NULL;
18485}
18486
18487
c32bde28 18488static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18489 PyObject *resultobj;
18490 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18491 int arg2 ;
d14a1e28
RD
18492 wxDateTime *result;
18493 PyObject * obj0 = 0 ;
994141e6 18494 PyObject * obj1 = 0 ;
d14a1e28
RD
18495 char *kwnames[] = {
18496 (char *) "self",(char *) "day", NULL
18497 };
18498
994141e6 18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18502 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 {
18507 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
18508 result = (wxDateTime *) &_result_ref;
18509 }
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
15afbcd0 18514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18515 return resultobj;
18516 fail:
18517 return NULL;
18518}
18519
18520
c32bde28 18521static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18522 PyObject *resultobj;
18523 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18524 int arg2 ;
d14a1e28
RD
18525 wxDateTime *result;
18526 PyObject * obj0 = 0 ;
994141e6 18527 PyObject * obj1 = 0 ;
d14a1e28
RD
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "hour", NULL
18530 };
18531
994141e6 18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18535 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 {
18540 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18541 result = (wxDateTime *) &_result_ref;
18542 }
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
15afbcd0 18547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18548 return resultobj;
18549 fail:
18550 return NULL;
18551}
18552
18553
c32bde28 18554static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18555 PyObject *resultobj;
18556 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18557 int arg2 ;
d14a1e28
RD
18558 wxDateTime *result;
18559 PyObject * obj0 = 0 ;
994141e6 18560 PyObject * obj1 = 0 ;
d14a1e28
RD
18561 char *kwnames[] = {
18562 (char *) "self",(char *) "minute", NULL
18563 };
18564
994141e6 18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18568 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 {
18573 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18574 result = (wxDateTime *) &_result_ref;
18575 }
18576
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
15afbcd0 18580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18581 return resultobj;
18582 fail:
18583 return NULL;
18584}
18585
18586
c32bde28 18587static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18588 PyObject *resultobj;
18589 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18590 int arg2 ;
d14a1e28
RD
18591 wxDateTime *result;
18592 PyObject * obj0 = 0 ;
994141e6 18593 PyObject * obj1 = 0 ;
d14a1e28
RD
18594 char *kwnames[] = {
18595 (char *) "self",(char *) "second", NULL
18596 };
18597
994141e6 18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18601 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 {
18606 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18607 result = (wxDateTime *) &_result_ref;
18608 }
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
15afbcd0 18613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18614 return resultobj;
18615 fail:
18616 return NULL;
18617}
18618
18619
c32bde28 18620static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18621 PyObject *resultobj;
18622 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18623 int arg2 ;
d14a1e28
RD
18624 wxDateTime *result;
18625 PyObject * obj0 = 0 ;
994141e6 18626 PyObject * obj1 = 0 ;
d14a1e28
RD
18627 char *kwnames[] = {
18628 (char *) "self",(char *) "millisecond", NULL
18629 };
18630
994141e6 18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18634 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 {
18639 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18640 result = (wxDateTime *) &_result_ref;
18641 }
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
15afbcd0 18646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18647 return resultobj;
18648 fail:
18649 return NULL;
18650}
18651
18652
c32bde28 18653static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18654 PyObject *resultobj;
18655 wxDateTime *arg1 = (wxDateTime *) 0 ;
18656 int arg2 ;
18657 int arg3 = (int) wxDateTime::Monday_First ;
18658 wxDateTime *result;
18659 PyObject * obj0 = 0 ;
994141e6
RD
18660 PyObject * obj1 = 0 ;
18661 PyObject * obj2 = 0 ;
d14a1e28
RD
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18664 };
18665
994141e6 18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18669 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18670 if (PyErr_Occurred()) SWIG_fail;
994141e6 18671 if (obj2) {
c32bde28 18672 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18673 if (PyErr_Occurred()) SWIG_fail;
994141e6 18674 }
d14a1e28
RD
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 {
18678 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18679 result = (wxDateTime *) &_result_ref;
18680 }
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
15afbcd0 18685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18686 return resultobj;
18687 fail:
18688 return NULL;
18689}
18690
18691
c32bde28 18692static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18693 PyObject *resultobj;
18694 wxDateTime *arg1 = (wxDateTime *) 0 ;
18695 int arg2 ;
18696 int arg3 = (int) wxDateTime::Monday_First ;
18697 wxDateTime result;
18698 PyObject * obj0 = 0 ;
994141e6
RD
18699 PyObject * obj1 = 0 ;
18700 PyObject * obj2 = 0 ;
d14a1e28
RD
18701 char *kwnames[] = {
18702 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18703 };
18704
994141e6 18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18708 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18709 if (PyErr_Occurred()) SWIG_fail;
994141e6 18710 if (obj2) {
c32bde28 18711 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18712 if (PyErr_Occurred()) SWIG_fail;
994141e6 18713 }
d14a1e28
RD
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 {
18722 wxDateTime * resultptr;
18723 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18725 }
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
c32bde28 18732static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18733 PyObject *resultobj;
18734 wxDateTime *arg1 = (wxDateTime *) 0 ;
18735 int arg2 ;
18736 wxDateTime *result;
18737 PyObject * obj0 = 0 ;
994141e6 18738 PyObject * obj1 = 0 ;
d14a1e28
RD
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "weekday", NULL
18741 };
18742
994141e6 18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18746 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 {
18751 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18752 result = (wxDateTime *) &_result_ref;
18753 }
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
15afbcd0 18758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
c32bde28 18765static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18766 PyObject *resultobj;
18767 wxDateTime *arg1 = (wxDateTime *) 0 ;
18768 int arg2 ;
18769 wxDateTime result;
18770 PyObject * obj0 = 0 ;
994141e6 18771 PyObject * obj1 = 0 ;
d14a1e28
RD
18772 char *kwnames[] = {
18773 (char *) "self",(char *) "weekday", NULL
18774 };
18775
994141e6 18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18779 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 {
18789 wxDateTime * resultptr;
18790 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18792 }
18793 return resultobj;
18794 fail:
18795 return NULL;
18796}
18797
18798
c32bde28 18799static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18800 PyObject *resultobj;
18801 wxDateTime *arg1 = (wxDateTime *) 0 ;
18802 int arg2 ;
18803 wxDateTime *result;
18804 PyObject * obj0 = 0 ;
994141e6 18805 PyObject * obj1 = 0 ;
d14a1e28
RD
18806 char *kwnames[] = {
18807 (char *) "self",(char *) "weekday", NULL
18808 };
18809
994141e6 18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18813 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 {
18818 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18819 result = (wxDateTime *) &_result_ref;
18820 }
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
15afbcd0 18825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18826 return resultobj;
18827 fail:
18828 return NULL;
18829}
18830
18831
c32bde28 18832static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18833 PyObject *resultobj;
18834 wxDateTime *arg1 = (wxDateTime *) 0 ;
18835 int arg2 ;
18836 wxDateTime result;
18837 PyObject * obj0 = 0 ;
994141e6 18838 PyObject * obj1 = 0 ;
d14a1e28
RD
18839 char *kwnames[] = {
18840 (char *) "self",(char *) "weekday", NULL
18841 };
18842
994141e6 18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18846 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 {
18856 wxDateTime * resultptr;
18857 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18859 }
18860 return resultobj;
18861 fail:
18862 return NULL;
18863}
18864
18865
c32bde28 18866static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18867 PyObject *resultobj;
18868 wxDateTime *arg1 = (wxDateTime *) 0 ;
18869 int arg2 ;
18870 int arg3 = (int) 1 ;
18871 int arg4 = (int) wxDateTime::Inv_Month ;
18872 int arg5 = (int) wxDateTime::Inv_Year ;
18873 bool result;
18874 PyObject * obj0 = 0 ;
994141e6
RD
18875 PyObject * obj1 = 0 ;
18876 PyObject * obj2 = 0 ;
18877 PyObject * obj3 = 0 ;
18878 PyObject * obj4 = 0 ;
d14a1e28
RD
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18881 };
18882
994141e6 18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
18884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18886 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18887 if (PyErr_Occurred()) SWIG_fail;
994141e6 18888 if (obj2) {
c32bde28 18889 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18890 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18891 }
18892 if (obj3) {
c32bde28 18893 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18894 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18895 }
18896 if (obj4) {
c32bde28 18897 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 18898 if (PyErr_Occurred()) SWIG_fail;
994141e6 18899 }
d14a1e28
RD
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
4f89f6a3
RD
18907 {
18908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18909 }
d14a1e28
RD
18910 return resultobj;
18911 fail:
18912 return NULL;
18913}
18914
18915
c32bde28 18916static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18917 PyObject *resultobj;
18918 wxDateTime *arg1 = (wxDateTime *) 0 ;
18919 int arg2 ;
18920 int arg3 = (int) wxDateTime::Inv_Month ;
18921 int arg4 = (int) wxDateTime::Inv_Year ;
18922 bool result;
18923 PyObject * obj0 = 0 ;
994141e6
RD
18924 PyObject * obj1 = 0 ;
18925 PyObject * obj2 = 0 ;
18926 PyObject * obj3 = 0 ;
d14a1e28
RD
18927 char *kwnames[] = {
18928 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18929 };
18930
994141e6 18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18934 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18935 if (PyErr_Occurred()) SWIG_fail;
994141e6 18936 if (obj2) {
c32bde28 18937 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18938 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18939 }
18940 if (obj3) {
c32bde28 18941 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18942 if (PyErr_Occurred()) SWIG_fail;
994141e6 18943 }
d14a1e28
RD
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
4f89f6a3
RD
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
d14a1e28
RD
18954 return resultobj;
18955 fail:
18956 return NULL;
18957}
18958
18959
c32bde28 18960static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18961 PyObject *resultobj;
18962 wxDateTime *arg1 = (wxDateTime *) 0 ;
18963 int arg2 ;
18964 int arg3 = (int) wxDateTime::Inv_Month ;
18965 int arg4 = (int) wxDateTime::Inv_Year ;
18966 wxDateTime result;
18967 PyObject * obj0 = 0 ;
994141e6
RD
18968 PyObject * obj1 = 0 ;
18969 PyObject * obj2 = 0 ;
18970 PyObject * obj3 = 0 ;
d14a1e28
RD
18971 char *kwnames[] = {
18972 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18973 };
18974
994141e6 18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18978 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18979 if (PyErr_Occurred()) SWIG_fail;
994141e6 18980 if (obj2) {
c32bde28 18981 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 18982 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18983 }
18984 if (obj3) {
c32bde28 18985 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18986 if (PyErr_Occurred()) SWIG_fail;
994141e6 18987 }
d14a1e28
RD
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 wxDateTime * resultptr;
18997 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18999 }
19000 return resultobj;
19001 fail:
19002 return NULL;
19003}
19004
19005
c32bde28 19006static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19007 PyObject *resultobj;
19008 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 19009 int arg2 ;
d14a1e28
RD
19010 int arg3 = (int) wxDateTime::Mon ;
19011 int arg4 = (int) wxDateTime::Monday_First ;
19012 bool result;
19013 PyObject * obj0 = 0 ;
994141e6
RD
19014 PyObject * obj1 = 0 ;
19015 PyObject * obj2 = 0 ;
19016 PyObject * obj3 = 0 ;
d14a1e28
RD
19017 char *kwnames[] = {
19018 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19019 };
19020
994141e6 19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
19022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19024 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19025 if (PyErr_Occurred()) SWIG_fail;
994141e6 19026 if (obj2) {
c32bde28 19027 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 19028 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19029 }
19030 if (obj3) {
c32bde28 19031 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 19032 if (PyErr_Occurred()) SWIG_fail;
994141e6 19033 }
d14a1e28
RD
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
4f89f6a3
RD
19041 {
19042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19043 }
d14a1e28
RD
19044 return resultobj;
19045 fail:
19046 return NULL;
19047}
19048
19049
c32bde28 19050static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19051 PyObject *resultobj;
19052 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 19053 int arg2 ;
d14a1e28
RD
19054 int arg3 = (int) wxDateTime::Mon ;
19055 int arg4 = (int) wxDateTime::Monday_First ;
19056 wxDateTime result;
19057 PyObject * obj0 = 0 ;
994141e6
RD
19058 PyObject * obj1 = 0 ;
19059 PyObject * obj2 = 0 ;
19060 PyObject * obj3 = 0 ;
d14a1e28
RD
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19063 };
19064
994141e6 19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19068 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19069 if (PyErr_Occurred()) SWIG_fail;
994141e6 19070 if (obj2) {
c32bde28 19071 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 19072 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19073 }
19074 if (obj3) {
c32bde28 19075 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 19076 if (PyErr_Occurred()) SWIG_fail;
994141e6 19077 }
d14a1e28
RD
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 {
19086 wxDateTime * resultptr;
19087 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 19088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19089 }
19090 return resultobj;
19091 fail:
19092 return NULL;
19093}
19094
19095
7e63a440
RD
19096static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 int arg1 ;
19099 int arg2 ;
19100 int arg3 = (int) wxDateTime::Mon ;
19101 wxDateTime result;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 PyObject * obj2 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19110 arg1 = (int)SWIG_As_int(obj0);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 arg2 = (int)SWIG_As_int(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 if (obj2) {
19115 arg3 = (int)SWIG_As_int(obj2);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 {
19126 wxDateTime * resultptr;
19127 resultptr = new wxDateTime((wxDateTime &) result);
19128 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19129 }
19130 return resultobj;
19131 fail:
19132 return NULL;
19133}
19134
19135
c32bde28 19136static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19137 PyObject *resultobj;
19138 wxDateTime *arg1 = (wxDateTime *) 0 ;
19139 int arg2 = (int) wxDateTime::Inv_Month ;
19140 int arg3 = (int) wxDateTime::Inv_Year ;
19141 wxDateTime *result;
19142 PyObject * obj0 = 0 ;
994141e6
RD
19143 PyObject * obj1 = 0 ;
19144 PyObject * obj2 = 0 ;
d14a1e28
RD
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "month",(char *) "year", NULL
19147 };
19148
994141e6 19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19152 if (obj1) {
c32bde28 19153 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19154 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19155 }
19156 if (obj2) {
c32bde28 19157 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 19158 if (PyErr_Occurred()) SWIG_fail;
994141e6 19159 }
d14a1e28
RD
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 {
19163 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
19164 result = (wxDateTime *) &_result_ref;
19165 }
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
15afbcd0 19170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19171 return resultobj;
19172 fail:
19173 return NULL;
19174}
19175
19176
c32bde28 19177static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19178 PyObject *resultobj;
19179 wxDateTime *arg1 = (wxDateTime *) 0 ;
19180 int arg2 = (int) wxDateTime::Inv_Month ;
19181 int arg3 = (int) wxDateTime::Inv_Year ;
19182 wxDateTime result;
19183 PyObject * obj0 = 0 ;
994141e6
RD
19184 PyObject * obj1 = 0 ;
19185 PyObject * obj2 = 0 ;
d14a1e28
RD
19186 char *kwnames[] = {
19187 (char *) "self",(char *) "month",(char *) "year", NULL
19188 };
19189
994141e6 19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19193 if (obj1) {
c32bde28 19194 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19195 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19196 }
19197 if (obj2) {
c32bde28 19198 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 19199 if (PyErr_Occurred()) SWIG_fail;
994141e6 19200 }
d14a1e28
RD
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 {
19209 wxDateTime * resultptr;
19210 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 19211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19212 }
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
c32bde28 19219static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19220 PyObject *resultobj;
19221 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 19222 int arg2 ;
d14a1e28
RD
19223 wxDateTime *result;
19224 PyObject * obj0 = 0 ;
994141e6 19225 PyObject * obj1 = 0 ;
d14a1e28
RD
19226 char *kwnames[] = {
19227 (char *) "self",(char *) "yday", NULL
19228 };
19229
994141e6 19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19233 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 {
19238 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
19239 result = (wxDateTime *) &_result_ref;
19240 }
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
15afbcd0 19245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19246 return resultobj;
19247 fail:
19248 return NULL;
19249}
19250
19251
c32bde28 19252static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19253 PyObject *resultobj;
19254 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 19255 int arg2 ;
d14a1e28
RD
19256 wxDateTime result;
19257 PyObject * obj0 = 0 ;
994141e6 19258 PyObject * obj1 = 0 ;
d14a1e28
RD
19259 char *kwnames[] = {
19260 (char *) "self",(char *) "yday", NULL
19261 };
19262
994141e6 19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19266 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19267 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (arg1)->GetYearDay(arg2);
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 wxDateTime * resultptr;
19277 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 19278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19279 }
19280 return resultobj;
19281 fail:
19282 return NULL;
19283}
19284
19285
c32bde28 19286static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19287 PyObject *resultobj;
19288 wxDateTime *arg1 = (wxDateTime *) 0 ;
19289 double result;
19290 PyObject * obj0 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
15afbcd0
RD
19296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = (double)(arg1)->GetJulianDayNumber();
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
c32bde28 19305 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
c32bde28 19312static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19313 PyObject *resultobj;
19314 wxDateTime *arg1 = (wxDateTime *) 0 ;
19315 double result;
19316 PyObject * obj0 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
15afbcd0
RD
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 result = (double)(arg1)->GetJDN();
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
c32bde28 19331 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19332 return resultobj;
19333 fail:
19334 return NULL;
19335}
19336
19337
c32bde28 19338static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19339 PyObject *resultobj;
19340 wxDateTime *arg1 = (wxDateTime *) 0 ;
19341 double result;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
15afbcd0
RD
19348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
c32bde28 19357 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c32bde28 19364static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19365 PyObject *resultobj;
19366 wxDateTime *arg1 = (wxDateTime *) 0 ;
19367 double result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
15afbcd0
RD
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (double)(arg1)->GetMJD();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
c32bde28 19383 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19384 return resultobj;
19385 fail:
19386 return NULL;
19387}
19388
19389
c32bde28 19390static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19391 PyObject *resultobj;
19392 wxDateTime *arg1 = (wxDateTime *) 0 ;
19393 double result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
15afbcd0
RD
19400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (double)(arg1)->GetRataDie();
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
c32bde28 19409 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19410 return resultobj;
19411 fail:
19412 return NULL;
19413}
19414
19415
c32bde28 19416static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19417 PyObject *resultobj;
19418 wxDateTime *arg1 = (wxDateTime *) 0 ;
19419 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 19420 bool arg3 = (bool) false ;
d14a1e28 19421 wxDateTime result;
ae8162c8 19422 bool temp2 = false ;
d14a1e28
RD
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 PyObject * obj2 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19433 {
19434 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19435 temp2 = true;
d14a1e28
RD
19436 }
19437 if (obj2) {
c32bde28 19438 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 19439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19440 }
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 {
19449 wxDateTime * resultptr;
19450 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 19451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19452 }
19453 {
7722248d 19454 if (temp2) delete arg2;
d14a1e28
RD
19455 }
19456 return resultobj;
19457 fail:
19458 {
7722248d 19459 if (temp2) delete arg2;
d14a1e28
RD
19460 }
19461 return NULL;
19462}
19463
19464
c32bde28 19465static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19466 PyObject *resultobj;
19467 wxDateTime *arg1 = (wxDateTime *) 0 ;
19468 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 19469 bool arg3 = (bool) false ;
d14a1e28 19470 wxDateTime *result;
ae8162c8 19471 bool temp2 = false ;
d14a1e28
RD
19472 PyObject * obj0 = 0 ;
19473 PyObject * obj1 = 0 ;
19474 PyObject * obj2 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19482 {
19483 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19484 temp2 = true;
d14a1e28
RD
19485 }
19486 if (obj2) {
c32bde28 19487 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 19488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19489 }
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 {
19493 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19494 result = (wxDateTime *) &_result_ref;
19495 }
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
15afbcd0 19500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 19501 {
7722248d 19502 if (temp2) delete arg2;
d14a1e28
RD
19503 }
19504 return resultobj;
19505 fail:
19506 {
7722248d 19507 if (temp2) delete arg2;
d14a1e28
RD
19508 }
19509 return NULL;
19510}
19511
19512
c32bde28 19513static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19514 PyObject *resultobj;
19515 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 19516 bool arg2 = (bool) false ;
d14a1e28
RD
19517 wxDateTime result;
19518 PyObject * obj0 = 0 ;
19519 PyObject * obj1 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self",(char *) "noDST", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19527 if (obj1) {
c32bde28 19528 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19530 }
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (arg1)->ToGMT(arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 {
19539 wxDateTime * resultptr;
19540 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 19541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19542 }
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
c32bde28 19549static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19550 PyObject *resultobj;
19551 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 19552 bool arg2 = (bool) false ;
d14a1e28
RD
19553 wxDateTime *result;
19554 PyObject * obj0 = 0 ;
19555 PyObject * obj1 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self",(char *) "noDST", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19563 if (obj1) {
c32bde28 19564 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 {
19570 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19571 result = (wxDateTime *) &_result_ref;
19572 }
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
15afbcd0 19577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19578 return resultobj;
19579 fail:
19580 return NULL;
19581}
19582
19583
c32bde28 19584static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19585 PyObject *resultobj;
19586 wxDateTime *arg1 = (wxDateTime *) 0 ;
19587 int arg2 = (int) wxDateTime::Country_Default ;
19588 int result;
19589 PyObject * obj0 = 0 ;
994141e6 19590 PyObject * obj1 = 0 ;
d14a1e28
RD
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "country", NULL
19593 };
19594
994141e6 19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19598 if (obj1) {
c32bde28 19599 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19600 if (PyErr_Occurred()) SWIG_fail;
994141e6 19601 }
d14a1e28
RD
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
c32bde28 19609 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
c32bde28 19616static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19617 PyObject *resultobj;
19618 wxDateTime *arg1 = (wxDateTime *) 0 ;
19619 bool result;
19620 PyObject * obj0 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
15afbcd0
RD
19626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (bool)((wxDateTime const *)arg1)->IsValid();
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
4f89f6a3
RD
19635 {
19636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19637 }
d14a1e28
RD
19638 return resultobj;
19639 fail:
19640 return NULL;
19641}
19642
19643
c32bde28 19644static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19645 PyObject *resultobj;
19646 wxDateTime *arg1 = (wxDateTime *) 0 ;
19647 time_t result;
19648 PyObject * obj0 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
c32bde28 19663 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
19664 return resultobj;
19665 fail:
19666 return NULL;
19667}
19668
19669
c32bde28 19670static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19671 PyObject *resultobj;
19672 wxDateTime *arg1 = (wxDateTime *) 0 ;
19673 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19674 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19675 int result;
ae8162c8 19676 bool temp2 = false ;
d14a1e28
RD
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self",(char *) "tz", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19686 if (obj1) {
19687 {
19688 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19689 temp2 = true;
d14a1e28
RD
19690 }
19691 }
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
c32bde28 19699 resultobj = SWIG_From_int((int)result);
d14a1e28 19700 {
7722248d 19701 if (temp2) delete arg2;
d14a1e28
RD
19702 }
19703 return resultobj;
19704 fail:
19705 {
7722248d 19706 if (temp2) delete arg2;
d14a1e28
RD
19707 }
19708 return NULL;
19709}
19710
19711
c32bde28 19712static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19713 PyObject *resultobj;
19714 wxDateTime *arg1 = (wxDateTime *) 0 ;
19715 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19716 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19717 int result;
ae8162c8 19718 bool temp2 = false ;
d14a1e28
RD
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "tz", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19728 if (obj1) {
19729 {
19730 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19731 temp2 = true;
d14a1e28
RD
19732 }
19733 }
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
c32bde28 19741 resultobj = SWIG_From_int((int)result);
d14a1e28 19742 {
7722248d 19743 if (temp2) delete arg2;
d14a1e28
RD
19744 }
19745 return resultobj;
19746 fail:
19747 {
7722248d 19748 if (temp2) delete arg2;
d14a1e28
RD
19749 }
19750 return NULL;
19751}
19752
19753
c32bde28 19754static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19755 PyObject *resultobj;
19756 wxDateTime *arg1 = (wxDateTime *) 0 ;
19757 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19758 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19759 int result;
ae8162c8 19760 bool temp2 = false ;
d14a1e28
RD
19761 PyObject * obj0 = 0 ;
19762 PyObject * obj1 = 0 ;
19763 char *kwnames[] = {
19764 (char *) "self",(char *) "tz", NULL
19765 };
19766
19767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19770 if (obj1) {
19771 {
19772 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19773 temp2 = true;
d14a1e28
RD
19774 }
19775 }
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19778 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
c32bde28 19783 resultobj = SWIG_From_int((int)result);
d14a1e28 19784 {
7722248d 19785 if (temp2) delete arg2;
d14a1e28
RD
19786 }
19787 return resultobj;
19788 fail:
19789 {
7722248d 19790 if (temp2) delete arg2;
d14a1e28
RD
19791 }
19792 return NULL;
19793}
19794
19795
c32bde28 19796static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19797 PyObject *resultobj;
19798 wxDateTime *arg1 = (wxDateTime *) 0 ;
19799 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19800 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19801 int result;
ae8162c8 19802 bool temp2 = false ;
d14a1e28
RD
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self",(char *) "tz", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19812 if (obj1) {
19813 {
19814 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19815 temp2 = true;
d14a1e28
RD
19816 }
19817 }
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
c32bde28 19825 resultobj = SWIG_From_int((int)result);
d14a1e28 19826 {
7722248d 19827 if (temp2) delete arg2;
d14a1e28
RD
19828 }
19829 return resultobj;
19830 fail:
19831 {
7722248d 19832 if (temp2) delete arg2;
d14a1e28
RD
19833 }
19834 return NULL;
19835}
19836
19837
c32bde28 19838static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19839 PyObject *resultobj;
19840 wxDateTime *arg1 = (wxDateTime *) 0 ;
19841 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19842 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19843 int result;
ae8162c8 19844 bool temp2 = false ;
d14a1e28
RD
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self",(char *) "tz", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19854 if (obj1) {
19855 {
19856 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19857 temp2 = true;
d14a1e28
RD
19858 }
19859 }
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19862 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
c32bde28 19867 resultobj = SWIG_From_int((int)result);
d14a1e28 19868 {
7722248d 19869 if (temp2) delete arg2;
d14a1e28
RD
19870 }
19871 return resultobj;
19872 fail:
19873 {
7722248d 19874 if (temp2) delete arg2;
d14a1e28
RD
19875 }
19876 return NULL;
19877}
19878
19879
c32bde28 19880static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19881 PyObject *resultobj;
19882 wxDateTime *arg1 = (wxDateTime *) 0 ;
19883 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19884 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19885 int result;
ae8162c8 19886 bool temp2 = false ;
d14a1e28
RD
19887 PyObject * obj0 = 0 ;
19888 PyObject * obj1 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "tz", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19896 if (obj1) {
19897 {
19898 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19899 temp2 = true;
d14a1e28
RD
19900 }
19901 }
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19904 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
c32bde28 19909 resultobj = SWIG_From_int((int)result);
d14a1e28 19910 {
7722248d 19911 if (temp2) delete arg2;
d14a1e28
RD
19912 }
19913 return resultobj;
19914 fail:
19915 {
7722248d 19916 if (temp2) delete arg2;
d14a1e28
RD
19917 }
19918 return NULL;
19919}
19920
19921
c32bde28 19922static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19923 PyObject *resultobj;
19924 wxDateTime *arg1 = (wxDateTime *) 0 ;
19925 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19926 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19927 int result;
ae8162c8 19928 bool temp2 = false ;
d14a1e28
RD
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self",(char *) "tz", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19938 if (obj1) {
19939 {
19940 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19941 temp2 = true;
d14a1e28
RD
19942 }
19943 }
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19946 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
c32bde28 19951 resultobj = SWIG_From_int((int)result);
d14a1e28 19952 {
7722248d 19953 if (temp2) delete arg2;
d14a1e28
RD
19954 }
19955 return resultobj;
19956 fail:
19957 {
7722248d 19958 if (temp2) delete arg2;
d14a1e28
RD
19959 }
19960 return NULL;
19961}
19962
19963
c32bde28 19964static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19965 PyObject *resultobj;
19966 wxDateTime *arg1 = (wxDateTime *) 0 ;
19967 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19968 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19969 int result;
ae8162c8 19970 bool temp2 = false ;
d14a1e28
RD
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self",(char *) "tz", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19980 if (obj1) {
19981 {
19982 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19983 temp2 = true;
d14a1e28
RD
19984 }
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19988 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
c32bde28 19993 resultobj = SWIG_From_int((int)result);
d14a1e28 19994 {
7722248d 19995 if (temp2) delete arg2;
d14a1e28
RD
19996 }
19997 return resultobj;
19998 fail:
19999 {
7722248d 20000 if (temp2) delete arg2;
d14a1e28
RD
20001 }
20002 return NULL;
20003}
20004
20005
c32bde28 20006static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20007 PyObject *resultobj;
20008 wxDateTime *arg1 = (wxDateTime *) 0 ;
20009 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
20010 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 20011 int result;
ae8162c8 20012 bool temp2 = false ;
d14a1e28
RD
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self",(char *) "tz", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20022 if (obj1) {
20023 {
20024 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 20025 temp2 = true;
d14a1e28
RD
20026 }
20027 }
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 20030 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
20031
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
c32bde28 20035 resultobj = SWIG_From_int((int)result);
d14a1e28 20036 {
7722248d 20037 if (temp2) delete arg2;
d14a1e28
RD
20038 }
20039 return resultobj;
20040 fail:
20041 {
7722248d 20042 if (temp2) delete arg2;
d14a1e28
RD
20043 }
20044 return NULL;
20045}
20046
20047
c32bde28 20048static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20049 PyObject *resultobj;
20050 wxDateTime *arg1 = (wxDateTime *) 0 ;
20051 int arg2 = (int) wxDateTime::Monday_First ;
20052 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20053 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 20054 int result;
ae8162c8 20055 bool temp3 = false ;
d14a1e28 20056 PyObject * obj0 = 0 ;
994141e6 20057 PyObject * obj1 = 0 ;
d14a1e28
RD
20058 PyObject * obj2 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "flags",(char *) "tz", NULL
20061 };
20062
994141e6 20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20066 if (obj1) {
c32bde28 20067 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20068 if (PyErr_Occurred()) SWIG_fail;
994141e6 20069 }
d14a1e28
RD
20070 if (obj2) {
20071 {
20072 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 20073 temp3 = true;
d14a1e28
RD
20074 }
20075 }
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 20078 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
c32bde28 20083 resultobj = SWIG_From_int((int)result);
d14a1e28 20084 {
7722248d 20085 if (temp3) delete arg3;
d14a1e28
RD
20086 }
20087 return resultobj;
20088 fail:
20089 {
7722248d 20090 if (temp3) delete arg3;
d14a1e28
RD
20091 }
20092 return NULL;
20093}
20094
20095
c32bde28 20096static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20097 PyObject *resultobj;
20098 wxDateTime *arg1 = (wxDateTime *) 0 ;
20099 int arg2 = (int) wxDateTime::Monday_First ;
20100 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20101 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 20102 int result;
ae8162c8 20103 bool temp3 = false ;
d14a1e28 20104 PyObject * obj0 = 0 ;
994141e6 20105 PyObject * obj1 = 0 ;
d14a1e28
RD
20106 PyObject * obj2 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self",(char *) "flags",(char *) "tz", NULL
20109 };
20110
994141e6 20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20114 if (obj1) {
c32bde28 20115 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20116 if (PyErr_Occurred()) SWIG_fail;
994141e6 20117 }
d14a1e28
RD
20118 if (obj2) {
20119 {
20120 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 20121 temp3 = true;
d14a1e28
RD
20122 }
20123 }
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 20126 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
c32bde28 20131 resultobj = SWIG_From_int((int)result);
d14a1e28 20132 {
7722248d 20133 if (temp3) delete arg3;
d14a1e28
RD
20134 }
20135 return resultobj;
20136 fail:
20137 {
7722248d 20138 if (temp3) delete arg3;
d14a1e28
RD
20139 }
20140 return NULL;
20141}
20142
20143
c32bde28 20144static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20145 PyObject *resultobj;
20146 wxDateTime *arg1 = (wxDateTime *) 0 ;
20147 int arg2 = (int) wxDateTime::Country_Default ;
20148 bool result;
20149 PyObject * obj0 = 0 ;
994141e6 20150 PyObject * obj1 = 0 ;
d14a1e28
RD
20151 char *kwnames[] = {
20152 (char *) "self",(char *) "country", NULL
20153 };
20154
994141e6 20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20158 if (obj1) {
c32bde28 20159 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20160 if (PyErr_Occurred()) SWIG_fail;
994141e6 20161 }
d14a1e28
RD
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
4f89f6a3
RD
20169 {
20170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20171 }
d14a1e28
RD
20172 return resultobj;
20173 fail:
20174 return NULL;
20175}
20176
20177
c32bde28 20178static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20179 PyObject *resultobj;
20180 wxDateTime *arg1 = (wxDateTime *) 0 ;
20181 wxDateTime *arg2 = 0 ;
20182 bool result;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "datetime", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1)
20194 SWIG_fail;
d14a1e28 20195 if (arg2 == NULL) {
15afbcd0
RD
20196 PyErr_SetString(PyExc_TypeError,"null reference");
20197 SWIG_fail;
d14a1e28
RD
20198 }
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
4f89f6a3
RD
20206 {
20207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20208 }
d14a1e28
RD
20209 return resultobj;
20210 fail:
20211 return NULL;
20212}
20213
20214
c32bde28 20215static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20216 PyObject *resultobj;
20217 wxDateTime *arg1 = (wxDateTime *) 0 ;
20218 wxDateTime *arg2 = 0 ;
20219 bool result;
20220 PyObject * obj0 = 0 ;
20221 PyObject * obj1 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self",(char *) "datetime", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20230 SWIG_POINTER_EXCEPTION | 0)) == -1)
20231 SWIG_fail;
d14a1e28 20232 if (arg2 == NULL) {
15afbcd0
RD
20233 PyErr_SetString(PyExc_TypeError,"null reference");
20234 SWIG_fail;
d14a1e28
RD
20235 }
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
4f89f6a3
RD
20243 {
20244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20245 }
d14a1e28
RD
20246 return resultobj;
20247 fail:
20248 return NULL;
20249}
20250
20251
c32bde28 20252static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20253 PyObject *resultobj;
20254 wxDateTime *arg1 = (wxDateTime *) 0 ;
20255 wxDateTime *arg2 = 0 ;
20256 bool result;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self",(char *) "datetime", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20267 SWIG_POINTER_EXCEPTION | 0)) == -1)
20268 SWIG_fail;
d14a1e28 20269 if (arg2 == NULL) {
15afbcd0
RD
20270 PyErr_SetString(PyExc_TypeError,"null reference");
20271 SWIG_fail;
d14a1e28
RD
20272 }
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
4f89f6a3
RD
20280 {
20281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20282 }
d14a1e28
RD
20283 return resultobj;
20284 fail:
20285 return NULL;
20286}
20287
20288
c32bde28 20289static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20290 PyObject *resultobj;
20291 wxDateTime *arg1 = (wxDateTime *) 0 ;
20292 wxDateTime *arg2 = 0 ;
20293 wxDateTime *arg3 = 0 ;
20294 bool result;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 PyObject * obj2 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self",(char *) "t1",(char *) "t2", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1)
20307 SWIG_fail;
d14a1e28 20308 if (arg2 == NULL) {
15afbcd0
RD
20309 PyErr_SetString(PyExc_TypeError,"null reference");
20310 SWIG_fail;
d14a1e28 20311 }
15afbcd0
RD
20312 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20313 SWIG_POINTER_EXCEPTION | 0)) == -1)
20314 SWIG_fail;
d14a1e28 20315 if (arg3 == NULL) {
15afbcd0
RD
20316 PyErr_SetString(PyExc_TypeError,"null reference");
20317 SWIG_fail;
d14a1e28
RD
20318 }
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20322
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
4f89f6a3
RD
20326 {
20327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20328 }
d14a1e28
RD
20329 return resultobj;
20330 fail:
20331 return NULL;
20332}
20333
20334
c32bde28 20335static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20336 PyObject *resultobj;
20337 wxDateTime *arg1 = (wxDateTime *) 0 ;
20338 wxDateTime *arg2 = 0 ;
20339 wxDateTime *arg3 = 0 ;
20340 bool result;
20341 PyObject * obj0 = 0 ;
20342 PyObject * obj1 = 0 ;
20343 PyObject * obj2 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self",(char *) "t1",(char *) "t2", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20352 SWIG_POINTER_EXCEPTION | 0)) == -1)
20353 SWIG_fail;
d14a1e28 20354 if (arg2 == NULL) {
15afbcd0
RD
20355 PyErr_SetString(PyExc_TypeError,"null reference");
20356 SWIG_fail;
d14a1e28 20357 }
15afbcd0
RD
20358 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1)
20360 SWIG_fail;
d14a1e28 20361 if (arg3 == NULL) {
15afbcd0
RD
20362 PyErr_SetString(PyExc_TypeError,"null reference");
20363 SWIG_fail;
d14a1e28
RD
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
4f89f6a3
RD
20372 {
20373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20374 }
d14a1e28
RD
20375 return resultobj;
20376 fail:
20377 return NULL;
20378}
20379
20380
c32bde28 20381static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20382 PyObject *resultobj;
20383 wxDateTime *arg1 = (wxDateTime *) 0 ;
20384 wxDateTime *arg2 = 0 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self",(char *) "dt", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20396 SWIG_POINTER_EXCEPTION | 0)) == -1)
20397 SWIG_fail;
d14a1e28 20398 if (arg2 == NULL) {
15afbcd0
RD
20399 PyErr_SetString(PyExc_TypeError,"null reference");
20400 SWIG_fail;
d14a1e28
RD
20401 }
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
4f89f6a3
RD
20409 {
20410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20411 }
d14a1e28
RD
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
c32bde28 20418static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20419 PyObject *resultobj;
20420 wxDateTime *arg1 = (wxDateTime *) 0 ;
20421 wxDateTime *arg2 = 0 ;
20422 bool result;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self",(char *) "dt", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20433 SWIG_POINTER_EXCEPTION | 0)) == -1)
20434 SWIG_fail;
d14a1e28 20435 if (arg2 == NULL) {
15afbcd0
RD
20436 PyErr_SetString(PyExc_TypeError,"null reference");
20437 SWIG_fail;
d14a1e28
RD
20438 }
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
4f89f6a3
RD
20446 {
20447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20448 }
d14a1e28
RD
20449 return resultobj;
20450 fail:
20451 return NULL;
20452}
20453
20454
c32bde28 20455static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20456 PyObject *resultobj;
20457 wxDateTime *arg1 = (wxDateTime *) 0 ;
20458 wxDateTime *arg2 = 0 ;
20459 wxTimeSpan *arg3 = 0 ;
20460 bool result;
20461 PyObject * obj0 = 0 ;
20462 PyObject * obj1 = 0 ;
20463 PyObject * obj2 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "dt",(char *) "ts", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1)
20473 SWIG_fail;
d14a1e28 20474 if (arg2 == NULL) {
15afbcd0
RD
20475 PyErr_SetString(PyExc_TypeError,"null reference");
20476 SWIG_fail;
d14a1e28 20477 }
15afbcd0
RD
20478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1)
20480 SWIG_fail;
d14a1e28 20481 if (arg3 == NULL) {
15afbcd0
RD
20482 PyErr_SetString(PyExc_TypeError,"null reference");
20483 SWIG_fail;
d14a1e28
RD
20484 }
20485 {
20486 PyThreadState* __tstate = wxPyBeginAllowThreads();
20487 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
20488
20489 wxPyEndAllowThreads(__tstate);
20490 if (PyErr_Occurred()) SWIG_fail;
20491 }
4f89f6a3
RD
20492 {
20493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20494 }
d14a1e28
RD
20495 return resultobj;
20496 fail:
20497 return NULL;
20498}
20499
20500
c32bde28 20501static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20502 PyObject *resultobj;
20503 wxDateTime *arg1 = (wxDateTime *) 0 ;
20504 wxTimeSpan *arg2 = 0 ;
20505 wxDateTime *result;
20506 PyObject * obj0 = 0 ;
20507 PyObject * obj1 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self",(char *) "diff", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20516 SWIG_POINTER_EXCEPTION | 0)) == -1)
20517 SWIG_fail;
d14a1e28 20518 if (arg2 == NULL) {
15afbcd0
RD
20519 PyErr_SetString(PyExc_TypeError,"null reference");
20520 SWIG_fail;
d14a1e28
RD
20521 }
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 {
20525 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
20526 result = (wxDateTime *) &_result_ref;
20527 }
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
15afbcd0 20532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20533 return resultobj;
20534 fail:
20535 return NULL;
20536}
20537
20538
c32bde28 20539static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20540 PyObject *resultobj;
20541 wxDateTime *arg1 = (wxDateTime *) 0 ;
20542 wxDateSpan *arg2 = 0 ;
20543 wxDateTime *result;
20544 PyObject * obj0 = 0 ;
20545 PyObject * obj1 = 0 ;
20546 char *kwnames[] = {
20547 (char *) "self",(char *) "diff", NULL
20548 };
20549
20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1)
20555 SWIG_fail;
d14a1e28 20556 if (arg2 == NULL) {
15afbcd0
RD
20557 PyErr_SetString(PyExc_TypeError,"null reference");
20558 SWIG_fail;
d14a1e28
RD
20559 }
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 {
20563 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20564 result = (wxDateTime *) &_result_ref;
20565 }
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
15afbcd0 20570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20571 return resultobj;
20572 fail:
20573 return NULL;
20574}
20575
20576
c32bde28 20577static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20578 PyObject *resultobj;
20579 wxDateTime *arg1 = (wxDateTime *) 0 ;
20580 wxTimeSpan *arg2 = 0 ;
20581 wxDateTime *result;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "diff", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20592 SWIG_POINTER_EXCEPTION | 0)) == -1)
20593 SWIG_fail;
d14a1e28 20594 if (arg2 == NULL) {
15afbcd0
RD
20595 PyErr_SetString(PyExc_TypeError,"null reference");
20596 SWIG_fail;
d14a1e28
RD
20597 }
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 {
20601 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20602 result = (wxDateTime *) &_result_ref;
20603 }
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
15afbcd0 20608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20609 return resultobj;
20610 fail:
20611 return NULL;
20612}
20613
20614
c32bde28 20615static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20616 PyObject *resultobj;
20617 wxDateTime *arg1 = (wxDateTime *) 0 ;
20618 wxDateSpan *arg2 = 0 ;
20619 wxDateTime *result;
20620 PyObject * obj0 = 0 ;
20621 PyObject * obj1 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self",(char *) "diff", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20630 SWIG_POINTER_EXCEPTION | 0)) == -1)
20631 SWIG_fail;
d14a1e28 20632 if (arg2 == NULL) {
15afbcd0
RD
20633 PyErr_SetString(PyExc_TypeError,"null reference");
20634 SWIG_fail;
d14a1e28
RD
20635 }
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 {
20639 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20640 result = (wxDateTime *) &_result_ref;
20641 }
20642
20643 wxPyEndAllowThreads(__tstate);
20644 if (PyErr_Occurred()) SWIG_fail;
20645 }
15afbcd0 20646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20647 return resultobj;
20648 fail:
20649 return NULL;
20650}
20651
20652
c32bde28 20653static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20654 PyObject *resultobj;
20655 wxDateTime *arg1 = (wxDateTime *) 0 ;
20656 wxDateTime *arg2 = 0 ;
20657 wxTimeSpan result;
20658 PyObject * obj0 = 0 ;
20659 PyObject * obj1 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self",(char *) "dt", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20668 SWIG_POINTER_EXCEPTION | 0)) == -1)
20669 SWIG_fail;
d14a1e28 20670 if (arg2 == NULL) {
15afbcd0
RD
20671 PyErr_SetString(PyExc_TypeError,"null reference");
20672 SWIG_fail;
d14a1e28
RD
20673 }
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 {
20682 wxTimeSpan * resultptr;
20683 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 20684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20685 }
20686 return resultobj;
20687 fail:
20688 return NULL;
20689}
20690
20691
c32bde28 20692static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20693 PyObject *resultobj;
20694 wxDateTime *arg1 = (wxDateTime *) 0 ;
20695 wxTimeSpan *arg2 = 0 ;
20696 wxDateTime *result;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699
20700 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
15afbcd0 20701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20702 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
20703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20704 SWIG_POINTER_EXCEPTION | 0)) == -1)
20705 SWIG_fail;
d14a1e28 20706 if (arg2 == NULL) {
15afbcd0
RD
20707 PyErr_SetString(PyExc_TypeError,"null reference");
20708 SWIG_fail;
d14a1e28
RD
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 {
20713 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20714 result = (wxDateTime *) &_result_ref;
20715 }
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
c32bde28 20720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
c32bde28 20727static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20728 PyObject *resultobj;
20729 wxDateTime *arg1 = (wxDateTime *) 0 ;
20730 wxDateSpan *arg2 = 0 ;
20731 wxDateTime *result;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734
20735 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
15afbcd0 20736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20737 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
20738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20739 SWIG_POINTER_EXCEPTION | 0)) == -1)
20740 SWIG_fail;
d14a1e28 20741 if (arg2 == NULL) {
15afbcd0
RD
20742 PyErr_SetString(PyExc_TypeError,"null reference");
20743 SWIG_fail;
d14a1e28
RD
20744 }
20745 {
20746 PyThreadState* __tstate = wxPyBeginAllowThreads();
20747 {
20748 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20749 result = (wxDateTime *) &_result_ref;
20750 }
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
c32bde28 20755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20756 return resultobj;
20757 fail:
20758 return NULL;
20759}
20760
20761
20762static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20763 int argc;
20764 PyObject *argv[3];
20765 int ii;
20766
20767 argc = PyObject_Length(args);
20768 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20769 argv[ii] = PyTuple_GetItem(args,ii);
20770 }
20771 if (argc == 2) {
20772 int _v;
20773 {
20774 void *ptr;
15afbcd0 20775 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20776 _v = 0;
20777 PyErr_Clear();
20778 } else {
20779 _v = 1;
20780 }
20781 }
20782 if (_v) {
20783 {
20784 void *ptr;
15afbcd0 20785 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20786 _v = 0;
20787 PyErr_Clear();
20788 } else {
20789 _v = 1;
20790 }
20791 }
20792 if (_v) {
20793 return _wrap_DateTime___iadd____SWIG_0(self,args);
20794 }
20795 }
20796 }
20797 if (argc == 2) {
20798 int _v;
20799 {
20800 void *ptr;
15afbcd0 20801 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20802 _v = 0;
20803 PyErr_Clear();
20804 } else {
20805 _v = 1;
20806 }
20807 }
20808 if (_v) {
20809 {
20810 void *ptr;
15afbcd0 20811 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20812 _v = 0;
20813 PyErr_Clear();
20814 } else {
20815 _v = 1;
20816 }
20817 }
20818 if (_v) {
20819 return _wrap_DateTime___iadd____SWIG_1(self,args);
20820 }
20821 }
20822 }
20823
20824 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20825 return NULL;
20826}
20827
20828
c32bde28 20829static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20830 PyObject *resultobj;
20831 wxDateTime *arg1 = (wxDateTime *) 0 ;
20832 wxTimeSpan *arg2 = 0 ;
20833 wxDateTime *result;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836
20837 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
15afbcd0 20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20839 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
20840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20841 SWIG_POINTER_EXCEPTION | 0)) == -1)
20842 SWIG_fail;
d14a1e28 20843 if (arg2 == NULL) {
15afbcd0
RD
20844 PyErr_SetString(PyExc_TypeError,"null reference");
20845 SWIG_fail;
d14a1e28
RD
20846 }
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 {
20850 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20851 result = (wxDateTime *) &_result_ref;
20852 }
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
c32bde28 20857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
c32bde28 20864static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20865 PyObject *resultobj;
20866 wxDateTime *arg1 = (wxDateTime *) 0 ;
20867 wxDateSpan *arg2 = 0 ;
20868 wxDateTime *result;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871
20872 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
15afbcd0 20873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20874 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
20875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1)
20877 SWIG_fail;
d14a1e28 20878 if (arg2 == NULL) {
15afbcd0
RD
20879 PyErr_SetString(PyExc_TypeError,"null reference");
20880 SWIG_fail;
d14a1e28
RD
20881 }
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 {
20885 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20886 result = (wxDateTime *) &_result_ref;
20887 }
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
c32bde28 20892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20893 return resultobj;
20894 fail:
20895 return NULL;
20896}
20897
20898
20899static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20900 int argc;
20901 PyObject *argv[3];
20902 int ii;
20903
20904 argc = PyObject_Length(args);
20905 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20906 argv[ii] = PyTuple_GetItem(args,ii);
20907 }
20908 if (argc == 2) {
20909 int _v;
20910 {
20911 void *ptr;
15afbcd0 20912 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20913 _v = 0;
20914 PyErr_Clear();
20915 } else {
20916 _v = 1;
20917 }
20918 }
20919 if (_v) {
20920 {
20921 void *ptr;
15afbcd0 20922 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20923 _v = 0;
20924 PyErr_Clear();
20925 } else {
20926 _v = 1;
20927 }
20928 }
20929 if (_v) {
20930 return _wrap_DateTime___isub____SWIG_0(self,args);
20931 }
20932 }
20933 }
20934 if (argc == 2) {
20935 int _v;
20936 {
20937 void *ptr;
15afbcd0 20938 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20939 _v = 0;
20940 PyErr_Clear();
20941 } else {
20942 _v = 1;
20943 }
20944 }
20945 if (_v) {
20946 {
20947 void *ptr;
15afbcd0 20948 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20949 _v = 0;
20950 PyErr_Clear();
20951 } else {
20952 _v = 1;
20953 }
20954 }
20955 if (_v) {
20956 return _wrap_DateTime___isub____SWIG_1(self,args);
20957 }
20958 }
20959 }
20960
20961 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20962 return NULL;
20963}
20964
20965
c32bde28 20966static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20967 PyObject *resultobj;
20968 wxDateTime *arg1 = (wxDateTime *) 0 ;
20969 wxTimeSpan *arg2 = 0 ;
20970 wxDateTime result;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973
20974 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1)
20979 SWIG_fail;
d14a1e28 20980 if (arg2 == NULL) {
15afbcd0
RD
20981 PyErr_SetString(PyExc_TypeError,"null reference");
20982 SWIG_fail;
d14a1e28
RD
20983 }
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 wxDateTime * resultptr;
20993 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 20994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20995 }
20996 return resultobj;
20997 fail:
20998 return NULL;
20999}
21000
21001
c32bde28 21002static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
21003 PyObject *resultobj;
21004 wxDateTime *arg1 = (wxDateTime *) 0 ;
21005 wxDateSpan *arg2 = 0 ;
21006 wxDateTime result;
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009
21010 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
21014 SWIG_POINTER_EXCEPTION | 0)) == -1)
21015 SWIG_fail;
d14a1e28 21016 if (arg2 == NULL) {
15afbcd0
RD
21017 PyErr_SetString(PyExc_TypeError,"null reference");
21018 SWIG_fail;
d14a1e28
RD
21019 }
21020 {
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
21023
21024 wxPyEndAllowThreads(__tstate);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 {
21028 wxDateTime * resultptr;
21029 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 21030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21031 }
21032 return resultobj;
21033 fail:
21034 return NULL;
21035}
21036
21037
21038static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
21039 int argc;
21040 PyObject *argv[3];
21041 int ii;
21042
21043 argc = PyObject_Length(args);
21044 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21045 argv[ii] = PyTuple_GetItem(args,ii);
21046 }
21047 if (argc == 2) {
21048 int _v;
21049 {
21050 void *ptr;
15afbcd0 21051 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21052 _v = 0;
21053 PyErr_Clear();
21054 } else {
21055 _v = 1;
21056 }
21057 }
21058 if (_v) {
21059 {
21060 void *ptr;
15afbcd0 21061 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
21062 _v = 0;
21063 PyErr_Clear();
21064 } else {
21065 _v = 1;
21066 }
21067 }
21068 if (_v) {
21069 return _wrap_DateTime___add____SWIG_0(self,args);
21070 }
21071 }
21072 }
21073 if (argc == 2) {
21074 int _v;
21075 {
21076 void *ptr;
15afbcd0 21077 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21078 _v = 0;
21079 PyErr_Clear();
21080 } else {
21081 _v = 1;
21082 }
21083 }
21084 if (_v) {
21085 {
21086 void *ptr;
15afbcd0 21087 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
21088 _v = 0;
21089 PyErr_Clear();
21090 } else {
21091 _v = 1;
21092 }
21093 }
21094 if (_v) {
21095 return _wrap_DateTime___add____SWIG_1(self,args);
21096 }
21097 }
21098 }
21099
21100 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
21101 return NULL;
21102}
21103
21104
c32bde28 21105static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
21106 PyObject *resultobj;
21107 wxDateTime *arg1 = (wxDateTime *) 0 ;
21108 wxDateTime *arg2 = 0 ;
21109 wxTimeSpan result;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112
21113 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1)
21118 SWIG_fail;
d14a1e28 21119 if (arg2 == NULL) {
15afbcd0
RD
21120 PyErr_SetString(PyExc_TypeError,"null reference");
21121 SWIG_fail;
d14a1e28
RD
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 {
21131 wxTimeSpan * resultptr;
21132 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21134 }
21135 return resultobj;
21136 fail:
21137 return NULL;
21138}
21139
21140
c32bde28 21141static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
21142 PyObject *resultobj;
21143 wxDateTime *arg1 = (wxDateTime *) 0 ;
21144 wxTimeSpan *arg2 = 0 ;
21145 wxDateTime result;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj1 = 0 ;
21148
21149 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21153 SWIG_POINTER_EXCEPTION | 0)) == -1)
21154 SWIG_fail;
d14a1e28 21155 if (arg2 == NULL) {
15afbcd0
RD
21156 PyErr_SetString(PyExc_TypeError,"null reference");
21157 SWIG_fail;
d14a1e28
RD
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 {
21167 wxDateTime * resultptr;
21168 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 21169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21170 }
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
c32bde28 21177static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
21178 PyObject *resultobj;
21179 wxDateTime *arg1 = (wxDateTime *) 0 ;
21180 wxDateSpan *arg2 = 0 ;
21181 wxDateTime result;
21182 PyObject * obj0 = 0 ;
21183 PyObject * obj1 = 0 ;
21184
21185 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1)
21190 SWIG_fail;
d14a1e28 21191 if (arg2 == NULL) {
15afbcd0
RD
21192 PyErr_SetString(PyExc_TypeError,"null reference");
21193 SWIG_fail;
d14a1e28
RD
21194 }
21195 {
21196 PyThreadState* __tstate = wxPyBeginAllowThreads();
21197 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
21198
21199 wxPyEndAllowThreads(__tstate);
21200 if (PyErr_Occurred()) SWIG_fail;
21201 }
21202 {
21203 wxDateTime * resultptr;
21204 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 21205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21206 }
21207 return resultobj;
21208 fail:
21209 return NULL;
21210}
21211
21212
21213static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
21214 int argc;
21215 PyObject *argv[3];
21216 int ii;
21217
21218 argc = PyObject_Length(args);
21219 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21220 argv[ii] = PyTuple_GetItem(args,ii);
21221 }
21222 if (argc == 2) {
21223 int _v;
21224 {
21225 void *ptr;
15afbcd0 21226 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21227 _v = 0;
21228 PyErr_Clear();
21229 } else {
21230 _v = 1;
21231 }
21232 }
21233 if (_v) {
21234 {
21235 void *ptr;
15afbcd0 21236 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21237 _v = 0;
21238 PyErr_Clear();
21239 } else {
21240 _v = 1;
21241 }
21242 }
21243 if (_v) {
21244 return _wrap_DateTime___sub____SWIG_0(self,args);
21245 }
21246 }
21247 }
21248 if (argc == 2) {
21249 int _v;
21250 {
21251 void *ptr;
15afbcd0 21252 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21253 _v = 0;
21254 PyErr_Clear();
21255 } else {
21256 _v = 1;
21257 }
21258 }
21259 if (_v) {
21260 {
21261 void *ptr;
15afbcd0 21262 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
21263 _v = 0;
21264 PyErr_Clear();
21265 } else {
21266 _v = 1;
21267 }
21268 }
21269 if (_v) {
21270 return _wrap_DateTime___sub____SWIG_1(self,args);
21271 }
21272 }
21273 }
21274 if (argc == 2) {
21275 int _v;
21276 {
21277 void *ptr;
15afbcd0 21278 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
21279 _v = 0;
21280 PyErr_Clear();
21281 } else {
21282 _v = 1;
21283 }
21284 }
21285 if (_v) {
21286 {
21287 void *ptr;
15afbcd0 21288 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
21289 _v = 0;
21290 PyErr_Clear();
21291 } else {
21292 _v = 1;
21293 }
21294 }
21295 if (_v) {
21296 return _wrap_DateTime___sub____SWIG_2(self,args);
21297 }
21298 }
21299 }
21300
21301 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
21302 return NULL;
21303}
21304
21305
c32bde28 21306static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
d14a1e28
RD
21307 PyObject *resultobj;
21308 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21309 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21310 bool result;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313
21314 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21321 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
4f89f6a3
RD
21326 {
21327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21328 }
d14a1e28
RD
21329 return resultobj;
21330 fail:
21331 return NULL;
21332}
21333
21334
c32bde28 21335static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
d14a1e28
RD
21336 PyObject *resultobj;
21337 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21338 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21339 bool result;
21340 PyObject * obj0 = 0 ;
21341 PyObject * obj1 = 0 ;
21342
21343 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21350 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
4f89f6a3
RD
21355 {
21356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21357 }
d14a1e28
RD
21358 return resultobj;
21359 fail:
21360 return NULL;
21361}
21362
21363
c32bde28 21364static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
d14a1e28
RD
21365 PyObject *resultobj;
21366 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21367 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21368 bool result;
21369 PyObject * obj0 = 0 ;
21370 PyObject * obj1 = 0 ;
21371
21372 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21379 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
4f89f6a3
RD
21384 {
21385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21386 }
d14a1e28
RD
21387 return resultobj;
21388 fail:
21389 return NULL;
21390}
21391
21392
c32bde28 21393static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
d14a1e28
RD
21394 PyObject *resultobj;
21395 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21396 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21397 bool result;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400
21401 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21408 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
4f89f6a3
RD
21413 {
21414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21415 }
d14a1e28
RD
21416 return resultobj;
21417 fail:
21418 return NULL;
21419}
21420
21421
c32bde28 21422static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
d14a1e28
RD
21423 PyObject *resultobj;
21424 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21425 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21426 bool result;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429
21430 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21437 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
4f89f6a3
RD
21442 {
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 }
d14a1e28
RD
21445 return resultobj;
21446 fail:
21447 return NULL;
21448}
21449
21450
c32bde28 21451static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
d14a1e28
RD
21452 PyObject *resultobj;
21453 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 21454 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
21455 bool result;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458
21459 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
21460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 21466 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
4f89f6a3
RD
21471 {
21472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21473 }
d14a1e28
RD
21474 return resultobj;
21475 fail:
21476 return NULL;
21477}
21478
21479
c32bde28 21480static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21481 PyObject *resultobj;
21482 wxDateTime *arg1 = (wxDateTime *) 0 ;
21483 wxString *arg2 = 0 ;
21484 int result;
ae8162c8 21485 bool temp2 = false ;
d14a1e28
RD
21486 PyObject * obj0 = 0 ;
21487 PyObject * obj1 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self",(char *) "date", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21495 {
21496 arg2 = wxString_in_helper(obj1);
21497 if (arg2 == NULL) SWIG_fail;
ae8162c8 21498 temp2 = true;
d14a1e28
RD
21499 }
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
c32bde28 21507 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21508 {
21509 if (temp2)
21510 delete arg2;
21511 }
21512 return resultobj;
21513 fail:
21514 {
21515 if (temp2)
21516 delete arg2;
21517 }
21518 return NULL;
21519}
21520
21521
c32bde28 21522static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21523 PyObject *resultobj;
21524 wxDateTime *arg1 = (wxDateTime *) 0 ;
21525 wxString *arg2 = 0 ;
21526 wxString const &arg3_defvalue = wxPyDateFormatStr ;
21527 wxString *arg3 = (wxString *) &arg3_defvalue ;
21528 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
21529 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
21530 int result;
ae8162c8
RD
21531 bool temp2 = false ;
21532 bool temp3 = false ;
d14a1e28
RD
21533 PyObject * obj0 = 0 ;
21534 PyObject * obj1 = 0 ;
21535 PyObject * obj2 = 0 ;
21536 PyObject * obj3 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21544 {
21545 arg2 = wxString_in_helper(obj1);
21546 if (arg2 == NULL) SWIG_fail;
ae8162c8 21547 temp2 = true;
d14a1e28
RD
21548 }
21549 if (obj2) {
21550 {
21551 arg3 = wxString_in_helper(obj2);
21552 if (arg3 == NULL) SWIG_fail;
ae8162c8 21553 temp3 = true;
d14a1e28
RD
21554 }
21555 }
21556 if (obj3) {
15afbcd0
RD
21557 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
21558 SWIG_POINTER_EXCEPTION | 0)) == -1)
21559 SWIG_fail;
d14a1e28 21560 if (arg4 == NULL) {
15afbcd0
RD
21561 PyErr_SetString(PyExc_TypeError,"null reference");
21562 SWIG_fail;
d14a1e28
RD
21563 }
21564 }
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
c32bde28 21572 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21573 {
21574 if (temp2)
21575 delete arg2;
21576 }
21577 {
21578 if (temp3)
21579 delete arg3;
21580 }
21581 return resultobj;
21582 fail:
21583 {
21584 if (temp2)
21585 delete arg2;
21586 }
21587 {
21588 if (temp3)
21589 delete arg3;
21590 }
21591 return NULL;
21592}
21593
21594
c32bde28 21595static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21596 PyObject *resultobj;
21597 wxDateTime *arg1 = (wxDateTime *) 0 ;
21598 wxString *arg2 = 0 ;
21599 int result;
ae8162c8 21600 bool temp2 = false ;
d14a1e28
RD
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "self",(char *) "datetime", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21610 {
21611 arg2 = wxString_in_helper(obj1);
21612 if (arg2 == NULL) SWIG_fail;
ae8162c8 21613 temp2 = true;
d14a1e28
RD
21614 }
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
c32bde28 21622 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21623 {
21624 if (temp2)
21625 delete arg2;
21626 }
21627 return resultobj;
21628 fail:
21629 {
21630 if (temp2)
21631 delete arg2;
21632 }
21633 return NULL;
21634}
21635
21636
c32bde28 21637static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21638 PyObject *resultobj;
21639 wxDateTime *arg1 = (wxDateTime *) 0 ;
21640 wxString *arg2 = 0 ;
21641 int result;
ae8162c8 21642 bool temp2 = false ;
d14a1e28
RD
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "date", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21652 {
21653 arg2 = wxString_in_helper(obj1);
21654 if (arg2 == NULL) SWIG_fail;
ae8162c8 21655 temp2 = true;
d14a1e28
RD
21656 }
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
c32bde28 21664 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21665 {
21666 if (temp2)
21667 delete arg2;
21668 }
21669 return resultobj;
21670 fail:
21671 {
21672 if (temp2)
21673 delete arg2;
21674 }
21675 return NULL;
21676}
21677
21678
c32bde28 21679static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21680 PyObject *resultobj;
21681 wxDateTime *arg1 = (wxDateTime *) 0 ;
21682 wxString *arg2 = 0 ;
21683 int result;
ae8162c8 21684 bool temp2 = false ;
d14a1e28
RD
21685 PyObject * obj0 = 0 ;
21686 PyObject * obj1 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self",(char *) "time", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21694 {
21695 arg2 = wxString_in_helper(obj1);
21696 if (arg2 == NULL) SWIG_fail;
ae8162c8 21697 temp2 = true;
d14a1e28
RD
21698 }
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
c32bde28 21706 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21707 {
21708 if (temp2)
21709 delete arg2;
21710 }
21711 return resultobj;
21712 fail:
21713 {
21714 if (temp2)
21715 delete arg2;
21716 }
21717 return NULL;
21718}
21719
21720
c32bde28 21721static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21722 PyObject *resultobj;
21723 wxDateTime *arg1 = (wxDateTime *) 0 ;
21724 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21725 wxString *arg2 = (wxString *) &arg2_defvalue ;
21726 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21727 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21728 wxString result;
ae8162c8
RD
21729 bool temp2 = false ;
21730 bool temp3 = false ;
d14a1e28
RD
21731 PyObject * obj0 = 0 ;
21732 PyObject * obj1 = 0 ;
21733 PyObject * obj2 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "format",(char *) "tz", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21741 if (obj1) {
21742 {
21743 arg2 = wxString_in_helper(obj1);
21744 if (arg2 == NULL) SWIG_fail;
ae8162c8 21745 temp2 = true;
d14a1e28
RD
21746 }
21747 }
21748 if (obj2) {
21749 {
21750 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21751 temp3 = true;
d14a1e28
RD
21752 }
21753 }
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 {
21762#if wxUSE_UNICODE
21763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21764#else
21765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21766#endif
21767 }
21768 {
21769 if (temp2)
21770 delete arg2;
21771 }
21772 {
7722248d 21773 if (temp3) delete arg3;
d14a1e28
RD
21774 }
21775 return resultobj;
21776 fail:
21777 {
21778 if (temp2)
21779 delete arg2;
21780 }
21781 {
7722248d 21782 if (temp3) delete arg3;
d14a1e28
RD
21783 }
21784 return NULL;
21785}
21786
21787
c32bde28 21788static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21789 PyObject *resultobj;
21790 wxDateTime *arg1 = (wxDateTime *) 0 ;
21791 wxString result;
21792 PyObject * obj0 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
15afbcd0
RD
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = ((wxDateTime const *)arg1)->FormatDate();
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 {
21808#if wxUSE_UNICODE
21809 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21810#else
21811 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21812#endif
21813 }
21814 return resultobj;
21815 fail:
21816 return NULL;
21817}
21818
21819
c32bde28 21820static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21821 PyObject *resultobj;
21822 wxDateTime *arg1 = (wxDateTime *) 0 ;
21823 wxString result;
21824 PyObject * obj0 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = ((wxDateTime const *)arg1)->FormatTime();
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 {
21840#if wxUSE_UNICODE
21841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21842#else
21843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21844#endif
21845 }
21846 return resultobj;
21847 fail:
21848 return NULL;
21849}
21850
21851
c32bde28 21852static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21853 PyObject *resultobj;
21854 wxDateTime *arg1 = (wxDateTime *) 0 ;
21855 wxString result;
21856 PyObject * obj0 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
15afbcd0
RD
21862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 result = ((wxDateTime const *)arg1)->FormatISODate();
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 {
21872#if wxUSE_UNICODE
21873 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21874#else
21875 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21876#endif
21877 }
21878 return resultobj;
21879 fail:
21880 return NULL;
21881}
21882
21883
c32bde28 21884static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21885 PyObject *resultobj;
21886 wxDateTime *arg1 = (wxDateTime *) 0 ;
21887 wxString result;
21888 PyObject * obj0 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "self", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
21894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 result = ((wxDateTime const *)arg1)->FormatISOTime();
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 {
21904#if wxUSE_UNICODE
21905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21906#else
21907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21908#endif
21909 }
21910 return resultobj;
21911 fail:
21912 return NULL;
21913}
21914
21915
c32bde28 21916static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21917 PyObject *obj;
21918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21919 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21920 Py_INCREF(obj);
21921 return Py_BuildValue((char *)"");
21922}
c32bde28 21923static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21924 PyObject *resultobj;
21925 long arg1 ;
21926 wxTimeSpan result;
994141e6 21927 PyObject * obj0 = 0 ;
d14a1e28
RD
21928 char *kwnames[] = {
21929 (char *) "sec", NULL
21930 };
21931
994141e6 21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
c32bde28 21933 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = wxTimeSpan::Seconds(arg1);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 {
21943 wxTimeSpan * resultptr;
21944 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21946 }
21947 return resultobj;
21948 fail:
21949 return NULL;
21950}
21951
21952
c32bde28 21953static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21954 PyObject *resultobj;
21955 wxTimeSpan result;
21956 char *kwnames[] = {
21957 NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 result = wxTimeSpan::Second();
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 {
21969 wxTimeSpan * resultptr;
21970 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21972 }
21973 return resultobj;
21974 fail:
21975 return NULL;
21976}
21977
21978
c32bde28 21979static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21980 PyObject *resultobj;
21981 long arg1 ;
21982 wxTimeSpan result;
994141e6 21983 PyObject * obj0 = 0 ;
d14a1e28
RD
21984 char *kwnames[] = {
21985 (char *) "min", NULL
21986 };
21987
994141e6 21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
c32bde28 21989 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = wxTimeSpan::Minutes(arg1);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 wxTimeSpan * resultptr;
22000 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22002 }
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
c32bde28 22009static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22010 PyObject *resultobj;
22011 wxTimeSpan result;
22012 char *kwnames[] = {
22013 NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 result = wxTimeSpan::Minute();
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 {
22025 wxTimeSpan * resultptr;
22026 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22028 }
22029 return resultobj;
22030 fail:
22031 return NULL;
22032}
22033
22034
c32bde28 22035static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22036 PyObject *resultobj;
22037 long arg1 ;
22038 wxTimeSpan result;
994141e6 22039 PyObject * obj0 = 0 ;
d14a1e28
RD
22040 char *kwnames[] = {
22041 (char *) "hours", NULL
22042 };
22043
994141e6 22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
c32bde28 22045 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 22046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = wxTimeSpan::Hours(arg1);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 {
22055 wxTimeSpan * resultptr;
22056 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22058 }
22059 return resultobj;
22060 fail:
22061 return NULL;
22062}
22063
22064
c32bde28 22065static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22066 PyObject *resultobj;
22067 wxTimeSpan result;
22068 char *kwnames[] = {
22069 NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 result = wxTimeSpan::Hour();
22076
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 {
22081 wxTimeSpan * resultptr;
22082 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088}
22089
22090
c32bde28 22091static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22092 PyObject *resultobj;
22093 long arg1 ;
22094 wxTimeSpan result;
994141e6 22095 PyObject * obj0 = 0 ;
d14a1e28
RD
22096 char *kwnames[] = {
22097 (char *) "days", NULL
22098 };
22099
994141e6 22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
c32bde28 22101 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 22102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = wxTimeSpan::Days(arg1);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 wxTimeSpan * resultptr;
22112 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22114 }
22115 return resultobj;
22116 fail:
22117 return NULL;
22118}
22119
22120
c32bde28 22121static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22122 PyObject *resultobj;
22123 wxTimeSpan result;
22124 char *kwnames[] = {
22125 NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = wxTimeSpan::Day();
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 {
22137 wxTimeSpan * resultptr;
22138 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22139 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144}
22145
22146
c32bde28 22147static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22148 PyObject *resultobj;
22149 long arg1 ;
22150 wxTimeSpan result;
994141e6 22151 PyObject * obj0 = 0 ;
d14a1e28
RD
22152 char *kwnames[] = {
22153 (char *) "days", NULL
22154 };
22155
994141e6 22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
c32bde28 22157 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 22158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = wxTimeSpan::Weeks(arg1);
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
22167 wxTimeSpan * resultptr;
22168 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22170 }
22171 return resultobj;
22172 fail:
22173 return NULL;
22174}
22175
22176
c32bde28 22177static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22178 PyObject *resultobj;
22179 wxTimeSpan result;
22180 char *kwnames[] = {
22181 NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 result = wxTimeSpan::Week();
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 {
22193 wxTimeSpan * resultptr;
22194 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22196 }
22197 return resultobj;
22198 fail:
22199 return NULL;
22200}
22201
22202
c32bde28 22203static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22204 PyObject *resultobj;
22205 long arg1 = (long) 0 ;
22206 long arg2 = (long) 0 ;
22207 long arg3 = (long) 0 ;
22208 long arg4 = (long) 0 ;
22209 wxTimeSpan *result;
994141e6
RD
22210 PyObject * obj0 = 0 ;
22211 PyObject * obj1 = 0 ;
22212 PyObject * obj2 = 0 ;
22213 PyObject * obj3 = 0 ;
d14a1e28
RD
22214 char *kwnames[] = {
22215 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22216 };
22217
994141e6
RD
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22219 if (obj0) {
c32bde28 22220 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 22221 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22222 }
22223 if (obj1) {
c32bde28 22224 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 22225 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22226 }
22227 if (obj2) {
c32bde28 22228 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 22229 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22230 }
22231 if (obj3) {
c32bde28 22232 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 22233 if (PyErr_Occurred()) SWIG_fail;
994141e6 22234 }
d14a1e28
RD
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
15afbcd0 22242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22243 return resultobj;
22244 fail:
22245 return NULL;
22246}
22247
22248
c32bde28 22249static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22250 PyObject *resultobj;
22251 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 delete arg1;
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271}
22272
22273
c32bde28 22274static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22275 PyObject *resultobj;
22276 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22277 wxTimeSpan *arg2 = 0 ;
22278 wxTimeSpan *result;
22279 PyObject * obj0 = 0 ;
22280 PyObject * obj1 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "diff", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1)
22290 SWIG_fail;
d14a1e28 22291 if (arg2 == NULL) {
15afbcd0
RD
22292 PyErr_SetString(PyExc_TypeError,"null reference");
22293 SWIG_fail;
d14a1e28
RD
22294 }
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 {
22298 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22299 result = (wxTimeSpan *) &_result_ref;
22300 }
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
15afbcd0 22305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
22306 return resultobj;
22307 fail:
22308 return NULL;
22309}
22310
22311
c32bde28 22312static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22313 PyObject *resultobj;
22314 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22315 wxTimeSpan *arg2 = 0 ;
22316 wxTimeSpan *result;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self",(char *) "diff", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22327 SWIG_POINTER_EXCEPTION | 0)) == -1)
22328 SWIG_fail;
d14a1e28 22329 if (arg2 == NULL) {
15afbcd0
RD
22330 PyErr_SetString(PyExc_TypeError,"null reference");
22331 SWIG_fail;
d14a1e28
RD
22332 }
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 {
22336 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22337 result = (wxTimeSpan *) &_result_ref;
22338 }
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
15afbcd0 22343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
22344 return resultobj;
22345 fail:
22346 return NULL;
22347}
22348
22349
c32bde28 22350static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22351 PyObject *resultobj;
22352 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22353 int arg2 ;
22354 wxTimeSpan *result;
22355 PyObject * obj0 = 0 ;
994141e6 22356 PyObject * obj1 = 0 ;
d14a1e28
RD
22357 char *kwnames[] = {
22358 (char *) "self",(char *) "n", NULL
22359 };
22360
994141e6 22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22364 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 {
22369 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
22370 result = (wxTimeSpan *) &_result_ref;
22371 }
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
15afbcd0 22376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
22377 return resultobj;
22378 fail:
22379 return NULL;
22380}
22381
22382
c32bde28 22383static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22384 PyObject *resultobj;
22385 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22386 wxTimeSpan *result;
22387 PyObject * obj0 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
15afbcd0
RD
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 {
22398 wxTimeSpan &_result_ref = (arg1)->Neg();
22399 result = (wxTimeSpan *) &_result_ref;
22400 }
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
15afbcd0 22405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
c32bde28 22412static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22413 PyObject *resultobj;
22414 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22415 wxTimeSpan result;
22416 PyObject * obj0 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "self", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
15afbcd0
RD
22422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 result = ((wxTimeSpan const *)arg1)->Abs();
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 {
22432 wxTimeSpan * resultptr;
22433 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22435 }
22436 return resultobj;
22437 fail:
22438 return NULL;
22439}
22440
22441
c32bde28 22442static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22443 PyObject *resultobj;
22444 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22445 wxTimeSpan *arg2 = 0 ;
22446 wxTimeSpan *result;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self",(char *) "diff", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 22454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28 22455 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
22456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22457 SWIG_POINTER_EXCEPTION | 0)) == -1)
22458 SWIG_fail;
d14a1e28 22459 if (arg2 == NULL) {
15afbcd0
RD
22460 PyErr_SetString(PyExc_TypeError,"null reference");
22461 SWIG_fail;
d14a1e28
RD
22462 }
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 {
22466 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22467 result = (wxTimeSpan *) &_result_ref;
22468 }
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
c32bde28 22473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22474 return resultobj;
22475 fail:
22476 return NULL;
22477}
22478
22479
c32bde28 22480static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22481 PyObject *resultobj;
22482 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22483 wxTimeSpan *arg2 = 0 ;
22484 wxTimeSpan *result;
22485 PyObject * obj0 = 0 ;
22486 PyObject * obj1 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self",(char *) "diff", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 22492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28 22493 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
22494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1)
22496 SWIG_fail;
d14a1e28 22497 if (arg2 == NULL) {
15afbcd0
RD
22498 PyErr_SetString(PyExc_TypeError,"null reference");
22499 SWIG_fail;
d14a1e28
RD
22500 }
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 {
22504 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22505 result = (wxTimeSpan *) &_result_ref;
22506 }
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
c32bde28 22511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22512 return resultobj;
22513 fail:
22514 return NULL;
22515}
22516
22517
c32bde28 22518static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22519 PyObject *resultobj;
22520 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22521 int arg2 ;
22522 wxTimeSpan *result;
22523 PyObject * obj0 = 0 ;
994141e6 22524 PyObject * obj1 = 0 ;
d14a1e28
RD
22525 char *kwnames[] = {
22526 (char *) "self",(char *) "n", NULL
22527 };
22528
994141e6 22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 22530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28
RD
22531 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22532 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 {
22537 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
22538 result = (wxTimeSpan *) &_result_ref;
22539 }
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
c32bde28 22544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
c32bde28 22551static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22552 PyObject *resultobj;
22553 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22554 wxTimeSpan *result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 {
22566 wxTimeSpan &_result_ref = (arg1)->operator -();
22567 result = (wxTimeSpan *) &_result_ref;
22568 }
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
15afbcd0 22573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
22574 return resultobj;
22575 fail:
22576 return NULL;
22577}
22578
22579
c32bde28 22580static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22581 PyObject *resultobj;
22582 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22583 wxTimeSpan *arg2 = 0 ;
22584 wxTimeSpan result;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self",(char *) "other", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22595 SWIG_POINTER_EXCEPTION | 0)) == -1)
22596 SWIG_fail;
d14a1e28 22597 if (arg2 == NULL) {
15afbcd0
RD
22598 PyErr_SetString(PyExc_TypeError,"null reference");
22599 SWIG_fail;
d14a1e28
RD
22600 }
22601 {
22602 PyThreadState* __tstate = wxPyBeginAllowThreads();
22603 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22604
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 {
22609 wxTimeSpan * resultptr;
22610 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22612 }
22613 return resultobj;
22614 fail:
22615 return NULL;
22616}
22617
22618
c32bde28 22619static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22620 PyObject *resultobj;
22621 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22622 wxTimeSpan *arg2 = 0 ;
22623 wxTimeSpan result;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "other", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22634 SWIG_POINTER_EXCEPTION | 0)) == -1)
22635 SWIG_fail;
d14a1e28 22636 if (arg2 == NULL) {
15afbcd0
RD
22637 PyErr_SetString(PyExc_TypeError,"null reference");
22638 SWIG_fail;
d14a1e28
RD
22639 }
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22643
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 {
22648 wxTimeSpan * resultptr;
22649 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22651 }
22652 return resultobj;
22653 fail:
22654 return NULL;
22655}
22656
22657
c32bde28 22658static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22659 PyObject *resultobj;
22660 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22661 int arg2 ;
22662 wxTimeSpan result;
22663 PyObject * obj0 = 0 ;
994141e6 22664 PyObject * obj1 = 0 ;
d14a1e28
RD
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "n", NULL
22667 };
22668
994141e6 22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22672 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = wxTimeSpan___mul__(arg1,arg2);
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 {
22682 wxTimeSpan * resultptr;
22683 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22685 }
22686 return resultobj;
22687 fail:
22688 return NULL;
22689}
22690
22691
c32bde28 22692static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22693 PyObject *resultobj;
22694 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22695 int arg2 ;
22696 wxTimeSpan result;
22697 PyObject * obj0 = 0 ;
994141e6 22698 PyObject * obj1 = 0 ;
d14a1e28
RD
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "n", NULL
22701 };
22702
994141e6 22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22706 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = wxTimeSpan___rmul__(arg1,arg2);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 {
22716 wxTimeSpan * resultptr;
22717 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 22718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22719 }
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
c32bde28 22726static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22727 PyObject *resultobj;
22728 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22729 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22730 bool result;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "self",(char *) "other", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22744 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22745
22746 wxPyEndAllowThreads(__tstate);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
4f89f6a3
RD
22749 {
22750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22751 }
d14a1e28
RD
22752 return resultobj;
22753 fail:
22754 return NULL;
22755}
22756
22757
c32bde28 22758static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22759 PyObject *resultobj;
22760 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22761 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22762 bool result;
22763 PyObject * obj0 = 0 ;
22764 PyObject * obj1 = 0 ;
22765 char *kwnames[] = {
22766 (char *) "self",(char *) "other", NULL
22767 };
22768
22769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22776 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
4f89f6a3
RD
22781 {
22782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22783 }
d14a1e28
RD
22784 return resultobj;
22785 fail:
22786 return NULL;
22787}
22788
22789
c32bde28 22790static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22791 PyObject *resultobj;
22792 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22793 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22794 bool result;
22795 PyObject * obj0 = 0 ;
22796 PyObject * obj1 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self",(char *) "other", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22808 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
4f89f6a3
RD
22813 {
22814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22815 }
d14a1e28
RD
22816 return resultobj;
22817 fail:
22818 return NULL;
22819}
22820
22821
c32bde28 22822static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22823 PyObject *resultobj;
22824 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22825 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22826 bool result;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "other", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22840 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22841
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
4f89f6a3
RD
22845 {
22846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22847 }
d14a1e28
RD
22848 return resultobj;
22849 fail:
22850 return NULL;
22851}
22852
22853
c32bde28 22854static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22855 PyObject *resultobj;
22856 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22857 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22858 bool result;
22859 PyObject * obj0 = 0 ;
22860 PyObject * obj1 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "other", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22872 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
4f89f6a3
RD
22877 {
22878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22879 }
d14a1e28
RD
22880 return resultobj;
22881 fail:
22882 return NULL;
22883}
22884
22885
c32bde28 22886static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22887 PyObject *resultobj;
22888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22889 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22890 bool result;
22891 PyObject * obj0 = 0 ;
22892 PyObject * obj1 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self",(char *) "other", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22904 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
4f89f6a3
RD
22909 {
22910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22911 }
d14a1e28
RD
22912 return resultobj;
22913 fail:
22914 return NULL;
22915}
22916
22917
c32bde28 22918static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22919 PyObject *resultobj;
22920 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22921 bool result;
22922 PyObject * obj0 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
22928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
4f89f6a3
RD
22937 {
22938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22939 }
d14a1e28
RD
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
c32bde28 22946static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22947 PyObject *resultobj;
22948 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22949 bool result;
22950 PyObject * obj0 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
15afbcd0
RD
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
4f89f6a3
RD
22965 {
22966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22967 }
d14a1e28
RD
22968 return resultobj;
22969 fail:
22970 return NULL;
22971}
22972
22973
c32bde28 22974static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22975 PyObject *resultobj;
22976 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22977 bool result;
22978 PyObject * obj0 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
15afbcd0
RD
22984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22986 {
22987 PyThreadState* __tstate = wxPyBeginAllowThreads();
22988 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22989
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
4f89f6a3
RD
22993 {
22994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22995 }
d14a1e28
RD
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
c32bde28 23002static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23003 PyObject *resultobj;
23004 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23005 wxTimeSpan *arg2 = 0 ;
23006 bool result;
23007 PyObject * obj0 = 0 ;
23008 PyObject * obj1 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self",(char *) "ts", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
23017 SWIG_POINTER_EXCEPTION | 0)) == -1)
23018 SWIG_fail;
d14a1e28 23019 if (arg2 == NULL) {
15afbcd0
RD
23020 PyErr_SetString(PyExc_TypeError,"null reference");
23021 SWIG_fail;
d14a1e28
RD
23022 }
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
4f89f6a3
RD
23030 {
23031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23032 }
d14a1e28
RD
23033 return resultobj;
23034 fail:
23035 return NULL;
23036}
23037
23038
c32bde28 23039static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23040 PyObject *resultobj;
23041 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23042 wxTimeSpan *arg2 = 0 ;
23043 bool result;
23044 PyObject * obj0 = 0 ;
23045 PyObject * obj1 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self",(char *) "ts", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
23054 SWIG_POINTER_EXCEPTION | 0)) == -1)
23055 SWIG_fail;
d14a1e28 23056 if (arg2 == NULL) {
15afbcd0
RD
23057 PyErr_SetString(PyExc_TypeError,"null reference");
23058 SWIG_fail;
d14a1e28
RD
23059 }
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
4f89f6a3
RD
23067 {
23068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23069 }
d14a1e28
RD
23070 return resultobj;
23071 fail:
23072 return NULL;
23073}
23074
23075
c32bde28 23076static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23077 PyObject *resultobj;
23078 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23079 wxTimeSpan *arg2 = 0 ;
23080 bool result;
23081 PyObject * obj0 = 0 ;
23082 PyObject * obj1 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self",(char *) "t", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1)
23092 SWIG_fail;
d14a1e28 23093 if (arg2 == NULL) {
15afbcd0
RD
23094 PyErr_SetString(PyExc_TypeError,"null reference");
23095 SWIG_fail;
d14a1e28
RD
23096 }
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
4f89f6a3
RD
23104 {
23105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23106 }
d14a1e28
RD
23107 return resultobj;
23108 fail:
23109 return NULL;
23110}
23111
23112
c32bde28 23113static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23114 PyObject *resultobj;
23115 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23116 int result;
23117 PyObject * obj0 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
23123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
c32bde28 23132 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23133 return resultobj;
23134 fail:
23135 return NULL;
23136}
23137
23138
c32bde28 23139static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23140 PyObject *resultobj;
23141 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23142 int result;
23143 PyObject * obj0 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 result = (int)((wxTimeSpan const *)arg1)->GetDays();
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
c32bde28 23158 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23159 return resultobj;
23160 fail:
23161 return NULL;
23162}
23163
23164
c32bde28 23165static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23166 PyObject *resultobj;
23167 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23168 int result;
23169 PyObject * obj0 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
15afbcd0
RD
23175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (int)((wxTimeSpan const *)arg1)->GetHours();
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
c32bde28 23184 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23185 return resultobj;
23186 fail:
23187 return NULL;
23188}
23189
23190
c32bde28 23191static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23192 PyObject *resultobj;
23193 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23194 int result;
23195 PyObject * obj0 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
15afbcd0
RD
23201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
c32bde28 23210 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23211 return resultobj;
23212 fail:
23213 return NULL;
23214}
23215
23216
c32bde28 23217static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23218 PyObject *resultobj;
23219 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23220 wxLongLong result;
23221 PyObject * obj0 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
15afbcd0
RD
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = ((wxTimeSpan const *)arg1)->GetSeconds();
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 {
23237 PyObject *hi, *lo, *shifter, *shifted;
23238 hi = PyLong_FromLong( (&result)->GetHi() );
23239 lo = PyLong_FromLong( (&result)->GetLo() );
23240 shifter = PyLong_FromLong(32);
23241 shifted = PyNumber_Lshift(hi, shifter);
23242 resultobj = PyNumber_Or(shifted, lo);
23243 Py_DECREF(hi);
23244 Py_DECREF(lo);
23245 Py_DECREF(shifter);
23246 Py_DECREF(shifted);
23247 }
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
c32bde28 23254static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23255 PyObject *resultobj;
23256 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23257 wxLongLong result;
23258 PyObject * obj0 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
15afbcd0
RD
23264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 {
23274 PyObject *hi, *lo, *shifter, *shifted;
23275 hi = PyLong_FromLong( (&result)->GetHi() );
23276 lo = PyLong_FromLong( (&result)->GetLo() );
23277 shifter = PyLong_FromLong(32);
23278 shifted = PyNumber_Lshift(hi, shifter);
23279 resultobj = PyNumber_Or(shifted, lo);
23280 Py_DECREF(hi);
23281 Py_DECREF(lo);
23282 Py_DECREF(shifter);
23283 Py_DECREF(shifted);
23284 }
23285 return resultobj;
23286 fail:
23287 return NULL;
23288}
23289
23290
c32bde28 23291static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23292 PyObject *resultobj;
23293 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23294 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
23295 wxString *arg2 = (wxString *) &arg2_defvalue ;
23296 wxString result;
ae8162c8 23297 bool temp2 = false ;
d14a1e28
RD
23298 PyObject * obj0 = 0 ;
23299 PyObject * obj1 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self",(char *) "format", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23307 if (obj1) {
23308 {
23309 arg2 = wxString_in_helper(obj1);
23310 if (arg2 == NULL) SWIG_fail;
ae8162c8 23311 temp2 = true;
d14a1e28
RD
23312 }
23313 }
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 {
23322#if wxUSE_UNICODE
23323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23324#else
23325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23326#endif
23327 }
23328 {
23329 if (temp2)
23330 delete arg2;
23331 }
23332 return resultobj;
23333 fail:
23334 {
23335 if (temp2)
23336 delete arg2;
23337 }
23338 return NULL;
23339}
23340
23341
c32bde28 23342static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23343 PyObject *obj;
23344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23345 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
23346 Py_INCREF(obj);
23347 return Py_BuildValue((char *)"");
23348}
c32bde28 23349static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23350 PyObject *resultobj;
23351 int arg1 = (int) 0 ;
23352 int arg2 = (int) 0 ;
23353 int arg3 = (int) 0 ;
23354 int arg4 = (int) 0 ;
23355 wxDateSpan *result;
994141e6
RD
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 PyObject * obj2 = 0 ;
23359 PyObject * obj3 = 0 ;
d14a1e28
RD
23360 char *kwnames[] = {
23361 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23362 };
23363
994141e6
RD
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23365 if (obj0) {
c32bde28 23366 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 23367 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23368 }
23369 if (obj1) {
c32bde28 23370 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23371 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23372 }
23373 if (obj2) {
c32bde28 23374 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23375 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23376 }
23377 if (obj3) {
c32bde28 23378 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23379 if (PyErr_Occurred()) SWIG_fail;
994141e6 23380 }
d14a1e28
RD
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
15afbcd0 23388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
c32bde28 23395static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23396 PyObject *resultobj;
23397 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23398 PyObject * obj0 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
23404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 delete arg1;
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 Py_INCREF(Py_None); resultobj = Py_None;
23414 return resultobj;
23415 fail:
23416 return NULL;
23417}
23418
23419
c32bde28 23420static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23421 PyObject *resultobj;
23422 int arg1 ;
23423 wxDateSpan result;
994141e6 23424 PyObject * obj0 = 0 ;
d14a1e28
RD
23425 char *kwnames[] = {
23426 (char *) "days", NULL
23427 };
23428
994141e6 23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
c32bde28 23430 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 23431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = wxDateSpan::Days(arg1);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 {
23440 wxDateSpan * resultptr;
23441 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23443 }
23444 return resultobj;
23445 fail:
23446 return NULL;
23447}
23448
23449
c32bde28 23450static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23451 PyObject *resultobj;
23452 wxDateSpan result;
23453 char *kwnames[] = {
23454 NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = wxDateSpan::Day();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 wxDateSpan * resultptr;
23467 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23469 }
23470 return resultobj;
23471 fail:
23472 return NULL;
23473}
23474
23475
c32bde28 23476static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23477 PyObject *resultobj;
23478 int arg1 ;
23479 wxDateSpan result;
994141e6 23480 PyObject * obj0 = 0 ;
d14a1e28
RD
23481 char *kwnames[] = {
23482 (char *) "weeks", NULL
23483 };
23484
994141e6 23485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
c32bde28 23486 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 23487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = wxDateSpan::Weeks(arg1);
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 {
23496 wxDateSpan * resultptr;
23497 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23499 }
23500 return resultobj;
23501 fail:
23502 return NULL;
23503}
23504
23505
c32bde28 23506static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23507 PyObject *resultobj;
23508 wxDateSpan result;
23509 char *kwnames[] = {
23510 NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = wxDateSpan::Week();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
23522 wxDateSpan * resultptr;
23523 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23525 }
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
c32bde28 23532static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23533 PyObject *resultobj;
23534 int arg1 ;
23535 wxDateSpan result;
994141e6 23536 PyObject * obj0 = 0 ;
d14a1e28
RD
23537 char *kwnames[] = {
23538 (char *) "mon", NULL
23539 };
23540
994141e6 23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
c32bde28 23542 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 23543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 result = wxDateSpan::Months(arg1);
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 {
23552 wxDateSpan * resultptr;
23553 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23555 }
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
c32bde28 23562static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23563 PyObject *resultobj;
23564 wxDateSpan result;
23565 char *kwnames[] = {
23566 NULL
23567 };
23568
23569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = wxDateSpan::Month();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 wxDateSpan * resultptr;
23579 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23581 }
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
c32bde28 23588static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23589 PyObject *resultobj;
23590 int arg1 ;
23591 wxDateSpan result;
994141e6 23592 PyObject * obj0 = 0 ;
d14a1e28
RD
23593 char *kwnames[] = {
23594 (char *) "years", NULL
23595 };
23596
994141e6 23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
c32bde28 23598 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 23599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 result = wxDateSpan::Years(arg1);
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 {
23608 wxDateSpan * resultptr;
23609 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
c32bde28 23618static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23619 PyObject *resultobj;
23620 wxDateSpan result;
23621 char *kwnames[] = {
23622 NULL
23623 };
23624
23625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = wxDateSpan::Year();
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 wxDateSpan * resultptr;
23635 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641}
23642
23643
c32bde28 23644static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23645 PyObject *resultobj;
23646 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23647 int arg2 ;
23648 wxDateSpan *result;
23649 PyObject * obj0 = 0 ;
994141e6 23650 PyObject * obj1 = 0 ;
d14a1e28
RD
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "n", NULL
23653 };
23654
994141e6 23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23658 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 {
23663 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23664 result = (wxDateSpan *) &_result_ref;
23665 }
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
15afbcd0 23670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23671 return resultobj;
23672 fail:
23673 return NULL;
23674}
23675
23676
c32bde28 23677static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23678 PyObject *resultobj;
23679 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23680 int arg2 ;
23681 wxDateSpan *result;
23682 PyObject * obj0 = 0 ;
994141e6 23683 PyObject * obj1 = 0 ;
d14a1e28
RD
23684 char *kwnames[] = {
23685 (char *) "self",(char *) "n", NULL
23686 };
23687
994141e6 23688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23691 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 {
23696 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23697 result = (wxDateSpan *) &_result_ref;
23698 }
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
15afbcd0 23703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23704 return resultobj;
23705 fail:
23706 return NULL;
23707}
23708
23709
c32bde28 23710static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23711 PyObject *resultobj;
23712 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23713 int arg2 ;
23714 wxDateSpan *result;
23715 PyObject * obj0 = 0 ;
994141e6 23716 PyObject * obj1 = 0 ;
d14a1e28
RD
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "n", NULL
23719 };
23720
994141e6 23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23724 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23726 {
23727 PyThreadState* __tstate = wxPyBeginAllowThreads();
23728 {
23729 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23730 result = (wxDateSpan *) &_result_ref;
23731 }
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
15afbcd0 23736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23737 return resultobj;
23738 fail:
23739 return NULL;
23740}
23741
23742
c32bde28 23743static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23744 PyObject *resultobj;
23745 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23746 int arg2 ;
23747 wxDateSpan *result;
23748 PyObject * obj0 = 0 ;
994141e6 23749 PyObject * obj1 = 0 ;
d14a1e28
RD
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "n", NULL
23752 };
23753
994141e6 23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23757 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 {
23762 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23763 result = (wxDateSpan *) &_result_ref;
23764 }
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
15afbcd0 23769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23770 return resultobj;
23771 fail:
23772 return NULL;
23773}
23774
23775
c32bde28 23776static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23777 PyObject *resultobj;
23778 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23779 int result;
23780 PyObject * obj0 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
15afbcd0
RD
23786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 result = (int)((wxDateSpan const *)arg1)->GetYears();
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
c32bde28 23795 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23796 return resultobj;
23797 fail:
23798 return NULL;
23799}
23800
23801
c32bde28 23802static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23803 PyObject *resultobj;
23804 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23805 int result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
15afbcd0
RD
23812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
c32bde28 23821 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
c32bde28 23828static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23829 PyObject *resultobj;
23830 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23831 int result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
c32bde28 23847 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23848 return resultobj;
23849 fail:
23850 return NULL;
23851}
23852
23853
c32bde28 23854static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23855 PyObject *resultobj;
23856 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23857 int result;
23858 PyObject * obj0 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (int)((wxDateSpan const *)arg1)->GetDays();
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
c32bde28 23873 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23874 return resultobj;
23875 fail:
23876 return NULL;
23877}
23878
23879
c32bde28 23880static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23881 PyObject *resultobj;
23882 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23883 int result;
23884 PyObject * obj0 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
c32bde28 23899 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
c32bde28 23906static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23907 PyObject *resultobj;
23908 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23909 wxDateSpan *arg2 = 0 ;
23910 wxDateSpan *result;
23911 PyObject * obj0 = 0 ;
23912 PyObject * obj1 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self",(char *) "other", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1)
23922 SWIG_fail;
d14a1e28 23923 if (arg2 == NULL) {
15afbcd0
RD
23924 PyErr_SetString(PyExc_TypeError,"null reference");
23925 SWIG_fail;
d14a1e28
RD
23926 }
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 {
23930 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23931 result = (wxDateSpan *) &_result_ref;
23932 }
23933
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
15afbcd0 23937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23938 return resultobj;
23939 fail:
23940 return NULL;
23941}
23942
23943
c32bde28 23944static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23945 PyObject *resultobj;
23946 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23947 wxDateSpan *arg2 = 0 ;
23948 wxDateSpan *result;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "self",(char *) "other", NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23959 SWIG_POINTER_EXCEPTION | 0)) == -1)
23960 SWIG_fail;
d14a1e28 23961 if (arg2 == NULL) {
15afbcd0
RD
23962 PyErr_SetString(PyExc_TypeError,"null reference");
23963 SWIG_fail;
d14a1e28
RD
23964 }
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 {
23968 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23969 result = (wxDateSpan *) &_result_ref;
23970 }
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
15afbcd0 23975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23976 return resultobj;
23977 fail:
23978 return NULL;
23979}
23980
23981
c32bde28 23982static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23983 PyObject *resultobj;
23984 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23985 wxDateSpan *result;
23986 PyObject * obj0 = 0 ;
23987 char *kwnames[] = {
23988 (char *) "self", NULL
23989 };
23990
23991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
15afbcd0
RD
23992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 {
23997 wxDateSpan &_result_ref = (arg1)->Neg();
23998 result = (wxDateSpan *) &_result_ref;
23999 }
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
15afbcd0 24004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
24005 return resultobj;
24006 fail:
24007 return NULL;
24008}
24009
24010
c32bde28 24011static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24012 PyObject *resultobj;
24013 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24014 int arg2 ;
24015 wxDateSpan *result;
24016 PyObject * obj0 = 0 ;
994141e6 24017 PyObject * obj1 = 0 ;
d14a1e28
RD
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "factor", NULL
24020 };
24021
994141e6 24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24025 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 {
24030 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
24031 result = (wxDateSpan *) &_result_ref;
24032 }
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
15afbcd0 24037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
c32bde28 24044static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24045 PyObject *resultobj;
24046 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24047 wxDateSpan *arg2 = 0 ;
24048 wxDateSpan *result;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self",(char *) "other", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 24056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28 24057 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
24058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24059 SWIG_POINTER_EXCEPTION | 0)) == -1)
24060 SWIG_fail;
d14a1e28 24061 if (arg2 == NULL) {
15afbcd0
RD
24062 PyErr_SetString(PyExc_TypeError,"null reference");
24063 SWIG_fail;
d14a1e28
RD
24064 }
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 {
24068 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
24069 result = (wxDateSpan *) &_result_ref;
24070 }
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
c32bde28 24075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24076 return resultobj;
24077 fail:
24078 return NULL;
24079}
24080
24081
c32bde28 24082static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24083 PyObject *resultobj;
24084 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24085 wxDateSpan *arg2 = 0 ;
24086 wxDateSpan *result;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "other", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 24094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28 24095 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
15afbcd0
RD
24096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24097 SWIG_POINTER_EXCEPTION | 0)) == -1)
24098 SWIG_fail;
d14a1e28 24099 if (arg2 == NULL) {
15afbcd0
RD
24100 PyErr_SetString(PyExc_TypeError,"null reference");
24101 SWIG_fail;
d14a1e28
RD
24102 }
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
24105 {
24106 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
24107 result = (wxDateSpan *) &_result_ref;
24108 }
24109
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
c32bde28 24113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
c32bde28 24120static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24121 PyObject *resultobj;
24122 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24123 wxDateSpan *result;
24124 PyObject * obj0 = 0 ;
24125 char *kwnames[] = {
24126 (char *) "self", NULL
24127 };
24128
24129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
24130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 {
24135 wxDateSpan &_result_ref = (arg1)->operator -();
24136 result = (wxDateSpan *) &_result_ref;
24137 }
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
15afbcd0 24142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
c32bde28 24149static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24150 PyObject *resultobj;
24151 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24152 int arg2 ;
24153 wxDateSpan *result;
24154 PyObject * obj0 = 0 ;
994141e6 24155 PyObject * obj1 = 0 ;
d14a1e28
RD
24156 char *kwnames[] = {
24157 (char *) "self",(char *) "factor", NULL
24158 };
24159
994141e6 24160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 24161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28
RD
24162 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24163 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24164 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 {
24168 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
24169 result = (wxDateSpan *) &_result_ref;
24170 }
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
c32bde28 24175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24176 return resultobj;
24177 fail:
24178 return NULL;
24179}
24180
24181
c32bde28 24182static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24183 PyObject *resultobj;
24184 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24185 wxDateSpan *arg2 = 0 ;
24186 wxDateSpan result;
24187 PyObject * obj0 = 0 ;
24188 PyObject * obj1 = 0 ;
24189 char *kwnames[] = {
24190 (char *) "self",(char *) "other", NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24197 SWIG_POINTER_EXCEPTION | 0)) == -1)
24198 SWIG_fail;
d14a1e28 24199 if (arg2 == NULL) {
15afbcd0
RD
24200 PyErr_SetString(PyExc_TypeError,"null reference");
24201 SWIG_fail;
d14a1e28
RD
24202 }
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 {
24211 wxDateSpan * resultptr;
24212 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 24213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24214 }
24215 return resultobj;
24216 fail:
24217 return NULL;
24218}
24219
24220
c32bde28 24221static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24222 PyObject *resultobj;
24223 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24224 wxDateSpan *arg2 = 0 ;
24225 wxDateSpan result;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "other", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24236 SWIG_POINTER_EXCEPTION | 0)) == -1)
24237 SWIG_fail;
d14a1e28 24238 if (arg2 == NULL) {
15afbcd0
RD
24239 PyErr_SetString(PyExc_TypeError,"null reference");
24240 SWIG_fail;
d14a1e28
RD
24241 }
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 {
24250 wxDateSpan * resultptr;
24251 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 24252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24253 }
24254 return resultobj;
24255 fail:
24256 return NULL;
24257}
24258
24259
c32bde28 24260static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24261 PyObject *resultobj;
24262 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24263 int arg2 ;
24264 wxDateSpan result;
24265 PyObject * obj0 = 0 ;
994141e6 24266 PyObject * obj1 = 0 ;
d14a1e28
RD
24267 char *kwnames[] = {
24268 (char *) "self",(char *) "n", NULL
24269 };
24270
994141e6 24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24274 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 result = wxDateSpan___mul__(arg1,arg2);
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 {
24284 wxDateSpan * resultptr;
24285 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 24286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24287 }
24288 return resultobj;
24289 fail:
24290 return NULL;
24291}
24292
24293
c32bde28 24294static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24295 PyObject *resultobj;
24296 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24297 int arg2 ;
24298 wxDateSpan result;
24299 PyObject * obj0 = 0 ;
994141e6 24300 PyObject * obj1 = 0 ;
d14a1e28
RD
24301 char *kwnames[] = {
24302 (char *) "self",(char *) "n", NULL
24303 };
24304
994141e6 24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24308 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 result = wxDateSpan___rmul__(arg1,arg2);
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 {
24318 wxDateSpan * resultptr;
24319 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 24320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
24321 }
24322 return resultobj;
24323 fail:
24324 return NULL;
24325}
24326
24327
c32bde28 24328static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24329 PyObject *resultobj;
24330 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 24331 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
24332 bool result;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "other", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24344 {
24345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24346 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
24347
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
4f89f6a3
RD
24351 {
24352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24353 }
d14a1e28
RD
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
c32bde28 24360static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24361 PyObject *resultobj;
24362 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 24363 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
24364 bool result;
24365 PyObject * obj0 = 0 ;
24366 PyObject * obj1 = 0 ;
24367 char *kwnames[] = {
24368 (char *) "self",(char *) "other", NULL
24369 };
24370
24371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24378 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
24379
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
4f89f6a3
RD
24383 {
24384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24385 }
d14a1e28
RD
24386 return resultobj;
24387 fail:
24388 return NULL;
24389}
24390
24391
c32bde28 24392static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24393 PyObject *obj;
24394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24395 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
24396 Py_INCREF(obj);
24397 return Py_BuildValue((char *)"");
24398}
c32bde28 24399static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24400 PyObject *resultobj;
24401 long result;
24402 char *kwnames[] = {
24403 NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (long)wxGetLocalTime();
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
c32bde28 24414 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24415 return resultobj;
24416 fail:
24417 return NULL;
24418}
24419
24420
c32bde28 24421static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24422 PyObject *resultobj;
24423 long result;
24424 char *kwnames[] = {
24425 NULL
24426 };
24427
24428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
24431 result = (long)wxGetUTCTime();
24432
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
c32bde28 24436 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24437 return resultobj;
24438 fail:
24439 return NULL;
24440}
24441
24442
c32bde28 24443static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24444 PyObject *resultobj;
24445 long result;
24446 char *kwnames[] = {
24447 NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 result = (long)wxGetCurrentTime();
24454
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
c32bde28 24458 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24459 return resultobj;
24460 fail:
24461 return NULL;
24462}
24463
24464
c32bde28 24465static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24466 PyObject *resultobj;
24467 wxLongLong result;
24468 char *kwnames[] = {
24469 NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = wxGetLocalTimeMillis();
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 PyObject *hi, *lo, *shifter, *shifted;
24482 hi = PyLong_FromLong( (&result)->GetHi() );
24483 lo = PyLong_FromLong( (&result)->GetLo() );
24484 shifter = PyLong_FromLong(32);
24485 shifted = PyNumber_Lshift(hi, shifter);
24486 resultobj = PyNumber_Or(shifted, lo);
24487 Py_DECREF(hi);
24488 Py_DECREF(lo);
24489 Py_DECREF(shifter);
24490 Py_DECREF(shifted);
24491 }
24492 return resultobj;
24493 fail:
24494 return NULL;
24495}
24496
24497
c32bde28 24498static int _wrap_DefaultDateTime_set(PyObject *) {
98e665d3
RD
24499 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
24500 return 1;
24501}
24502
24503
24504static PyObject *_wrap_DefaultDateTime_get() {
24505 PyObject *pyobj;
24506
15afbcd0 24507 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
24508 return pyobj;
24509}
24510
24511
c32bde28 24512static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24513 PyObject *resultobj;
24514 int arg1 ;
24515 wxDataFormat *result;
994141e6 24516 PyObject * obj0 = 0 ;
d14a1e28
RD
24517 char *kwnames[] = {
24518 (char *) "type", NULL
24519 };
24520
994141e6 24521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
c32bde28 24522 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 24523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
15afbcd0 24531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c32bde28 24538static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24539 PyObject *resultobj;
24540 wxString *arg1 = 0 ;
24541 wxDataFormat *result;
ae8162c8 24542 bool temp1 = false ;
d14a1e28
RD
24543 PyObject * obj0 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "format", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
24549 {
24550 arg1 = wxString_in_helper(obj0);
24551 if (arg1 == NULL) SWIG_fail;
ae8162c8 24552 temp1 = true;
d14a1e28
RD
24553 }
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
15afbcd0 24561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24562 {
24563 if (temp1)
24564 delete arg1;
24565 }
24566 return resultobj;
24567 fail:
24568 {
24569 if (temp1)
24570 delete arg1;
24571 }
24572 return NULL;
24573}
24574
24575
c32bde28 24576static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24577 PyObject *resultobj;
24578 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24579 PyObject * obj0 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
15afbcd0
RD
24585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 delete arg1;
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 Py_INCREF(Py_None); resultobj = Py_None;
24595 return resultobj;
24596 fail:
24597 return NULL;
24598}
24599
24600
c32bde28 24601static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
24602 PyObject *resultobj;
24603 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24604 int arg2 ;
24605 bool result;
24606 PyObject * obj0 = 0 ;
994141e6 24607 PyObject * obj1 = 0 ;
d14a1e28 24608
994141e6 24609 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
24610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24612 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 24616 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
4f89f6a3
RD
24621 {
24622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24623 }
d14a1e28
RD
24624 return resultobj;
24625 fail:
24626 return NULL;
24627}
24628
24629
c32bde28 24630static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
24631 PyObject *resultobj;
24632 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24633 int arg2 ;
24634 bool result;
24635 PyObject * obj0 = 0 ;
994141e6 24636 PyObject * obj1 = 0 ;
d14a1e28 24637
994141e6 24638 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
24639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24641 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 24645 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
4f89f6a3
RD
24650 {
24651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24652 }
d14a1e28
RD
24653 return resultobj;
24654 fail:
24655 return NULL;
24656}
24657
24658
c32bde28 24659static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
24660 PyObject *resultobj;
24661 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24662 wxDataFormat *arg2 = 0 ;
24663 bool result;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj1 = 0 ;
24666
24667 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
24668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24671 SWIG_POINTER_EXCEPTION | 0)) == -1)
24672 SWIG_fail;
d14a1e28 24673 if (arg2 == NULL) {
15afbcd0
RD
24674 PyErr_SetString(PyExc_TypeError,"null reference");
24675 SWIG_fail;
d14a1e28
RD
24676 }
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
24679 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
4f89f6a3
RD
24684 {
24685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24686 }
d14a1e28
RD
24687 return resultobj;
24688 fail:
24689 return NULL;
24690}
24691
24692
24693static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24694 int argc;
24695 PyObject *argv[3];
24696 int ii;
24697
24698 argc = PyObject_Length(args);
24699 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24700 argv[ii] = PyTuple_GetItem(args,ii);
24701 }
24702 if (argc == 2) {
24703 int _v;
24704 {
24705 void *ptr;
15afbcd0 24706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24707 _v = 0;
24708 PyErr_Clear();
24709 } else {
24710 _v = 1;
24711 }
24712 }
24713 if (_v) {
24714 {
24715 void *ptr;
15afbcd0 24716 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24717 _v = 0;
24718 PyErr_Clear();
24719 } else {
24720 _v = 1;
24721 }
24722 }
24723 if (_v) {
24724 return _wrap_DataFormat___eq____SWIG_1(self,args);
24725 }
24726 }
24727 }
24728 if (argc == 2) {
24729 int _v;
24730 {
24731 void *ptr;
15afbcd0 24732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24733 _v = 0;
24734 PyErr_Clear();
24735 } else {
24736 _v = 1;
24737 }
24738 }
24739 if (_v) {
c32bde28 24740 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
24741 if (_v) {
24742 return _wrap_DataFormat___eq____SWIG_0(self,args);
24743 }
24744 }
24745 }
24746
24747 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24748 return NULL;
24749}
24750
24751
c32bde28 24752static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
24753 PyObject *resultobj;
24754 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24755 wxDataFormat *arg2 = 0 ;
24756 bool result;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759
24760 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
24761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24764 SWIG_POINTER_EXCEPTION | 0)) == -1)
24765 SWIG_fail;
d14a1e28 24766 if (arg2 == NULL) {
15afbcd0
RD
24767 PyErr_SetString(PyExc_TypeError,"null reference");
24768 SWIG_fail;
d14a1e28
RD
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
4f89f6a3
RD
24777 {
24778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24779 }
d14a1e28
RD
24780 return resultobj;
24781 fail:
24782 return NULL;
24783}
24784
24785
24786static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24787 int argc;
24788 PyObject *argv[3];
24789 int ii;
24790
24791 argc = PyObject_Length(args);
24792 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24793 argv[ii] = PyTuple_GetItem(args,ii);
24794 }
24795 if (argc == 2) {
24796 int _v;
24797 {
24798 void *ptr;
15afbcd0 24799 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24800 _v = 0;
24801 PyErr_Clear();
24802 } else {
24803 _v = 1;
24804 }
24805 }
24806 if (_v) {
24807 {
24808 void *ptr;
15afbcd0 24809 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24810 _v = 0;
24811 PyErr_Clear();
24812 } else {
24813 _v = 1;
24814 }
24815 }
24816 if (_v) {
24817 return _wrap_DataFormat___ne____SWIG_1(self,args);
24818 }
24819 }
24820 }
24821 if (argc == 2) {
24822 int _v;
24823 {
24824 void *ptr;
15afbcd0 24825 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24826 _v = 0;
24827 PyErr_Clear();
24828 } else {
24829 _v = 1;
24830 }
24831 }
24832 if (_v) {
c32bde28 24833 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
24834 if (_v) {
24835 return _wrap_DataFormat___ne____SWIG_0(self,args);
24836 }
24837 }
24838 }
24839
24840 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24841 return NULL;
24842}
24843
24844
c32bde28 24845static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24846 PyObject *resultobj;
24847 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24848 int arg2 ;
24849 PyObject * obj0 = 0 ;
994141e6 24850 PyObject * obj1 = 0 ;
d14a1e28
RD
24851 char *kwnames[] = {
24852 (char *) "self",(char *) "format", NULL
24853 };
24854
994141e6 24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24858 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->SetType((wxDataFormatId )arg2);
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 Py_INCREF(Py_None); resultobj = Py_None;
24868 return resultobj;
24869 fail:
24870 return NULL;
24871}
24872
24873
c32bde28 24874static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24875 PyObject *resultobj;
24876 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24877 int result;
24878 PyObject * obj0 = 0 ;
24879 char *kwnames[] = {
24880 (char *) "self", NULL
24881 };
24882
24883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
24884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24886 {
24887 PyThreadState* __tstate = wxPyBeginAllowThreads();
24888 result = (int)((wxDataFormat const *)arg1)->GetType();
24889
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
c32bde28 24893 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24894 return resultobj;
24895 fail:
24896 return NULL;
24897}
24898
24899
c32bde28 24900static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24901 PyObject *resultobj;
24902 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24903 wxString result;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 result = ((wxDataFormat const *)arg1)->GetId();
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 {
24920#if wxUSE_UNICODE
24921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24922#else
24923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24924#endif
24925 }
24926 return resultobj;
24927 fail:
24928 return NULL;
24929}
24930
24931
c32bde28 24932static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24933 PyObject *resultobj;
24934 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24935 wxString *arg2 = 0 ;
ae8162c8 24936 bool temp2 = false ;
d14a1e28
RD
24937 PyObject * obj0 = 0 ;
24938 PyObject * obj1 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self",(char *) "format", NULL
24941 };
24942
24943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24946 {
24947 arg2 = wxString_in_helper(obj1);
24948 if (arg2 == NULL) SWIG_fail;
ae8162c8 24949 temp2 = true;
d14a1e28
RD
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetId((wxString const &)*arg2);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 Py_INCREF(Py_None); resultobj = Py_None;
24959 {
24960 if (temp2)
24961 delete arg2;
24962 }
24963 return resultobj;
24964 fail:
24965 {
24966 if (temp2)
24967 delete arg2;
24968 }
24969 return NULL;
24970}
24971
24972
c32bde28 24973static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24974 PyObject *obj;
24975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24976 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24977 Py_INCREF(obj);
24978 return Py_BuildValue((char *)"");
24979}
c32bde28 24980static int _wrap_FormatInvalid_set(PyObject *) {
d14a1e28
RD
24981 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24982 return 1;
24983}
24984
24985
24986static PyObject *_wrap_FormatInvalid_get() {
24987 PyObject *pyobj;
24988
15afbcd0 24989 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24990 return pyobj;
24991}
24992
24993
c32bde28 24994static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24995 PyObject *resultobj;
24996 wxDataObject *arg1 = (wxDataObject *) 0 ;
24997 PyObject * obj0 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 delete arg1;
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 Py_INCREF(Py_None); resultobj = Py_None;
25013 return resultobj;
25014 fail:
25015 return NULL;
25016}
25017
25018
c32bde28 25019static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25020 PyObject *resultobj;
25021 wxDataObject *arg1 = (wxDataObject *) 0 ;
25022 int arg2 = (int) wxDataObject::Get ;
25023 SwigValueWrapper< wxDataFormat > result;
25024 PyObject * obj0 = 0 ;
994141e6 25025 PyObject * obj1 = 0 ;
d14a1e28
RD
25026 char *kwnames[] = {
25027 (char *) "self",(char *) "dir", NULL
25028 };
25029
994141e6 25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25033 if (obj1) {
c32bde28 25034 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25035 if (PyErr_Occurred()) SWIG_fail;
994141e6 25036 }
d14a1e28
RD
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
25040
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 {
25045 wxDataFormat * resultptr;
25046 resultptr = new wxDataFormat((wxDataFormat &) result);
15afbcd0 25047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
25048 }
25049 return resultobj;
25050 fail:
25051 return NULL;
25052}
25053
25054
c32bde28 25055static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25056 PyObject *resultobj;
25057 wxDataObject *arg1 = (wxDataObject *) 0 ;
25058 int arg2 = (int) wxDataObject::Get ;
25059 size_t result;
25060 PyObject * obj0 = 0 ;
994141e6 25061 PyObject * obj1 = 0 ;
d14a1e28
RD
25062 char *kwnames[] = {
25063 (char *) "self",(char *) "dir", NULL
25064 };
25065
994141e6 25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25069 if (obj1) {
c32bde28 25070 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25071 if (PyErr_Occurred()) SWIG_fail;
994141e6 25072 }
d14a1e28
RD
25073 {
25074 PyThreadState* __tstate = wxPyBeginAllowThreads();
25075 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
25076
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
c32bde28 25080 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
25081 return resultobj;
25082 fail:
25083 return NULL;
25084}
25085
25086
c32bde28 25087static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25088 PyObject *resultobj;
25089 wxDataObject *arg1 = (wxDataObject *) 0 ;
25090 wxDataFormat *arg2 = 0 ;
25091 int arg3 = (int) wxDataObject::Get ;
25092 bool result;
25093 PyObject * obj0 = 0 ;
25094 PyObject * obj1 = 0 ;
994141e6 25095 PyObject * obj2 = 0 ;
d14a1e28
RD
25096 char *kwnames[] = {
25097 (char *) "self",(char *) "format",(char *) "dir", NULL
25098 };
25099
994141e6 25100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1)
25105 SWIG_fail;
d14a1e28 25106 if (arg2 == NULL) {
15afbcd0
RD
25107 PyErr_SetString(PyExc_TypeError,"null reference");
25108 SWIG_fail;
d14a1e28 25109 }
994141e6 25110 if (obj2) {
c32bde28 25111 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 25112 if (PyErr_Occurred()) SWIG_fail;
994141e6 25113 }
d14a1e28
RD
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
4f89f6a3
RD
25121 {
25122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25123 }
d14a1e28
RD
25124 return resultobj;
25125 fail:
25126 return NULL;
25127}
25128
25129
c32bde28 25130static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25131 PyObject *resultobj;
25132 wxDataObject *arg1 = (wxDataObject *) 0 ;
25133 wxDataFormat *arg2 = 0 ;
25134 size_t result;
25135 PyObject * obj0 = 0 ;
25136 PyObject * obj1 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self",(char *) "format", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1)
25146 SWIG_fail;
d14a1e28 25147 if (arg2 == NULL) {
15afbcd0
RD
25148 PyErr_SetString(PyExc_TypeError,"null reference");
25149 SWIG_fail;
d14a1e28
RD
25150 }
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
c32bde28 25158 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
25159 return resultobj;
25160 fail:
25161 return NULL;
25162}
25163
25164
c32bde28 25165static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25166 PyObject *resultobj;
25167 wxDataObject *arg1 = (wxDataObject *) 0 ;
1a10c483
RD
25168 int arg2 = (int) wxDataObject::Get ;
25169 PyObject *result;
d14a1e28
RD
25170 PyObject * obj0 = 0 ;
25171 PyObject * obj1 = 0 ;
25172 char *kwnames[] = {
1a10c483 25173 (char *) "self",(char *) "dir", NULL
d14a1e28
RD
25174 };
25175
1a10c483 25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1a10c483 25179 if (obj1) {
c32bde28 25180 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25181 if (PyErr_Occurred()) SWIG_fail;
994141e6 25182 }
d14a1e28
RD
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 25185 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d14a1e28
RD
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
1a10c483 25190 resultobj = result;
d14a1e28
RD
25191 return resultobj;
25192 fail:
25193 return NULL;
25194}
25195
25196
c32bde28 25197static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25198 PyObject *resultobj;
25199 wxDataObject *arg1 = (wxDataObject *) 0 ;
25200 wxDataFormat *arg2 = 0 ;
1a10c483 25201 PyObject *result;
d14a1e28
RD
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
d14a1e28 25204 char *kwnames[] = {
1a10c483 25205 (char *) "self",(char *) "format", NULL
d14a1e28
RD
25206 };
25207
1a10c483 25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1)
25213 SWIG_fail;
d14a1e28 25214 if (arg2 == NULL) {
15afbcd0
RD
25215 PyErr_SetString(PyExc_TypeError,"null reference");
25216 SWIG_fail;
d14a1e28 25217 }
d14a1e28
RD
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 25220 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d14a1e28
RD
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
1a10c483 25225 resultobj = result;
d14a1e28
RD
25226 return resultobj;
25227 fail:
25228 return NULL;
25229}
25230
25231
c32bde28 25232static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25233 PyObject *resultobj;
25234 wxDataObject *arg1 = (wxDataObject *) 0 ;
25235 wxDataFormat *arg2 = 0 ;
1a10c483 25236 PyObject *arg3 = (PyObject *) 0 ;
d14a1e28
RD
25237 bool result;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 PyObject * obj2 = 0 ;
d14a1e28 25241 char *kwnames[] = {
1a10c483 25242 (char *) "self",(char *) "format",(char *) "data", NULL
d14a1e28
RD
25243 };
25244
1a10c483 25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25249 SWIG_POINTER_EXCEPTION | 0)) == -1)
25250 SWIG_fail;
d14a1e28 25251 if (arg2 == NULL) {
15afbcd0
RD
25252 PyErr_SetString(PyExc_TypeError,"null reference");
25253 SWIG_fail;
a41e16b6 25254 }
1a10c483 25255 arg3 = obj2;
d14a1e28
RD
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 25258 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d14a1e28
RD
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
4f89f6a3
RD
25263 {
25264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25265 }
d14a1e28
RD
25266 return resultobj;
25267 fail:
25268 return NULL;
25269}
25270
25271
c32bde28 25272static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25273 PyObject *obj;
25274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
25276 Py_INCREF(obj);
25277 return Py_BuildValue((char *)"");
25278}
c32bde28 25279static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25280 PyObject *resultobj;
25281 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25282 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25283 wxDataObjectSimple *result;
25284 PyObject * obj0 = 0 ;
25285 char *kwnames[] = {
25286 (char *) "format", NULL
25287 };
25288
25289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
25290 if (obj0) {
15afbcd0
RD
25291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1)
25293 SWIG_fail;
d14a1e28 25294 if (arg1 == NULL) {
15afbcd0
RD
25295 PyErr_SetString(PyExc_TypeError,"null reference");
25296 SWIG_fail;
d14a1e28
RD
25297 }
25298 }
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
15afbcd0 25306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
25307 return resultobj;
25308 fail:
25309 return NULL;
25310}
25311
25312
c32bde28 25313static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25314 PyObject *resultobj;
25315 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25316 wxDataFormat *result;
25317 PyObject * obj0 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
15afbcd0
RD
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 {
25328 wxDataFormat const &_result_ref = (arg1)->GetFormat();
25329 result = (wxDataFormat *) &_result_ref;
25330 }
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
15afbcd0 25335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
c32bde28 25342static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25343 PyObject *resultobj;
25344 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25345 wxDataFormat *arg2 = 0 ;
25346 PyObject * obj0 = 0 ;
25347 PyObject * obj1 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self",(char *) "format", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25356 SWIG_POINTER_EXCEPTION | 0)) == -1)
25357 SWIG_fail;
d14a1e28 25358 if (arg2 == NULL) {
15afbcd0
RD
25359 PyErr_SetString(PyExc_TypeError,"null reference");
25360 SWIG_fail;
d14a1e28
RD
25361 }
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 (arg1)->SetFormat((wxDataFormat const &)*arg2);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 Py_INCREF(Py_None); resultobj = Py_None;
25370 return resultobj;
25371 fail:
25372 return NULL;
25373}
25374
25375
c32bde28 25376static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
25377 PyObject *resultobj;
25378 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25379 size_t result;
25380 PyObject * obj0 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "self", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
25386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
c32bde28 25395 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
1a10c483
RD
25396 return resultobj;
25397 fail:
25398 return NULL;
25399}
25400
25401
c32bde28 25402static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
25403 PyObject *resultobj;
25404 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25405 PyObject *result;
25406 PyObject * obj0 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
25412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
25417
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 resultobj = result;
25422 return resultobj;
25423 fail:
25424 return NULL;
25425}
25426
25427
c32bde28 25428static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
25429 PyObject *resultobj;
25430 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25431 PyObject *arg2 = (PyObject *) 0 ;
25432 bool result;
25433 PyObject * obj0 = 0 ;
25434 PyObject * obj1 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self",(char *) "data", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
25440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25442 arg2 = obj1;
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
25446
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 {
25451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25452 }
25453 return resultobj;
25454 fail:
25455 return NULL;
25456}
25457
25458
c32bde28 25459static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25460 PyObject *obj;
25461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25462 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
25463 Py_INCREF(obj);
25464 return Py_BuildValue((char *)"");
25465}
c32bde28 25466static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25467 PyObject *resultobj;
25468 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25469 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25470 wxPyDataObjectSimple *result;
25471 PyObject * obj0 = 0 ;
25472 char *kwnames[] = {
25473 (char *) "format", NULL
25474 };
25475
25476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
25477 if (obj0) {
15afbcd0
RD
25478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25479 SWIG_POINTER_EXCEPTION | 0)) == -1)
25480 SWIG_fail;
d14a1e28 25481 if (arg1 == NULL) {
15afbcd0
RD
25482 PyErr_SetString(PyExc_TypeError,"null reference");
25483 SWIG_fail;
d14a1e28
RD
25484 }
25485 }
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
25489
25490 wxPyEndAllowThreads(__tstate);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
15afbcd0 25493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
25494 return resultobj;
25495 fail:
25496 return NULL;
25497}
25498
25499
c32bde28 25500static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25501 PyObject *resultobj;
25502 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
25503 PyObject *arg2 = (PyObject *) 0 ;
25504 PyObject *arg3 = (PyObject *) 0 ;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 PyObject * obj2 = 0 ;
25508 char *kwnames[] = {
25509 (char *) "self",(char *) "self",(char *) "_class", NULL
25510 };
25511
25512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
25514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25515 arg2 = obj1;
25516 arg3 = obj2;
25517 {
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 (arg1)->_setCallbackInfo(arg2,arg3);
25520
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 Py_INCREF(Py_None); resultobj = Py_None;
25525 return resultobj;
25526 fail:
25527 return NULL;
25528}
25529
25530
c32bde28 25531static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25532 PyObject *obj;
25533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25534 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
25535 Py_INCREF(obj);
25536 return Py_BuildValue((char *)"");
25537}
c32bde28 25538static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25539 PyObject *resultobj;
25540 wxDataObjectComposite *result;
25541 char *kwnames[] = {
25542 NULL
25543 };
25544
25545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (wxDataObjectComposite *)new wxDataObjectComposite();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
15afbcd0 25553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
25554 return resultobj;
25555 fail:
25556 return NULL;
25557}
25558
25559
c32bde28 25560static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25561 PyObject *resultobj;
25562 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
25563 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 25564 bool arg3 = (bool) false ;
d14a1e28
RD
25565 PyObject * obj0 = 0 ;
25566 PyObject * obj1 = 0 ;
994141e6 25567 PyObject * obj2 = 0 ;
d14a1e28
RD
25568 char *kwnames[] = {
25569 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25570 };
25571
994141e6 25572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25576 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
994141e6 25577 if (obj2) {
c32bde28 25578 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 25579 if (PyErr_Occurred()) SWIG_fail;
994141e6 25580 }
d14a1e28
RD
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 (arg1)->Add(arg2,arg3);
25584
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 Py_INCREF(Py_None); resultobj = Py_None;
25589 return resultobj;
25590 fail:
25591 return NULL;
25592}
25593
25594
c32bde28 25595static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25596 PyObject *obj;
25597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25598 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25599 Py_INCREF(obj);
25600 return Py_BuildValue((char *)"");
25601}
c32bde28 25602static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25603 PyObject *resultobj;
25604 wxString const &arg1_defvalue = wxPyEmptyString ;
25605 wxString *arg1 = (wxString *) &arg1_defvalue ;
25606 wxTextDataObject *result;
ae8162c8 25607 bool temp1 = false ;
d14a1e28
RD
25608 PyObject * obj0 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "text", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25614 if (obj0) {
25615 {
25616 arg1 = wxString_in_helper(obj0);
25617 if (arg1 == NULL) SWIG_fail;
ae8162c8 25618 temp1 = true;
d14a1e28
RD
25619 }
25620 }
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
15afbcd0 25628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
25629 {
25630 if (temp1)
25631 delete arg1;
25632 }
25633 return resultobj;
25634 fail:
25635 {
25636 if (temp1)
25637 delete arg1;
25638 }
25639 return NULL;
25640}
25641
25642
c32bde28 25643static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25644 PyObject *resultobj;
25645 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25646 size_t result;
25647 PyObject * obj0 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
25653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (size_t)(arg1)->GetTextLength();
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
c32bde28 25662 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
25663 return resultobj;
25664 fail:
25665 return NULL;
25666}
25667
25668
c32bde28 25669static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25670 PyObject *resultobj;
25671 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25672 wxString result;
25673 PyObject * obj0 = 0 ;
25674 char *kwnames[] = {
25675 (char *) "self", NULL
25676 };
25677
25678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
25679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 result = (arg1)->GetText();
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 {
25689#if wxUSE_UNICODE
25690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25691#else
25692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25693#endif
25694 }
25695 return resultobj;
25696 fail:
25697 return NULL;
25698}
25699
25700
c32bde28 25701static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25702 PyObject *resultobj;
25703 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25704 wxString *arg2 = 0 ;
ae8162c8 25705 bool temp2 = false ;
d14a1e28
RD
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 char *kwnames[] = {
25709 (char *) "self",(char *) "text", NULL
25710 };
25711
25712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25715 {
25716 arg2 = wxString_in_helper(obj1);
25717 if (arg2 == NULL) SWIG_fail;
ae8162c8 25718 temp2 = true;
d14a1e28
RD
25719 }
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 (arg1)->SetText((wxString const &)*arg2);
25723
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 Py_INCREF(Py_None); resultobj = Py_None;
25728 {
25729 if (temp2)
25730 delete arg2;
25731 }
25732 return resultobj;
25733 fail:
25734 {
25735 if (temp2)
25736 delete arg2;
25737 }
25738 return NULL;
25739}
25740
25741
c32bde28 25742static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25743 PyObject *obj;
25744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25745 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25746 Py_INCREF(obj);
25747 return Py_BuildValue((char *)"");
25748}
c32bde28 25749static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25750 PyObject *resultobj;
25751 wxString const &arg1_defvalue = wxPyEmptyString ;
25752 wxString *arg1 = (wxString *) &arg1_defvalue ;
25753 wxPyTextDataObject *result;
ae8162c8 25754 bool temp1 = false ;
d14a1e28
RD
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "text", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25761 if (obj0) {
25762 {
25763 arg1 = wxString_in_helper(obj0);
25764 if (arg1 == NULL) SWIG_fail;
ae8162c8 25765 temp1 = true;
d14a1e28
RD
25766 }
25767 }
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25771
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
15afbcd0 25775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
25776 {
25777 if (temp1)
25778 delete arg1;
25779 }
25780 return resultobj;
25781 fail:
25782 {
25783 if (temp1)
25784 delete arg1;
25785 }
25786 return NULL;
25787}
25788
25789
c32bde28 25790static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25791 PyObject *resultobj;
25792 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25793 PyObject *arg2 = (PyObject *) 0 ;
25794 PyObject *arg3 = (PyObject *) 0 ;
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 PyObject * obj2 = 0 ;
25798 char *kwnames[] = {
25799 (char *) "self",(char *) "self",(char *) "_class", NULL
25800 };
25801
25802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25805 arg2 = obj1;
25806 arg3 = obj2;
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 (arg1)->_setCallbackInfo(arg2,arg3);
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 Py_INCREF(Py_None); resultobj = Py_None;
25815 return resultobj;
25816 fail:
25817 return NULL;
25818}
25819
25820
c32bde28 25821static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25822 PyObject *obj;
25823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25824 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25825 Py_INCREF(obj);
25826 return Py_BuildValue((char *)"");
25827}
c32bde28 25828static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25829 PyObject *resultobj;
25830 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25831 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25832 wxBitmapDataObject *result;
25833 PyObject * obj0 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "bitmap", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25839 if (obj0) {
15afbcd0
RD
25840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25841 SWIG_POINTER_EXCEPTION | 0)) == -1)
25842 SWIG_fail;
d14a1e28 25843 if (arg1 == NULL) {
15afbcd0
RD
25844 PyErr_SetString(PyExc_TypeError,"null reference");
25845 SWIG_fail;
d14a1e28
RD
25846 }
25847 }
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25851
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
15afbcd0 25855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
25856 return resultobj;
25857 fail:
25858 return NULL;
25859}
25860
25861
c32bde28 25862static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25863 PyObject *resultobj;
25864 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25865 wxBitmap result;
25866 PyObject * obj0 = 0 ;
25867 char *kwnames[] = {
25868 (char *) "self", NULL
25869 };
25870
25871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
25872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25877
25878 wxPyEndAllowThreads(__tstate);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 }
25881 {
25882 wxBitmap * resultptr;
25883 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 25884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
25885 }
25886 return resultobj;
25887 fail:
25888 return NULL;
25889}
25890
25891
c32bde28 25892static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25893 PyObject *resultobj;
25894 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25895 wxBitmap *arg2 = 0 ;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "bitmap", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25906 SWIG_POINTER_EXCEPTION | 0)) == -1)
25907 SWIG_fail;
d14a1e28 25908 if (arg2 == NULL) {
15afbcd0
RD
25909 PyErr_SetString(PyExc_TypeError,"null reference");
25910 SWIG_fail;
d14a1e28
RD
25911 }
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 Py_INCREF(Py_None); resultobj = Py_None;
25920 return resultobj;
25921 fail:
25922 return NULL;
25923}
25924
25925
c32bde28 25926static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25927 PyObject *obj;
25928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25929 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25930 Py_INCREF(obj);
25931 return Py_BuildValue((char *)"");
25932}
c32bde28 25933static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25934 PyObject *resultobj;
25935 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25936 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25937 wxPyBitmapDataObject *result;
25938 PyObject * obj0 = 0 ;
25939 char *kwnames[] = {
25940 (char *) "bitmap", NULL
25941 };
25942
25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25944 if (obj0) {
15afbcd0
RD
25945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1)
25947 SWIG_fail;
d14a1e28 25948 if (arg1 == NULL) {
15afbcd0
RD
25949 PyErr_SetString(PyExc_TypeError,"null reference");
25950 SWIG_fail;
d14a1e28
RD
25951 }
25952 }
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25956
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
15afbcd0 25960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
25961 return resultobj;
25962 fail:
25963 return NULL;
25964}
25965
25966
c32bde28 25967static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25968 PyObject *resultobj;
25969 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25970 PyObject *arg2 = (PyObject *) 0 ;
25971 PyObject *arg3 = (PyObject *) 0 ;
25972 PyObject * obj0 = 0 ;
25973 PyObject * obj1 = 0 ;
25974 PyObject * obj2 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self",(char *) "self",(char *) "_class", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25982 arg2 = obj1;
25983 arg3 = obj2;
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 (arg1)->_setCallbackInfo(arg2,arg3);
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 Py_INCREF(Py_None); resultobj = Py_None;
25992 return resultobj;
25993 fail:
25994 return NULL;
25995}
25996
25997
c32bde28 25998static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25999 PyObject *obj;
26000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26001 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
26002 Py_INCREF(obj);
26003 return Py_BuildValue((char *)"");
26004}
c32bde28 26005static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26006 PyObject *resultobj;
26007 wxFileDataObject *result;
26008 char *kwnames[] = {
26009 NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 result = (wxFileDataObject *)new wxFileDataObject();
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
15afbcd0 26020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
26021 return resultobj;
26022 fail:
26023 return NULL;
26024}
26025
26026
c32bde28 26027static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26028 PyObject *resultobj;
26029 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
26030 wxArrayString *result;
26031 PyObject * obj0 = 0 ;
26032 char *kwnames[] = {
26033 (char *) "self", NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
26037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
26038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26039 {
26040 PyThreadState* __tstate = wxPyBeginAllowThreads();
26041 {
26042 wxArrayString const &_result_ref = (arg1)->GetFilenames();
26043 result = (wxArrayString *) &_result_ref;
26044 }
26045
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 {
26050 resultobj = wxArrayString2PyList_helper(*result);
26051 }
26052 return resultobj;
26053 fail:
26054 return NULL;
26055}
26056
26057
c32bde28 26058static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
26059 PyObject *resultobj;
26060 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
26061 wxString *arg2 = 0 ;
ae8162c8 26062 bool temp2 = false ;
15afbcd0
RD
26063 PyObject * obj0 = 0 ;
26064 PyObject * obj1 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "self",(char *) "filename", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
26070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
26071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26072 {
26073 arg2 = wxString_in_helper(obj1);
26074 if (arg2 == NULL) SWIG_fail;
ae8162c8 26075 temp2 = true;
15afbcd0
RD
26076 }
26077 {
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 (arg1)->AddFile((wxString const &)*arg2);
26080
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 Py_INCREF(Py_None); resultobj = Py_None;
26085 {
26086 if (temp2)
26087 delete arg2;
26088 }
26089 return resultobj;
26090 fail:
26091 {
26092 if (temp2)
26093 delete arg2;
26094 }
26095 return NULL;
26096}
26097
26098
c32bde28 26099static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26100 PyObject *obj;
26101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26102 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
26103 Py_INCREF(obj);
26104 return Py_BuildValue((char *)"");
26105}
c32bde28 26106static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26107 PyObject *resultobj;
26108 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
26109 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
26110 wxCustomDataObject *result;
26111 PyObject * obj0 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "format", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
26117 if (obj0) {
15afbcd0
RD
26118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
26119 SWIG_POINTER_EXCEPTION | 0)) == -1)
26120 SWIG_fail;
d14a1e28 26121 if (arg1 == NULL) {
15afbcd0
RD
26122 PyErr_SetString(PyExc_TypeError,"null reference");
26123 SWIG_fail;
d14a1e28
RD
26124 }
26125 }
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
15afbcd0 26133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
26134 return resultobj;
26135 fail:
26136 return NULL;
26137}
26138
26139
c32bde28 26140static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26141 PyObject *resultobj;
26142 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26143 PyObject *arg2 = (PyObject *) 0 ;
26144 bool result;
26145 PyObject * obj0 = 0 ;
26146 PyObject * obj1 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "self",(char *) "data", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26154 arg2 = obj1;
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
4f89f6a3
RD
26162 {
26163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26164 }
d14a1e28
RD
26165 return resultobj;
26166 fail:
26167 return NULL;
26168}
26169
26170
c32bde28 26171static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26172 PyObject *resultobj;
26173 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26174 size_t result;
26175 PyObject * obj0 = 0 ;
26176 char *kwnames[] = {
26177 (char *) "self", NULL
26178 };
26179
26180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
26181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 result = (size_t)(arg1)->GetSize();
26186
26187 wxPyEndAllowThreads(__tstate);
26188 if (PyErr_Occurred()) SWIG_fail;
26189 }
c32bde28 26190 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
26191 return resultobj;
26192 fail:
26193 return NULL;
26194}
26195
26196
c32bde28 26197static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26198 PyObject *resultobj;
26199 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26200 PyObject *result;
26201 PyObject * obj0 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
26207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 result = (PyObject *)wxCustomDataObject_GetData(arg1);
26212
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 resultobj = result;
26217 return resultobj;
26218 fail:
26219 return NULL;
26220}
26221
26222
c32bde28 26223static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26224 PyObject *obj;
26225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26226 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
26227 Py_INCREF(obj);
26228 return Py_BuildValue((char *)"");
26229}
c32bde28 26230static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26231 PyObject *resultobj;
26232 wxURLDataObject *result;
26233 char *kwnames[] = {
26234 NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 result = (wxURLDataObject *)new wxURLDataObject();
26241
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
15afbcd0 26245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
26246 return resultobj;
26247 fail:
26248 return NULL;
26249}
26250
26251
c32bde28 26252static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26253 PyObject *resultobj;
26254 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26255 wxString result;
26256 PyObject * obj0 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
15afbcd0
RD
26262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 result = (arg1)->GetURL();
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 {
26272#if wxUSE_UNICODE
26273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26274#else
26275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26276#endif
26277 }
26278 return resultobj;
26279 fail:
26280 return NULL;
26281}
26282
26283
c32bde28 26284static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26285 PyObject *resultobj;
26286 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26287 wxString *arg2 = 0 ;
ae8162c8 26288 bool temp2 = false ;
d14a1e28
RD
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self",(char *) "url", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26298 {
26299 arg2 = wxString_in_helper(obj1);
26300 if (arg2 == NULL) SWIG_fail;
ae8162c8 26301 temp2 = true;
d14a1e28
RD
26302 }
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->SetURL((wxString const &)*arg2);
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 {
26312 if (temp2)
26313 delete arg2;
26314 }
26315 return resultobj;
26316 fail:
26317 {
26318 if (temp2)
26319 delete arg2;
26320 }
26321 return NULL;
26322}
26323
26324
c32bde28 26325static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26326 PyObject *obj;
26327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26328 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
26329 Py_INCREF(obj);
26330 return Py_BuildValue((char *)"");
26331}
c32bde28 26332static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26333 PyObject *resultobj;
26334 wxMetafileDataObject *result;
26335 char *kwnames[] = {
26336 NULL
26337 };
26338
26339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 result = (wxMetafileDataObject *)new wxMetafileDataObject();
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
15afbcd0 26347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
26348 return resultobj;
26349 fail:
26350 return NULL;
26351}
26352
26353
c32bde28 26354static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26355 PyObject *obj;
26356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26357 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
26358 Py_INCREF(obj);
26359 return Py_BuildValue((char *)"");
26360}
c32bde28 26361static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26362 PyObject *resultobj;
26363 int arg1 ;
26364 bool result;
994141e6 26365 PyObject * obj0 = 0 ;
d14a1e28
RD
26366 char *kwnames[] = {
26367 (char *) "res", NULL
26368 };
26369
994141e6 26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
c32bde28 26371 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 26372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
4f89f6a3
RD
26380 {
26381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26382 }
d14a1e28
RD
26383 return resultobj;
26384 fail:
26385 return NULL;
26386}
26387
26388
c32bde28 26389static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 26390 PyObject *resultobj;
d1e20054 26391 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
26392 wxIcon const &arg2_defvalue = wxNullIcon ;
26393 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
26394 wxIcon const &arg3_defvalue = wxNullIcon ;
26395 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
26396 wxIcon const &arg4_defvalue = wxNullIcon ;
26397 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
26398 wxPyDropSource *result;
26399 PyObject * obj0 = 0 ;
26400 PyObject * obj1 = 0 ;
26401 PyObject * obj2 = 0 ;
26402 PyObject * obj3 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26405 };
26406
d1e20054 26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26410 if (obj1) {
15afbcd0
RD
26411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
26412 SWIG_POINTER_EXCEPTION | 0)) == -1)
26413 SWIG_fail;
d14a1e28 26414 if (arg2 == NULL) {
15afbcd0
RD
26415 PyErr_SetString(PyExc_TypeError,"null reference");
26416 SWIG_fail;
d14a1e28
RD
26417 }
26418 }
26419 if (obj2) {
15afbcd0
RD
26420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIcon,
26421 SWIG_POINTER_EXCEPTION | 0)) == -1)
26422 SWIG_fail;
d14a1e28 26423 if (arg3 == NULL) {
15afbcd0
RD
26424 PyErr_SetString(PyExc_TypeError,"null reference");
26425 SWIG_fail;
d14a1e28
RD
26426 }
26427 }
26428 if (obj3) {
15afbcd0
RD
26429 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxIcon,
26430 SWIG_POINTER_EXCEPTION | 0)) == -1)
26431 SWIG_fail;
d14a1e28 26432 if (arg4 == NULL) {
15afbcd0
RD
26433 PyErr_SetString(PyExc_TypeError,"null reference");
26434 SWIG_fail;
d14a1e28
RD
26435 }
26436 }
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
26440
26441 wxPyEndAllowThreads(__tstate);
26442 if (PyErr_Occurred()) SWIG_fail;
26443 }
15afbcd0 26444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
26445 return resultobj;
26446 fail:
26447 return NULL;
26448}
26449
26450
c32bde28 26451static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26452 PyObject *resultobj;
26453 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26454 PyObject *arg2 = (PyObject *) 0 ;
26455 PyObject *arg3 = (PyObject *) 0 ;
26456 int arg4 ;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 PyObject * obj2 = 0 ;
994141e6 26460 PyObject * obj3 = 0 ;
d14a1e28
RD
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26463 };
26464
994141e6 26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26468 arg2 = obj1;
26469 arg3 = obj2;
c32bde28 26470 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26472 {
26473 PyThreadState* __tstate = wxPyBeginAllowThreads();
26474 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
26475
26476 wxPyEndAllowThreads(__tstate);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 Py_INCREF(Py_None); resultobj = Py_None;
26480 return resultobj;
26481 fail:
26482 return NULL;
26483}
26484
26485
c32bde28 26486static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26487 PyObject *resultobj;
26488 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26489 PyObject * obj0 = 0 ;
26490 char *kwnames[] = {
26491 (char *) "self", NULL
26492 };
26493
26494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
15afbcd0
RD
26495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26497 {
26498 PyThreadState* __tstate = wxPyBeginAllowThreads();
26499 delete arg1;
26500
26501 wxPyEndAllowThreads(__tstate);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 Py_INCREF(Py_None); resultobj = Py_None;
26505 return resultobj;
26506 fail:
26507 return NULL;
26508}
26509
26510
c32bde28 26511static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26512 PyObject *resultobj;
26513 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26514 wxDataObject *arg2 = 0 ;
26515 PyObject * obj0 = 0 ;
26516 PyObject * obj1 = 0 ;
26517 char *kwnames[] = {
26518 (char *) "self",(char *) "data", NULL
26519 };
26520
26521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26525 SWIG_POINTER_EXCEPTION | 0)) == -1)
26526 SWIG_fail;
d14a1e28 26527 if (arg2 == NULL) {
15afbcd0
RD
26528 PyErr_SetString(PyExc_TypeError,"null reference");
26529 SWIG_fail;
d14a1e28
RD
26530 }
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 (arg1)->SetData(*arg2);
26534
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 Py_INCREF(Py_None); resultobj = Py_None;
26539 return resultobj;
26540 fail:
26541 return NULL;
26542}
26543
26544
c32bde28 26545static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26546 PyObject *resultobj;
26547 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26548 wxDataObject *result;
26549 PyObject * obj0 = 0 ;
26550 char *kwnames[] = {
26551 (char *) "self", NULL
26552 };
26553
26554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
26555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 result = (wxDataObject *)(arg1)->GetDataObject();
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
15afbcd0 26564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
26565 return resultobj;
26566 fail:
26567 return NULL;
26568}
26569
26570
c32bde28 26571static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26572 PyObject *resultobj;
26573 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26574 int arg2 ;
26575 wxCursor *arg3 = 0 ;
26576 PyObject * obj0 = 0 ;
994141e6 26577 PyObject * obj1 = 0 ;
d14a1e28
RD
26578 PyObject * obj2 = 0 ;
26579 char *kwnames[] = {
26580 (char *) "self",(char *) "res",(char *) "cursor", NULL
26581 };
26582
994141e6 26583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
26587 if (PyErr_Occurred()) SWIG_fail;
26588 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26589 SWIG_POINTER_EXCEPTION | 0)) == -1)
26590 SWIG_fail;
d14a1e28 26591 if (arg3 == NULL) {
15afbcd0
RD
26592 PyErr_SetString(PyExc_TypeError,"null reference");
26593 SWIG_fail;
d14a1e28
RD
26594 }
26595 {
26596 PyThreadState* __tstate = wxPyBeginAllowThreads();
26597 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26598
26599 wxPyEndAllowThreads(__tstate);
26600 if (PyErr_Occurred()) SWIG_fail;
26601 }
26602 Py_INCREF(Py_None); resultobj = Py_None;
26603 return resultobj;
26604 fail:
26605 return NULL;
26606}
26607
26608
c32bde28 26609static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26610 PyObject *resultobj;
26611 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26612 int arg2 = (int) wxDrag_CopyOnly ;
26613 int result;
26614 PyObject * obj0 = 0 ;
994141e6 26615 PyObject * obj1 = 0 ;
d14a1e28
RD
26616 char *kwnames[] = {
26617 (char *) "self",(char *) "flags", NULL
26618 };
26619
994141e6 26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26623 if (obj1) {
c32bde28 26624 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26625 if (PyErr_Occurred()) SWIG_fail;
994141e6 26626 }
d14a1e28
RD
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 result = (int)(arg1)->DoDragDrop(arg2);
26630
26631 wxPyEndAllowThreads(__tstate);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 }
c32bde28 26634 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
26635 return resultobj;
26636 fail:
26637 return NULL;
26638}
26639
26640
c32bde28 26641static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26642 PyObject *resultobj;
26643 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26644 int arg2 ;
26645 bool result;
26646 PyObject * obj0 = 0 ;
994141e6 26647 PyObject * obj1 = 0 ;
d14a1e28
RD
26648 char *kwnames[] = {
26649 (char *) "self",(char *) "effect", NULL
26650 };
26651
994141e6 26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26655 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26657 {
26658 PyThreadState* __tstate = wxPyBeginAllowThreads();
26659 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26660
26661 wxPyEndAllowThreads(__tstate);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 }
4f89f6a3
RD
26664 {
26665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26666 }
d14a1e28
RD
26667 return resultobj;
26668 fail:
26669 return NULL;
26670}
26671
26672
c32bde28 26673static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26674 PyObject *obj;
26675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26676 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26677 Py_INCREF(obj);
26678 return Py_BuildValue((char *)"");
26679}
c32bde28 26680static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26681 PyObject *resultobj;
26682 wxDataObject *arg1 = (wxDataObject *) NULL ;
26683 wxPyDropTarget *result;
26684 PyObject * obj0 = 0 ;
26685 char *kwnames[] = {
26686 (char *) "dataObject", NULL
26687 };
26688
15afbcd0 26689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 26690 if (obj0) {
15afbcd0
RD
26691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26692 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26693 }
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26697
26698 wxPyEndAllowThreads(__tstate);
26699 if (PyErr_Occurred()) SWIG_fail;
26700 }
15afbcd0 26701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
26702 return resultobj;
26703 fail:
26704 return NULL;
26705}
26706
26707
c32bde28 26708static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26709 PyObject *resultobj;
26710 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26711 PyObject *arg2 = (PyObject *) 0 ;
26712 PyObject *arg3 = (PyObject *) 0 ;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715 PyObject * obj2 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "self",(char *) "self",(char *) "_class", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26723 arg2 = obj1;
26724 arg3 = obj2;
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 (arg1)->_setCallbackInfo(arg2,arg3);
26728
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 Py_INCREF(Py_None); resultobj = Py_None;
26733 return resultobj;
26734 fail:
26735 return NULL;
26736}
26737
26738
c32bde28 26739static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26740 PyObject *resultobj;
26741 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26742 PyObject * obj0 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26750 {
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 delete arg1;
26753
26754 wxPyEndAllowThreads(__tstate);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 }
26757 Py_INCREF(Py_None); resultobj = Py_None;
26758 return resultobj;
26759 fail:
26760 return NULL;
26761}
26762
26763
c32bde28 26764static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26765 PyObject *resultobj;
26766 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26767 wxDataObject *result;
26768 PyObject * obj0 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
26774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (wxDataObject *)(arg1)->GetDataObject();
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
15afbcd0 26783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
26784 return resultobj;
26785 fail:
26786 return NULL;
26787}
26788
26789
c32bde28 26790static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26791 PyObject *resultobj;
26792 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26793 wxDataObject *arg2 = (wxDataObject *) 0 ;
26794 PyObject * obj0 = 0 ;
26795 PyObject * obj1 = 0 ;
26796 char *kwnames[] = {
26797 (char *) "self",(char *) "dataObject", NULL
26798 };
26799
26800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26804 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 (arg1)->SetDataObject(arg2);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 Py_INCREF(Py_None); resultobj = Py_None;
26813 return resultobj;
26814 fail:
26815 return NULL;
26816}
26817
26818
c32bde28 26819static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26820 PyObject *resultobj;
26821 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26822 int arg2 ;
26823 int arg3 ;
d14a1e28
RD
26824 int arg4 ;
26825 int result;
26826 PyObject * obj0 = 0 ;
994141e6
RD
26827 PyObject * obj1 = 0 ;
26828 PyObject * obj2 = 0 ;
26829 PyObject * obj3 = 0 ;
d14a1e28
RD
26830 char *kwnames[] = {
26831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26832 };
26833
994141e6 26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26837 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26838 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26839 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26840 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26841 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
c32bde28 26850 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
26851 return resultobj;
26852 fail:
26853 return NULL;
26854}
26855
26856
c32bde28 26857static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26858 PyObject *resultobj;
26859 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26860 int arg2 ;
26861 int arg3 ;
d14a1e28
RD
26862 int arg4 ;
26863 int result;
26864 PyObject * obj0 = 0 ;
994141e6
RD
26865 PyObject * obj1 = 0 ;
26866 PyObject * obj2 = 0 ;
26867 PyObject * obj3 = 0 ;
d14a1e28
RD
26868 char *kwnames[] = {
26869 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26870 };
26871
994141e6 26872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26875 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26876 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26877 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26879 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26884
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
c32bde28 26888 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
26889 return resultobj;
26890 fail:
26891 return NULL;
26892}
26893
26894
c32bde28 26895static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26896 PyObject *resultobj;
26897 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26898 PyObject * obj0 = 0 ;
26899 char *kwnames[] = {
26900 (char *) "self", NULL
26901 };
26902
26903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
26904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26906 {
26907 PyThreadState* __tstate = wxPyBeginAllowThreads();
26908 (arg1)->base_OnLeave();
26909
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 Py_INCREF(Py_None); resultobj = Py_None;
26914 return resultobj;
26915 fail:
26916 return NULL;
26917}
26918
26919
c32bde28 26920static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26921 PyObject *resultobj;
26922 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26923 int arg2 ;
26924 int arg3 ;
d14a1e28
RD
26925 bool result;
26926 PyObject * obj0 = 0 ;
994141e6
RD
26927 PyObject * obj1 = 0 ;
26928 PyObject * obj2 = 0 ;
d14a1e28
RD
26929 char *kwnames[] = {
26930 (char *) "self",(char *) "x",(char *) "y", NULL
26931 };
26932
994141e6 26933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26936 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26937 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26938 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
4f89f6a3
RD
26947 {
26948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26949 }
d14a1e28
RD
26950 return resultobj;
26951 fail:
26952 return NULL;
26953}
26954
26955
c32bde28 26956static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26957 PyObject *resultobj;
26958 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26959 bool result;
26960 PyObject * obj0 = 0 ;
26961 char *kwnames[] = {
26962 (char *) "self", NULL
26963 };
26964
26965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
26966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (bool)(arg1)->GetData();
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
4f89f6a3
RD
26975 {
26976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26977 }
d14a1e28
RD
26978 return resultobj;
26979 fail:
26980 return NULL;
26981}
26982
26983
c32bde28 26984static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26985 PyObject *obj;
26986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26987 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26988 Py_INCREF(obj);
26989 return Py_BuildValue((char *)"");
26990}
c32bde28 26991static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26992 PyObject *resultobj;
26993 wxPyTextDropTarget *result;
26994 char *kwnames[] = {
26995 NULL
26996 };
26997
26998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
27002
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
15afbcd0 27006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
27007 return resultobj;
27008 fail:
27009 return NULL;
27010}
27011
27012
c32bde28 27013static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27014 PyObject *resultobj;
27015 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27016 PyObject *arg2 = (PyObject *) 0 ;
27017 PyObject *arg3 = (PyObject *) 0 ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 PyObject * obj2 = 0 ;
27021 char *kwnames[] = {
27022 (char *) "self",(char *) "self",(char *) "_class", NULL
27023 };
27024
27025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27028 arg2 = obj1;
27029 arg3 = obj2;
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 (arg1)->_setCallbackInfo(arg2,arg3);
27033
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
27037 Py_INCREF(Py_None); resultobj = Py_None;
27038 return resultobj;
27039 fail:
27040 return NULL;
27041}
27042
27043
c32bde28 27044static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27045 PyObject *resultobj;
27046 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
27047 int arg2 ;
27048 int arg3 ;
d14a1e28
RD
27049 int arg4 ;
27050 int result;
27051 PyObject * obj0 = 0 ;
994141e6
RD
27052 PyObject * obj1 = 0 ;
27053 PyObject * obj2 = 0 ;
27054 PyObject * obj3 = 0 ;
d14a1e28
RD
27055 char *kwnames[] = {
27056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27057 };
27058
994141e6 27059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27062 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27063 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27064 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27065 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27066 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27068 {
27069 PyThreadState* __tstate = wxPyBeginAllowThreads();
27070 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
27071
27072 wxPyEndAllowThreads(__tstate);
27073 if (PyErr_Occurred()) SWIG_fail;
27074 }
c32bde28 27075 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27076 return resultobj;
27077 fail:
27078 return NULL;
27079}
27080
27081
c32bde28 27082static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27083 PyObject *resultobj;
27084 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
27085 int arg2 ;
27086 int arg3 ;
d14a1e28
RD
27087 int arg4 ;
27088 int result;
27089 PyObject * obj0 = 0 ;
994141e6
RD
27090 PyObject * obj1 = 0 ;
27091 PyObject * obj2 = 0 ;
27092 PyObject * obj3 = 0 ;
d14a1e28
RD
27093 char *kwnames[] = {
27094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27095 };
27096
994141e6 27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27100 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27101 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27102 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27103 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27104 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
27109
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
c32bde28 27113 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27114 return resultobj;
27115 fail:
27116 return NULL;
27117}
27118
27119
c32bde28 27120static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27121 PyObject *resultobj;
27122 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
27129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 (arg1)->base_OnLeave();
27134
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 Py_INCREF(Py_None); resultobj = Py_None;
27139 return resultobj;
27140 fail:
27141 return NULL;
27142}
27143
27144
c32bde28 27145static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27146 PyObject *resultobj;
27147 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
27148 int arg2 ;
27149 int arg3 ;
d14a1e28
RD
27150 bool result;
27151 PyObject * obj0 = 0 ;
994141e6
RD
27152 PyObject * obj1 = 0 ;
27153 PyObject * obj2 = 0 ;
d14a1e28
RD
27154 char *kwnames[] = {
27155 (char *) "self",(char *) "x",(char *) "y", NULL
27156 };
27157
994141e6 27158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27161 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27162 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27163 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27164 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27168
27169 wxPyEndAllowThreads(__tstate);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 }
4f89f6a3
RD
27172 {
27173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27174 }
d14a1e28
RD
27175 return resultobj;
27176 fail:
27177 return NULL;
27178}
27179
27180
c32bde28 27181static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27182 PyObject *resultobj;
27183 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
27184 int arg2 ;
27185 int arg3 ;
d14a1e28
RD
27186 int arg4 ;
27187 int result;
27188 PyObject * obj0 = 0 ;
994141e6
RD
27189 PyObject * obj1 = 0 ;
27190 PyObject * obj2 = 0 ;
27191 PyObject * obj3 = 0 ;
d14a1e28
RD
27192 char *kwnames[] = {
27193 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27194 };
27195
994141e6 27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27199 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27200 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27201 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27202 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27203 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
c32bde28 27212 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27213 return resultobj;
27214 fail:
27215 return NULL;
27216}
27217
27218
c32bde28 27219static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27220 PyObject *obj;
27221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27222 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
27223 Py_INCREF(obj);
27224 return Py_BuildValue((char *)"");
27225}
c32bde28 27226static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27227 PyObject *resultobj;
27228 wxPyFileDropTarget *result;
27229 char *kwnames[] = {
27230 NULL
27231 };
27232
27233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
15afbcd0 27241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
27242 return resultobj;
27243 fail:
27244 return NULL;
27245}
27246
27247
c32bde28 27248static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27249 PyObject *resultobj;
27250 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27251 PyObject *arg2 = (PyObject *) 0 ;
27252 PyObject *arg3 = (PyObject *) 0 ;
27253 PyObject * obj0 = 0 ;
27254 PyObject * obj1 = 0 ;
27255 PyObject * obj2 = 0 ;
27256 char *kwnames[] = {
27257 (char *) "self",(char *) "self",(char *) "_class", NULL
27258 };
27259
27260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27263 arg2 = obj1;
27264 arg3 = obj2;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 (arg1)->_setCallbackInfo(arg2,arg3);
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 Py_INCREF(Py_None); resultobj = Py_None;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276}
27277
27278
c32bde28 27279static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27280 PyObject *resultobj;
27281 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
27282 int arg2 ;
27283 int arg3 ;
d14a1e28
RD
27284 int arg4 ;
27285 int result;
27286 PyObject * obj0 = 0 ;
994141e6
RD
27287 PyObject * obj1 = 0 ;
27288 PyObject * obj2 = 0 ;
27289 PyObject * obj3 = 0 ;
d14a1e28
RD
27290 char *kwnames[] = {
27291 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27292 };
27293
994141e6 27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27297 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27298 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27299 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27300 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27301 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
c32bde28 27310 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
c32bde28 27317static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27318 PyObject *resultobj;
27319 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
27320 int arg2 ;
27321 int arg3 ;
d14a1e28
RD
27322 int arg4 ;
27323 int result;
27324 PyObject * obj0 = 0 ;
994141e6
RD
27325 PyObject * obj1 = 0 ;
27326 PyObject * obj2 = 0 ;
27327 PyObject * obj3 = 0 ;
d14a1e28
RD
27328 char *kwnames[] = {
27329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27330 };
27331
994141e6 27332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27335 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27336 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27337 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27338 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27339 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27341 {
27342 PyThreadState* __tstate = wxPyBeginAllowThreads();
27343 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
27344
27345 wxPyEndAllowThreads(__tstate);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
c32bde28 27348 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27349 return resultobj;
27350 fail:
27351 return NULL;
27352}
27353
27354
c32bde28 27355static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27356 PyObject *resultobj;
27357 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27358 PyObject * obj0 = 0 ;
27359 char *kwnames[] = {
27360 (char *) "self", NULL
27361 };
27362
27363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
27364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 (arg1)->base_OnLeave();
27369
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 Py_INCREF(Py_None); resultobj = Py_None;
27374 return resultobj;
27375 fail:
27376 return NULL;
27377}
27378
27379
c32bde28 27380static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27381 PyObject *resultobj;
27382 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
27383 int arg2 ;
27384 int arg3 ;
d14a1e28
RD
27385 bool result;
27386 PyObject * obj0 = 0 ;
994141e6
RD
27387 PyObject * obj1 = 0 ;
27388 PyObject * obj2 = 0 ;
d14a1e28
RD
27389 char *kwnames[] = {
27390 (char *) "self",(char *) "x",(char *) "y", NULL
27391 };
27392
994141e6 27393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27396 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27397 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27398 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
4f89f6a3
RD
27407 {
27408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27409 }
d14a1e28
RD
27410 return resultobj;
27411 fail:
27412 return NULL;
27413}
27414
27415
c32bde28 27416static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27417 PyObject *resultobj;
27418 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
27419 int arg2 ;
27420 int arg3 ;
d14a1e28
RD
27421 int arg4 ;
27422 int result;
27423 PyObject * obj0 = 0 ;
994141e6
RD
27424 PyObject * obj1 = 0 ;
27425 PyObject * obj2 = 0 ;
27426 PyObject * obj3 = 0 ;
d14a1e28
RD
27427 char *kwnames[] = {
27428 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27429 };
27430
994141e6 27431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27434 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27435 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27436 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27437 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27438 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
c32bde28 27447 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27448 return resultobj;
27449 fail:
27450 return NULL;
27451}
27452
27453
c32bde28 27454static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27455 PyObject *obj;
27456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27457 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
27458 Py_INCREF(obj);
27459 return Py_BuildValue((char *)"");
27460}
c32bde28 27461static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27462 PyObject *resultobj;
27463 wxClipboard *result;
27464 char *kwnames[] = {
27465 NULL
27466 };
27467
27468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 result = (wxClipboard *)new wxClipboard();
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
15afbcd0 27476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
27477 return resultobj;
27478 fail:
27479 return NULL;
27480}
27481
27482
c32bde28 27483static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27484 PyObject *resultobj;
27485 wxClipboard *arg1 = (wxClipboard *) 0 ;
27486 PyObject * obj0 = 0 ;
27487 char *kwnames[] = {
27488 (char *) "self", NULL
27489 };
27490
27491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
27492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 delete arg1;
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 Py_INCREF(Py_None); resultobj = Py_None;
27502 return resultobj;
27503 fail:
27504 return NULL;
27505}
27506
27507
c32bde28 27508static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27509 PyObject *resultobj;
27510 wxClipboard *arg1 = (wxClipboard *) 0 ;
27511 bool result;
27512 PyObject * obj0 = 0 ;
27513 char *kwnames[] = {
27514 (char *) "self", NULL
27515 };
27516
27517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
15afbcd0
RD
27518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (bool)(arg1)->Open();
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
4f89f6a3
RD
27527 {
27528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27529 }
d14a1e28
RD
27530 return resultobj;
27531 fail:
27532 return NULL;
27533}
27534
27535
c32bde28 27536static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27537 PyObject *resultobj;
27538 wxClipboard *arg1 = (wxClipboard *) 0 ;
27539 PyObject * obj0 = 0 ;
27540 char *kwnames[] = {
27541 (char *) "self", NULL
27542 };
27543
27544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
27545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27547 {
27548 PyThreadState* __tstate = wxPyBeginAllowThreads();
27549 (arg1)->Close();
27550
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 Py_INCREF(Py_None); resultobj = Py_None;
27555 return resultobj;
27556 fail:
27557 return NULL;
27558}
27559
27560
c32bde28 27561static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27562 PyObject *resultobj;
27563 wxClipboard *arg1 = (wxClipboard *) 0 ;
27564 bool result;
27565 PyObject * obj0 = 0 ;
27566 char *kwnames[] = {
27567 (char *) "self", NULL
27568 };
27569
27570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
15afbcd0
RD
27571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27573 {
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27576
27577 wxPyEndAllowThreads(__tstate);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
4f89f6a3
RD
27580 {
27581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27582 }
d14a1e28
RD
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
c32bde28 27589static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27590 PyObject *resultobj;
27591 wxClipboard *arg1 = (wxClipboard *) 0 ;
27592 wxDataObject *arg2 = (wxDataObject *) 0 ;
27593 bool result;
27594 PyObject * obj0 = 0 ;
27595 PyObject * obj1 = 0 ;
27596 char *kwnames[] = {
27597 (char *) "self",(char *) "data", NULL
27598 };
27599
27600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27604 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 result = (bool)(arg1)->AddData(arg2);
27608
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
4f89f6a3
RD
27612 {
27613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27614 }
d14a1e28
RD
27615 return resultobj;
27616 fail:
27617 return NULL;
27618}
27619
27620
c32bde28 27621static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27622 PyObject *resultobj;
27623 wxClipboard *arg1 = (wxClipboard *) 0 ;
27624 wxDataObject *arg2 = (wxDataObject *) 0 ;
27625 bool result;
27626 PyObject * obj0 = 0 ;
27627 PyObject * obj1 = 0 ;
27628 char *kwnames[] = {
27629 (char *) "self",(char *) "data", NULL
27630 };
27631
27632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27636 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (bool)(arg1)->SetData(arg2);
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
4f89f6a3
RD
27644 {
27645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27646 }
d14a1e28
RD
27647 return resultobj;
27648 fail:
27649 return NULL;
27650}
27651
27652
c32bde28 27653static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27654 PyObject *resultobj;
27655 wxClipboard *arg1 = (wxClipboard *) 0 ;
27656 wxDataFormat *arg2 = 0 ;
27657 bool result;
27658 PyObject * obj0 = 0 ;
27659 PyObject * obj1 = 0 ;
27660 char *kwnames[] = {
27661 (char *) "self",(char *) "format", NULL
27662 };
27663
27664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27668 SWIG_POINTER_EXCEPTION | 0)) == -1)
27669 SWIG_fail;
d14a1e28 27670 if (arg2 == NULL) {
15afbcd0
RD
27671 PyErr_SetString(PyExc_TypeError,"null reference");
27672 SWIG_fail;
d14a1e28
RD
27673 }
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
4f89f6a3
RD
27681 {
27682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27683 }
d14a1e28
RD
27684 return resultobj;
27685 fail:
27686 return NULL;
27687}
27688
27689
c32bde28 27690static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27691 PyObject *resultobj;
27692 wxClipboard *arg1 = (wxClipboard *) 0 ;
27693 wxDataObject *arg2 = 0 ;
27694 bool result;
27695 PyObject * obj0 = 0 ;
27696 PyObject * obj1 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self",(char *) "data", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27705 SWIG_POINTER_EXCEPTION | 0)) == -1)
27706 SWIG_fail;
d14a1e28 27707 if (arg2 == NULL) {
15afbcd0
RD
27708 PyErr_SetString(PyExc_TypeError,"null reference");
27709 SWIG_fail;
d14a1e28
RD
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 result = (bool)(arg1)->GetData(*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
4f89f6a3
RD
27718 {
27719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27720 }
d14a1e28
RD
27721 return resultobj;
27722 fail:
27723 return NULL;
27724}
27725
27726
c32bde28 27727static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27728 PyObject *resultobj;
27729 wxClipboard *arg1 = (wxClipboard *) 0 ;
27730 PyObject * obj0 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
27736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 (arg1)->Clear();
27741
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 Py_INCREF(Py_None); resultobj = Py_None;
27746 return resultobj;
27747 fail:
27748 return NULL;
27749}
27750
27751
c32bde28 27752static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27753 PyObject *resultobj;
27754 wxClipboard *arg1 = (wxClipboard *) 0 ;
27755 bool result;
27756 PyObject * obj0 = 0 ;
27757 char *kwnames[] = {
27758 (char *) "self", NULL
27759 };
27760
27761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
27762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 result = (bool)(arg1)->Flush();
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
4f89f6a3
RD
27771 {
27772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27773 }
d14a1e28
RD
27774 return resultobj;
27775 fail:
27776 return NULL;
27777}
27778
27779
c32bde28 27780static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27781 PyObject *resultobj;
27782 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 27783 bool arg2 = (bool) true ;
d14a1e28
RD
27784 PyObject * obj0 = 0 ;
27785 PyObject * obj1 = 0 ;
27786 char *kwnames[] = {
27787 (char *) "self",(char *) "primary", NULL
27788 };
27789
27790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27793 if (obj1) {
c32bde28 27794 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 27795 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27796 }
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 (arg1)->UsePrimarySelection(arg2);
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 Py_INCREF(Py_None); resultobj = Py_None;
27805 return resultobj;
27806 fail:
27807 return NULL;
27808}
27809
27810
c32bde28 27811static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
27812 PyObject *resultobj;
27813 wxClipboard *result;
27814 char *kwnames[] = {
27815 NULL
27816 };
27817
27818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27819 {
27820 PyThreadState* __tstate = wxPyBeginAllowThreads();
27821 result = (wxClipboard *)wxClipboard::Get();
27822
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27827 return resultobj;
27828 fail:
27829 return NULL;
27830}
27831
27832
c32bde28 27833static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27834 PyObject *obj;
27835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27836 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27837 Py_INCREF(obj);
27838 return Py_BuildValue((char *)"");
27839}
c32bde28 27840static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27841 PyObject *resultobj;
27842 wxClipboard *arg1 = (wxClipboard *) NULL ;
27843 wxClipboardLocker *result;
27844 PyObject * obj0 = 0 ;
27845 char *kwnames[] = {
27846 (char *) "clipboard", NULL
27847 };
27848
27849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27850 if (obj0) {
15afbcd0
RD
27851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27853 }
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
27856 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27857
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
15afbcd0 27861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
27862 return resultobj;
27863 fail:
27864 return NULL;
27865}
27866
27867
c32bde28 27868static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27869 PyObject *resultobj;
27870 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27871 PyObject * obj0 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
15afbcd0
RD
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 delete arg1;
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 Py_INCREF(Py_None); resultobj = Py_None;
27887 return resultobj;
27888 fail:
27889 return NULL;
27890}
27891
27892
c32bde28 27893static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27894 PyObject *resultobj;
27895 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27896 bool result;
27897 PyObject * obj0 = 0 ;
27898 char *kwnames[] = {
27899 (char *) "self", NULL
27900 };
27901
27902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
27903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (bool)wxClipboardLocker___nonzero__(arg1);
27908
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
4f89f6a3
RD
27912 {
27913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27914 }
d14a1e28
RD
27915 return resultobj;
27916 fail:
27917 return NULL;
27918}
27919
27920
c32bde28 27921static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27922 PyObject *obj;
27923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27924 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27925 Py_INCREF(obj);
27926 return Py_BuildValue((char *)"");
27927}
c32bde28 27928static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
27929 PyObject *resultobj;
27930 int arg1 = (int) 0 ;
27931 int arg2 = (int) 0 ;
27932 int arg3 = (int) 0 ;
27933 int arg4 = (int) 0 ;
27934 wxVideoMode *result;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 PyObject * obj2 = 0 ;
27938 PyObject * obj3 = 0 ;
27939 char *kwnames[] = {
27940 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27941 };
27942
27943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27944 if (obj0) {
c32bde28 27945 arg1 = (int)SWIG_As_int(obj0);
4276dc52
RD
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 if (obj1) {
c32bde28 27949 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 if (obj2) {
c32bde28 27953 arg3 = (int)SWIG_As_int(obj2);
4276dc52
RD
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 if (obj3) {
c32bde28 27957 arg4 = (int)SWIG_As_int(obj3);
4276dc52
RD
27958 if (PyErr_Occurred()) SWIG_fail;
27959 }
27960 {
27961 PyThreadState* __tstate = wxPyBeginAllowThreads();
27962 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27963
27964 wxPyEndAllowThreads(__tstate);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 }
27967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27968 return resultobj;
27969 fail:
27970 return NULL;
27971}
27972
27973
c32bde28 27974static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
27975 PyObject *resultobj;
27976 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27977 PyObject * obj0 = 0 ;
27978 char *kwnames[] = {
27979 (char *) "self", NULL
27980 };
27981
27982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 delete arg1;
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 Py_INCREF(Py_None); resultobj = Py_None;
27993 return resultobj;
27994 fail:
27995 return NULL;
27996}
27997
27998
c32bde28 27999static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28000 PyObject *resultobj;
28001 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28002 wxVideoMode *arg2 = 0 ;
28003 bool result;
28004 PyObject * obj0 = 0 ;
28005 PyObject * obj1 = 0 ;
28006 char *kwnames[] = {
28007 (char *) "self",(char *) "other", NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
28011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28014 SWIG_POINTER_EXCEPTION | 0)) == -1)
28015 SWIG_fail;
28016 if (arg2 == NULL) {
28017 PyErr_SetString(PyExc_TypeError,"null reference");
28018 SWIG_fail;
28019 }
28020 {
28021 PyThreadState* __tstate = wxPyBeginAllowThreads();
28022 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
28023
28024 wxPyEndAllowThreads(__tstate);
28025 if (PyErr_Occurred()) SWIG_fail;
28026 }
4f89f6a3
RD
28027 {
28028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28029 }
4276dc52
RD
28030 return resultobj;
28031 fail:
28032 return NULL;
28033}
28034
28035
c32bde28 28036static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28037 PyObject *resultobj;
28038 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28039 int result;
28040 PyObject * obj0 = 0 ;
28041 char *kwnames[] = {
28042 (char *) "self", NULL
28043 };
28044
28045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
28046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 result = (int)((wxVideoMode const *)arg1)->GetWidth();
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
c32bde28 28055 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28056 return resultobj;
28057 fail:
28058 return NULL;
28059}
28060
28061
c32bde28 28062static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28063 PyObject *resultobj;
28064 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28065 int result;
28066 PyObject * obj0 = 0 ;
28067 char *kwnames[] = {
28068 (char *) "self", NULL
28069 };
28070
28071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
28072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28074 {
28075 PyThreadState* __tstate = wxPyBeginAllowThreads();
28076 result = (int)((wxVideoMode const *)arg1)->GetHeight();
28077
28078 wxPyEndAllowThreads(__tstate);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
c32bde28 28081 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28082 return resultobj;
28083 fail:
28084 return NULL;
28085}
28086
28087
c32bde28 28088static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28089 PyObject *resultobj;
28090 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28091 int result;
28092 PyObject * obj0 = 0 ;
28093 char *kwnames[] = {
28094 (char *) "self", NULL
28095 };
28096
28097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
28098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28100 {
28101 PyThreadState* __tstate = wxPyBeginAllowThreads();
28102 result = (int)((wxVideoMode const *)arg1)->GetDepth();
28103
28104 wxPyEndAllowThreads(__tstate);
28105 if (PyErr_Occurred()) SWIG_fail;
28106 }
c32bde28 28107 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28108 return resultobj;
28109 fail:
28110 return NULL;
28111}
28112
28113
c32bde28 28114static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28115 PyObject *resultobj;
28116 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28117 bool result;
28118 PyObject * obj0 = 0 ;
28119 char *kwnames[] = {
28120 (char *) "self", NULL
28121 };
28122
28123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
28124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28126 {
28127 PyThreadState* __tstate = wxPyBeginAllowThreads();
28128 result = (bool)((wxVideoMode const *)arg1)->IsOk();
28129
28130 wxPyEndAllowThreads(__tstate);
28131 if (PyErr_Occurred()) SWIG_fail;
28132 }
4f89f6a3
RD
28133 {
28134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28135 }
4276dc52
RD
28136 return resultobj;
28137 fail:
28138 return NULL;
28139}
28140
28141
c32bde28 28142static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28143 PyObject *resultobj;
28144 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28145 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
28146 bool result;
28147 PyObject * obj0 = 0 ;
28148 PyObject * obj1 = 0 ;
28149 char *kwnames[] = {
28150 (char *) "self",(char *) "other", NULL
28151 };
28152
28153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
28154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
28161
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
4f89f6a3
RD
28165 {
28166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28167 }
4276dc52
RD
28168 return resultobj;
28169 fail:
28170 return NULL;
28171}
28172
28173
c32bde28 28174static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28175 PyObject *resultobj;
28176 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28177 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
28178 bool result;
28179 PyObject * obj0 = 0 ;
28180 PyObject * obj1 = 0 ;
28181 char *kwnames[] = {
28182 (char *) "self",(char *) "other", NULL
28183 };
28184
28185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
28186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
4f89f6a3
RD
28197 {
28198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28199 }
4276dc52
RD
28200 return resultobj;
28201 fail:
28202 return NULL;
28203}
28204
28205
c32bde28 28206static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28207 PyObject *resultobj;
28208 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28209 int arg2 ;
28210 PyObject * obj0 = 0 ;
28211 PyObject * obj1 = 0 ;
28212 char *kwnames[] = {
28213 (char *) "self",(char *) "w", NULL
28214 };
28215
28216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
28217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28219 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
28220 if (PyErr_Occurred()) SWIG_fail;
28221 if (arg1) (arg1)->w = arg2;
28222
28223 Py_INCREF(Py_None); resultobj = Py_None;
28224 return resultobj;
28225 fail:
28226 return NULL;
28227}
28228
28229
c32bde28 28230static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28231 PyObject *resultobj;
28232 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28233 int result;
28234 PyObject * obj0 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self", NULL
28237 };
28238
28239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
28240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28242 result = (int) ((arg1)->w);
28243
c32bde28 28244 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28245 return resultobj;
28246 fail:
28247 return NULL;
28248}
28249
28250
c32bde28 28251static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28252 PyObject *resultobj;
28253 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28254 int arg2 ;
28255 PyObject * obj0 = 0 ;
28256 PyObject * obj1 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self",(char *) "h", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
28262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28264 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
28265 if (PyErr_Occurred()) SWIG_fail;
28266 if (arg1) (arg1)->h = arg2;
28267
28268 Py_INCREF(Py_None); resultobj = Py_None;
28269 return resultobj;
28270 fail:
28271 return NULL;
28272}
28273
28274
c32bde28 28275static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28276 PyObject *resultobj;
28277 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28278 int result;
28279 PyObject * obj0 = 0 ;
28280 char *kwnames[] = {
28281 (char *) "self", NULL
28282 };
28283
28284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
28285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28287 result = (int) ((arg1)->h);
28288
c32bde28 28289 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28290 return resultobj;
28291 fail:
28292 return NULL;
28293}
28294
28295
c32bde28 28296static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28297 PyObject *resultobj;
28298 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28299 int arg2 ;
28300 PyObject * obj0 = 0 ;
28301 PyObject * obj1 = 0 ;
28302 char *kwnames[] = {
28303 (char *) "self",(char *) "bpp", NULL
28304 };
28305
28306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
28307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28309 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
28310 if (PyErr_Occurred()) SWIG_fail;
28311 if (arg1) (arg1)->bpp = arg2;
28312
28313 Py_INCREF(Py_None); resultobj = Py_None;
28314 return resultobj;
28315 fail:
28316 return NULL;
28317}
28318
28319
c32bde28 28320static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28321 PyObject *resultobj;
28322 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28323 int result;
28324 PyObject * obj0 = 0 ;
28325 char *kwnames[] = {
28326 (char *) "self", NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
28330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28332 result = (int) ((arg1)->bpp);
28333
c32bde28 28334 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28335 return resultobj;
28336 fail:
28337 return NULL;
28338}
28339
28340
c32bde28 28341static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28342 PyObject *resultobj;
28343 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28344 int arg2 ;
28345 PyObject * obj0 = 0 ;
28346 PyObject * obj1 = 0 ;
28347 char *kwnames[] = {
28348 (char *) "self",(char *) "refresh", NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
28352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28354 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
28355 if (PyErr_Occurred()) SWIG_fail;
28356 if (arg1) (arg1)->refresh = arg2;
28357
28358 Py_INCREF(Py_None); resultobj = Py_None;
28359 return resultobj;
28360 fail:
28361 return NULL;
28362}
28363
28364
c32bde28 28365static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28366 PyObject *resultobj;
28367 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28368 int result;
28369 PyObject * obj0 = 0 ;
28370 char *kwnames[] = {
28371 (char *) "self", NULL
28372 };
28373
28374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
28375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28377 result = (int) ((arg1)->refresh);
28378
c32bde28 28379 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28380 return resultobj;
28381 fail:
28382 return NULL;
28383}
28384
28385
c32bde28 28386static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
4276dc52
RD
28387 PyObject *obj;
28388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28389 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
28390 Py_INCREF(obj);
28391 return Py_BuildValue((char *)"");
28392}
c32bde28 28393static int _wrap_DefaultVideoMode_set(PyObject *) {
4276dc52
RD
28394 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
28395 return 1;
28396}
28397
28398
28399static PyObject *_wrap_DefaultVideoMode_get() {
28400 PyObject *pyobj;
28401
28402 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
28403 return pyobj;
28404}
28405
28406
c32bde28 28407static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28408 PyObject *resultobj;
28409 size_t arg1 = (size_t) 0 ;
28410 wxDisplay *result;
28411 PyObject * obj0 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "index", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
28417 if (obj0) {
c32bde28 28418 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
4276dc52
RD
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 result = (wxDisplay *)new wxDisplay(arg1);
28424
28425 wxPyEndAllowThreads(__tstate);
28426 if (PyErr_Occurred()) SWIG_fail;
28427 }
28428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
28429 return resultobj;
28430 fail:
28431 return NULL;
28432}
28433
28434
c32bde28 28435static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28436 PyObject *resultobj;
28437 wxDisplay *arg1 = (wxDisplay *) 0 ;
28438 PyObject * obj0 = 0 ;
28439 char *kwnames[] = {
28440 (char *) "self", NULL
28441 };
28442
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
28444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 delete arg1;
28449
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 Py_INCREF(Py_None); resultobj = Py_None;
28454 return resultobj;
28455 fail:
28456 return NULL;
28457}
28458
28459
c32bde28 28460static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28461 PyObject *resultobj;
28462 size_t result;
28463 char *kwnames[] = {
28464 NULL
28465 };
28466
28467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 result = (size_t)wxDisplay::GetCount();
28471
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
c32bde28 28475 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
4276dc52
RD
28476 return resultobj;
28477 fail:
28478 return NULL;
28479}
28480
28481
c32bde28 28482static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28483 PyObject *resultobj;
28484 wxPoint *arg1 = 0 ;
28485 int result;
28486 wxPoint temp1 ;
28487 PyObject * obj0 = 0 ;
28488 char *kwnames[] = {
28489 (char *) "pt", NULL
28490 };
28491
28492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
28493 {
28494 arg1 = &temp1;
28495 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
28496 }
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
c32bde28 28504 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28505 return resultobj;
28506 fail:
28507 return NULL;
28508}
28509
28510
c32bde28 28511static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28512 PyObject *resultobj;
28513 wxWindow *arg1 = (wxWindow *) 0 ;
28514 int result;
28515 PyObject * obj0 = 0 ;
28516 char *kwnames[] = {
28517 (char *) "window", NULL
28518 };
28519
28520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
28521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 result = (int)Display_GetFromWindow(arg1);
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
c32bde28 28530 resultobj = SWIG_From_int((int)result);
4276dc52
RD
28531 return resultobj;
28532 fail:
28533 return NULL;
28534}
28535
28536
c32bde28 28537static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28538 PyObject *resultobj;
28539 wxDisplay *arg1 = (wxDisplay *) 0 ;
28540 bool result;
28541 PyObject * obj0 = 0 ;
28542 char *kwnames[] = {
28543 (char *) "self", NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = (bool)((wxDisplay const *)arg1)->IsOk();
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
4f89f6a3
RD
28556 {
28557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28558 }
4276dc52
RD
28559 return resultobj;
28560 fail:
28561 return NULL;
28562}
28563
28564
c32bde28 28565static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28566 PyObject *resultobj;
28567 wxDisplay *arg1 = (wxDisplay *) 0 ;
28568 wxRect result;
28569 PyObject * obj0 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28577 {
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 result = ((wxDisplay const *)arg1)->GetGeometry();
28580
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 {
28585 wxRect * resultptr;
28586 resultptr = new wxRect((wxRect &) result);
28587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28588 }
28589 return resultobj;
28590 fail:
28591 return NULL;
28592}
28593
28594
c32bde28 28595static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28596 PyObject *resultobj;
28597 wxDisplay *arg1 = (wxDisplay *) 0 ;
28598 wxString result;
28599 PyObject * obj0 = 0 ;
28600 char *kwnames[] = {
28601 (char *) "self", NULL
28602 };
28603
28604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28607 {
28608 PyThreadState* __tstate = wxPyBeginAllowThreads();
28609 result = ((wxDisplay const *)arg1)->GetName();
28610
28611 wxPyEndAllowThreads(__tstate);
28612 if (PyErr_Occurred()) SWIG_fail;
28613 }
28614 {
28615#if wxUSE_UNICODE
28616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28617#else
28618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28619#endif
28620 }
28621 return resultobj;
28622 fail:
28623 return NULL;
28624}
28625
28626
c32bde28 28627static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28628 PyObject *resultobj;
28629 wxDisplay *arg1 = (wxDisplay *) 0 ;
28630 bool result;
28631 PyObject * obj0 = 0 ;
28632 char *kwnames[] = {
28633 (char *) "self", NULL
28634 };
28635
28636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28639 {
28640 PyThreadState* __tstate = wxPyBeginAllowThreads();
28641 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28642
28643 wxPyEndAllowThreads(__tstate);
28644 if (PyErr_Occurred()) SWIG_fail;
28645 }
4f89f6a3
RD
28646 {
28647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28648 }
4276dc52
RD
28649 return resultobj;
28650 fail:
28651 return NULL;
28652}
28653
28654
c32bde28 28655static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28656 PyObject *resultobj;
28657 wxDisplay *arg1 = (wxDisplay *) 0 ;
28658 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28659 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28660 PyObject *result;
28661 PyObject * obj0 = 0 ;
28662 PyObject * obj1 = 0 ;
28663 char *kwnames[] = {
28664 (char *) "self",(char *) "mode", NULL
28665 };
28666
28667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28670 if (obj1) {
28671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28672 SWIG_POINTER_EXCEPTION | 0)) == -1)
28673 SWIG_fail;
28674 if (arg2 == NULL) {
28675 PyErr_SetString(PyExc_TypeError,"null reference");
28676 SWIG_fail;
28677 }
28678 }
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28682
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 resultobj = result;
28687 return resultobj;
28688 fail:
28689 return NULL;
28690}
28691
28692
c32bde28 28693static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28694 PyObject *resultobj;
28695 wxDisplay *arg1 = (wxDisplay *) 0 ;
28696 wxVideoMode result;
28697 PyObject * obj0 = 0 ;
28698 char *kwnames[] = {
28699 (char *) "self", NULL
28700 };
28701
28702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28708
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 {
28713 wxVideoMode * resultptr;
28714 resultptr = new wxVideoMode((wxVideoMode &) result);
28715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28716 }
28717 return resultobj;
28718 fail:
28719 return NULL;
28720}
28721
28722
c32bde28 28723static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28724 PyObject *resultobj;
28725 wxDisplay *arg1 = (wxDisplay *) 0 ;
28726 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28727 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28728 bool result;
28729 PyObject * obj0 = 0 ;
28730 PyObject * obj1 = 0 ;
28731 char *kwnames[] = {
28732 (char *) "self",(char *) "mode", NULL
28733 };
28734
28735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28738 if (obj1) {
28739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28740 SWIG_POINTER_EXCEPTION | 0)) == -1)
28741 SWIG_fail;
28742 if (arg2 == NULL) {
28743 PyErr_SetString(PyExc_TypeError,"null reference");
28744 SWIG_fail;
28745 }
28746 }
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28750
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
4f89f6a3
RD
28754 {
28755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28756 }
4276dc52
RD
28757 return resultobj;
28758 fail:
28759 return NULL;
28760}
28761
28762
c32bde28 28763static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
28764 PyObject *resultobj;
28765 wxDisplay *arg1 = (wxDisplay *) 0 ;
28766 PyObject * obj0 = 0 ;
28767 char *kwnames[] = {
28768 (char *) "self", NULL
28769 };
28770
28771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28774 {
28775 PyThreadState* __tstate = wxPyBeginAllowThreads();
28776 (arg1)->ResetMode();
28777
28778 wxPyEndAllowThreads(__tstate);
28779 if (PyErr_Occurred()) SWIG_fail;
28780 }
28781 Py_INCREF(Py_None); resultobj = Py_None;
28782 return resultobj;
28783 fail:
28784 return NULL;
28785}
28786
28787
c32bde28 28788static PyObject * Display_swigregister(PyObject *, PyObject *args) {
4276dc52
RD
28789 PyObject *obj;
28790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28791 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28792 Py_INCREF(obj);
28793 return Py_BuildValue((char *)"");
28794}
d3b6e4ff
RD
28795static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj;
28797 wxStandardPaths *result;
28798 char *kwnames[] = {
28799 NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8fb0e70a 28805 result = (wxStandardPaths *)StandardPaths_Get();
d3b6e4ff
RD
28806
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
28811 return resultobj;
28812 fail:
28813 return NULL;
28814}
28815
28816
28817static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
28818 PyObject *resultobj;
28819 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28820 wxString result;
28821 PyObject * obj0 = 0 ;
28822 char *kwnames[] = {
28823 (char *) "self", NULL
28824 };
28825
28826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
28827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28829 {
28830 PyThreadState* __tstate = wxPyBeginAllowThreads();
28831 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
28832
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 {
28837#if wxUSE_UNICODE
28838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28839#else
28840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28841#endif
28842 }
28843 return resultobj;
28844 fail:
28845 return NULL;
28846}
28847
28848
28849static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
28850 PyObject *resultobj;
28851 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28852 wxString result;
28853 PyObject * obj0 = 0 ;
28854 char *kwnames[] = {
28855 (char *) "self", NULL
28856 };
28857
28858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
28859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
28864
28865 wxPyEndAllowThreads(__tstate);
28866 if (PyErr_Occurred()) SWIG_fail;
28867 }
28868 {
28869#if wxUSE_UNICODE
28870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28871#else
28872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28873#endif
28874 }
28875 return resultobj;
28876 fail:
28877 return NULL;
28878}
28879
28880
28881static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28882 PyObject *resultobj;
28883 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28884 wxString result;
28885 PyObject * obj0 = 0 ;
28886 char *kwnames[] = {
28887 (char *) "self", NULL
28888 };
28889
28890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
28891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28893 {
28894 PyThreadState* __tstate = wxPyBeginAllowThreads();
28895 result = ((wxStandardPaths const *)arg1)->GetDataDir();
28896
28897 wxPyEndAllowThreads(__tstate);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 }
28900 {
28901#if wxUSE_UNICODE
28902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28903#else
28904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28905#endif
28906 }
28907 return resultobj;
28908 fail:
28909 return NULL;
28910}
28911
28912
28913static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28914 PyObject *resultobj;
28915 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28916 wxString result;
28917 PyObject * obj0 = 0 ;
28918 char *kwnames[] = {
28919 (char *) "self", NULL
28920 };
28921
28922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
28923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
28928
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 {
28933#if wxUSE_UNICODE
28934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28935#else
28936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28937#endif
28938 }
28939 return resultobj;
28940 fail:
28941 return NULL;
28942}
28943
28944
28945static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28946 PyObject *resultobj;
28947 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28948 wxString result;
28949 PyObject * obj0 = 0 ;
28950 char *kwnames[] = {
28951 (char *) "self", NULL
28952 };
28953
28954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
28955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28957 {
28958 PyThreadState* __tstate = wxPyBeginAllowThreads();
28959 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
28960
28961 wxPyEndAllowThreads(__tstate);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 }
28964 {
28965#if wxUSE_UNICODE
28966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28967#else
28968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28969#endif
28970 }
28971 return resultobj;
28972 fail:
28973 return NULL;
28974}
28975
28976
28977static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj;
28979 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28980 wxString result;
28981 PyObject * obj0 = 0 ;
28982 char *kwnames[] = {
28983 (char *) "self", NULL
28984 };
28985
28986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
28987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28989 {
28990 PyThreadState* __tstate = wxPyBeginAllowThreads();
28991 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
28992
28993 wxPyEndAllowThreads(__tstate);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 {
28997#if wxUSE_UNICODE
28998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28999#else
29000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29001#endif
29002 }
29003 return resultobj;
29004 fail:
29005 return NULL;
29006}
29007
29008
29009static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
29010 PyObject *resultobj;
29011 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
29012 wxString result;
29013 PyObject * obj0 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
29019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
29020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29021 {
29022 PyThreadState* __tstate = wxPyBeginAllowThreads();
29023 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
29024
29025 wxPyEndAllowThreads(__tstate);
29026 if (PyErr_Occurred()) SWIG_fail;
29027 }
29028 {
29029#if wxUSE_UNICODE
29030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29031#else
29032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29033#endif
29034 }
29035 return resultobj;
29036 fail:
29037 return NULL;
29038}
29039
29040
29041static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
29042 PyObject *resultobj;
29043 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
29044 wxString *arg2 = 0 ;
29045 bool temp2 = false ;
29046 PyObject * obj0 = 0 ;
29047 PyObject * obj1 = 0 ;
29048 char *kwnames[] = {
29049 (char *) "self",(char *) "prefix", NULL
29050 };
29051
29052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
29053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
29054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29055 {
29056 arg2 = wxString_in_helper(obj1);
29057 if (arg2 == NULL) SWIG_fail;
29058 temp2 = true;
29059 }
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 (arg1)->SetInstallPrefix((wxString const &)*arg2);
29063
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 Py_INCREF(Py_None); resultobj = Py_None;
29068 {
29069 if (temp2)
29070 delete arg2;
29071 }
29072 return resultobj;
29073 fail:
29074 {
29075 if (temp2)
29076 delete arg2;
29077 }
29078 return NULL;
29079}
29080
29081
29082static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
29083 PyObject *resultobj;
29084 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
29085 wxString result;
29086 PyObject * obj0 = 0 ;
29087 char *kwnames[] = {
29088 (char *) "self", NULL
29089 };
29090
29091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
29092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
29093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29094 {
29095 PyThreadState* __tstate = wxPyBeginAllowThreads();
29096 result = ((wxStandardPaths const *)arg1)->GetInstallPrefix();
29097
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 {
29102#if wxUSE_UNICODE
29103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29104#else
29105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29106#endif
29107 }
29108 return resultobj;
29109 fail:
29110 return NULL;
29111}
29112
29113
29114static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
29115 PyObject *obj;
29116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29117 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
29118 Py_INCREF(obj);
29119 return Py_BuildValue((char *)"");
29120}
d14a1e28 29121static PyMethodDef SwigMethods[] = {
c32bde28
RD
29122 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
29123 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29124 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
29125 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
29126 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
29127 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
29128 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
29129 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
29130 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
29131 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
29132 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
29133 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
29134 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
29135 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
29136 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
29137 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
29138 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
29139 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL },
29140 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29141 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29142 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
29143 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29144 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
29145 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
29146 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
29147 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
29148 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
29149 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
29150 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
29151 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29152 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
29153 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
29154 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
29155 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL },
29156 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL },
29157 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
29158 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
29159 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
29160 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
29161 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
29162 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
29163 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
29164 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
29165 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
29166 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
29167 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
29168 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
29169 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
29170 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
29171 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
29172 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
29173 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
29174 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
29175 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
29176 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
29177 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
29178 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
29179 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29180 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29181 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
29182 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
29183 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
29184 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
29185 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
29186 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
29187 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29188 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29189 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29190 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29191 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29192 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
29193 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
29194 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
29195 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29196 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29197 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29198 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29199 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
29200 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
29201 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
29202 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
29203 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
29204 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29205 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
29206 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
29207 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
29208 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
29209 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
29210 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29211 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29212 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29213 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
29214 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29215 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
29216 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29217 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
29218 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
29219 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
29220 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29221 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
29222 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
29223 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
29224 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
29225 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
29226 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29227 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29228 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
29229 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
29230 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
29231 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
29232 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29233 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29234 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
29235 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
29236 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
29237 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
29238 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
29239 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
29240 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
29241 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
29242 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
29243 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
29244 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
29245 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
29246 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
29247 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
29248 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
29249 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
29250 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
29251 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
29252 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
29253 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29254 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
29255 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29256 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29257 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29258 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29259 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
29260 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
29261 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
29262 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29263 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
29264 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
29265 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
29266 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
29267 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29268 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29269 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
29270 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
29271 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29272 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
29273 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
29274 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29275 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
29276 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
29277 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
29278 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
29279 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
29280 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
29281 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
29282 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29283 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
29284 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29285 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
29286 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
29287 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
29288 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
29289 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
29290 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
29291 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
29292 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29293 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
29294 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
29295 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29296 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
29297 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29298 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29299 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
29300 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
29301 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29302 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
29303 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
29304 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29305 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29306 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29307 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
29308 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
29309 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
29310 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29311 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29312 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29313 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
29314 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
29315 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
29316 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29317 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
29318 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
29319 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
29320 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29321 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
29322 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
29323 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
29324 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29325 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
29326 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
29327 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
29328 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29329 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29330 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
29331 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
29332 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
29333 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29334 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29335 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
29336 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
29337 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
29338 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
29339 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
29340 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
29341 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
29342 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
29343 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29344 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
29345 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29346 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
29347 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
29348 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28 29349 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
f78cc896 29350 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
c32bde28
RD
29351 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
29352 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
29353 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
29354 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
29355 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
29356 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29357 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
29358 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
29359 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
29360 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29361 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
29362 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29363 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
29364 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
29365 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
29366 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
29367 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
29368 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
29369 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
29370 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
29371 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29372 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
29373 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
29374 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
29375 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29376 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
29377 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
29378 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
29379 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
29380 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
29381 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
29382 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
29383 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
1823fbb4 29384 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
29385 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29386 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29387 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29388 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29389 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29390 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29391 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29392 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29393 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29394 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29395 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29396 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29397 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29398 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
29399 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
29400 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
29401 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
29402 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
29403 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
29404 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
29405 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
29406 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
29407 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
29408 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29409 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29410 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29411 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29412 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
29413 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
29414 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
29415 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
29416 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
29417 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
29418 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
29419 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
29420 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
29421 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
29422 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
29423 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
29424 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
29425 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
29426 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
29427 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29428 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29429 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
29430 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
29431 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
29432 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
29433 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
29434 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
29435 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
29436 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
29437 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
29438 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
29439 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
29440 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29441 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29442 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29443 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29444 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29445 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29446 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29447 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29448 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29449 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29450 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29451 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
29452 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
29453 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
29454 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
29455 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
29456 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
29457 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
29458 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29459 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29460 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29461 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29462 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29463 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29464 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL },
29465 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL },
29466 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
29467 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
29468 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29469 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
29470 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29471 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29472 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29473 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29474 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29475 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29476 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29477 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29478 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29479 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29480 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
29481 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
29482 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
29483 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
29484 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29485 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29486 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29487 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29488 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29489 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29490 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29491 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29492 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29493 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29494 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
29495 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29496 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29497 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29498 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29499 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
29500 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
29501 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29502 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
29503 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
29504 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
29505 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29506 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
29507 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29508 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29509 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
29510 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
29511 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29512 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29513 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
29514 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29515 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29516 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29517 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29518 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29519 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29520 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29521 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29522 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
29523 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
29524 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29525 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29526 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29527 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
29528 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29529 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29530 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29531 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29532 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29533 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29534 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
29535 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
29536 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29537 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29538 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
29539 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
29540 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
29541 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
29542 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29543 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
29544 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
29545 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
29546 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29547 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
29548 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29549 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29550 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29551 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29552 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29553 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
29554 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29555 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29556 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29557 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29558 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29559 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29560 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29561 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29562 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29563 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29564 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29565 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
29566 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29567 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29568 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
29569 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29570 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29571 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
29572 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29573 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29574 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
29575 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
29576 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29577 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29578 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29579 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29580 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
29581 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
29582 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29583 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
29584 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
29585 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
29586 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29587 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
29588 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
29589 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
29590 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
29591 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
29592 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
29593 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
29594 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
29595 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
29596 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29597 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29598 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29599 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29600 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
29601 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29602 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
29603 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29604 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29605 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29606 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29607 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
29608 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29609 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29610 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29611 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29612 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29613 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29614 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29615 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29616 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29617 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29618 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29619 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29620 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29621 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29622 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29623 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29624 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29625 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
7e63a440 29626 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
29627 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29628 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29629 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29630 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29631 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29632 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29633 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29634 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
29635 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
29636 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29637 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29638 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29639 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29640 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
29641 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29642 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29643 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29644 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29645 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29646 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29647 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29648 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29649 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29650 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29651 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29652 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29653 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29654 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
29655 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29656 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
29657 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29658 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29659 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29660 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
29661 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
29662 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
29663 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
29664 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
29665 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
29666 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
29667 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29668 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
29669 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
29670 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
29671 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
29672 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
29673 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
29674 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
29675 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
29676 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
29677 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
29678 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
29679 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29680 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29681 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
29682 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
29683 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29684 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
29685 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
29686 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
29687 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
29688 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
29689 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
29690 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
29691 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
29692 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
29693 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
29694 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
29695 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29696 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29697 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29698 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29699 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29700 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29701 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29702 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29703 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29704 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29705 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
29706 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29707 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29708 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29709 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29710 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29711 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29712 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29713 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29714 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
29715 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
29716 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
29717 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
29718 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29719 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29720 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
29721 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
29722 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
29723 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29724 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
29725 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29726 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29727 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29728 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
29729 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
29730 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
29731 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
29732 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29733 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
29734 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29735 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29736 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29737 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29738 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29739 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29740 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
29741 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
29742 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
29743 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
29744 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29745 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29746 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29747 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29748 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29749 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29750 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29751 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29752 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
29753 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29754 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29755 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29756 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29757 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29758 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29759 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29760 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29761 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29762 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29763 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29764 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29765 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29766 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29767 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
29768 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
29769 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
29770 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
29771 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
29772 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29773 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29774 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29775 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
29776 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
29777 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
29778 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
29779 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29780 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29781 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
29782 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29783 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29784 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
29785 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29786 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29787 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
29788 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29789 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29790 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
29791 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29792 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29793 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29794 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29795 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29796 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29797 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
29798 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29799 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29800 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
29801 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
29802 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29803 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
29804 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29805 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
29806 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29807 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29808 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
29809 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29810 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29811 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
29812 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29813 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29814 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29815 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
29816 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29817 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29818 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
29819 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29820 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
29821 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
29822 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
29823 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29824 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29825 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29826 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29827 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
29828 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29829 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29830 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29831 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
29832 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29833 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
29834 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
29835 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29836 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29837 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29838 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29839 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29840 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29841 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29842 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
29843 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
29844 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29845 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29846 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29847 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29848 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29849 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29850 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29851 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29852 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29853 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29854 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
29855 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29856 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29857 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29858 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29859 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29860 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29861 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29862 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
29863 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29864 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29865 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
29871 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29872 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29882 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
29885 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29886 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
29889 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29890 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
29894 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29897 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
29902 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
29903 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
29904 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
29906 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
29907 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29908 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
d3b6e4ff
RD
29921 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29922 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29927 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL },
c32bde28 29932 { NULL, NULL, 0, NULL }
d14a1e28
RD
29933};
29934
29935
29936/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29937
29938static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29940}
29941static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29942 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29943}
29944static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29945 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29946}
29947static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29948 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29949}
29950static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29951 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29952}
29953static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29954 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29955}
29956static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29957 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29958}
29959static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29960 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29961}
29962static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29964}
29965static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29966 return (void *)((wxEvent *) ((wxPyEvent *) x));
29967}
29968static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29970}
29971static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29972 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29973}
29974static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29975 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29976}
29977static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29979}
29980static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29981 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29982}
29983static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29984 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29985}
29986static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29987 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29988}
29989static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29990 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29991}
29992static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29993 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29994}
29995static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29996 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29997}
29998static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29999 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30000}
30001static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30002 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30003}
30004static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30005 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30006}
30007static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30008 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30009}
30010static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30011 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30012}
30013static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30014 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30015}
30016static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30017 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30018}
30019static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30020 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30021}
30022static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30023 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30024}
30025static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30027}
30028static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
30029 return (void *)((wxEvent *) ((wxProcessEvent *) x));
30030}
30031static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30032 return (void *)((wxEvent *) ((wxShowEvent *) x));
30033}
30034static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30035 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30036}
30037static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30039}
30040static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30041 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30042}
30043static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30044 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30045}
30046static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30047 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30048}
30049static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30050 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30051}
30052static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
30053 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
30054}
30055static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
30056 return (void *)((wxConfigBase *) ((wxConfig *) x));
30057}
30058static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
30059 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30060}
30061static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
30062 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
30063}
30064static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
30065 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
30066}
30067static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
30068 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
30069}
30070static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
30071 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
30072}
30073static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
30074 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
30075}
30076static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
30077 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
30078}
30079static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
30080 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
30081}
30082static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
30083 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30084}
30085static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
30086 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
30087}
30088static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
30089 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
30090}
30091static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
30092 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
30093}
30094static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
30095 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
30096}
30097static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
30098 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
30099}
30100static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
30101 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
30102}
30103static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
30104 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
30105}
30106static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
30107 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
30108}
30109static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
30110 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
30111}
30112static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
30113 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30114}
30115static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
30116 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
30117}
30118static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
30119 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
30120}
30121static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
30122 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
30123}
30124static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30126}
30127static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30128 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30129}
30130static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30132}
30133static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30134 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30135}
30136static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
30137 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
30138}
30139static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30140 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30141}
30142static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30143 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30144}
30145static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30146 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30147}
30148static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30149 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30150}
30151static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
30152 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
30153}
30154static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
30155 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
30156}
30157static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30158 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30159}
30160static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30161 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30162}
30163static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30164 return (void *)((wxObject *) ((wxSizerItem *) x));
30165}
30166static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30168}
30169static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30170 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30171}
30172static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30173 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30174}
30175static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30176 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30177}
30178static void *_p_wxSizerTo_p_wxObject(void *x) {
30179 return (void *)((wxObject *) ((wxSizer *) x));
30180}
30181static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30182 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30183}
30184static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
30185 return (void *)((wxObject *) ((wxFileHistory *) x));
30186}
30187static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30189}
30190static void *_p_wxEventTo_p_wxObject(void *x) {
30191 return (void *)((wxObject *) ((wxEvent *) x));
30192}
30193static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30194 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30195}
30196static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30197 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30198}
30199static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30200 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30201}
30202static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30203 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30204}
30205static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30206 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30207}
30208static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30209 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30210}
30211static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30212 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30213}
30214static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30215 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30216}
30217static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30218 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30219}
30220static void *_p_wxControlTo_p_wxObject(void *x) {
30221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30222}
30223static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30224 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30225}
30226static void *_p_wxTimerEventTo_p_wxObject(void *x) {
30227 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
30228}
30229static void *_p_wxFSFileTo_p_wxObject(void *x) {
30230 return (void *)((wxObject *) ((wxFSFile *) x));
30231}
30232static void *_p_wxClipboardTo_p_wxObject(void *x) {
30233 return (void *)((wxObject *) ((wxClipboard *) x));
30234}
30235static void *_p_wxPySizerTo_p_wxObject(void *x) {
30236 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30237}
30238static void *_p_wxPyEventTo_p_wxObject(void *x) {
30239 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30240}
30241static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30243}
30244static void *_p_wxShowEventTo_p_wxObject(void *x) {
30245 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30246}
30247static void *_p_wxToolTipTo_p_wxObject(void *x) {
30248 return (void *)((wxObject *) ((wxToolTip *) x));
30249}
30250static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30251 return (void *)((wxObject *) ((wxMenuItem *) x));
30252}
30253static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30254 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30255}
30256static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30258}
30259static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30260 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30261}
30262static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30263 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30264}
30265static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30266 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30267}
30268static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30269 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30270}
30271static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30272 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30273}
30274static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30275 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30276}
30277static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30278 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30279}
30280static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30281 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30282}
30283static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30284 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30285}
30286static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30287 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30288}
30289static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30290 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30291}
30292static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30293 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30294}
30295static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30296 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30297}
30298static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30299 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30300}
30301static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30302 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30303}
30304static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30305 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30306}
30307static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30308 return (void *)((wxObject *) ((wxImageHandler *) x));
30309}
30310static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30311 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30312}
30313static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30314 return (void *)((wxObject *) ((wxEvtHandler *) x));
30315}
1e0c8722
RD
30316static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30317 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30318}
d14a1e28
RD
30319static void *_p_wxImageTo_p_wxObject(void *x) {
30320 return (void *)((wxObject *) ((wxImage *) x));
30321}
30322static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30323 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30324}
30325static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
30326 return (void *)((wxObject *) ((wxSystemOptions *) x));
30327}
30328static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
30329 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
30330}
30331static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30333}
30334static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30335 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30336}
30337static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30338 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30339}
30340static void *_p_wxWindowTo_p_wxObject(void *x) {
30341 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30342}
30343static void *_p_wxMenuTo_p_wxObject(void *x) {
30344 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30345}
30346static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30348}
30349static void *_p_wxPyProcessTo_p_wxObject(void *x) {
30350 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
30351}
30352static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30353 return (void *)((wxObject *) ((wxFileSystem *) x));
30354}
30355static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30357}
30358static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30359 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30360}
30361static void *_p_wxPyAppTo_p_wxObject(void *x) {
30362 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30363}
30364static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30365 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30366}
30367static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30368 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30369}
30370static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30371 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30372}
30373static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
30374 return (void *)((wxObject *) ((wxBusyInfo *) x));
30375}
30376static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30378}
30379static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30380 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30381}
30382static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30383 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30384}
30385static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30386 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30387}
30388static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30390}
30391static void *_p_wxProcessEventTo_p_wxObject(void *x) {
30392 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
30393}
30394static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30396}
30397static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30398 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30399}
30400static void *_p_wxValidatorTo_p_wxObject(void *x) {
30401 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30402}
30403static void *_p_wxPyTimerTo_p_wxObject(void *x) {
30404 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
30405}
30406static void *_p_wxLogStderrTo_p_wxLog(void *x) {
30407 return (void *)((wxLog *) ((wxLogStderr *) x));
30408}
30409static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
30410 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
30411}
30412static void *_p_wxLogWindowTo_p_wxLog(void *x) {
30413 return (void *)((wxLog *) ((wxLogWindow *) x));
30414}
30415static void *_p_wxLogChainTo_p_wxLog(void *x) {
30416 return (void *)((wxLog *) ((wxLogChain *) x));
30417}
30418static void *_p_wxLogGuiTo_p_wxLog(void *x) {
30419 return (void *)((wxLog *) ((wxLogGui *) x));
30420}
30421static void *_p_wxPyLogTo_p_wxLog(void *x) {
30422 return (void *)((wxLog *) ((wxPyLog *) x));
30423}
30424static void *_p_wxControlTo_p_wxWindow(void *x) {
30425 return (void *)((wxWindow *) ((wxControl *) x));
30426}
30427static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30428 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30429}
30430static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30431 return (void *)((wxWindow *) ((wxMenuBar *) x));
30432}
30433static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
30434 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
30435}
30436static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
30437 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
30438}
15afbcd0
RD
30439static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30440static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30441static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30442static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30443static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30444static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30445static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30446static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4276dc52 30447static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30448static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30449static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30450static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30451static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30452static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30453static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30454static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30455static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30456static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30457static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30458static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30459static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30460static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30461static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30462static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30463static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30464static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30465static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30466static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30467static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30468static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1823fbb4 30469static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30470static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30471static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30472static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30473static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30474static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30475static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30476static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30477static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30478static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30479static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30480static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30481static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30482static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30483static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4276dc52 30484static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30485static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30486static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30487static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30488static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30489static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30490static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d3b6e4ff 30491static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30492static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30493static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30494static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30495static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30496static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30497static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30498static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30499static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30500static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30501static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30502static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30503static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30504static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30505static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30506static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30507static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1823fbb4 30508static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30509static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30510static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30511static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30512static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30513static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30514static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30515static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30516static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30517static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30518static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30519static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30520static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30521static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30522static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
30523static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30524static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30525static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
30526
30527static swig_type_info *swig_types_initial[] = {
30528_swigt__p_wxLogChain,
30529_swigt__p_wxMutexGuiLocker,
30530_swigt__p_wxFileHistory,
30531_swigt__p_wxLog,
30532_swigt__p_wxDateTime__TimeZone,
30533_swigt__p_wxMenu,
30534_swigt__p_wxEvent,
30535_swigt__p_wxConfigBase,
4276dc52 30536_swigt__p_wxDisplay,
d14a1e28
RD
30537_swigt__p_wxFileType,
30538_swigt__p_wxLogGui,
30539_swigt__p_wxFont,
30540_swigt__p_wxDataFormat,
30541_swigt__p_wxTimerEvent,
30542_swigt__p_wxCaret,
30543_swigt__p_int,
30544_swigt__p_wxSize,
30545_swigt__p_wxClipboard,
30546_swigt__p_wxStopWatch,
30547_swigt__p_wxDC,
30548_swigt__p_wxClipboardLocker,
30549_swigt__p_wxIcon,
30550_swigt__p_wxLogStderr,
30551_swigt__p_wxLogTextCtrl,
30552_swigt__p_wxTextCtrl,
30553_swigt__p_wxBusyCursor,
d14a1e28
RD
30554_swigt__p_wxPyTextDataObject,
30555_swigt__p_wxBitmapDataObject,
30556_swigt__p_wxTextDataObject,
30557_swigt__p_wxDataObject,
1823fbb4 30558_swigt__p_wxPyBitmapDataObject,
994141e6 30559_swigt__p_wxFileDataObject,
d14a1e28
RD
30560_swigt__p_wxCustomDataObject,
30561_swigt__p_wxURLDataObject,
30562_swigt__p_wxMetafileDataObject,
4d5c3d91 30563_swigt__p_wxSound,
d14a1e28
RD
30564_swigt__p_wxTimerRunner,
30565_swigt__p_wxLogWindow,
30566_swigt__p_wxTimeSpan,
30567_swigt__p_wxArrayString,
30568_swigt__p_wxWindowDisabler,
30569_swigt__p_wxToolTip,
30570_swigt__p_wxDataObjectComposite,
30571_swigt__p_wxFileConfig,
30572_swigt__p_wxSystemSettings,
4276dc52 30573_swigt__p_wxVideoMode,
d14a1e28
RD
30574_swigt__p_wxPyDataObjectSimple,
30575_swigt__p_wxDataObjectSimple,
30576_swigt__p_wxEvtHandler,
30577_swigt__p_wxRect,
994141e6 30578_swigt__p_char,
d14a1e28 30579_swigt__p_wxSingleInstanceChecker,
d3b6e4ff 30580_swigt__p_wxStandardPaths,
d14a1e28
RD
30581_swigt__p_wxFileTypeInfo,
30582_swigt__p_wxFrame,
30583_swigt__p_wxTimer,
30584_swigt__p_wxMimeTypesManager,
30585_swigt__p_wxPyArtProvider,
30586_swigt__p_wxPyTipProvider,
30587_swigt__p_wxTipProvider,
30588_swigt__p_wxJoystick,
30589_swigt__p_wxSystemOptions,
30590_swigt__p_wxPoint,
30591_swigt__p_wxJoystickEvent,
30592_swigt__p_wxCursor,
30593_swigt__p_wxObject,
30594_swigt__p_wxOutputStream,
30595_swigt__p_wxDateTime,
30596_swigt__p_wxPyDropSource,
1823fbb4 30597_swigt__p_wxKillError,
d14a1e28
RD
30598_swigt__p_wxWindow,
30599_swigt__p_wxString,
30600_swigt__p_wxPyProcess,
30601_swigt__p_wxBitmap,
30602_swigt__p_wxConfig,
30603_swigt__p_wxChar,
30604_swigt__p_wxBusyInfo,
30605_swigt__p_wxPyDropTarget,
30606_swigt__p_wxPyTextDropTarget,
30607_swigt__p_wxPyFileDropTarget,
30608_swigt__p_wxProcessEvent,
30609_swigt__p_wxPyLog,
30610_swigt__p_wxLogNull,
30611_swigt__p_wxColour,
30612_swigt__p_wxConfigPathChanger,
30613_swigt__p_wxPyTimer,
30614_swigt__p_wxDateSpan,
306150
30616};
30617
30618
30619/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30620
30621static swig_const_info swig_const_table[] = {
15afbcd0
RD
30622{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
30623{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
30624{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
30625{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
30626{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 30627{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
30628
30629#ifdef __cplusplus
30630}
30631#endif
30632
30633#ifdef __cplusplus
30634extern "C"
30635#endif
30636SWIGEXPORT(void) SWIG_init(void) {
30637 static PyObject *SWIG_globals = 0;
30638 static int typeinit = 0;
30639 PyObject *m, *d;
30640 int i;
30641 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30642 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30643 d = PyModule_GetDict(m);
30644
30645 if (!typeinit) {
30646 for (i = 0; swig_types_initial[i]; i++) {
30647 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30648 }
30649 typeinit = 1;
30650 }
30651 SWIG_InstallConstants(d,swig_const_table);
30652
c32bde28
RD
30653 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT));
30654 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT));
30655 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT));
30656 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT));
30657 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT));
30658 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE));
30659 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT));
30660 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT));
30661 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT));
30662 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR));
30663 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND));
30664 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP));
30665 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION));
30666 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION));
30667 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU));
30668 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW));
30669 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME));
30670 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT));
30671 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT));
30672 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT));
30673 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER));
30674 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER));
30675 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE));
30676 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT));
30677 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
30678 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE));
30679 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE));
30680 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW));
30681 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW));
30682 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT));
30683 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT));
30684 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
30685 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT));
30686 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT));
30687 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT));
30688 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT));
30689 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW));
30690 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT));
30691 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT));
30692 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK));
30693 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX));
30694 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT));
30695 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
30696 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
30697 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT));
30698 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR));
30699 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX));
30700 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS));
30701 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X));
30702 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y));
30703 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X));
30704 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y));
30705 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X));
30706 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y));
30707 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X));
30708 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y));
30709 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X));
30710 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y));
30711 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X));
30712 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y));
30713 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X));
30714 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X));
30715 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y));
30716 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X));
30717 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y));
30718 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X));
30719 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y));
30720 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X));
30721 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y));
30722 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X));
30723 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y));
30724 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X));
30725 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y));
30726 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y));
30727 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X));
30728 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X));
30729 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y));
30730 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y));
30731 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y));
30732 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y));
30733 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT));
30734 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT));
30735 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS));
30736 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS));
30737 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
30738 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME));
30739 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE));
30740 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY));
30741 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA));
30742 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL));
30743 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP));
b2dc1044 30744 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
7e63a440 30745 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
b2dc1044
RD
30746 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30747 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30748 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
c32bde28
RD
30749 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF));
30750 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT));
30751 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS));
30752 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT));
d14a1e28 30753 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1c0f361b
RD
30754
30755 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30756
c32bde28
RD
30757 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError));
30758 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)wxLOG_Error));
30759 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning));
30760 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)wxLOG_Message));
30761 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)wxLOG_Status));
30762 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)wxLOG_Info));
30763 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug));
30764 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace));
30765 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress));
30766 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)wxLOG_User));
30767 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)wxLOG_Max));
15afbcd0
RD
30768 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30769 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30770 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30771 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30772 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
c32bde28
RD
30773 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30774 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)0x0002));
30775 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)0x0004));
30776 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)0x0008));
30777 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)0x0100));
30778 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT));
30779 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT));
30780 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)wxKILL_OK));
30781 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL));
30782 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED));
30783 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS));
30784 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR));
1823fbb4
RD
30785 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)wxKILL_NOCHILDREN));
30786 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)wxKILL_CHILDREN));
c32bde28
RD
30787 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)wxSIGNONE));
30788 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)wxSIGHUP));
30789 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)wxSIGINT));
30790 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT));
30791 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)wxSIGILL));
30792 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP));
30793 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)wxSIGABRT));
30794 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)wxSIGIOT));
30795 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)wxSIGEMT));
30796 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)wxSIGFPE));
30797 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)wxSIGKILL));
30798 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)wxSIGBUS));
30799 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV));
30800 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)wxSIGSYS));
30801 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE));
30802 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)wxSIGALRM));
30803 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)wxSIGTERM));
d14a1e28 30804 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
c32bde28
RD
30805 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC));
30806 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC));
30807 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE));
30808 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
30809
30810 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30811
c32bde28
RD
30812 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1));
30813 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2));
30814 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY));
30815 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1));
30816 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2));
30817 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3));
30818 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4));
d14a1e28
RD
30819 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
30820 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
30821 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
30822 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
c32bde28
RD
30823 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC));
30824 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC));
30825 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP));
30826 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD));
30827 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE));
30828 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE));
30829 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME));
30830 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL));
d14a1e28
RD
30831 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
30832 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
30833 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
30834 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
30835 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
30836 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
30837 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 30838 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d14a1e28
RD
30839 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
30840 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
30841 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
30842 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
30843 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
30844 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30845 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30846 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30847 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30848 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30849 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30850 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30851 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30852 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30853 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30854 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30855 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30856 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30857 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30858 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30859 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
30860 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
30861 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
30862 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
30863 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d14a1e28 30864 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 30865 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d14a1e28
RD
30866 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30867 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30868 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30869 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30870 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30871 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30872 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30873 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30874 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30875 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30876
30877 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30878
c32bde28
RD
30879 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE));
30880 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE));
30881 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH));
30882 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30883 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown));
30884 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String));
30885 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean));
30886 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer));
30887 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float));
b2dc1044
RD
30888 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30889 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
c32bde28
RD
30890 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local));
30891 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12));
30892 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11));
30893 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10));
30894 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9));
30895 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8));
30896 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7));
30897 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6));
30898 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5));
30899 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4));
30900 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3));
30901 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2));
30902 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1));
30903 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0));
30904 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1));
30905 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2));
30906 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3));
30907 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4));
30908 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5));
30909 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6));
30910 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7));
30911 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8));
30912 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9));
30913 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10));
30914 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11));
30915 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12));
30916 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET));
30917 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST));
30918 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET));
30919 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST));
30920 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET));
30921 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST));
30922 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK));
30923 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD));
30924 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST));
30925 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT));
30926 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST));
30927 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT));
30928 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST));
30929 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT));
30930 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST));
30931 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT));
30932 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST));
30933 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT));
30934 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST));
30935 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST));
30936 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT));
30937 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST));
30938 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST));
30939 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST));
30940 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST));
30941 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC));
30942 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian));
30943 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian));
30944 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown));
30945 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard));
30946 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska));
30947 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania));
30948 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria));
30949 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen));
30950 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg));
30951 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol));
30952 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia));
30953 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria));
30954 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium));
30955 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria));
30956 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1));
30957 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2));
30958 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3));
30959 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada));
30960 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China));
30961 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1));
30962 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2));
30963 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia));
30964 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark));
30965 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt));
30966 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia));
30967 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland));
30968 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France));
30969 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace));
30970 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine));
30971 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg));
30972 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany));
30973 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic));
30974 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia));
30975 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant));
30976 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain));
30977 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece));
30978 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary));
30979 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland));
30980 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy));
30981 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan));
30982 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1));
30983 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2));
30984 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3));
30985 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia));
30986 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania));
30987 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg));
30988 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands));
30989 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen));
30990 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland));
30991 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht));
30992 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland));
30993 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway));
30994 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland));
30995 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal));
30996 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania));
30997 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia));
30998 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland));
30999 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain));
31000 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden));
31001 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland));
31002 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic));
31003 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant));
31004 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey));
31005 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA));
31006 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales));
31007 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia));
31008 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown));
31009 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default));
31010 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start));
31011 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC));
31012 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)wxDateTime::France));
31013 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany));
31014 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK));
31015 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End));
31016 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia));
31017 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA));
31018 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan));
31019 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb));
31020 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar));
31021 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr));
31022 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)wxDateTime::May));
31023 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun));
31024 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul));
31025 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug));
31026 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep));
31027 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct));
31028 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov));
31029 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec));
31030 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month));
31031 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun));
31032 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon));
31033 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue));
31034 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed));
31035 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu));
31036 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri));
31037 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat));
31038 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay));
31039 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year));
31040 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full));
31041 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr));
31042 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First));
31043 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First));
31044 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First));
98e665d3 31045 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
c32bde28
RD
31046 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID));
31047 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT));
31048 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP));
31049 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE));
31050 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK));
31051 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)wxDF_DIF));
31052 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF));
31053 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT));
31054 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)wxDF_DIB));
31055 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE));
31056 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA));
31057 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF));
31058 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE));
31059 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT));
31060 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE));
31061 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME));
31062 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE));
31063 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE));
31064 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)wxDF_HTML));
31065 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)wxDF_MAX));
d14a1e28 31066 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
c32bde28
RD
31067 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get));
31068 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set));
31069 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both));
31070 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly));
31071 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove));
31072 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove));
31073 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)wxDragError));
31074 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)wxDragNone));
31075 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)wxDragCopy));
31076 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)wxDragMove));
31077 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)wxDragLink));
31078 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)wxDragCancel));
d14a1e28
RD
31079
31080 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31081 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31082 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31083 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31084
4276dc52 31085 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
d14a1e28
RD
31086}
31087