]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
Moved tests for wxHashMap, wxHashSet and wxList
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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
d55e5bfc
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
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
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
83#else
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
86#endif
87
88#ifdef SWIG_GLOBAL
89# define SWIGRUNTIME(a) SWIGEXPORT(a)
90#else
91# define SWIGRUNTIME(a) static a
92#endif
93
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 {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
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 *);
d55e5bfc
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d55e5bfc
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
d55e5bfc
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
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)
174
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)
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
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
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[]);
197
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d55e5bfc
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_wxMetafile swig_types[2]
214#define SWIGTYPE_p_wxFileHistory swig_types[3]
215#define SWIGTYPE_p_wxLog swig_types[4]
216#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
217#define SWIGTYPE_p_wxMenu swig_types[6]
218#define SWIGTYPE_p_wxEvent swig_types[7]
219#define SWIGTYPE_p_wxConfigBase swig_types[8]
220#define SWIGTYPE_p_wxDisplay swig_types[9]
221#define SWIGTYPE_p_wxFileType swig_types[10]
222#define SWIGTYPE_p_wxLogGui swig_types[11]
223#define SWIGTYPE_p_wxFont swig_types[12]
224#define SWIGTYPE_p_wxDataFormat swig_types[13]
225#define SWIGTYPE_p_wxTimerEvent swig_types[14]
226#define SWIGTYPE_p_wxCaret swig_types[15]
227#define SWIGTYPE_p_int swig_types[16]
228#define SWIGTYPE_p_wxSize swig_types[17]
229#define SWIGTYPE_p_wxClipboard swig_types[18]
230#define SWIGTYPE_p_wxStopWatch swig_types[19]
231#define SWIGTYPE_p_wxDC swig_types[20]
232#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
233#define SWIGTYPE_p_wxIcon swig_types[22]
234#define SWIGTYPE_p_wxLogStderr swig_types[23]
235#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
236#define SWIGTYPE_p_wxTextCtrl swig_types[25]
237#define SWIGTYPE_p_wxBusyCursor swig_types[26]
b1f29bf7
RD
238#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
239#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
240#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
241#define SWIGTYPE_p_wxTextDataObject swig_types[30]
242#define SWIGTYPE_p_wxDataObject swig_types[31]
d55e5bfc
RD
243#define SWIGTYPE_p_wxFileDataObject swig_types[32]
244#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
245#define SWIGTYPE_p_wxURLDataObject swig_types[34]
246#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
247#define SWIGTYPE_p_wxSound swig_types[36]
248#define SWIGTYPE_p_wxTimerRunner swig_types[37]
249#define SWIGTYPE_p_wxLogWindow swig_types[38]
250#define SWIGTYPE_p_wxTimeSpan swig_types[39]
251#define SWIGTYPE_p_wxArrayString swig_types[40]
252#define SWIGTYPE_p_wxWindowDisabler swig_types[41]
253#define SWIGTYPE_p_wxToolTip swig_types[42]
254#define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
255#define SWIGTYPE_p_wxFileConfig swig_types[44]
256#define SWIGTYPE_p_wxSystemSettings swig_types[45]
257#define SWIGTYPE_p_wxVideoMode swig_types[46]
258#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
259#define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
260#define SWIGTYPE_p_wxEvtHandler swig_types[49]
261#define SWIGTYPE_p_wxRect swig_types[50]
262#define SWIGTYPE_p_char swig_types[51]
263#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
c1cb24a4
RD
264#define SWIGTYPE_p_wxStandardPaths swig_types[53]
265#define SWIGTYPE_p_wxFileTypeInfo swig_types[54]
266#define SWIGTYPE_p_wxFrame swig_types[55]
267#define SWIGTYPE_p_wxTimer swig_types[56]
268#define SWIGTYPE_p_wxMimeTypesManager swig_types[57]
269#define SWIGTYPE_p_wxPyArtProvider swig_types[58]
270#define SWIGTYPE_p_wxPyTipProvider swig_types[59]
271#define SWIGTYPE_p_wxTipProvider swig_types[60]
272#define SWIGTYPE_p_wxJoystick swig_types[61]
273#define SWIGTYPE_p_wxSystemOptions swig_types[62]
274#define SWIGTYPE_p_wxPoint swig_types[63]
275#define SWIGTYPE_p_wxJoystickEvent swig_types[64]
276#define SWIGTYPE_p_wxCursor swig_types[65]
277#define SWIGTYPE_p_wxObject swig_types[66]
278#define SWIGTYPE_p_wxOutputStream swig_types[67]
279#define SWIGTYPE_p_wxDateTime swig_types[68]
280#define SWIGTYPE_p_wxPyDropSource 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];
d55e5bfc
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
304 @(target):= _misc_.so
305 ------------------------------------------------*/
306#define SWIG_init init_misc_
307
308#define SWIG_name "_misc_"
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
d55e5bfc
RD
315
316#ifdef __cplusplus
317#define SWIGSTATICINLINE(a) static inline a
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
d55e5bfc 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)
d55e5bfc
RD
327
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)
d55e5bfc 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)))
d55e5bfc
RD
340
341#endif /* __cplusplus */
342
343
c32bde28
RD
344/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
d55e5bfc
RD
368
369
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
0439c23b 372#include "wx/wxPython/pyistream.h"
d55e5bfc
RD
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375
376
377
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)
d55e5bfc 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);
d55e5bfc 397 }
c32bde28 398 return 0;
d55e5bfc 399 }
c32bde28 400 return 1;
d55e5bfc
RD
401}
402
403
c32bde28
RD
404// See my_fragments.i
405SWIGSTATICINLINE(int)
406SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 407{
c32bde28
RD
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
d55e5bfc
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);
d55e5bfc 417 }
c32bde28 418 return 0;
d55e5bfc
RD
419}
420
421
422#if INT_MAX != LONG_MAX
423SWIGSTATICINLINE(int)
c32bde28 424 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 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;
d55e5bfc
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}
d55e5bfc
RD
449#endif
450
451
452SWIGSTATICINLINE(int)
c32bde28 453SWIG_As_int(PyObject* obj)
d55e5bfc 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));
d55e5bfc 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);
d55e5bfc
RD
472}
473
7e63a440 474 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
d1f3a348
RD
475
476#include <wx/stockitem.h>
477
d55e5bfc
RD
478 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
479 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
480 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
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
d55e5bfc 498SWIGSTATICINLINE(int)
c32bde28 499SWIG_Check_long(PyObject* obj)
d55e5bfc 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;
d55e5bfc
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;
d55e5bfc
RD
526}
527
528
529SWIGSTATICINLINE(bool)
c32bde28 530SWIG_As_bool(PyObject* obj)
d55e5bfc 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;
d55e5bfc
RD
542}
543
c32bde28 544
d55e5bfc 545SWIGSTATICINLINE(int)
c32bde28 546SWIG_Check_bool(PyObject* obj)
d55e5bfc 547{
c32bde28 548 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
549}
550
551
c32bde28 552 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
553 PyObject* o2;
554 PyObject* o3;
c32bde28 555
d55e5bfc
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 }
d55e5bfc
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 }
d55e5bfc
RD
577
578
c32bde28
RD
579
580// See my_fragments.i
581SWIGSTATICINLINE(int)
582SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 583{
c32bde28
RD
584 long v = 0;
585 if (SWIG_AsVal_long(obj, &v) && v < 0) {
586 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
587 return 0;
d55e5bfc 588 }
c32bde28
RD
589 else if (val)
590 *val = (unsigned long)v;
591 return 1;
d55e5bfc
RD
592}
593
594
c32bde28
RD
595SWIGSTATICINLINE(unsigned long)
596SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 597{
c32bde28
RD
598 unsigned long v;
599 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
600 /*
601 this is needed to make valgrind/purify happier. the other
602 solution is throw an exception, but since this code should work
603 with plain C ....
604 */
605 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 606 }
c32bde28
RD
607 return v;
608}
609
610
611SWIGSTATICINLINE(int)
612SWIG_Check_unsigned_SS_long(PyObject* obj)
613{
614 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
615}
616
617
618SWIGSTATICINLINE(PyObject* )
c32bde28 619 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
620{
621 return (value > LONG_MAX) ?
622 PyLong_FromUnsignedLong(value)
c32bde28 623 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
624}
625
626
627 bool wxThread_IsMain() {
628#ifdef WXP_WITH_THREAD
629 return wxThread::IsMain();
630#else
ae8162c8 631 return true;
d55e5bfc
RD
632#endif
633 }
634
635
636 int wxCaret_GetBlinkTime() {
637 return wxCaret::GetBlinkTime();
638 }
639
640 void wxCaret_SetBlinkTime(int milliseconds) {
641 wxCaret::SetBlinkTime(milliseconds);
642 }
643
644
645#include <wx/snglinst.h>
646
647
648#ifdef __WXMSW__
649#include <wx/msw/private.h>
650#include <wx/dynload.h>
651#endif
652
653
654
655void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
656{
657#ifdef __WXMSW__
658
659 switch (method)
660 {
661 case 1:
662 // This one only partially works. Appears to be an undocumented
663 // "standard" convention that not all widgets adhear to. For
664 // example, for some widgets backgrounds or non-client areas may
665 // not be painted.
666 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
667 break;
668
669 case 2:
670 // This one works much better, except for on XP. On Win2k nearly
671 // all widgets and their children are captured correctly[**]. On
672 // XP with Themes activated most native widgets draw only
673 // partially, if at all. Without themes it works just like on
674 // Win2k.
675 //
676 // ** For example the radio buttons in a wxRadioBox are not its
677 // children by default, but you can capture it via the panel
678 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
679 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
680 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
681 PRF_ERASEBKGND | PRF_OWNED );
682 break;
683
684 case 3:
685 // This one is only defined in the latest SDK and is only
686 // available on XP. MSDN says it is similar to sending WM_PRINT
687 // so I expect that it will work similar to the above. Since it
688 // is avaialble only on XP, it can't be compiled like this and
689 // will have to be loaded dynamically.
690 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
691
692 // fall through
693
694 case 4:
695 // Use PrintWindow if available, or fallback to WM_PRINT
696 // otherwise. Unfortunately using PrintWindow is even worse than
697 // WM_PRINT. For most native widgets nothing is drawn to the dc
698 // at all, with or without Themes.
699 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
ae8162c8 700 static bool s_triedToLoad = false;
d55e5bfc
RD
701 static PrintWindow_t pfnPrintWindow = NULL;
702 if ( !s_triedToLoad )
703 {
704
ae8162c8 705 s_triedToLoad = true;
d55e5bfc
RD
706 wxDynamicLibrary dllUser32(_T("user32.dll"));
707 if ( dllUser32.IsLoaded() )
708 {
709 wxLogNull nolog; // Don't report errors here
710 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
711 }
712 }
713 if (pfnPrintWindow)
714 {
715 printf("Using PrintWindow\n");
716 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
717 }
718 else
719 {
720 printf("Using WM_PRINT\n");
721 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
722 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
723 }
724 }
725#endif
726}
727
728
729
730#include <wx/tipdlg.h>
731
732
733class wxPyTipProvider : public wxTipProvider {
734public:
735 wxPyTipProvider(size_t currentTip)
736 : wxTipProvider(currentTip) {}
737
738 DEC_PYCALLBACK_STRING__pure(GetTip);
739 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
740 PYPRIVATE;
741};
742
743IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
744IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
745
746
747//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
748
1a6bba1e
RD
749IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
750
d55e5bfc
RD
751void wxPyTimer::Notify() {
752 bool found;
753 bool blocked = wxPyBeginBlockThreads();
754 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
756 wxPyEndBlockThreads(blocked);
757 if (! found)
758 wxTimer::Notify();
759}
760void wxPyTimer::base_Notify() {
761 wxTimer::Notify();
762}
763
764
765
766SWIGSTATICINLINE(PyObject *)
767SWIG_FromCharPtr(const char* cptr)
768{
d55e5bfc 769 if (cptr) {
c32bde28 770 size_t size = strlen(cptr);
d55e5bfc 771 if (size > INT_MAX) {
c32bde28 772 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
d55e5bfc
RD
773 SWIG_TypeQuery("char *"), 0);
774 } else {
c32bde28
RD
775 if (size != 0) {
776 return PyString_FromStringAndSize(cptr, size);
777 } else {
778 return PyString_FromString(cptr);
779 }
d55e5bfc 780 }
d55e5bfc 781 }
c32bde28
RD
782 Py_INCREF(Py_None);
783 return Py_None;
d55e5bfc
RD
784}
785
786
c32bde28
RD
787SWIGSTATICINLINE(int)
788 SWIG_CheckUnsignedLongInRange(unsigned long value,
789 unsigned long max_value,
790 const char *errmsg)
d55e5bfc 791{
c32bde28
RD
792 if (value > max_value) {
793 if (errmsg) {
794 PyErr_Format(PyExc_OverflowError,
795 "value %ld is greater than '%s' minimum %ld",
796 value, errmsg, max_value);
d55e5bfc 797 }
c32bde28 798 return 0;
d55e5bfc 799 }
c32bde28
RD
800 return 1;
801 }
d55e5bfc
RD
802
803
804#if UINT_MAX != ULONG_MAX
c32bde28
RD
805SWIGSTATICINLINE(int)
806 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 807{
c32bde28
RD
808 const char* errmsg = val ? "unsigned int" : 0;
809 unsigned long v;
810 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
811 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
812 if (val) *val = swig_numeric_cast(v, unsigned int);
813 return 1;
814 }
815 } else {
816 PyErr_Clear();
817 }
818 if (val) {
819 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
820 }
821 return 0;
d55e5bfc
RD
822}
823#else
c32bde28
RD
824SWIGSTATICINLINE(unsigned int)
825 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
826{
827 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
828}
d55e5bfc
RD
829#endif
830
831
c32bde28
RD
832SWIGSTATICINLINE(unsigned int)
833SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 834{
c32bde28
RD
835 unsigned int v;
836 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
837 /*
838 this is needed to make valgrind/purify happier. the other
839 solution is throw an exception, but since this code should work
840 with plain C ....
841 */
842 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 843 }
c32bde28
RD
844 return v;
845}
846
847
848SWIGSTATICINLINE(int)
849SWIG_Check_unsigned_SS_int(PyObject* obj)
850{
851 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
852}
853
854wxString Log_TimeStamp(){
855 wxString msg;
856 wxLog::TimeStamp(&msg);
857 return msg;
858 }
859void wxLog_Destroy(wxLog *self){ delete self; }
f78cc896
RD
860// Make somce wrappers that double any % signs so they are 'escaped'
861 void wxPyLogFatalError(const wxString& msg)
862 {
863 wxString m(msg);
864 m.Replace(wxT("%"), wxT("%%"));
865 wxLogFatalError(m);
866 }
867
868 void wxPyLogError(const wxString& msg)
869 {
870 wxString m(msg);
871 m.Replace(wxT("%"), wxT("%%"));
872 wxLogError(m);
873 }
874
875 void wxPyLogWarning(const wxString& msg)
876 {
877 wxString m(msg);
878 m.Replace(wxT("%"), wxT("%%"));
879 wxLogWarning(m);
880 }
881
882 void wxPyLogMessage(const wxString& msg)
883 {
884 wxString m(msg);
885 m.Replace(wxT("%"), wxT("%%"));
886 wxLogMessage(m);
887 }
888
889 void wxPyLogInfo(const wxString& msg)
890 {
891 wxString m(msg);
892 m.Replace(wxT("%"), wxT("%%"));
893 wxLogInfo(m);
894 }
895
896 void wxPyLogDebug(const wxString& msg)
897 {
898 wxString m(msg);
899 m.Replace(wxT("%"), wxT("%%"));
900 wxLogDebug(m);
901 }
902
903 void wxPyLogVerbose(const wxString& msg)
904 {
905 wxString m(msg);
906 m.Replace(wxT("%"), wxT("%%"));
907 wxLogVerbose(m);
908 }
909
910 void wxPyLogStatus(const wxString& msg)
911 {
912 wxString m(msg);
913 m.Replace(wxT("%"), wxT("%%"));
914 wxLogStatus(m);
915 }
916
917 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
918 {
919 wxString m(msg);
920 m.Replace(wxT("%"), wxT("%%"));
921 wxLogStatus(pFrame, m);
922 }
923
924 void wxPyLogSysError(const wxString& msg)
925 {
926 wxString m(msg);
927 m.Replace(wxT("%"), wxT("%%"));
928 wxLogSysError(m);
929 }
930
931 void wxPyLogGeneric(unsigned long level, const wxString& msg)
932 {
933 wxString m(msg);
934 m.Replace(wxT("%"), wxT("%%"));
935 wxLogGeneric(level, m);
936 }
937
938 void wxPyLogTrace(unsigned long mask, const wxString& msg)
939 {
940 wxString m(msg);
941 m.Replace(wxT("%"), wxT("%%"));
942 wxLogTrace(mask, m);
943 }
944
945 void wxPyLogTrace(const wxString& mask, const wxString& msg)
946 {
947 wxString m(msg);
948 m.Replace(wxT("%"), wxT("%%"));
949 wxLogTrace(mask, m);
950 }
951
952
d55e5bfc
RD
953
954// A wxLog class that can be derived from in wxPython
955class wxPyLog : public wxLog {
956public:
957 wxPyLog() : wxLog() {}
958
959 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
960 bool found;
961 bool blocked = wxPyBeginBlockThreads();
962 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
963 PyObject* s = wx2PyString(szString);
964 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
965 Py_DECREF(s);
966 }
967 wxPyEndBlockThreads(blocked);
968 if (! found)
969 wxLog::DoLog(level, szString, t);
970 }
971
972 virtual void DoLogString(const wxChar *szString, time_t t) {
973 bool found;
974 bool blocked = wxPyBeginBlockThreads();
975 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
976 PyObject* s = wx2PyString(szString);
977 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
978 Py_DECREF(s);
979 }
980 wxPyEndBlockThreads(blocked);
981 if (! found)
982 wxLog::DoLogString(szString, t);
983 }
984
985 PYPRIVATE;
986};
987
988
989
990
991IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
992
993
994#include <wx/joystick.h>
995
996
997#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
998// A C++ stub class for wxJoystick for platforms that don't have it.
999class wxJoystick : public wxObject {
1000public:
1001 wxJoystick(int joystick = wxJOYSTICK1) {
1002 bool blocked = wxPyBeginBlockThreads();
1003 PyErr_SetString(PyExc_NotImplementedError,
1004 "wxJoystick is not available on this platform.");
1005 wxPyEndBlockThreads(blocked);
1006 }
1007 wxPoint GetPosition() { return wxPoint(-1,-1); }
1008 int GetZPosition() { return -1; }
1009 int GetButtonState() { return -1; }
1010 int GetPOVPosition() { return -1; }
1011 int GetPOVCTSPosition() { return -1; }
1012 int GetRudderPosition() { return -1; }
1013 int GetUPosition() { return -1; }
1014 int GetVPosition() { return -1; }
1015 int GetMovementThreshold() { return -1; }
1016 void SetMovementThreshold(int threshold) {}
1017
ae8162c8 1018 bool IsOk(void) { return false; }
d55e5bfc
RD
1019 int GetNumberJoysticks() { return -1; }
1020 int GetManufacturerId() { return -1; }
1021 int GetProductId() { return -1; }
79fccf9d 1022 wxString GetProductName() { return wxEmptyString; }
d55e5bfc
RD
1023 int GetXMin() { return -1; }
1024 int GetYMin() { return -1; }
1025 int GetZMin() { return -1; }
1026 int GetXMax() { return -1; }
1027 int GetYMax() { return -1; }
1028 int GetZMax() { return -1; }
1029 int GetNumberButtons() { return -1; }
1030 int GetNumberAxes() { return -1; }
1031 int GetMaxButtons() { return -1; }
1032 int GetMaxAxes() { return -1; }
1033 int GetPollingMin() { return -1; }
1034 int GetPollingMax() { return -1; }
1035 int GetRudderMin() { return -1; }
1036 int GetRudderMax() { return -1; }
1037 int GetUMin() { return -1; }
1038 int GetUMax() { return -1; }
1039 int GetVMin() { return -1; }
1040 int GetVMax() { return -1; }
1041
ae8162c8
RD
1042 bool HasRudder() { return false; }
1043 bool HasZ() { return false; }
1044 bool HasU() { return false; }
1045 bool HasV() { return false; }
1046 bool HasPOV() { return false; }
1047 bool HasPOV4Dir() { return false; }
1048 bool HasPOVCTS() { return false; }
d55e5bfc 1049
ae8162c8
RD
1050 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
1051 bool ReleaseCapture() { return false; }
d55e5bfc
RD
1052};
1053#endif
1054
1055
1056#include <wx/sound.h>
1057
1058
1059#if !wxUSE_SOUND
1060// A C++ stub class for wxWave for platforms that don't have it.
1061class wxSound : public wxObject
1062{
1063public:
1064 wxSound() {
1065 bool blocked = wxPyBeginBlockThreads();
1066 PyErr_SetString(PyExc_NotImplementedError,
1067 "wxSound is not available on this platform.");
1068 wxPyEndBlockThreads(blocked);
1069 }
b1f29bf7 1070 wxSound(const wxString&/*, bool*/) {
d55e5bfc
RD
1071 bool blocked = wxPyBeginBlockThreads();
1072 PyErr_SetString(PyExc_NotImplementedError,
1073 "wxSound is not available on this platform.");
1074 wxPyEndBlockThreads(blocked);
1075 }
1076 wxSound(int, const wxByte*) {
1077 bool blocked = wxPyBeginBlockThreads();
1078 PyErr_SetString(PyExc_NotImplementedError,
1079 "wxSound is not available on this platform.");
1080 wxPyEndBlockThreads(blocked);
1081 }
1082
1083 ~wxSound() {};
1084
b1f29bf7 1085 bool Create(const wxString&/*, bool*/) { return false; }
d55e5bfc
RD
1086 bool Create(int, const wxByte*) { return false; };
1087 bool IsOk() { return false; };
1088 bool Play(unsigned) const { return false; }
1089 static bool Play(const wxString&, unsigned) { return false; }
1090 static void Stop() {}
1091};
1092
1093#endif
1094
b1f29bf7
RD
1095wxSound *new_wxSound(wxString const &fileName){
1096 if (fileName.Length() == 0)
1097 return new wxSound;
1098 else
1099 return new wxSound(fileName);
1100 }
1101wxSound *new_wxSound(PyObject *data){
1102 unsigned char* buffer; int size;
1103 wxSound *sound = NULL;
1104
1105 bool blocked = wxPyBeginBlockThreads();
1106 if (!PyArg_Parse(data, "t#", &buffer, &size))
1107 goto done;
1108 sound = new wxSound(size, buffer);
1109 done:
1110 wxPyEndBlockThreads(blocked);
1111 return sound;
1112 }
1113bool wxSound_CreateFromData(wxSound *self,PyObject *data){
1114 #ifndef __WXMAC__
1115 unsigned char* buffer;
1116 int size;
ae8162c8 1117 bool rv = false;
b1f29bf7
RD
1118
1119 bool blocked = wxPyBeginBlockThreads();
1120 if (!PyArg_Parse(data, "t#", &buffer, &size))
1121 goto done;
1122 rv = self->Create(size, buffer);
1123 done:
1124 wxPyEndBlockThreads(blocked);
1125 return rv;
1126 #else
1127 bool blocked = wxPyBeginBlockThreads();
1128 PyErr_SetString(PyExc_NotImplementedError,
1129 "Create from data is not available on this platform.");
1130 wxPyEndBlockThreads(blocked);
ae8162c8 1131 return false;
b1f29bf7
RD
1132 #endif
1133 }
d55e5bfc
RD
1134
1135#include <wx/mimetype.h>
1136
1137PyObject *wxFileType_GetMimeType(wxFileType *self){
1138 wxString str;
1139 if (self->GetMimeType(&str))
1140 return wx2PyString(str);
1141 else
1142 RETURN_NONE();
1143 }
1144PyObject *wxFileType_GetMimeTypes(wxFileType *self){
1145 wxArrayString arr;
1146 if (self->GetMimeTypes(arr))
1147 return wxArrayString2PyList_helper(arr);
1148 else
1149 RETURN_NONE();
1150 }
1151PyObject *wxFileType_GetExtensions(wxFileType *self){
1152 wxArrayString arr;
1153 if (self->GetExtensions(arr))
1154 return wxArrayString2PyList_helper(arr);
1155 else
1156 RETURN_NONE();
1157 }
1158wxIcon *wxFileType_GetIcon(wxFileType *self){
1159 wxIconLocation loc;
1160 if (self->GetIcon(&loc))
1161 return new wxIcon(loc);
1162 else
1163 return NULL;
1164 }
1165PyObject *wxFileType_GetIconInfo(wxFileType *self){
1166 wxIconLocation loc;
1167 if (self->GetIcon(&loc)) {
1168 wxString iconFile = loc.GetFileName();
1169 int iconIndex = -1;
1170
1171 iconIndex = loc.GetIndex();
1172
1173 // Make a tuple and put the values in it
1174 bool blocked = wxPyBeginBlockThreads();
1175 PyObject* tuple = PyTuple_New(3);
1176 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
ae8162c8 1177 wxT("wxIcon"), true));
d55e5bfc
RD
1178 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
1179 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
1180 wxPyEndBlockThreads(blocked);
1181 return tuple;
1182 }
1183 else
1184 RETURN_NONE();
1185 }
1186PyObject *wxFileType_GetDescription(wxFileType *self){
1187 wxString str;
1188 if (self->GetDescription(&str))
1189 return wx2PyString(str);
1190 else
1191 RETURN_NONE();
1192 }
1193PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1194 wxString str;
1195 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1196 return wx2PyString(str);
1197 else
1198 RETURN_NONE();
1199 }
1200PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1201 wxString str;
1202 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1203 return wx2PyString(str);
1204 else
1205 RETURN_NONE();
1206 }
1207PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
1208 wxArrayString verbs;
1209 wxArrayString commands;
1210 if (self->GetAllCommands(&verbs, &commands,
1211 wxFileType::MessageParameters(filename, mimetype))) {
1212 bool blocked = wxPyBeginBlockThreads();
1213 PyObject* tuple = PyTuple_New(2);
1214 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
1215 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
1216 wxPyEndBlockThreads(blocked);
1217 return tuple;
1218 }
1219 else
1220 RETURN_NONE();
1221 }
1222wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1223 return wxFileType::ExpandCommand(command,
1224 wxFileType::MessageParameters(filename, mimetype));
1225 }
1226PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1227 wxArrayString arr;
1228 self->EnumAllFileTypes(arr);
1229 return wxArrayString2PyList_helper(arr);
1230 }
1231
1232#include <wx/artprov.h>
1233
1234 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1235 static const wxString wxPyART_MENU(wxART_MENU);
1236 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1237 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1238 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1239 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
4cf4100f 1240 static const wxString wxPyART_BUTTON(wxART_BUTTON);
d55e5bfc
RD
1241 static const wxString wxPyART_OTHER(wxART_OTHER);
1242 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1243 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1244 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1245 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1246 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1247 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1248 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1249 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1250 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1251 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1252 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1253 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1254 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1255 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1256 static const wxString wxPyART_PRINT(wxART_PRINT);
1257 static const wxString wxPyART_HELP(wxART_HELP);
1258 static const wxString wxPyART_TIP(wxART_TIP);
1259 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1260 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1261 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
f78cc896
RD
1262 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
1263 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
1264 static const wxString wxPyART_CDROM(wxART_CDROM);
1265 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
d55e5bfc 1266 static const wxString wxPyART_FOLDER(wxART_FOLDER);
f78cc896 1267 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
d55e5bfc
RD
1268 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1269 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1270 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1271 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1272 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1273 static const wxString wxPyART_ERROR(wxART_ERROR);
1274 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1275 static const wxString wxPyART_WARNING(wxART_WARNING);
1276 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1277 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1278 // Python aware wxArtProvider
1279class wxPyArtProvider : public wxArtProvider {
1280public:
1281
1282 virtual wxBitmap CreateBitmap(const wxArtID& id,
1283 const wxArtClient& client,
1284 const wxSize& size) {
1285 wxBitmap rval = wxNullBitmap;
1286 bool blocked = wxPyBeginBlockThreads();
1287 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1288 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1289 PyObject* ro;
1290 wxBitmap* ptr;
1291 PyObject* s1, *s2;
1292 s1 = wx2PyString(id);
1293 s2 = wx2PyString(client);
1294 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1295 Py_DECREF(so);
1296 Py_DECREF(s1);
1297 Py_DECREF(s2);
1298 if (ro) {
1299 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1300 rval = *ptr;
1301 Py_DECREF(ro);
1302 }
1303 }
1304 wxPyEndBlockThreads(blocked);
1305 return rval;
1306 }
1307
1308 PYPRIVATE;
1309};
1310
1311void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1312
1313
1314
1315 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1316 PyObject* ret = PyTuple_New(3);
1317 if (ret) {
1318 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1319 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1320 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1321 }
1322 return ret;
1323 }
1324
1325PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1326 bool cont;
1327 long index = 0;
1328 wxString value;
1329
1330 cont = self->GetFirstGroup(value, index);
1331 return __EnumerationHelper(cont, value, index);
1332 }
1333PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1334 bool cont;
1335 wxString value;
1336
1337 cont = self->GetNextGroup(value, index);
1338 return __EnumerationHelper(cont, value, index);
1339 }
1340PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1341 bool cont;
1342 long index = 0;
1343 wxString value;
1344
1345 cont = self->GetFirstEntry(value, index);
1346 return __EnumerationHelper(cont, value, index);
1347 }
1348PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1349 bool cont;
1350 wxString value;
1351
1352 cont = self->GetNextEntry(value, index);
1353 return __EnumerationHelper(cont, value, index);
1354 }
1355long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1356 long rv;
1357 self->Read(key, &rv, defaultVal);
1358 return rv;
1359 }
1360
c32bde28
RD
1361// See my_fragments.i
1362SWIGSTATICINLINE(int)
1363SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 1364{
c32bde28
RD
1365 if (PyNumber_Check(obj)) {
1366 if (val) *val = PyFloat_AsDouble(obj);
1367 return 1;
1368 }
d55e5bfc
RD
1369 else {
1370 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1371 obj->ob_type->tp_name);
1372 PyErr_SetObject(PyExc_TypeError, errmsg);
1373 Py_DECREF(errmsg);
d55e5bfc 1374 }
c32bde28 1375 return 0;
d55e5bfc
RD
1376}
1377
1378
c32bde28
RD
1379SWIGSTATICINLINE(double)
1380SWIG_As_double(PyObject* obj)
d55e5bfc 1381{
c32bde28
RD
1382 double v;
1383 if (!SWIG_AsVal_double(obj, &v)) {
1384 /*
1385 this is needed to make valgrind/purify happier. the other
1386 solution is throw an exception, but since this code should work
1387 with plain C ....
1388 */
1389 memset((void*)&v, 0, sizeof(double));
d55e5bfc 1390 }
c32bde28
RD
1391 return v;
1392}
1393
1394
1395SWIGSTATICINLINE(int)
1396SWIG_Check_double(PyObject* obj)
1397{
1398 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
1399}
1400
1401double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1402 double rv;
1403 self->Read(key, &rv, defaultVal);
1404 return rv;
1405 }
1406bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1407 bool rv;
1408 self->Read(key, &rv, defaultVal);
1409 return rv;
1410 }
1411
1412#include <wx/datetime.h>
1413
1414
1415 static const wxString wxPyDateFormatStr(wxT("%c"));
1416 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1417
1418#define LOCAL_TZ wxDateTime::Local
1419
1420
1421#if UINT_MAX < LONG_MAX
c32bde28
RD
1422/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1423#define SWIG_From_unsigned_SS_int SWIG_From_long
1424/*@@*/
d55e5bfc 1425#else
c32bde28
RD
1426/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1427#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1428/*@@*/
d55e5bfc
RD
1429#endif
1430
1431wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1432wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1433wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1434wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1435wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1436bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1437 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1438 return (*self < *other);
1439 }
1440bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1441 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1442 return (*self <= *other);
1443 }
1444bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1445 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1446 return (*self > *other);
1447 }
1448bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1449 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1450 return (*self >= *other);
1451 }
1452bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1453 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1454 return (*self == *other);
1455 }
1456bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1457 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1458 return (*self != *other);
1459 }
1460int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1461 const wxChar* rv;
1462 const wxChar* _date = date;
1463 rv = self->ParseRfc822Date(_date);
1464 if (rv == NULL) return -1;
1465 return rv - _date;
1466 }
1467int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1468 const wxChar* rv;
1469 const wxChar* _date = date;
1470 rv = self->ParseFormat(_date, format, dateDef);
1471 if (rv == NULL) return -1;
1472 return rv - _date;
1473 }
1474int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1475 const wxChar* rv;
1476 const wxChar* _datetime = datetime;
1477 rv = self->ParseDateTime(_datetime);
1478 if (rv == NULL) return -1;
1479 return rv - _datetime;
1480 }
1481int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1482 const wxChar* rv;
1483 const wxChar* _date = date;
1484 rv = self->ParseDate(_date);
1485 if (rv == NULL) return -1;
1486 return rv - _date;
1487 }
1488int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1489 const wxChar* rv;
1490 const wxChar* _time = time;
1491 rv = self->ParseTime(_time);
1492 if (rv == NULL) return -1;
1493 return rv - _time;
1494 }
1495wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1496wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1497wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1498wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
ae8162c8
RD
1499bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
1500bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
1501bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
1502bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
1503bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
1504bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc
RD
1505wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1506wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1507wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1508wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
ae8162c8
RD
1509bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
1510bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc
RD
1511
1512#include <wx/dataobj.h>
1513
a07a67e6
RD
1514PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1515 size_t count = self->GetFormatCount(dir);
1516 wxDataFormat* formats = new wxDataFormat[count];
1517 self->GetAllFormats(formats, dir);
1518
1519 bool blocked = wxPyBeginBlockThreads();
1520 PyObject* list = PyList_New(count);
1521 for (size_t i=0; i<count; i++) {
1522 wxDataFormat* format = new wxDataFormat(formats[i]);
ae8162c8 1523 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
a07a67e6
RD
1524 PyList_Append(list, obj);
1525 Py_DECREF(obj);
1526 }
1527 wxPyEndBlockThreads(blocked);
1528 delete [] formats;
1529 return list;
1530 }
1531PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1532 PyObject* rval = NULL;
1533 size_t size = self->GetDataSize(format);
1534 bool blocked = wxPyBeginBlockThreads();
1535 if (size) {
1536 char* buf = new char[size];
1537 if (self->GetDataHere(format, buf))
1538 rval = PyString_FromStringAndSize(buf, size);
1539 delete [] buf;
1540 }
1541 if (! rval) {
1542 rval = Py_None;
1543 Py_INCREF(rval);
1544 }
1545 wxPyEndBlockThreads(blocked);
1546 return rval;
1547 }
1548bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1549 bool rval;
1550 bool blocked = wxPyBeginBlockThreads();
1551 if (PyString_Check(data)) {
1552 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1553 }
1554 else {
1555 // raise a TypeError if not a string
1556 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1557 rval = false;
a07a67e6
RD
1558 }
1559 wxPyEndBlockThreads(blocked);
1560 return rval;
1561 }
1562PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1563 PyObject* rval = NULL;
1564 size_t size = self->GetDataSize();
1565 bool blocked = wxPyBeginBlockThreads();
1566 if (size) {
1567 char* buf = new char[size];
1568 if (self->GetDataHere(buf))
1569 rval = PyString_FromStringAndSize(buf, size);
1570 delete [] buf;
1571 }
1572 if (! rval) {
1573 rval = Py_None;
1574 Py_INCREF(rval);
1575 }
1576 wxPyEndBlockThreads(blocked);
1577 return rval;
1578 }
1579bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1580 bool rval;
1581 bool blocked = wxPyBeginBlockThreads();
1582 if (PyString_Check(data)) {
1583 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1584 }
1585 else {
1586 // raise a TypeError if not a string
1587 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1588 rval = false;
a07a67e6
RD
1589 }
1590 wxPyEndBlockThreads(blocked);
1591 return rval;
1592 }
d55e5bfc
RD
1593 // Create a new class for wxPython to use
1594class wxPyDataObjectSimple : public wxDataObjectSimple {
1595public:
1596 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1597 : wxDataObjectSimple(format) {}
1598
1599 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1600 bool GetDataHere(void *buf) const;
1601 bool SetData(size_t len, const void *buf) const;
1602 PYPRIVATE;
1603};
1604
1605IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1606
1607bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1608 // We need to get the data for this object and write it to buf. I think
1609 // the best way to do this for wxPython is to have the Python method
1610 // return either a string or None and then act appropriately with the
1611 // C++ version.
1612
ae8162c8 1613 bool rval = false;
d55e5bfc
RD
1614 bool blocked = wxPyBeginBlockThreads();
1615 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1616 PyObject* ro;
1617 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1618 if (ro) {
1619 rval = (ro != Py_None && PyString_Check(ro));
1620 if (rval)
1621 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1622 Py_DECREF(ro);
1623 }
1624 }
1625 wxPyEndBlockThreads(blocked);
1626 return rval;
1627}
1628
1629bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1630 // For this one we simply need to make a string from buf and len
1631 // and send it to the Python method.
ae8162c8 1632 bool rval = false;
d55e5bfc
RD
1633 bool blocked = wxPyBeginBlockThreads();
1634 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1635 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1637 Py_DECREF(data);
1638 }
1639 wxPyEndBlockThreads(blocked);
1640 return rval;
1641}
1642
1643 // Create a new class for wxPython to use
1644class wxPyTextDataObject : public wxTextDataObject {
1645public:
1646 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1647 : wxTextDataObject(text) {}
1648
1649 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1650 DEC_PYCALLBACK_STRING__const(GetText);
1651 DEC_PYCALLBACK__STRING(SetText);
1652 PYPRIVATE;
1653};
1654
1655IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1656IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1657IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1658
1659
1660 // Create a new class for wxPython to use
1661class wxPyBitmapDataObject : public wxBitmapDataObject {
1662public:
1663 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1664 : wxBitmapDataObject(bitmap) {}
1665
1666 wxBitmap GetBitmap() const;
1667 void SetBitmap(const wxBitmap& bitmap);
1668 PYPRIVATE;
1669};
1670
1671wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1672 wxBitmap* rval = &wxNullBitmap;
1673 bool blocked = wxPyBeginBlockThreads();
1674 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1675 PyObject* ro;
1676 wxBitmap* ptr;
1677 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1678 if (ro) {
1679 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1680 rval = ptr;
1681 Py_DECREF(ro);
1682 }
1683 }
1684 wxPyEndBlockThreads(blocked);
1685 return *rval;
1686}
a07a67e6 1687
d55e5bfc
RD
1688void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1689 bool blocked = wxPyBeginBlockThreads();
1690 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
ae8162c8 1691 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
d55e5bfc
RD
1692 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1693 Py_DECREF(bo);
1694 }
1695 wxPyEndBlockThreads(blocked);
1696}
1697
d55e5bfc 1698bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
a07a67e6
RD
1699 bool rval;
1700 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1701 if (PyString_Check(data)) {
a07a67e6 1702 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
d55e5bfc
RD
1703 }
1704 else {
1705 // raise a TypeError if not a string
1706 PyErr_SetString(PyExc_TypeError, "String expected.");
ae8162c8 1707 rval = false;
d55e5bfc 1708 }
a07a67e6
RD
1709 wxPyEndBlockThreads(blocked);
1710 return rval;
d55e5bfc
RD
1711 }
1712PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
a07a67e6
RD
1713 PyObject* obj;
1714 bool blocked = wxPyBeginBlockThreads();
1715 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1716 wxPyEndBlockThreads(blocked);
1717 return obj;
d55e5bfc
RD
1718 }
1719
1720#include <wx/metafile.h>
1721
1722
1723IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1724
1725
1726IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1727IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1728IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1729IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1730IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1731
1732
1733class wxPyTextDropTarget : public wxTextDropTarget {
1734public:
1735 wxPyTextDropTarget() {}
1736
1737 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1738
1739 DEC_PYCALLBACK__(OnLeave);
1740 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1741 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1742 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1743 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1744
1745 PYPRIVATE;
1746};
1747
1748IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1749IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1750IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1751IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1752IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1753IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1754
1755
1756
1757class wxPyFileDropTarget : public wxFileDropTarget {
1758public:
1759 wxPyFileDropTarget() {}
1760
1761 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1762
1763 DEC_PYCALLBACK__(OnLeave);
1764 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1765 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1766 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1767 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1768
1769 PYPRIVATE;
1770};
1771
1772bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1773 const wxArrayString& filenames) {
ae8162c8 1774 bool rval = false;
d55e5bfc
RD
1775 bool blocked = wxPyBeginBlockThreads();
1776 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1777 PyObject* list = wxArrayString2PyList_helper(filenames);
1778 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1779 Py_DECREF(list);
1780 }
1781 wxPyEndBlockThreads(blocked);
1782 return rval;
1783}
1784
1785
1786
1787IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1788IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1789IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1790IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1791IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1792
1793
1794
1795
1796bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1797
6923d0a9 1798#include <wx/display.h>
d55e5bfc 1799
ae8162c8
RD
1800bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
1801bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
6923d0a9
RD
1802
1803// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1804#if !wxUSE_DISPLAY
1805#include <wx/dynarray.h>
1806#include <wx/vidmode.h>
1807
1808WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1809#include "wx/arrimpl.cpp"
1810WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1811const wxVideoMode wxDefaultVideoMode;
1812
1813class wxDisplay
1814{
1815public:
1816 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1817 ~wxDisplay() {}
1818
1819 static size_t GetCount()
1820 { wxPyRaiseNotImplemented(); return 0; }
1821
1822 static int GetFromPoint(const wxPoint& pt)
1823 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1824 static int GetFromWindow(wxWindow *window)
1825 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1826
1827 virtual bool IsOk() const { return false; }
1828 virtual wxRect GetGeometry() const { wxRect r; return r; }
1829 virtual wxString GetName() const { return wxEmptyString; }
1830 bool IsPrimary() const { return false; }
1831
1832 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1833 { wxArrayVideoModes a; return a; }
1834
1835 virtual wxVideoMode GetCurrentMode() const
1836 { return wxDefaultVideoMode; }
1837
1838 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1839 { return false; }
1840
1841 void ResetMode() {}
1842};
1843#endif
1844
d55e5bfc
RD
1845PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1846 PyObject* pyList = NULL;
1847 wxArrayVideoModes arr = self->GetModes(mode);
1848 bool blocked = wxPyBeginBlockThreads();
1849 pyList = PyList_New(0);
1850 for (int i=0; i < arr.GetCount(); i++) {
1851 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1852 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1853 PyList_Append(pyList, pyObj);
a07a67e6 1854 Py_DECREF(pyObj);
d55e5bfc
RD
1855 }
1856 wxPyEndBlockThreads(blocked);
1857 return pyList;
1858 }
c1cb24a4
RD
1859
1860#include <wx/stdpaths.h>
1861
8fb0e70a
RD
1862wxStandardPaths *StandardPaths_Get(){
1863 return (wxStandardPaths*) &wxStandardPaths::Get();
1864 }
c1cb24a4
RD
1865void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
1866wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
d55e5bfc
RD
1867#ifdef __cplusplus
1868extern "C" {
1869#endif
c32bde28 1870static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1871 PyObject *resultobj;
1872 int arg1 ;
1873 wxColour result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "index", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
c32bde28 1880 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
1881 if (PyErr_Occurred()) SWIG_fail;
1882 {
0439c23b 1883 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1884 PyThreadState* __tstate = wxPyBeginAllowThreads();
1885 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1886
1887 wxPyEndAllowThreads(__tstate);
110da5b0 1888 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1889 }
1890 {
1891 wxColour * resultptr;
1892 resultptr = new wxColour((wxColour &) result);
1893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1894 }
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
c32bde28 1901static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1902 PyObject *resultobj;
1903 int arg1 ;
1904 wxFont result;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "index", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
c32bde28 1911 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
0439c23b 1914 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1917
1918 wxPyEndAllowThreads(__tstate);
110da5b0 1919 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1920 }
1921 {
1922 wxFont * resultptr;
1923 resultptr = new wxFont((wxFont &) result);
1924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1925 }
1926 return resultobj;
1927 fail:
1928 return NULL;
1929}
1930
1931
c32bde28 1932static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1933 PyObject *resultobj;
1934 int arg1 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "index", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
c32bde28 1942 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
1943 if (PyErr_Occurred()) SWIG_fail;
1944 {
0439c23b 1945 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1948
1949 wxPyEndAllowThreads(__tstate);
110da5b0 1950 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1951 }
c32bde28 1952 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
1953 return resultobj;
1954 fail:
1955 return NULL;
1956}
1957
1958
c32bde28 1959static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1960 PyObject *resultobj;
1961 int arg1 ;
1962 bool result;
1963 PyObject * obj0 = 0 ;
1964 char *kwnames[] = {
1965 (char *) "index", NULL
1966 };
1967
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
c32bde28 1969 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
1970 if (PyErr_Occurred()) SWIG_fail;
1971 {
0439c23b 1972 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1975
1976 wxPyEndAllowThreads(__tstate);
110da5b0 1977 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1978 }
1979 {
1980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1981 }
1982 return resultobj;
1983 fail:
1984 return NULL;
1985}
1986
1987
c32bde28 1988static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1989 PyObject *resultobj;
1990 int result;
1991 char *kwnames[] = {
1992 NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1996 {
0439c23b 1997 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (int)wxSystemSettings::GetScreenType();
2000
2001 wxPyEndAllowThreads(__tstate);
110da5b0 2002 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2003 }
c32bde28 2004 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
c32bde28 2011static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2012 PyObject *resultobj;
2013 int arg1 ;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "screen", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
c32bde28 2020 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
0439c23b 2023 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2024 PyThreadState* __tstate = wxPyBeginAllowThreads();
2025 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
2026
2027 wxPyEndAllowThreads(__tstate);
110da5b0 2028 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2029 }
2030 Py_INCREF(Py_None); resultobj = Py_None;
2031 return resultobj;
2032 fail:
2033 return NULL;
2034}
2035
2036
c32bde28 2037static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2038 PyObject *obj;
2039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2040 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
2041 Py_INCREF(obj);
2042 return Py_BuildValue((char *)"");
2043}
7e63a440
RD
2044static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
2045 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2046 return 1;
2047}
2048
2049
2050static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get() {
2051 PyObject *pyobj;
2052
2053 {
2054#if wxUSE_UNICODE
2055 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
2056#else
2057 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
2058#endif
2059 }
2060 return pyobj;
2061}
2062
2063
c32bde28 2064static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2065 PyObject *resultobj;
2066 wxSystemOptions *result;
2067 char *kwnames[] = {
2068 NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = (wxSystemOptions *)new wxSystemOptions();
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
2080 return resultobj;
2081 fail:
2082 return NULL;
2083}
2084
2085
c32bde28 2086static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2087 PyObject *resultobj;
2088 wxString *arg1 = 0 ;
2089 wxString *arg2 = 0 ;
ae8162c8
RD
2090 bool temp1 = false ;
2091 bool temp2 = false ;
d55e5bfc
RD
2092 PyObject * obj0 = 0 ;
2093 PyObject * obj1 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "name",(char *) "value", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
2099 {
2100 arg1 = wxString_in_helper(obj0);
2101 if (arg1 == NULL) SWIG_fail;
ae8162c8 2102 temp1 = true;
d55e5bfc
RD
2103 }
2104 {
2105 arg2 = wxString_in_helper(obj1);
2106 if (arg2 == NULL) SWIG_fail;
ae8162c8 2107 temp2 = true;
d55e5bfc
RD
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 Py_INCREF(Py_None); resultobj = Py_None;
2117 {
2118 if (temp1)
2119 delete arg1;
2120 }
2121 {
2122 if (temp2)
2123 delete arg2;
2124 }
2125 return resultobj;
2126 fail:
2127 {
2128 if (temp1)
2129 delete arg1;
2130 }
2131 {
2132 if (temp2)
2133 delete arg2;
2134 }
2135 return NULL;
2136}
2137
2138
c32bde28 2139static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2140 PyObject *resultobj;
2141 wxString *arg1 = 0 ;
2142 int arg2 ;
ae8162c8 2143 bool temp1 = false ;
d55e5bfc
RD
2144 PyObject * obj0 = 0 ;
2145 PyObject * obj1 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "name",(char *) "value", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2151 {
2152 arg1 = wxString_in_helper(obj0);
2153 if (arg1 == NULL) SWIG_fail;
ae8162c8 2154 temp1 = true;
d55e5bfc 2155 }
c32bde28 2156 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2157 if (PyErr_Occurred()) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 Py_INCREF(Py_None); resultobj = Py_None;
2166 {
2167 if (temp1)
2168 delete arg1;
2169 }
2170 return resultobj;
2171 fail:
2172 {
2173 if (temp1)
2174 delete arg1;
2175 }
2176 return NULL;
2177}
2178
2179
c32bde28 2180static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2181 PyObject *resultobj;
2182 wxString *arg1 = 0 ;
2183 wxString result;
ae8162c8 2184 bool temp1 = false ;
d55e5bfc
RD
2185 PyObject * obj0 = 0 ;
2186 char *kwnames[] = {
2187 (char *) "name", NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
2191 {
2192 arg1 = wxString_in_helper(obj0);
2193 if (arg1 == NULL) SWIG_fail;
ae8162c8 2194 temp1 = true;
d55e5bfc
RD
2195 }
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = wxSystemOptions::GetOption((wxString const &)*arg1);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 {
2204#if wxUSE_UNICODE
2205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2206#else
2207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2208#endif
2209 }
2210 {
2211 if (temp1)
2212 delete arg1;
2213 }
2214 return resultobj;
2215 fail:
2216 {
2217 if (temp1)
2218 delete arg1;
2219 }
2220 return NULL;
2221}
2222
2223
c32bde28 2224static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2225 PyObject *resultobj;
2226 wxString *arg1 = 0 ;
2227 int result;
ae8162c8 2228 bool temp1 = false ;
d55e5bfc
RD
2229 PyObject * obj0 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "name", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
2235 {
2236 arg1 = wxString_in_helper(obj0);
2237 if (arg1 == NULL) SWIG_fail;
ae8162c8 2238 temp1 = true;
d55e5bfc
RD
2239 }
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
c32bde28 2247 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2248 {
2249 if (temp1)
2250 delete arg1;
2251 }
2252 return resultobj;
2253 fail:
2254 {
2255 if (temp1)
2256 delete arg1;
2257 }
2258 return NULL;
2259}
2260
2261
c32bde28 2262static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2263 PyObject *resultobj;
2264 wxString *arg1 = 0 ;
2265 bool result;
ae8162c8 2266 bool temp1 = false ;
d55e5bfc
RD
2267 PyObject * obj0 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "name", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2273 {
2274 arg1 = wxString_in_helper(obj0);
2275 if (arg1 == NULL) SWIG_fail;
ae8162c8 2276 temp1 = true;
d55e5bfc
RD
2277 }
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 {
2286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2287 }
2288 {
2289 if (temp1)
2290 delete arg1;
2291 }
2292 return resultobj;
2293 fail:
2294 {
2295 if (temp1)
2296 delete arg1;
2297 }
2298 return NULL;
2299}
2300
2301
c32bde28 2302static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2303 PyObject *obj;
2304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2305 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2306 Py_INCREF(obj);
2307 return Py_BuildValue((char *)"");
2308}
c32bde28 2309static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
2310 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2311 return 1;
2312}
2313
2314
2315static PyObject *_wrap_FileSelectorPromptStr_get() {
2316 PyObject *pyobj;
2317
2318 {
2319#if wxUSE_UNICODE
2320 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2321#else
2322 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2323#endif
2324 }
2325 return pyobj;
2326}
2327
2328
c32bde28 2329static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
2330 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2331 return 1;
2332}
2333
2334
2335static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2336 PyObject *pyobj;
2337
2338 {
2339#if wxUSE_UNICODE
2340 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2341#else
2342 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2343#endif
2344 }
2345 return pyobj;
2346}
2347
2348
c32bde28 2349static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
2350 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2351 return 1;
2352}
2353
2354
2355static PyObject *_wrap_DirSelectorPromptStr_get() {
2356 PyObject *pyobj;
2357
2358 {
2359#if wxUSE_UNICODE
2360 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2361#else
2362 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2363#endif
2364 }
2365 return pyobj;
2366}
2367
2368
c32bde28 2369static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2370 PyObject *resultobj;
2371 long result;
2372 char *kwnames[] = {
2373 NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (long)wxNewId();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
c32bde28 2384 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
2385 return resultobj;
2386 fail:
2387 return NULL;
2388}
2389
2390
c32bde28 2391static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2392 PyObject *resultobj;
2393 long arg1 ;
2394 PyObject * obj0 = 0 ;
2395 char *kwnames[] = {
2396 (char *) "id", NULL
2397 };
2398
2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
c32bde28 2400 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
2401 if (PyErr_Occurred()) SWIG_fail;
2402 {
2403 PyThreadState* __tstate = wxPyBeginAllowThreads();
2404 wxRegisterId(arg1);
2405
2406 wxPyEndAllowThreads(__tstate);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 Py_INCREF(Py_None); resultobj = Py_None;
2410 return resultobj;
2411 fail:
2412 return NULL;
2413}
2414
2415
c32bde28 2416static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2417 PyObject *resultobj;
2418 long result;
2419 char *kwnames[] = {
2420 NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 result = (long)wxGetCurrentId();
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
c32bde28 2431 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
2432 return resultobj;
2433 fail:
2434 return NULL;
2435}
2436
2437
c32bde28 2438static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348
RD
2439 PyObject *resultobj;
2440 int arg1 ;
2441 bool result;
2442 PyObject * obj0 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "id", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
c32bde28 2448 arg1 = (int)SWIG_As_int(obj0);
d1f3a348
RD
2449 if (PyErr_Occurred()) SWIG_fail;
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 result = (bool)wxIsStockID(arg1);
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 {
2458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2459 }
2460 return resultobj;
2461 fail:
2462 return NULL;
2463}
2464
2465
c32bde28 2466static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348
RD
2467 PyObject *resultobj;
2468 int arg1 ;
2469 wxString *arg2 = 0 ;
2470 bool result;
ae8162c8 2471 bool temp2 = false ;
d1f3a348
RD
2472 PyObject * obj0 = 0 ;
2473 PyObject * obj1 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "id",(char *) "label", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
c32bde28 2479 arg1 = (int)SWIG_As_int(obj0);
d1f3a348
RD
2480 if (PyErr_Occurred()) SWIG_fail;
2481 {
2482 arg2 = wxString_in_helper(obj1);
2483 if (arg2 == NULL) SWIG_fail;
ae8162c8 2484 temp2 = true;
d1f3a348
RD
2485 }
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 {
2494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2495 }
2496 {
2497 if (temp2)
2498 delete arg2;
2499 }
2500 return resultobj;
2501 fail:
2502 {
2503 if (temp2)
2504 delete arg2;
2505 }
2506 return NULL;
2507}
2508
2509
c32bde28 2510static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348
RD
2511 PyObject *resultobj;
2512 int arg1 ;
2513 wxString result;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "id", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetStockLabel",kwnames,&obj0)) goto fail;
c32bde28 2520 arg1 = (int)SWIG_As_int(obj0);
d1f3a348
RD
2521 if (PyErr_Occurred()) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 result = wxGetStockLabel(arg1);
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 {
2530#if wxUSE_UNICODE
2531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2532#else
2533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2534#endif
2535 }
2536 return resultobj;
2537 fail:
2538 return NULL;
2539}
2540
2541
c32bde28 2542static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2543 PyObject *resultobj;
2544 char *kwnames[] = {
2545 NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2549 {
0439c23b 2550 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 wxBell();
2553
2554 wxPyEndAllowThreads(__tstate);
110da5b0 2555 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2556 }
2557 Py_INCREF(Py_None); resultobj = Py_None;
2558 return resultobj;
2559 fail:
2560 return NULL;
2561}
2562
2563
c32bde28 2564static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2565 PyObject *resultobj;
2566 char *kwnames[] = {
2567 NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2571 {
0439c23b 2572 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 wxEndBusyCursor();
2575
2576 wxPyEndAllowThreads(__tstate);
110da5b0 2577 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2578 }
2579 Py_INCREF(Py_None); resultobj = Py_None;
2580 return resultobj;
2581 fail:
2582 return NULL;
2583}
2584
2585
c32bde28 2586static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 2587 PyObject *resultobj;
ae8162c8 2588 bool arg1 = (bool) true ;
d55e5bfc
RD
2589 long result;
2590 PyObject * obj0 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "resetTimer", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2596 if (obj0) {
c32bde28 2597 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 result = (long)wxGetElapsedTime(arg1);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
c32bde28 2607 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
2608 return resultobj;
2609 fail:
2610 return NULL;
2611}
2612
2613
c32bde28 2614static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2615 PyObject *resultobj;
2616 int *arg1 = (int *) 0 ;
2617 int *arg2 = (int *) 0 ;
2618 int temp1 ;
c32bde28 2619 int res1 = 0 ;
d55e5bfc 2620 int temp2 ;
c32bde28 2621 int res2 = 0 ;
d55e5bfc
RD
2622 char *kwnames[] = {
2623 NULL
2624 };
2625
c32bde28
RD
2626 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2627 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2629 {
0439c23b 2630 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
2632 wxGetMousePosition(arg1,arg2);
2633
2634 wxPyEndAllowThreads(__tstate);
110da5b0 2635 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2636 }
2637 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2638 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2639 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2640 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2641 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2642 return resultobj;
2643 fail:
2644 return NULL;
2645}
2646
2647
c32bde28 2648static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2649 PyObject *resultobj;
2650 bool result;
2651 char *kwnames[] = {
2652 NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2656 {
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 result = (bool)wxIsBusy();
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 {
2664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2665 }
2666 return resultobj;
2667 fail:
2668 return NULL;
2669}
2670
2671
c32bde28 2672static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2673 PyObject *resultobj;
2674 wxString result;
2675 char *kwnames[] = {
2676 NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = wxNow();
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 {
2688#if wxUSE_UNICODE
2689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2690#else
2691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2692#endif
2693 }
2694 return resultobj;
2695 fail:
2696 return NULL;
2697}
2698
2699
c32bde28 2700static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2701 PyObject *resultobj;
2702 wxString const &arg1_defvalue = wxPyEmptyString ;
2703 wxString *arg1 = (wxString *) &arg1_defvalue ;
2704 bool result;
ae8162c8 2705 bool temp1 = false ;
d55e5bfc
RD
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "command", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2712 if (obj0) {
2713 {
2714 arg1 = wxString_in_helper(obj0);
2715 if (arg1 == NULL) SWIG_fail;
ae8162c8 2716 temp1 = true;
d55e5bfc
RD
2717 }
2718 }
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 result = (bool)wxShell((wxString const &)*arg1);
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 {
2727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2728 }
2729 {
2730 if (temp1)
2731 delete arg1;
2732 }
2733 return resultobj;
2734 fail:
2735 {
2736 if (temp1)
2737 delete arg1;
2738 }
2739 return NULL;
2740}
2741
2742
c32bde28 2743static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2744 PyObject *resultobj;
2745 char *kwnames[] = {
2746 NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 wxStartTimer();
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 return resultobj;
2759 fail:
2760 return NULL;
2761}
2762
2763
c32bde28 2764static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2765 PyObject *resultobj;
2766 int *arg1 = (int *) 0 ;
2767 int *arg2 = (int *) 0 ;
2768 int result;
2769 int temp1 ;
c32bde28 2770 int res1 = 0 ;
d55e5bfc 2771 int temp2 ;
c32bde28 2772 int res2 = 0 ;
d55e5bfc
RD
2773 char *kwnames[] = {
2774 NULL
2775 };
2776
c32bde28
RD
2777 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2778 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (int)wxGetOsVersion(arg1,arg2);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
c32bde28
RD
2787 resultobj = SWIG_From_int((int)result);
2788 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2789 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2790 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2791 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2792 return resultobj;
2793 fail:
2794 return NULL;
2795}
2796
2797
c32bde28 2798static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2799 PyObject *resultobj;
2800 wxString result;
2801 char *kwnames[] = {
2802 NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 result = wxGetOsDescription();
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 {
2814#if wxUSE_UNICODE
2815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2816#else
2817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2818#endif
2819 }
2820 return resultobj;
2821 fail:
2822 return NULL;
2823}
2824
2825
c32bde28 2826static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2827 PyObject *resultobj;
2828 long result;
2829 char *kwnames[] = {
2830 NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2834 {
2835 PyThreadState* __tstate = wxPyBeginAllowThreads();
2836 result = (long)wxGetFreeMemory();
2837
2838 wxPyEndAllowThreads(__tstate);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 }
c32bde28 2841 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
2842 return resultobj;
2843 fail:
2844 return NULL;
2845}
2846
2847
c32bde28 2848static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2849 PyObject *resultobj;
2850 int arg1 ;
2851 bool result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "wFlags", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
c32bde28 2858 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
2859 if (PyErr_Occurred()) SWIG_fail;
2860 {
0439c23b 2861 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2864
2865 wxPyEndAllowThreads(__tstate);
110da5b0 2866 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2867 }
2868 {
2869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2870 }
2871 return resultobj;
2872 fail:
2873 return NULL;
2874}
2875
2876
c32bde28 2877static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2878 PyObject *resultobj;
2879 int arg1 ;
2880 PyObject * obj0 = 0 ;
2881 char *kwnames[] = {
2882 (char *) "secs", NULL
2883 };
2884
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
c32bde28 2886 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
2887 if (PyErr_Occurred()) SWIG_fail;
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 wxSleep(arg1);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899}
2900
2901
c32bde28 2902static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2903 PyObject *resultobj;
2904 unsigned long arg1 ;
2905 PyObject * obj0 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "milliseconds", NULL
2908 };
2909
bf26d883 2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
c32bde28 2911 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
2912 if (PyErr_Occurred()) SWIG_fail;
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
bf26d883
RD
2915 wxMilliSleep(arg1);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 Py_INCREF(Py_None); resultobj = Py_None;
2921 return resultobj;
2922 fail:
2923 return NULL;
2924}
2925
2926
c32bde28 2927static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883
RD
2928 PyObject *resultobj;
2929 unsigned long arg1 ;
2930 PyObject * obj0 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "microseconds", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
c32bde28 2936 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
bf26d883
RD
2937 if (PyErr_Occurred()) SWIG_fail;
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 wxMicroSleep(arg1);
d55e5bfc
RD
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 Py_INCREF(Py_None); resultobj = Py_None;
2946 return resultobj;
2947 fail:
2948 return NULL;
2949}
2950
2951
c32bde28 2952static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2953 PyObject *resultobj;
2954 bool arg1 ;
2955 PyObject * obj0 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "enable", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
c32bde28 2961 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
2962 if (PyErr_Occurred()) SWIG_fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 wxEnableTopLevelWindows(arg1);
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 Py_INCREF(Py_None); resultobj = Py_None;
2971 return resultobj;
2972 fail:
2973 return NULL;
2974}
2975
2976
c32bde28 2977static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2978 PyObject *resultobj;
2979 wxString *arg1 = 0 ;
2980 wxString result;
ae8162c8 2981 bool temp1 = false ;
d55e5bfc
RD
2982 PyObject * obj0 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "in", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2988 {
2989 arg1 = wxString_in_helper(obj0);
2990 if (arg1 == NULL) SWIG_fail;
ae8162c8 2991 temp1 = true;
d55e5bfc
RD
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 result = wxStripMenuCodes((wxString const &)*arg1);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 {
3001#if wxUSE_UNICODE
3002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3003#else
3004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3005#endif
3006 }
3007 {
3008 if (temp1)
3009 delete arg1;
3010 }
3011 return resultobj;
3012 fail:
3013 {
3014 if (temp1)
3015 delete arg1;
3016 }
3017 return NULL;
3018}
3019
3020
c32bde28 3021static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3022 PyObject *resultobj;
3023 wxString result;
3024 char *kwnames[] = {
3025 NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = wxGetEmailAddress();
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 {
3037#if wxUSE_UNICODE
3038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3039#else
3040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3041#endif
3042 }
3043 return resultobj;
3044 fail:
3045 return NULL;
3046}
3047
3048
c32bde28 3049static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3050 PyObject *resultobj;
3051 wxString result;
3052 char *kwnames[] = {
3053 NULL
3054 };
3055
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 result = wxGetHostName();
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 {
3065#if wxUSE_UNICODE
3066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3067#else
3068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3069#endif
3070 }
3071 return resultobj;
3072 fail:
3073 return NULL;
3074}
3075
3076
c32bde28 3077static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3078 PyObject *resultobj;
3079 wxString result;
3080 char *kwnames[] = {
3081 NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = wxGetFullHostName();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093#if wxUSE_UNICODE
3094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3095#else
3096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3097#endif
3098 }
3099 return resultobj;
3100 fail:
3101 return NULL;
3102}
3103
3104
c32bde28 3105static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3106 PyObject *resultobj;
3107 wxString result;
3108 char *kwnames[] = {
3109 NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = wxGetUserId();
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 {
3121#if wxUSE_UNICODE
3122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3123#else
3124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3125#endif
3126 }
3127 return resultobj;
3128 fail:
3129 return NULL;
3130}
3131
3132
c32bde28 3133static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3134 PyObject *resultobj;
3135 wxString result;
3136 char *kwnames[] = {
3137 NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = wxGetUserName();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 {
3149#if wxUSE_UNICODE
3150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3151#else
3152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3153#endif
3154 }
3155 return resultobj;
3156 fail:
3157 return NULL;
3158}
3159
3160
c32bde28 3161static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3162 PyObject *resultobj;
3163 wxString result;
3164 char *kwnames[] = {
3165 NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = wxGetHomeDir();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177#if wxUSE_UNICODE
3178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3179#else
3180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3181#endif
3182 }
3183 return resultobj;
3184 fail:
3185 return NULL;
3186}
3187
3188
c32bde28 3189static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3190 PyObject *resultobj;
3191 wxString const &arg1_defvalue = wxPyEmptyString ;
3192 wxString *arg1 = (wxString *) &arg1_defvalue ;
3193 wxString result;
ae8162c8 3194 bool temp1 = false ;
d55e5bfc
RD
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "user", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
3201 if (obj0) {
3202 {
3203 arg1 = wxString_in_helper(obj0);
3204 if (arg1 == NULL) SWIG_fail;
ae8162c8 3205 temp1 = true;
d55e5bfc
RD
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = wxGetUserHome((wxString const &)*arg1);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 {
3216#if wxUSE_UNICODE
3217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3218#else
3219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3220#endif
3221 }
3222 {
3223 if (temp1)
3224 delete arg1;
3225 }
3226 return resultobj;
3227 fail:
3228 {
3229 if (temp1)
3230 delete arg1;
3231 }
3232 return NULL;
3233}
3234
3235
c32bde28 3236static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3237 PyObject *resultobj;
3238 unsigned long result;
3239 char *kwnames[] = {
3240 NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 result = (unsigned long)wxGetProcessId();
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
c32bde28 3251 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
3252 return resultobj;
3253 fail:
3254 return NULL;
3255}
3256
3257
c32bde28 3258static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3259 PyObject *resultobj;
3260 char *kwnames[] = {
3261 NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 wxTrap();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
c32bde28 3279static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3280 PyObject *resultobj;
3281 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
3282 wxString *arg1 = (wxString *) &arg1_defvalue ;
3283 wxString const &arg2_defvalue = wxPyEmptyString ;
3284 wxString *arg2 = (wxString *) &arg2_defvalue ;
3285 wxString const &arg3_defvalue = wxPyEmptyString ;
3286 wxString *arg3 = (wxString *) &arg3_defvalue ;
3287 wxString const &arg4_defvalue = wxPyEmptyString ;
3288 wxString *arg4 = (wxString *) &arg4_defvalue ;
3289 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
3290 wxString *arg5 = (wxString *) &arg5_defvalue ;
3291 int arg6 = (int) 0 ;
3292 wxWindow *arg7 = (wxWindow *) NULL ;
3293 int arg8 = (int) -1 ;
3294 int arg9 = (int) -1 ;
3295 wxString result;
ae8162c8
RD
3296 bool temp1 = false ;
3297 bool temp2 = false ;
3298 bool temp3 = false ;
3299 bool temp4 = false ;
3300 bool temp5 = false ;
d55e5bfc
RD
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 PyObject * obj2 = 0 ;
3304 PyObject * obj3 = 0 ;
3305 PyObject * obj4 = 0 ;
3306 PyObject * obj5 = 0 ;
3307 PyObject * obj6 = 0 ;
3308 PyObject * obj7 = 0 ;
3309 PyObject * obj8 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3315 if (obj0) {
3316 {
3317 arg1 = wxString_in_helper(obj0);
3318 if (arg1 == NULL) SWIG_fail;
ae8162c8 3319 temp1 = true;
d55e5bfc
RD
3320 }
3321 }
3322 if (obj1) {
3323 {
3324 arg2 = wxString_in_helper(obj1);
3325 if (arg2 == NULL) SWIG_fail;
ae8162c8 3326 temp2 = true;
d55e5bfc
RD
3327 }
3328 }
3329 if (obj2) {
3330 {
3331 arg3 = wxString_in_helper(obj2);
3332 if (arg3 == NULL) SWIG_fail;
ae8162c8 3333 temp3 = true;
d55e5bfc
RD
3334 }
3335 }
3336 if (obj3) {
3337 {
3338 arg4 = wxString_in_helper(obj3);
3339 if (arg4 == NULL) SWIG_fail;
ae8162c8 3340 temp4 = true;
d55e5bfc
RD
3341 }
3342 }
3343 if (obj4) {
3344 {
3345 arg5 = wxString_in_helper(obj4);
3346 if (arg5 == NULL) SWIG_fail;
ae8162c8 3347 temp5 = true;
d55e5bfc
RD
3348 }
3349 }
3350 if (obj5) {
c32bde28 3351 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 if (obj6) {
3355 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 }
3358 if (obj7) {
c32bde28 3359 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 if (obj8) {
c32bde28 3363 arg9 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
0439c23b 3367 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3370
3371 wxPyEndAllowThreads(__tstate);
110da5b0 3372 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3373 }
3374 {
3375#if wxUSE_UNICODE
3376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3377#else
3378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3379#endif
3380 }
3381 {
3382 if (temp1)
3383 delete arg1;
3384 }
3385 {
3386 if (temp2)
3387 delete arg2;
3388 }
3389 {
3390 if (temp3)
3391 delete arg3;
3392 }
3393 {
3394 if (temp4)
3395 delete arg4;
3396 }
3397 {
3398 if (temp5)
3399 delete arg5;
3400 }
3401 return resultobj;
3402 fail:
3403 {
3404 if (temp1)
3405 delete arg1;
3406 }
3407 {
3408 if (temp2)
3409 delete arg2;
3410 }
3411 {
3412 if (temp3)
3413 delete arg3;
3414 }
3415 {
3416 if (temp4)
3417 delete arg4;
3418 }
3419 {
3420 if (temp5)
3421 delete arg5;
3422 }
3423 return NULL;
3424}
3425
3426
c32bde28 3427static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3428 PyObject *resultobj;
3429 wxString *arg1 = 0 ;
3430 wxString *arg2 = 0 ;
3431 wxString const &arg3_defvalue = wxPyEmptyString ;
3432 wxString *arg3 = (wxString *) &arg3_defvalue ;
3433 wxWindow *arg4 = (wxWindow *) NULL ;
3434 wxString result;
ae8162c8
RD
3435 bool temp1 = false ;
3436 bool temp2 = false ;
3437 bool temp3 = false ;
d55e5bfc
RD
3438 PyObject * obj0 = 0 ;
3439 PyObject * obj1 = 0 ;
3440 PyObject * obj2 = 0 ;
3441 PyObject * obj3 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3447 {
3448 arg1 = wxString_in_helper(obj0);
3449 if (arg1 == NULL) SWIG_fail;
ae8162c8 3450 temp1 = true;
d55e5bfc
RD
3451 }
3452 {
3453 arg2 = wxString_in_helper(obj1);
3454 if (arg2 == NULL) SWIG_fail;
ae8162c8 3455 temp2 = true;
d55e5bfc
RD
3456 }
3457 if (obj2) {
3458 {
3459 arg3 = wxString_in_helper(obj2);
3460 if (arg3 == NULL) SWIG_fail;
ae8162c8 3461 temp3 = true;
d55e5bfc
RD
3462 }
3463 }
3464 if (obj3) {
3465 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 }
3468 {
0439c23b 3469 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3472
3473 wxPyEndAllowThreads(__tstate);
110da5b0 3474 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3475 }
3476 {
3477#if wxUSE_UNICODE
3478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3479#else
3480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3481#endif
3482 }
3483 {
3484 if (temp1)
3485 delete arg1;
3486 }
3487 {
3488 if (temp2)
3489 delete arg2;
3490 }
3491 {
3492 if (temp3)
3493 delete arg3;
3494 }
3495 return resultobj;
3496 fail:
3497 {
3498 if (temp1)
3499 delete arg1;
3500 }
3501 {
3502 if (temp2)
3503 delete arg2;
3504 }
3505 {
3506 if (temp3)
3507 delete arg3;
3508 }
3509 return NULL;
3510}
3511
3512
c32bde28 3513static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3514 PyObject *resultobj;
3515 wxString *arg1 = 0 ;
3516 wxString *arg2 = 0 ;
3517 wxString const &arg3_defvalue = wxPyEmptyString ;
3518 wxString *arg3 = (wxString *) &arg3_defvalue ;
3519 wxWindow *arg4 = (wxWindow *) NULL ;
3520 wxString result;
ae8162c8
RD
3521 bool temp1 = false ;
3522 bool temp2 = false ;
3523 bool temp3 = false ;
d55e5bfc
RD
3524 PyObject * obj0 = 0 ;
3525 PyObject * obj1 = 0 ;
3526 PyObject * obj2 = 0 ;
3527 PyObject * obj3 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3533 {
3534 arg1 = wxString_in_helper(obj0);
3535 if (arg1 == NULL) SWIG_fail;
ae8162c8 3536 temp1 = true;
d55e5bfc
RD
3537 }
3538 {
3539 arg2 = wxString_in_helper(obj1);
3540 if (arg2 == NULL) SWIG_fail;
ae8162c8 3541 temp2 = true;
d55e5bfc
RD
3542 }
3543 if (obj2) {
3544 {
3545 arg3 = wxString_in_helper(obj2);
3546 if (arg3 == NULL) SWIG_fail;
ae8162c8 3547 temp3 = true;
d55e5bfc
RD
3548 }
3549 }
3550 if (obj3) {
3551 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3553 }
3554 {
0439c23b 3555 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3558
3559 wxPyEndAllowThreads(__tstate);
110da5b0 3560 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3561 }
3562 {
3563#if wxUSE_UNICODE
3564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3565#else
3566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3567#endif
3568 }
3569 {
3570 if (temp1)
3571 delete arg1;
3572 }
3573 {
3574 if (temp2)
3575 delete arg2;
3576 }
3577 {
3578 if (temp3)
3579 delete arg3;
3580 }
3581 return resultobj;
3582 fail:
3583 {
3584 if (temp1)
3585 delete arg1;
3586 }
3587 {
3588 if (temp2)
3589 delete arg2;
3590 }
3591 {
3592 if (temp3)
3593 delete arg3;
3594 }
3595 return NULL;
3596}
3597
3598
c32bde28 3599static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3600 PyObject *resultobj;
3601 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3602 wxString *arg1 = (wxString *) &arg1_defvalue ;
3603 wxString const &arg2_defvalue = wxPyEmptyString ;
3604 wxString *arg2 = (wxString *) &arg2_defvalue ;
3605 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3608 wxWindow *arg5 = (wxWindow *) NULL ;
3609 wxString result;
ae8162c8
RD
3610 bool temp1 = false ;
3611 bool temp2 = false ;
d55e5bfc
RD
3612 wxPoint temp4 ;
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj1 = 0 ;
3615 PyObject * obj2 = 0 ;
3616 PyObject * obj3 = 0 ;
3617 PyObject * obj4 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3623 if (obj0) {
3624 {
3625 arg1 = wxString_in_helper(obj0);
3626 if (arg1 == NULL) SWIG_fail;
ae8162c8 3627 temp1 = true;
d55e5bfc
RD
3628 }
3629 }
3630 if (obj1) {
3631 {
3632 arg2 = wxString_in_helper(obj1);
3633 if (arg2 == NULL) SWIG_fail;
ae8162c8 3634 temp2 = true;
d55e5bfc
RD
3635 }
3636 }
3637 if (obj2) {
c32bde28 3638 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 if (obj3) {
3642 {
3643 arg4 = &temp4;
3644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3645 }
3646 }
3647 if (obj4) {
3648 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3650 }
3651 {
0439c23b 3652 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3655
3656 wxPyEndAllowThreads(__tstate);
110da5b0 3657 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3658 }
3659 {
3660#if wxUSE_UNICODE
3661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3662#else
3663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3664#endif
3665 }
3666 {
3667 if (temp1)
3668 delete arg1;
3669 }
3670 {
3671 if (temp2)
3672 delete arg2;
3673 }
3674 return resultobj;
3675 fail:
3676 {
3677 if (temp1)
3678 delete arg1;
3679 }
3680 {
3681 if (temp2)
3682 delete arg2;
3683 }
3684 return NULL;
3685}
3686
3687
c32bde28 3688static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3689 PyObject *resultobj;
3690 wxString *arg1 = 0 ;
3691 wxString const &arg2_defvalue = wxPyEmptyString ;
3692 wxString *arg2 = (wxString *) &arg2_defvalue ;
3693 wxString const &arg3_defvalue = wxPyEmptyString ;
3694 wxString *arg3 = (wxString *) &arg3_defvalue ;
3695 wxWindow *arg4 = (wxWindow *) NULL ;
3696 int arg5 = (int) -1 ;
3697 int arg6 = (int) -1 ;
ae8162c8 3698 bool arg7 = (bool) true ;
d55e5bfc 3699 wxString result;
ae8162c8
RD
3700 bool temp1 = false ;
3701 bool temp2 = false ;
3702 bool temp3 = false ;
d55e5bfc
RD
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 PyObject * obj2 = 0 ;
3706 PyObject * obj3 = 0 ;
3707 PyObject * obj4 = 0 ;
3708 PyObject * obj5 = 0 ;
3709 PyObject * obj6 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3715 {
3716 arg1 = wxString_in_helper(obj0);
3717 if (arg1 == NULL) SWIG_fail;
ae8162c8 3718 temp1 = true;
d55e5bfc
RD
3719 }
3720 if (obj1) {
3721 {
3722 arg2 = wxString_in_helper(obj1);
3723 if (arg2 == NULL) SWIG_fail;
ae8162c8 3724 temp2 = true;
d55e5bfc
RD
3725 }
3726 }
3727 if (obj2) {
3728 {
3729 arg3 = wxString_in_helper(obj2);
3730 if (arg3 == NULL) SWIG_fail;
ae8162c8 3731 temp3 = true;
d55e5bfc
RD
3732 }
3733 }
3734 if (obj3) {
3735 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 }
3738 if (obj4) {
c32bde28 3739 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 if (obj5) {
c32bde28 3743 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 if (obj6) {
c32bde28 3747 arg7 = (bool)SWIG_As_bool(obj6);
d55e5bfc
RD
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 {
0439c23b 3751 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3754
3755 wxPyEndAllowThreads(__tstate);
110da5b0 3756 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3757 }
3758 {
3759#if wxUSE_UNICODE
3760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3761#else
3762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3763#endif
3764 }
3765 {
3766 if (temp1)
3767 delete arg1;
3768 }
3769 {
3770 if (temp2)
3771 delete arg2;
3772 }
3773 {
3774 if (temp3)
3775 delete arg3;
3776 }
3777 return resultobj;
3778 fail:
3779 {
3780 if (temp1)
3781 delete arg1;
3782 }
3783 {
3784 if (temp2)
3785 delete arg2;
3786 }
3787 {
3788 if (temp3)
3789 delete arg3;
3790 }
3791 return NULL;
3792}
3793
3794
c32bde28 3795static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3796 PyObject *resultobj;
3797 wxString *arg1 = 0 ;
3798 wxString const &arg2_defvalue = wxPyEmptyString ;
3799 wxString *arg2 = (wxString *) &arg2_defvalue ;
3800 wxString const &arg3_defvalue = wxPyEmptyString ;
3801 wxString *arg3 = (wxString *) &arg3_defvalue ;
3802 wxWindow *arg4 = (wxWindow *) NULL ;
3803 wxString result;
ae8162c8
RD
3804 bool temp1 = false ;
3805 bool temp2 = false ;
3806 bool temp3 = false ;
d55e5bfc
RD
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 PyObject * obj2 = 0 ;
3810 PyObject * obj3 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3816 {
3817 arg1 = wxString_in_helper(obj0);
3818 if (arg1 == NULL) SWIG_fail;
ae8162c8 3819 temp1 = true;
d55e5bfc
RD
3820 }
3821 if (obj1) {
3822 {
3823 arg2 = wxString_in_helper(obj1);
3824 if (arg2 == NULL) SWIG_fail;
ae8162c8 3825 temp2 = true;
d55e5bfc
RD
3826 }
3827 }
3828 if (obj2) {
3829 {
3830 arg3 = wxString_in_helper(obj2);
3831 if (arg3 == NULL) SWIG_fail;
ae8162c8 3832 temp3 = true;
d55e5bfc
RD
3833 }
3834 }
3835 if (obj3) {
3836 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3838 }
3839 {
0439c23b 3840 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3843
3844 wxPyEndAllowThreads(__tstate);
110da5b0 3845 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3846 }
3847 {
3848#if wxUSE_UNICODE
3849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3850#else
3851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3852#endif
3853 }
3854 {
3855 if (temp1)
3856 delete arg1;
3857 }
3858 {
3859 if (temp2)
3860 delete arg2;
3861 }
3862 {
3863 if (temp3)
3864 delete arg3;
3865 }
3866 return resultobj;
3867 fail:
3868 {
3869 if (temp1)
3870 delete arg1;
3871 }
3872 {
3873 if (temp2)
3874 delete arg2;
3875 }
3876 {
3877 if (temp3)
3878 delete arg3;
3879 }
3880 return NULL;
3881}
3882
3883
c32bde28 3884static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3885 PyObject *resultobj;
3886 wxString *arg1 = 0 ;
3887 wxString *arg2 = 0 ;
3888 int arg3 ;
3889 wxString *arg4 = (wxString *) 0 ;
3890 wxWindow *arg5 = (wxWindow *) NULL ;
3891 int arg6 = (int) -1 ;
3892 int arg7 = (int) -1 ;
ae8162c8 3893 bool arg8 = (bool) true ;
d55e5bfc
RD
3894 int arg9 = (int) 150 ;
3895 int arg10 = (int) 200 ;
3896 wxString result;
ae8162c8
RD
3897 bool temp1 = false ;
3898 bool temp2 = false ;
d55e5bfc
RD
3899 PyObject * obj0 = 0 ;
3900 PyObject * obj1 = 0 ;
3901 PyObject * obj2 = 0 ;
3902 PyObject * obj3 = 0 ;
3903 PyObject * obj4 = 0 ;
3904 PyObject * obj5 = 0 ;
3905 PyObject * obj6 = 0 ;
3906 PyObject * obj7 = 0 ;
3907 PyObject * obj8 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3913 {
3914 arg1 = wxString_in_helper(obj0);
3915 if (arg1 == NULL) SWIG_fail;
ae8162c8 3916 temp1 = true;
d55e5bfc
RD
3917 }
3918 {
3919 arg2 = wxString_in_helper(obj1);
3920 if (arg2 == NULL) SWIG_fail;
ae8162c8 3921 temp2 = true;
d55e5bfc
RD
3922 }
3923 {
3924 arg3 = PyList_Size(obj2);
3925 arg4 = wxString_LIST_helper(obj2);
3926 if (arg4 == NULL) SWIG_fail;
3927 }
3928 if (obj3) {
3929 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3931 }
3932 if (obj4) {
c32bde28 3933 arg6 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 if (obj5) {
c32bde28 3937 arg7 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 if (obj6) {
c32bde28 3941 arg8 = (bool)SWIG_As_bool(obj6);
d55e5bfc
RD
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 if (obj7) {
c32bde28 3945 arg9 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 if (obj8) {
c32bde28 3949 arg10 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
0439c23b 3953 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3956
3957 wxPyEndAllowThreads(__tstate);
110da5b0 3958 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3959 }
3960 {
3961#if wxUSE_UNICODE
3962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3963#else
3964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3965#endif
3966 }
3967 {
3968 if (temp1)
3969 delete arg1;
3970 }
3971 {
3972 if (temp2)
3973 delete arg2;
3974 }
3975 {
3976 if (arg4) delete [] arg4;
3977 }
3978 return resultobj;
3979 fail:
3980 {
3981 if (temp1)
3982 delete arg1;
3983 }
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 {
3989 if (arg4) delete [] arg4;
3990 }
3991 return NULL;
3992}
3993
3994
c32bde28 3995static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3996 PyObject *resultobj;
3997 wxString *arg1 = 0 ;
3998 wxString *arg2 = 0 ;
3999 int arg3 ;
4000 wxString *arg4 = (wxString *) 0 ;
4001 wxWindow *arg5 = (wxWindow *) NULL ;
4002 int arg6 = (int) -1 ;
4003 int arg7 = (int) -1 ;
ae8162c8 4004 bool arg8 = (bool) true ;
d55e5bfc
RD
4005 int arg9 = (int) 150 ;
4006 int arg10 = (int) 200 ;
4007 int result;
ae8162c8
RD
4008 bool temp1 = false ;
4009 bool temp2 = false ;
d55e5bfc
RD
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4012 PyObject * obj2 = 0 ;
4013 PyObject * obj3 = 0 ;
4014 PyObject * obj4 = 0 ;
4015 PyObject * obj5 = 0 ;
4016 PyObject * obj6 = 0 ;
4017 PyObject * obj7 = 0 ;
4018 PyObject * obj8 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4024 {
4025 arg1 = wxString_in_helper(obj0);
4026 if (arg1 == NULL) SWIG_fail;
ae8162c8 4027 temp1 = true;
d55e5bfc
RD
4028 }
4029 {
4030 arg2 = wxString_in_helper(obj1);
4031 if (arg2 == NULL) SWIG_fail;
ae8162c8 4032 temp2 = true;
d55e5bfc
RD
4033 }
4034 {
4035 arg3 = PyList_Size(obj2);
4036 arg4 = wxString_LIST_helper(obj2);
4037 if (arg4 == NULL) SWIG_fail;
4038 }
4039 if (obj3) {
4040 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
4041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4042 }
4043 if (obj4) {
c32bde28 4044 arg6 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 if (obj5) {
c32bde28 4048 arg7 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 if (obj6) {
c32bde28 4052 arg8 = (bool)SWIG_As_bool(obj6);
d55e5bfc
RD
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 if (obj7) {
c32bde28 4056 arg9 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 if (obj8) {
c32bde28 4060 arg10 = (int)SWIG_As_int(obj8);
d55e5bfc
RD
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 {
0439c23b 4064 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
4067
4068 wxPyEndAllowThreads(__tstate);
110da5b0 4069 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4070 }
c32bde28 4071 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4072 {
4073 if (temp1)
4074 delete arg1;
4075 }
4076 {
4077 if (temp2)
4078 delete arg2;
4079 }
4080 {
4081 if (arg4) delete [] arg4;
4082 }
4083 return resultobj;
4084 fail:
4085 {
4086 if (temp1)
4087 delete arg1;
4088 }
4089 {
4090 if (temp2)
4091 delete arg2;
4092 }
4093 {
4094 if (arg4) delete [] arg4;
4095 }
4096 return NULL;
4097}
4098
4099
c32bde28 4100static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4101 PyObject *resultobj;
4102 wxString *arg1 = 0 ;
4103 wxString const &arg2_defvalue = wxPyEmptyString ;
4104 wxString *arg2 = (wxString *) &arg2_defvalue ;
4105 int arg3 = (int) wxOK|wxCENTRE ;
4106 wxWindow *arg4 = (wxWindow *) NULL ;
4107 int arg5 = (int) -1 ;
4108 int arg6 = (int) -1 ;
4109 int result;
ae8162c8
RD
4110 bool temp1 = false ;
4111 bool temp2 = false ;
d55e5bfc
RD
4112 PyObject * obj0 = 0 ;
4113 PyObject * obj1 = 0 ;
4114 PyObject * obj2 = 0 ;
4115 PyObject * obj3 = 0 ;
4116 PyObject * obj4 = 0 ;
4117 PyObject * obj5 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4123 {
4124 arg1 = wxString_in_helper(obj0);
4125 if (arg1 == NULL) SWIG_fail;
ae8162c8 4126 temp1 = true;
d55e5bfc
RD
4127 }
4128 if (obj1) {
4129 {
4130 arg2 = wxString_in_helper(obj1);
4131 if (arg2 == NULL) SWIG_fail;
ae8162c8 4132 temp2 = true;
d55e5bfc
RD
4133 }
4134 }
4135 if (obj2) {
c32bde28 4136 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 if (obj3) {
4140 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4142 }
4143 if (obj4) {
c32bde28 4144 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 if (obj5) {
c32bde28 4148 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 {
0439c23b 4152 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
4155
4156 wxPyEndAllowThreads(__tstate);
110da5b0 4157 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4158 }
c32bde28 4159 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4160 {
4161 if (temp1)
4162 delete arg1;
4163 }
4164 {
4165 if (temp2)
4166 delete arg2;
4167 }
4168 return resultobj;
4169 fail:
4170 {
4171 if (temp1)
4172 delete arg1;
4173 }
4174 {
4175 if (temp2)
4176 delete arg2;
4177 }
4178 return NULL;
4179}
4180
4181
c32bde28 4182static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4183 PyObject *resultobj;
4184 wxString *arg1 = 0 ;
4185 wxString *arg2 = 0 ;
4186 wxString *arg3 = 0 ;
4187 long arg4 ;
4188 long arg5 = (long) 0 ;
4189 long arg6 = (long) 100 ;
4190 wxWindow *arg7 = (wxWindow *) NULL ;
4191 wxPoint const &arg8_defvalue = wxDefaultPosition ;
4192 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
4193 long result;
ae8162c8
RD
4194 bool temp1 = false ;
4195 bool temp2 = false ;
4196 bool temp3 = false ;
d55e5bfc
RD
4197 wxPoint temp8 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 PyObject * obj2 = 0 ;
4201 PyObject * obj3 = 0 ;
4202 PyObject * obj4 = 0 ;
4203 PyObject * obj5 = 0 ;
4204 PyObject * obj6 = 0 ;
4205 PyObject * obj7 = 0 ;
4206 char *kwnames[] = {
4207 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4211 {
4212 arg1 = wxString_in_helper(obj0);
4213 if (arg1 == NULL) SWIG_fail;
ae8162c8 4214 temp1 = true;
d55e5bfc
RD
4215 }
4216 {
4217 arg2 = wxString_in_helper(obj1);
4218 if (arg2 == NULL) SWIG_fail;
ae8162c8 4219 temp2 = true;
d55e5bfc
RD
4220 }
4221 {
4222 arg3 = wxString_in_helper(obj2);
4223 if (arg3 == NULL) SWIG_fail;
ae8162c8 4224 temp3 = true;
d55e5bfc 4225 }
c32bde28 4226 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
4227 if (PyErr_Occurred()) SWIG_fail;
4228 if (obj4) {
c32bde28 4229 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 if (obj5) {
c32bde28 4233 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 if (obj6) {
4237 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
4238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4239 }
4240 if (obj7) {
4241 {
4242 arg8 = &temp8;
4243 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
4244 }
4245 }
4246 {
0439c23b 4247 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
4250
4251 wxPyEndAllowThreads(__tstate);
110da5b0 4252 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4253 }
c32bde28 4254 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
4255 {
4256 if (temp1)
4257 delete arg1;
4258 }
4259 {
4260 if (temp2)
4261 delete arg2;
4262 }
4263 {
4264 if (temp3)
4265 delete arg3;
4266 }
4267 return resultobj;
4268 fail:
4269 {
4270 if (temp1)
4271 delete arg1;
4272 }
4273 {
4274 if (temp2)
4275 delete arg2;
4276 }
4277 {
4278 if (temp3)
4279 delete arg3;
4280 }
4281 return NULL;
4282}
4283
4284
c32bde28 4285static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4286 PyObject *resultobj;
4287 bool result;
4288 char *kwnames[] = {
4289 NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
4293 {
0439c23b 4294 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 result = (bool)wxColourDisplay();
4297
4298 wxPyEndAllowThreads(__tstate);
110da5b0 4299 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4300 }
4301 {
4302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4303 }
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
c32bde28 4310static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4311 PyObject *resultobj;
4312 int result;
4313 char *kwnames[] = {
4314 NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
4318 {
0439c23b 4319 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (int)wxDisplayDepth();
4322
4323 wxPyEndAllowThreads(__tstate);
110da5b0 4324 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4325 }
c32bde28 4326 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
c32bde28 4333static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4334 PyObject *resultobj;
4335 int result;
4336 char *kwnames[] = {
4337 NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
4341 {
0439c23b 4342 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = (int)wxGetDisplayDepth();
4345
4346 wxPyEndAllowThreads(__tstate);
110da5b0 4347 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4348 }
c32bde28 4349 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4350 return resultobj;
4351 fail:
4352 return NULL;
4353}
4354
4355
c32bde28 4356static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4357 PyObject *resultobj;
4358 int *arg1 = (int *) 0 ;
4359 int *arg2 = (int *) 0 ;
4360 int temp1 ;
c32bde28 4361 int res1 = 0 ;
d55e5bfc 4362 int temp2 ;
c32bde28 4363 int res2 = 0 ;
d55e5bfc
RD
4364 char *kwnames[] = {
4365 NULL
4366 };
4367
c32bde28
RD
4368 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4369 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
4371 {
0439c23b 4372 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 wxDisplaySize(arg1,arg2);
4375
4376 wxPyEndAllowThreads(__tstate);
110da5b0 4377 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4378 }
4379 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4380 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4381 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4382 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4383 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
c32bde28 4390static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4391 PyObject *resultobj;
4392 wxSize result;
4393 char *kwnames[] = {
4394 NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4398 {
0439c23b 4399 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 result = wxGetDisplaySize();
4402
4403 wxPyEndAllowThreads(__tstate);
110da5b0 4404 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4405 }
4406 {
4407 wxSize * resultptr;
4408 resultptr = new wxSize((wxSize &) result);
4409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4410 }
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
c32bde28 4417static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4418 PyObject *resultobj;
4419 int *arg1 = (int *) 0 ;
4420 int *arg2 = (int *) 0 ;
4421 int temp1 ;
c32bde28 4422 int res1 = 0 ;
d55e5bfc 4423 int temp2 ;
c32bde28 4424 int res2 = 0 ;
d55e5bfc
RD
4425 char *kwnames[] = {
4426 NULL
4427 };
4428
c32bde28
RD
4429 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4430 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4432 {
0439c23b 4433 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 wxDisplaySizeMM(arg1,arg2);
4436
4437 wxPyEndAllowThreads(__tstate);
110da5b0 4438 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4439 }
4440 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4441 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4442 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4443 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4444 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
c32bde28 4451static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4452 PyObject *resultobj;
4453 wxSize result;
4454 char *kwnames[] = {
4455 NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4459 {
0439c23b 4460 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = wxGetDisplaySizeMM();
4463
4464 wxPyEndAllowThreads(__tstate);
110da5b0 4465 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4466 }
4467 {
4468 wxSize * resultptr;
4469 resultptr = new wxSize((wxSize &) result);
4470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475}
4476
4477
c32bde28 4478static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4479 PyObject *resultobj;
4480 int *arg1 = (int *) 0 ;
4481 int *arg2 = (int *) 0 ;
4482 int *arg3 = (int *) 0 ;
4483 int *arg4 = (int *) 0 ;
4484 int temp1 ;
c32bde28 4485 int res1 = 0 ;
d55e5bfc 4486 int temp2 ;
c32bde28 4487 int res2 = 0 ;
d55e5bfc 4488 int temp3 ;
c32bde28 4489 int res3 = 0 ;
d55e5bfc 4490 int temp4 ;
c32bde28 4491 int res4 = 0 ;
d55e5bfc
RD
4492 char *kwnames[] = {
4493 NULL
4494 };
4495
c32bde28
RD
4496 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4497 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4498 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4499 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4501 {
0439c23b 4502 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4505
4506 wxPyEndAllowThreads(__tstate);
110da5b0 4507 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4508 }
4509 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4510 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4511 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4512 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4513 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4514 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4515 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4516 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
4517 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4518 return resultobj;
4519 fail:
4520 return NULL;
4521}
4522
4523
c32bde28 4524static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4525 PyObject *resultobj;
4526 wxRect result;
4527 char *kwnames[] = {
4528 NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4532 {
0439c23b 4533 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = wxGetClientDisplayRect();
4536
4537 wxPyEndAllowThreads(__tstate);
110da5b0 4538 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4539 }
4540 {
4541 wxRect * resultptr;
4542 resultptr = new wxRect((wxRect &) result);
4543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4544 }
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
c32bde28 4551static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4552 PyObject *resultobj;
4553 wxCursor *arg1 = 0 ;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "cursor", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4561 SWIG_POINTER_EXCEPTION | 0)) == -1)
4562 SWIG_fail;
4563 if (arg1 == NULL) {
4564 PyErr_SetString(PyExc_TypeError,"null reference");
4565 SWIG_fail;
4566 }
4567 {
0439c23b 4568 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 wxSetCursor(*arg1);
4571
4572 wxPyEndAllowThreads(__tstate);
110da5b0 4573 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579}
4580
4581
c32bde28 4582static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4583 PyObject *resultobj;
4584 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "cursor", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4591 if (obj0) {
4592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4594 }
4595 {
0439c23b 4596 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 wxBeginBusyCursor(arg1);
4599
4600 wxPyEndAllowThreads(__tstate);
110da5b0 4601 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607}
4608
4609
c32bde28 4610static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4611 PyObject *resultobj;
4612 wxWindow *result;
4613 char *kwnames[] = {
4614 NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4618 {
0439c23b 4619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (wxWindow *)wxGetActiveWindow();
4622
4623 wxPyEndAllowThreads(__tstate);
110da5b0 4624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4625 }
4626 {
412d302d 4627 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4628 }
4629 return resultobj;
4630 fail:
4631 return NULL;
4632}
4633
4634
c32bde28 4635static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4636 PyObject *resultobj;
4637 wxPoint *arg1 = 0 ;
4638 wxWindow *result;
4639 wxPoint temp1 ;
4640 PyObject * obj0 = 0 ;
4641 char *kwnames[] = {
4642 (char *) "pt", NULL
4643 };
4644
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4646 {
4647 arg1 = &temp1;
4648 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4649 }
4650 {
0439c23b 4651 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4654
4655 wxPyEndAllowThreads(__tstate);
110da5b0 4656 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4657 }
4658 {
412d302d 4659 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
c32bde28 4667static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4668 PyObject *resultobj;
4669 wxPoint *arg1 = 0 ;
4670 wxWindow *result;
4671 wxPoint temp1 ;
4672 PyObject * obj0 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "pt", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4678 {
4679 arg1 = &temp1;
4680 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4681 }
4682 {
0439c23b 4683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4686
4687 wxPyEndAllowThreads(__tstate);
110da5b0 4688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4689 }
4690 {
412d302d 4691 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4692 }
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
c32bde28 4699static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4700 PyObject *resultobj;
4701 wxWindow *arg1 = (wxWindow *) 0 ;
4702 wxWindow *result;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "win", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 {
0439c23b 4712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (wxWindow *)wxGetTopLevelParent(arg1);
4715
4716 wxPyEndAllowThreads(__tstate);
110da5b0 4717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4718 }
4719 {
412d302d 4720 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4721 }
4722 return resultobj;
4723 fail:
4724 return NULL;
4725}
4726
4727
c32bde28 4728static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4729 PyObject *resultobj;
4730 int arg1 ;
4731 bool result;
4732 PyObject * obj0 = 0 ;
4733 char *kwnames[] = {
4734 (char *) "key", NULL
4735 };
4736
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
c32bde28 4738 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
4739 if (PyErr_Occurred()) SWIG_fail;
4740 {
0439c23b 4741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4744
4745 wxPyEndAllowThreads(__tstate);
110da5b0 4746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4747 }
4748 {
4749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4750 }
4751 return resultobj;
4752 fail:
4753 return NULL;
4754}
4755
4756
c32bde28 4757static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4758 PyObject *resultobj;
4759 char *kwnames[] = {
4760 NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4764 {
0439c23b 4765 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 wxWakeUpMainThread();
4768
4769 wxPyEndAllowThreads(__tstate);
110da5b0 4770 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4771 }
4772 Py_INCREF(Py_None); resultobj = Py_None;
4773 return resultobj;
4774 fail:
4775 return NULL;
4776}
4777
4778
c32bde28 4779static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4780 PyObject *resultobj;
4781 char *kwnames[] = {
4782 NULL
4783 };
4784
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4786 {
0439c23b 4787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 wxMutexGuiEnter();
4790
4791 wxPyEndAllowThreads(__tstate);
110da5b0 4792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4793 }
4794 Py_INCREF(Py_None); resultobj = Py_None;
4795 return resultobj;
4796 fail:
4797 return NULL;
4798}
4799
4800
c32bde28 4801static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4802 PyObject *resultobj;
4803 char *kwnames[] = {
4804 NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4808 {
0439c23b 4809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 wxMutexGuiLeave();
4812
4813 wxPyEndAllowThreads(__tstate);
110da5b0 4814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 return resultobj;
4818 fail:
4819 return NULL;
4820}
4821
4822
c32bde28 4823static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4824 PyObject *resultobj;
4825 wxMutexGuiLocker *result;
4826 char *kwnames[] = {
4827 NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4831 {
0439c23b 4832 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4835
4836 wxPyEndAllowThreads(__tstate);
110da5b0 4837 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4838 }
4839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4840 return resultobj;
4841 fail:
4842 return NULL;
4843}
4844
4845
c32bde28 4846static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4847 PyObject *resultobj;
4848 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 delete arg1;
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
c32bde28 4871static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4872 PyObject *obj;
4873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4874 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4875 Py_INCREF(obj);
4876 return Py_BuildValue((char *)"");
4877}
c32bde28 4878static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4879 PyObject *resultobj;
4880 bool result;
4881 char *kwnames[] = {
4882 NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (bool)wxThread_IsMain();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 {
4894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4895 }
4896 return resultobj;
4897 fail:
4898 return NULL;
4899}
4900
4901
c32bde28 4902static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4903 PyObject *resultobj;
4904 wxString *arg1 = 0 ;
4905 wxToolTip *result;
ae8162c8 4906 bool temp1 = false ;
d55e5bfc
RD
4907 PyObject * obj0 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "tip", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4913 {
4914 arg1 = wxString_in_helper(obj0);
4915 if (arg1 == NULL) SWIG_fail;
ae8162c8 4916 temp1 = true;
d55e5bfc
RD
4917 }
4918 {
0439c23b 4919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4922
4923 wxPyEndAllowThreads(__tstate);
110da5b0 4924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4925 }
4926 {
412d302d 4927 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
4928 }
4929 {
4930 if (temp1)
4931 delete arg1;
4932 }
4933 return resultobj;
4934 fail:
4935 {
4936 if (temp1)
4937 delete arg1;
4938 }
4939 return NULL;
4940}
4941
4942
c32bde28 4943static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4944 PyObject *resultobj;
4945 wxToolTip *arg1 = (wxToolTip *) 0 ;
4946 wxString *arg2 = 0 ;
ae8162c8 4947 bool temp2 = false ;
d55e5bfc
RD
4948 PyObject * obj0 = 0 ;
4949 PyObject * obj1 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self",(char *) "tip", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4957 {
4958 arg2 = wxString_in_helper(obj1);
4959 if (arg2 == NULL) SWIG_fail;
ae8162c8 4960 temp2 = true;
d55e5bfc
RD
4961 }
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 (arg1)->SetTip((wxString const &)*arg2);
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 Py_INCREF(Py_None); resultobj = Py_None;
4970 {
4971 if (temp2)
4972 delete arg2;
4973 }
4974 return resultobj;
4975 fail:
4976 {
4977 if (temp2)
4978 delete arg2;
4979 }
4980 return NULL;
4981}
4982
4983
c32bde28 4984static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4985 PyObject *resultobj;
4986 wxToolTip *arg1 = (wxToolTip *) 0 ;
4987 wxString result;
4988 PyObject * obj0 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 result = (arg1)->GetTip();
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 {
5004#if wxUSE_UNICODE
5005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5006#else
5007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5008#endif
5009 }
5010 return resultobj;
5011 fail:
5012 return NULL;
5013}
5014
5015
c32bde28 5016static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5017 PyObject *resultobj;
5018 wxToolTip *arg1 = (wxToolTip *) 0 ;
5019 wxWindow *result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (wxWindow *)(arg1)->GetWindow();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 {
412d302d 5036 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
c32bde28 5044static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5045 PyObject *resultobj;
5046 bool arg1 ;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "flag", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
c32bde28 5053 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
5054 if (PyErr_Occurred()) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 wxToolTip::Enable(arg1);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
c32bde28 5069static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5070 PyObject *resultobj;
5071 long arg1 ;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "milliseconds", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
c32bde28 5078 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
5079 if (PyErr_Occurred()) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 wxToolTip::SetDelay(arg1);
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 Py_INCREF(Py_None); resultobj = Py_None;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091}
5092
5093
c32bde28 5094static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5095 PyObject *obj;
5096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
5098 Py_INCREF(obj);
5099 return Py_BuildValue((char *)"");
5100}
c32bde28 5101static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5102 PyObject *resultobj;
5103 wxWindow *arg1 = (wxWindow *) 0 ;
5104 wxSize *arg2 = 0 ;
5105 wxCaret *result;
5106 wxSize temp2 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "window",(char *) "size", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5116 {
5117 arg2 = &temp2;
5118 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5119 }
5120 {
0439c23b 5121 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
5124
5125 wxPyEndAllowThreads(__tstate);
110da5b0 5126 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5127 }
5128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
c32bde28 5135static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5136 PyObject *resultobj;
5137 wxCaret *arg1 = (wxCaret *) 0 ;
5138 PyObject * obj0 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
5144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 delete arg1;
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 Py_INCREF(Py_None); resultobj = Py_None;
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
c32bde28 5160static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5161 PyObject *resultobj;
5162 wxCaret *arg1 = (wxCaret *) 0 ;
5163 bool result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (bool)(arg1)->IsOk();
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5181 }
5182 return resultobj;
5183 fail:
5184 return NULL;
5185}
5186
5187
c32bde28 5188static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5189 PyObject *resultobj;
5190 wxCaret *arg1 = (wxCaret *) 0 ;
5191 bool result;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (bool)(arg1)->IsVisible();
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5209 }
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
c32bde28 5216static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5217 PyObject *resultobj;
5218 wxCaret *arg1 = (wxCaret *) 0 ;
5219 wxPoint result;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (arg1)->GetPosition();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 wxPoint * resultptr;
5237 resultptr = new wxPoint((wxPoint &) result);
5238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5239 }
5240 return resultobj;
5241 fail:
5242 return NULL;
5243}
5244
5245
c32bde28 5246static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5247 PyObject *resultobj;
5248 wxCaret *arg1 = (wxCaret *) 0 ;
5249 int *arg2 = (int *) 0 ;
5250 int *arg3 = (int *) 0 ;
5251 int temp2 ;
c32bde28 5252 int res2 = 0 ;
d55e5bfc 5253 int temp3 ;
c32bde28 5254 int res3 = 0 ;
d55e5bfc
RD
5255 PyObject * obj0 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "self", NULL
5258 };
5259
c32bde28
RD
5260 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5261 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
5263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 (arg1)->GetPosition(arg2,arg3);
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5273 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5274 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5275 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5276 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5277 return resultobj;
5278 fail:
5279 return NULL;
5280}
5281
5282
c32bde28 5283static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5284 PyObject *resultobj;
5285 wxCaret *arg1 = (wxCaret *) 0 ;
5286 wxSize result;
5287 PyObject * obj0 = 0 ;
5288 char *kwnames[] = {
5289 (char *) "self", NULL
5290 };
5291
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
5293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 result = (arg1)->GetSize();
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 {
5303 wxSize * resultptr;
5304 resultptr = new wxSize((wxSize &) result);
5305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5306 }
5307 return resultobj;
5308 fail:
5309 return NULL;
5310}
5311
5312
c32bde28 5313static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5314 PyObject *resultobj;
5315 wxCaret *arg1 = (wxCaret *) 0 ;
5316 int *arg2 = (int *) 0 ;
5317 int *arg3 = (int *) 0 ;
5318 int temp2 ;
c32bde28 5319 int res2 = 0 ;
d55e5bfc 5320 int temp3 ;
c32bde28 5321 int res3 = 0 ;
d55e5bfc
RD
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self", NULL
5325 };
5326
c32bde28
RD
5327 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5328 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
5330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->GetSize(arg2,arg3);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5340 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5341 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5342 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5343 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5344 return resultobj;
5345 fail:
5346 return NULL;
5347}
5348
5349
c32bde28 5350static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5351 PyObject *resultobj;
5352 wxCaret *arg1 = (wxCaret *) 0 ;
5353 wxWindow *result;
5354 PyObject * obj0 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (wxWindow *)(arg1)->GetWindow();
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
412d302d 5370 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5371 }
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
c32bde28 5378static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5379 PyObject *resultobj;
5380 wxCaret *arg1 = (wxCaret *) 0 ;
5381 int arg2 ;
5382 int arg3 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 PyObject * obj2 = 0 ;
5386 char *kwnames[] = {
5387 (char *) "self",(char *) "x",(char *) "y", NULL
5388 };
5389
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5393 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 5394 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5395 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5396 if (PyErr_Occurred()) SWIG_fail;
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 (arg1)->Move(arg2,arg3);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 Py_INCREF(Py_None); resultobj = Py_None;
5405 return resultobj;
5406 fail:
5407 return NULL;
5408}
5409
5410
c32bde28 5411static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5412 PyObject *resultobj;
5413 wxCaret *arg1 = (wxCaret *) 0 ;
5414 wxPoint *arg2 = 0 ;
5415 wxPoint temp2 ;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "pt", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5425 {
5426 arg2 = &temp2;
5427 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Move((wxPoint const &)*arg2);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 Py_INCREF(Py_None); resultobj = Py_None;
5437 return resultobj;
5438 fail:
5439 return NULL;
5440}
5441
5442
c32bde28 5443static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5444 PyObject *resultobj;
5445 wxCaret *arg1 = (wxCaret *) 0 ;
5446 int arg2 ;
5447 int arg3 ;
5448 PyObject * obj0 = 0 ;
5449 PyObject * obj1 = 0 ;
5450 PyObject * obj2 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "width",(char *) "height", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5458 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 5459 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5460 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5461 if (PyErr_Occurred()) SWIG_fail;
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 (arg1)->SetSize(arg2,arg3);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 Py_INCREF(Py_None); resultobj = Py_None;
5470 return resultobj;
5471 fail:
5472 return NULL;
5473}
5474
5475
c32bde28 5476static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5477 PyObject *resultobj;
5478 wxCaret *arg1 = (wxCaret *) 0 ;
5479 wxSize *arg2 = 0 ;
5480 wxSize temp2 ;
5481 PyObject * obj0 = 0 ;
5482 PyObject * obj1 = 0 ;
5483 char *kwnames[] = {
5484 (char *) "self",(char *) "size", NULL
5485 };
5486
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5490 {
5491 arg2 = &temp2;
5492 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 (arg1)->SetSize((wxSize const &)*arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 Py_INCREF(Py_None); resultobj = Py_None;
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
c32bde28 5508static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5509 PyObject *resultobj;
5510 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 5511 int arg2 = (int) true ;
d55e5bfc
RD
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 char *kwnames[] = {
5515 (char *) "self",(char *) "show", NULL
5516 };
5517
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5521 if (obj1) {
c32bde28 5522 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 (arg1)->Show(arg2);
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 Py_INCREF(Py_None); resultobj = Py_None;
5533 return resultobj;
5534 fail:
5535 return NULL;
5536}
5537
5538
c32bde28 5539static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5540 PyObject *resultobj;
5541 wxCaret *arg1 = (wxCaret *) 0 ;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 (arg1)->Hide();
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 Py_INCREF(Py_None); resultobj = Py_None;
5558 return resultobj;
5559 fail:
5560 return NULL;
5561}
5562
5563
c32bde28 5564static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5565 PyObject *obj;
5566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5567 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5568 Py_INCREF(obj);
5569 return Py_BuildValue((char *)"");
5570}
c32bde28 5571static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5572 PyObject *resultobj;
5573 int result;
5574 char *kwnames[] = {
5575 NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = (int)wxCaret_GetBlinkTime();
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
c32bde28 5586 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5587 return resultobj;
5588 fail:
5589 return NULL;
5590}
5591
5592
c32bde28 5593static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5594 PyObject *resultobj;
5595 int arg1 ;
5596 PyObject * obj0 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "milliseconds", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
c32bde28 5602 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
5603 if (PyErr_Occurred()) SWIG_fail;
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 wxCaret_SetBlinkTime(arg1);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 Py_INCREF(Py_None); resultobj = Py_None;
5612 return resultobj;
5613 fail:
5614 return NULL;
5615}
5616
5617
c32bde28 5618static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5619 PyObject *resultobj;
5620 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5621 wxBusyCursor *result;
5622 PyObject * obj0 = 0 ;
5623 char *kwnames[] = {
5624 (char *) "cursor", NULL
5625 };
5626
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5628 if (obj0) {
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5631 }
5632 {
0439c23b 5633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5636
5637 wxPyEndAllowThreads(__tstate);
110da5b0 5638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5639 }
5640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
c32bde28 5647static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5648 PyObject *resultobj;
5649 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5650 PyObject * obj0 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 delete arg1;
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 Py_INCREF(Py_None); resultobj = Py_None;
5666 return resultobj;
5667 fail:
5668 return NULL;
5669}
5670
5671
c32bde28 5672static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5673 PyObject *obj;
5674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5675 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5676 Py_INCREF(obj);
5677 return Py_BuildValue((char *)"");
5678}
c32bde28 5679static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5680 PyObject *resultobj;
5681 wxWindow *arg1 = (wxWindow *) NULL ;
5682 wxWindowDisabler *result;
5683 PyObject * obj0 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "winToSkip", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5689 if (obj0) {
5690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5692 }
5693 {
0439c23b 5694 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5697
5698 wxPyEndAllowThreads(__tstate);
110da5b0 5699 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5700 }
5701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5702 return resultobj;
5703 fail:
5704 return NULL;
5705}
5706
5707
c32bde28 5708static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5709 PyObject *resultobj;
5710 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5711 PyObject * obj0 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 delete arg1;
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 Py_INCREF(Py_None); resultobj = Py_None;
5727 return resultobj;
5728 fail:
5729 return NULL;
5730}
5731
5732
c32bde28 5733static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5734 PyObject *obj;
5735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5736 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5737 Py_INCREF(obj);
5738 return Py_BuildValue((char *)"");
5739}
c32bde28 5740static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5741 PyObject *resultobj;
5742 wxString *arg1 = 0 ;
5743 wxBusyInfo *result;
ae8162c8 5744 bool temp1 = false ;
d55e5bfc
RD
5745 PyObject * obj0 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "message", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5751 {
5752 arg1 = wxString_in_helper(obj0);
5753 if (arg1 == NULL) SWIG_fail;
ae8162c8 5754 temp1 = true;
d55e5bfc
RD
5755 }
5756 {
0439c23b 5757 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5760
5761 wxPyEndAllowThreads(__tstate);
110da5b0 5762 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5763 }
5764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5765 {
5766 if (temp1)
5767 delete arg1;
5768 }
5769 return resultobj;
5770 fail:
5771 {
5772 if (temp1)
5773 delete arg1;
5774 }
5775 return NULL;
5776}
5777
5778
c32bde28 5779static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5780 PyObject *resultobj;
5781 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 delete arg1;
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
c32bde28 5804static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5805 PyObject *obj;
5806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5807 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5808 Py_INCREF(obj);
5809 return Py_BuildValue((char *)"");
5810}
c32bde28 5811static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5812 PyObject *resultobj;
5813 wxStopWatch *result;
5814 char *kwnames[] = {
5815 NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (wxStopWatch *)new wxStopWatch();
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
c32bde28 5833static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5834 PyObject *resultobj;
5835 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5836 long arg2 = (long) 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "t0", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5846 if (obj1) {
c32bde28 5847 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 (arg1)->Start(arg2);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
c32bde28 5864static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5865 PyObject *resultobj;
5866 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 (arg1)->Pause();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 Py_INCREF(Py_None); resultobj = Py_None;
5883 return resultobj;
5884 fail:
5885 return NULL;
5886}
5887
5888
c32bde28 5889static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5890 PyObject *resultobj;
5891 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5892 PyObject * obj0 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->Resume();
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 return resultobj;
5909 fail:
5910 return NULL;
5911}
5912
5913
c32bde28 5914static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5915 PyObject *resultobj;
5916 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5917 long result;
5918 PyObject * obj0 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (long)((wxStopWatch const *)arg1)->Time();
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
c32bde28 5933 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
5934 return resultobj;
5935 fail:
5936 return NULL;
5937}
5938
5939
c32bde28 5940static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5941 PyObject *obj;
5942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5944 Py_INCREF(obj);
5945 return Py_BuildValue((char *)"");
5946}
c32bde28 5947static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5948 PyObject *resultobj;
5949 int arg1 = (int) 9 ;
4cf4100f 5950 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
5951 wxFileHistory *result;
5952 PyObject * obj0 = 0 ;
4cf4100f 5953 PyObject * obj1 = 0 ;
d55e5bfc 5954 char *kwnames[] = {
4cf4100f 5955 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
5956 };
5957
4cf4100f 5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 5959 if (obj0) {
c32bde28 5960 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
4cf4100f 5963 if (obj1) {
c32bde28 5964 arg2 = (int)SWIG_As_int(obj1);
4cf4100f
RD
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
d55e5bfc
RD
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 5969 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5975 return resultobj;
5976 fail:
5977 return NULL;
5978}
5979
5980
c32bde28 5981static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5982 PyObject *resultobj;
5983 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 delete arg1;
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 Py_INCREF(Py_None); resultobj = Py_None;
6000 return resultobj;
6001 fail:
6002 return NULL;
6003}
6004
6005
c32bde28 6006static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6007 PyObject *resultobj;
6008 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6009 wxString *arg2 = 0 ;
ae8162c8 6010 bool temp2 = false ;
d55e5bfc
RD
6011 PyObject * obj0 = 0 ;
6012 PyObject * obj1 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self",(char *) "file", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6020 {
6021 arg2 = wxString_in_helper(obj1);
6022 if (arg2 == NULL) SWIG_fail;
ae8162c8 6023 temp2 = true;
d55e5bfc
RD
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->AddFileToHistory((wxString const &)*arg2);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 Py_INCREF(Py_None); resultobj = Py_None;
6033 {
6034 if (temp2)
6035 delete arg2;
6036 }
6037 return resultobj;
6038 fail:
6039 {
6040 if (temp2)
6041 delete arg2;
6042 }
6043 return NULL;
6044}
6045
6046
c32bde28 6047static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6048 PyObject *resultobj;
6049 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6050 int arg2 ;
6051 PyObject * obj0 = 0 ;
6052 PyObject * obj1 = 0 ;
6053 char *kwnames[] = {
6054 (char *) "self",(char *) "i", NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
6058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6060 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6061 if (PyErr_Occurred()) SWIG_fail;
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->RemoveFileFromHistory(arg2);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 Py_INCREF(Py_None); resultobj = Py_None;
6070 return resultobj;
6071 fail:
6072 return NULL;
6073}
6074
6075
c32bde28 6076static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6077 PyObject *resultobj;
6078 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6079 int result;
6080 PyObject * obj0 = 0 ;
6081 char *kwnames[] = {
6082 (char *) "self", NULL
6083 };
6084
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
6086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
c32bde28 6095 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6096 return resultobj;
6097 fail:
6098 return NULL;
6099}
6100
6101
c32bde28 6102static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6103 PyObject *resultobj;
6104 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6105 wxMenu *arg2 = (wxMenu *) 0 ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self",(char *) "menu", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->UseMenu(arg2);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 Py_INCREF(Py_None); resultobj = Py_None;
6125 return resultobj;
6126 fail:
6127 return NULL;
6128}
6129
6130
c32bde28 6131static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6132 PyObject *resultobj;
6133 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6134 wxMenu *arg2 = (wxMenu *) 0 ;
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self",(char *) "menu", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 (arg1)->RemoveMenu(arg2);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 Py_INCREF(Py_None); resultobj = Py_None;
6154 return resultobj;
6155 fail:
6156 return NULL;
6157}
6158
6159
c32bde28 6160static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6161 PyObject *resultobj;
6162 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6163 wxConfigBase *arg2 = 0 ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "self",(char *) "config", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
6171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6174 SWIG_POINTER_EXCEPTION | 0)) == -1)
6175 SWIG_fail;
6176 if (arg2 == NULL) {
6177 PyErr_SetString(PyExc_TypeError,"null reference");
6178 SWIG_fail;
6179 }
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 (arg1)->Load(*arg2);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 Py_INCREF(Py_None); resultobj = Py_None;
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
c32bde28 6194static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6195 PyObject *resultobj;
6196 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6197 wxConfigBase *arg2 = 0 ;
6198 PyObject * obj0 = 0 ;
6199 PyObject * obj1 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "config", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6208 SWIG_POINTER_EXCEPTION | 0)) == -1)
6209 SWIG_fail;
6210 if (arg2 == NULL) {
6211 PyErr_SetString(PyExc_TypeError,"null reference");
6212 SWIG_fail;
6213 }
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->Save(*arg2);
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 Py_INCREF(Py_None); resultobj = Py_None;
6222 return resultobj;
6223 fail:
6224 return NULL;
6225}
6226
6227
c32bde28 6228static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6229 PyObject *resultobj;
6230 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 (arg1)->AddFilesToMenu();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 Py_INCREF(Py_None); resultobj = Py_None;
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
c32bde28 6253static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6254 PyObject *resultobj;
6255 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6256 wxMenu *arg2 = (wxMenu *) 0 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self",(char *) "menu", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 (arg1)->AddFilesToMenu(arg2);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 Py_INCREF(Py_None); resultobj = Py_None;
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
c32bde28 6282static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6283 PyObject *resultobj;
6284 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6285 int arg2 ;
6286 wxString result;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "i", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
6294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6296 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6297 if (PyErr_Occurred()) SWIG_fail;
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
6301
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 {
6306#if wxUSE_UNICODE
6307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6308#else
6309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6310#endif
6311 }
6312 return resultobj;
6313 fail:
6314 return NULL;
6315}
6316
6317
c32bde28 6318static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6319 PyObject *resultobj;
6320 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6321 int result;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (int)((wxFileHistory const *)arg1)->GetCount();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
c32bde28 6337 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6338 return resultobj;
6339 fail:
6340 return NULL;
6341}
6342
6343
c32bde28 6344static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6345 PyObject *obj;
6346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6347 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
6348 Py_INCREF(obj);
6349 return Py_BuildValue((char *)"");
6350}
c32bde28 6351static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6352 PyObject *resultobj;
6353 wxString *arg1 = 0 ;
6354 wxString const &arg2_defvalue = wxPyEmptyString ;
6355 wxString *arg2 = (wxString *) &arg2_defvalue ;
6356 wxSingleInstanceChecker *result;
ae8162c8
RD
6357 bool temp1 = false ;
6358 bool temp2 = false ;
d55e5bfc
RD
6359 PyObject * obj0 = 0 ;
6360 PyObject * obj1 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "name",(char *) "path", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6366 {
6367 arg1 = wxString_in_helper(obj0);
6368 if (arg1 == NULL) SWIG_fail;
ae8162c8 6369 temp1 = true;
d55e5bfc
RD
6370 }
6371 if (obj1) {
6372 {
6373 arg2 = wxString_in_helper(obj1);
6374 if (arg2 == NULL) SWIG_fail;
ae8162c8 6375 temp2 = true;
d55e5bfc
RD
6376 }
6377 }
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6386 {
6387 if (temp1)
6388 delete arg1;
6389 }
6390 {
6391 if (temp2)
6392 delete arg2;
6393 }
6394 return resultobj;
6395 fail:
6396 {
6397 if (temp1)
6398 delete arg1;
6399 }
6400 {
6401 if (temp2)
6402 delete arg2;
6403 }
6404 return NULL;
6405}
6406
6407
c32bde28 6408static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6409 PyObject *resultobj;
6410 wxSingleInstanceChecker *result;
6411 char *kwnames[] = {
6412 NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6424 return resultobj;
6425 fail:
6426 return NULL;
6427}
6428
6429
c32bde28 6430static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6431 PyObject *resultobj;
6432 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 delete arg1;
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 Py_INCREF(Py_None); resultobj = Py_None;
6449 return resultobj;
6450 fail:
6451 return NULL;
6452}
6453
6454
c32bde28 6455static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6456 PyObject *resultobj;
6457 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6458 wxString *arg2 = 0 ;
6459 wxString const &arg3_defvalue = wxPyEmptyString ;
6460 wxString *arg3 = (wxString *) &arg3_defvalue ;
6461 bool result;
ae8162c8
RD
6462 bool temp2 = false ;
6463 bool temp3 = false ;
d55e5bfc
RD
6464 PyObject * obj0 = 0 ;
6465 PyObject * obj1 = 0 ;
6466 PyObject * obj2 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self",(char *) "name",(char *) "path", NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6474 {
6475 arg2 = wxString_in_helper(obj1);
6476 if (arg2 == NULL) SWIG_fail;
ae8162c8 6477 temp2 = true;
d55e5bfc
RD
6478 }
6479 if (obj2) {
6480 {
6481 arg3 = wxString_in_helper(obj2);
6482 if (arg3 == NULL) SWIG_fail;
ae8162c8 6483 temp3 = true;
d55e5bfc
RD
6484 }
6485 }
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 {
6494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6495 }
6496 {
6497 if (temp2)
6498 delete arg2;
6499 }
6500 {
6501 if (temp3)
6502 delete arg3;
6503 }
6504 return resultobj;
6505 fail:
6506 {
6507 if (temp2)
6508 delete arg2;
6509 }
6510 {
6511 if (temp3)
6512 delete arg3;
6513 }
6514 return NULL;
6515}
6516
6517
c32bde28 6518static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6519 PyObject *resultobj;
6520 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6521 bool result;
6522 PyObject * obj0 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 {
6538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6539 }
6540 return resultobj;
6541 fail:
6542 return NULL;
6543}
6544
6545
c32bde28 6546static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6547 PyObject *obj;
6548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6549 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6550 Py_INCREF(obj);
6551 return Py_BuildValue((char *)"");
6552}
c32bde28 6553static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6554 PyObject *resultobj;
6555 wxWindow *arg1 = (wxWindow *) 0 ;
6556 wxDC *arg2 = 0 ;
6557 int arg3 ;
6558 PyObject * obj0 = 0 ;
6559 PyObject * obj1 = 0 ;
6560 PyObject * obj2 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "window",(char *) "dc",(char *) "method", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6569 SWIG_POINTER_EXCEPTION | 0)) == -1)
6570 SWIG_fail;
6571 if (arg2 == NULL) {
6572 PyErr_SetString(PyExc_TypeError,"null reference");
6573 SWIG_fail;
6574 }
c32bde28 6575 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6576 if (PyErr_Occurred()) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
c32bde28 6591static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6592 PyObject *resultobj;
6593 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6594 PyObject * obj0 = 0 ;
6595 char *kwnames[] = {
6596 (char *) "self", NULL
6597 };
6598
6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 delete arg1;
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 Py_INCREF(Py_None); resultobj = Py_None;
6610 return resultobj;
6611 fail:
6612 return NULL;
6613}
6614
6615
c32bde28 6616static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6617 PyObject *resultobj;
6618 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6619 wxString result;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (arg1)->GetTip();
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636#if wxUSE_UNICODE
6637 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6638#else
6639 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6640#endif
6641 }
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
c32bde28 6648static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6649 PyObject *resultobj;
6650 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6651 size_t result;
6652 PyObject * obj0 = 0 ;
6653 char *kwnames[] = {
6654 (char *) "self", NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (size_t)(arg1)->GetCurrentTip();
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
c32bde28 6667 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
6668 return resultobj;
6669 fail:
6670 return NULL;
6671}
6672
6673
c32bde28 6674static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6675 PyObject *resultobj;
6676 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6677 wxString *arg2 = 0 ;
6678 wxString result;
ae8162c8 6679 bool temp2 = false ;
d55e5bfc
RD
6680 PyObject * obj0 = 0 ;
6681 PyObject * obj1 = 0 ;
6682 char *kwnames[] = {
6683 (char *) "self",(char *) "tip", NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6689 {
6690 arg2 = wxString_in_helper(obj1);
6691 if (arg2 == NULL) SWIG_fail;
ae8162c8 6692 temp2 = true;
d55e5bfc
RD
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702#if wxUSE_UNICODE
6703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6704#else
6705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6706#endif
6707 }
6708 {
6709 if (temp2)
6710 delete arg2;
6711 }
6712 return resultobj;
6713 fail:
6714 {
6715 if (temp2)
6716 delete arg2;
6717 }
6718 return NULL;
6719}
6720
6721
c32bde28 6722static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6723 PyObject *obj;
6724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6725 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6726 Py_INCREF(obj);
6727 return Py_BuildValue((char *)"");
6728}
c32bde28 6729static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6730 PyObject *resultobj;
6731 size_t arg1 ;
6732 wxPyTipProvider *result;
6733 PyObject * obj0 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "currentTip", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
c32bde28 6739 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
6740 if (PyErr_Occurred()) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6749 return resultobj;
6750 fail:
6751 return NULL;
6752}
6753
6754
c32bde28 6755static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6756 PyObject *resultobj;
6757 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6758 PyObject *arg2 = (PyObject *) 0 ;
6759 PyObject *arg3 = (PyObject *) 0 ;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 PyObject * obj2 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self",(char *) "self",(char *) "_class", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6770 arg2 = obj1;
6771 arg3 = obj2;
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 (arg1)->_setCallbackInfo(arg2,arg3);
6775
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 Py_INCREF(Py_None); resultobj = Py_None;
6780 return resultobj;
6781 fail:
6782 return NULL;
6783}
6784
6785
c32bde28 6786static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6787 PyObject *obj;
6788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6789 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6790 Py_INCREF(obj);
6791 return Py_BuildValue((char *)"");
6792}
c32bde28 6793static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6794 PyObject *resultobj;
6795 wxWindow *arg1 = (wxWindow *) 0 ;
6796 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 6797 bool arg3 = (bool) true ;
d55e5bfc
RD
6798 bool result;
6799 PyObject * obj0 = 0 ;
6800 PyObject * obj1 = 0 ;
6801 PyObject * obj2 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6811 if (obj2) {
c32bde28 6812 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
0439c23b 6816 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (bool)wxShowTip(arg1,arg2,arg3);
6819
6820 wxPyEndAllowThreads(__tstate);
110da5b0 6821 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6822 }
6823 {
6824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6825 }
6826 return resultobj;
6827 fail:
6828 return NULL;
6829}
6830
6831
c32bde28 6832static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6833 PyObject *resultobj;
6834 wxString *arg1 = 0 ;
6835 size_t arg2 ;
6836 wxTipProvider *result;
ae8162c8 6837 bool temp1 = false ;
d55e5bfc
RD
6838 PyObject * obj0 = 0 ;
6839 PyObject * obj1 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "filename",(char *) "currentTip", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6845 {
6846 arg1 = wxString_in_helper(obj0);
6847 if (arg1 == NULL) SWIG_fail;
ae8162c8 6848 temp1 = true;
d55e5bfc 6849 }
c32bde28 6850 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
6851 if (PyErr_Occurred()) SWIG_fail;
6852 {
0439c23b 6853 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6856
6857 wxPyEndAllowThreads(__tstate);
110da5b0 6858 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6859 }
6860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6861 {
6862 if (temp1)
6863 delete arg1;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (temp1)
6869 delete arg1;
6870 }
6871 return NULL;
6872}
6873
6874
c32bde28 6875static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6876 PyObject *resultobj;
6877 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6878 int arg2 = (int) -1 ;
6879 wxPyTimer *result;
6880 PyObject * obj0 = 0 ;
6881 PyObject * obj1 = 0 ;
6882 char *kwnames[] = {
6883 (char *) "owner",(char *) "id", NULL
6884 };
6885
6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6887 if (obj0) {
6888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6890 }
6891 if (obj1) {
c32bde28 6892 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 {
0439c23b 6896 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6899
6900 wxPyEndAllowThreads(__tstate);
110da5b0 6901 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6902 }
6903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907}
6908
6909
c32bde28 6910static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6911 PyObject *resultobj;
6912 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6913 PyObject * obj0 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 delete arg1;
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 return resultobj;
6930 fail:
6931 return NULL;
6932}
6933
6934
c32bde28 6935static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6936 PyObject *resultobj;
6937 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6938 PyObject *arg2 = (PyObject *) 0 ;
6939 PyObject *arg3 = (PyObject *) 0 ;
6940 int arg4 = (int) 1 ;
6941 PyObject * obj0 = 0 ;
6942 PyObject * obj1 = 0 ;
6943 PyObject * obj2 = 0 ;
6944 PyObject * obj3 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6952 arg2 = obj1;
6953 arg3 = obj2;
6954 if (obj3) {
c32bde28 6955 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
c32bde28 6972static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6973 PyObject *resultobj;
6974 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6975 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6976 int arg3 = (int) -1 ;
6977 PyObject * obj0 = 0 ;
6978 PyObject * obj1 = 0 ;
6979 PyObject * obj2 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self",(char *) "owner",(char *) "id", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6989 if (obj2) {
c32bde28 6990 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->SetOwner(arg2,arg3);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 Py_INCREF(Py_None); resultobj = Py_None;
7001 return resultobj;
7002 fail:
7003 return NULL;
7004}
7005
7006
c32bde28 7007static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
7008 PyObject *resultobj;
7009 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7010 wxEvtHandler *result;
7011 PyObject * obj0 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (wxEvtHandler *)(arg1)->GetOwner();
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 {
412d302d 7027 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
7028 }
7029 return resultobj;
7030 fail:
7031 return NULL;
7032}
7033
7034
c32bde28 7035static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7036 PyObject *resultobj;
7037 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7038 int arg2 = (int) -1 ;
ae8162c8 7039 bool arg3 = (bool) false ;
d55e5bfc
RD
7040 bool result;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 PyObject * obj2 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 if (obj1) {
c32bde28 7052 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 if (obj2) {
c32bde28 7056 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 result = (bool)(arg1)->Start(arg2,arg3);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 {
7067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7068 }
7069 return resultobj;
7070 fail:
7071 return NULL;
7072}
7073
7074
c32bde28 7075static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7076 PyObject *resultobj;
7077 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7078 PyObject * obj0 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 (arg1)->Stop();
7089
7090 wxPyEndAllowThreads(__tstate);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 Py_INCREF(Py_None); resultobj = Py_None;
7094 return resultobj;
7095 fail:
7096 return NULL;
7097}
7098
7099
c32bde28 7100static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7101 PyObject *resultobj;
7102 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7103 bool result;
7104 PyObject * obj0 = 0 ;
7105 char *kwnames[] = {
7106 (char *) "self", NULL
7107 };
7108
7109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
7110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 {
7120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7121 }
7122 return resultobj;
7123 fail:
7124 return NULL;
7125}
7126
7127
c32bde28 7128static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7129 PyObject *resultobj;
7130 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7131 int result;
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 result = (int)((wxPyTimer const *)arg1)->GetInterval();
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
c32bde28 7147 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
c32bde28 7154static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7155 PyObject *resultobj;
7156 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7157 bool result;
7158 PyObject * obj0 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7175 }
7176 return resultobj;
7177 fail:
7178 return NULL;
7179}
7180
7181
c32bde28 7182static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7183 PyObject *resultobj;
7184 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7185 int result;
7186 PyObject * obj0 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (int)((wxPyTimer const *)arg1)->GetId();
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
c32bde28 7201 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7202 return resultobj;
7203 fail:
7204 return NULL;
7205}
7206
7207
c32bde28 7208static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7209 PyObject *obj;
7210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7211 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
7212 Py_INCREF(obj);
7213 return Py_BuildValue((char *)"");
7214}
c32bde28 7215static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7216 PyObject *resultobj;
7217 int arg1 = (int) 0 ;
7218 int arg2 = (int) 0 ;
7219 wxTimerEvent *result;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "timerid",(char *) "interval", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
7227 if (obj0) {
c32bde28 7228 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 if (obj1) {
c32bde28 7232 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
7243 return resultobj;
7244 fail:
7245 return NULL;
7246}
7247
7248
c32bde28 7249static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7250 PyObject *resultobj;
7251 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
7252 int result;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
7260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
c32bde28 7268 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7269 return resultobj;
7270 fail:
7271 return NULL;
7272}
7273
7274
c32bde28 7275static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7276 PyObject *obj;
7277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7278 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
7279 Py_INCREF(obj);
7280 return Py_BuildValue((char *)"");
7281}
c32bde28 7282static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
7283 PyObject *resultobj;
7284 wxTimer *arg1 = 0 ;
7285 wxTimerRunner *result;
7286 PyObject * obj0 = 0 ;
7287
7288 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
7289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7290 SWIG_POINTER_EXCEPTION | 0)) == -1)
7291 SWIG_fail;
7292 if (arg1 == NULL) {
7293 PyErr_SetString(PyExc_TypeError,"null reference");
7294 SWIG_fail;
7295 }
7296 {
0439c23b 7297 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
7300
7301 wxPyEndAllowThreads(__tstate);
110da5b0 7302 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7303 }
7304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7305 return resultobj;
7306 fail:
7307 return NULL;
7308}
7309
7310
c32bde28 7311static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
7312 PyObject *resultobj;
7313 wxTimer *arg1 = 0 ;
7314 int arg2 ;
ae8162c8 7315 bool arg3 = (bool) false ;
d55e5bfc
RD
7316 wxTimerRunner *result;
7317 PyObject * obj0 = 0 ;
7318 PyObject * obj1 = 0 ;
7319 PyObject * obj2 = 0 ;
7320
7321 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
7322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7323 SWIG_POINTER_EXCEPTION | 0)) == -1)
7324 SWIG_fail;
7325 if (arg1 == NULL) {
7326 PyErr_SetString(PyExc_TypeError,"null reference");
7327 SWIG_fail;
7328 }
c32bde28 7329 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7330 if (PyErr_Occurred()) SWIG_fail;
7331 if (obj2) {
c32bde28 7332 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 {
0439c23b 7336 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
7339
7340 wxPyEndAllowThreads(__tstate);
110da5b0 7341 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7342 }
7343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7344 return resultobj;
7345 fail:
7346 return NULL;
7347}
7348
7349
7350static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
7351 int argc;
7352 PyObject *argv[4];
7353 int ii;
7354
7355 argc = PyObject_Length(args);
7356 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
7357 argv[ii] = PyTuple_GetItem(args,ii);
7358 }
7359 if (argc == 1) {
7360 int _v;
7361 {
7362 void *ptr;
7363 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7364 _v = 0;
7365 PyErr_Clear();
7366 } else {
7367 _v = 1;
7368 }
7369 }
7370 if (_v) {
7371 return _wrap_new_TimerRunner__SWIG_0(self,args);
7372 }
7373 }
7374 if ((argc >= 2) && (argc <= 3)) {
7375 int _v;
7376 {
7377 void *ptr;
7378 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7379 _v = 0;
7380 PyErr_Clear();
7381 } else {
7382 _v = 1;
7383 }
7384 }
7385 if (_v) {
c32bde28 7386 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
7387 if (_v) {
7388 if (argc <= 2) {
7389 return _wrap_new_TimerRunner__SWIG_1(self,args);
7390 }
c32bde28 7391 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
7392 if (_v) {
7393 return _wrap_new_TimerRunner__SWIG_1(self,args);
7394 }
7395 }
7396 }
7397 }
7398
7399 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7400 return NULL;
7401}
7402
7403
c32bde28 7404static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7405 PyObject *resultobj;
7406 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 delete arg1;
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426}
7427
7428
c32bde28 7429static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7430 PyObject *resultobj;
7431 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7432 int arg2 ;
ae8162c8 7433 bool arg3 = (bool) false ;
d55e5bfc
RD
7434 PyObject * obj0 = 0 ;
7435 PyObject * obj1 = 0 ;
7436 PyObject * obj2 = 0 ;
7437 char *kwnames[] = {
7438 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7444 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7445 if (PyErr_Occurred()) SWIG_fail;
7446 if (obj2) {
c32bde28 7447 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->Start(arg2,arg3);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461}
7462
7463
c32bde28 7464static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7465 PyObject *obj;
7466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7468 Py_INCREF(obj);
7469 return Py_BuildValue((char *)"");
7470}
c32bde28 7471static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7472 PyObject *resultobj;
7473 wxLog *result;
7474 char *kwnames[] = {
7475 NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 result = (wxLog *)new wxLog();
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
c32bde28 7493static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7494 PyObject *resultobj;
7495 bool result;
7496 char *kwnames[] = {
7497 NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = (bool)wxLog::IsEnabled();
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 {
7509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7510 }
7511 return resultobj;
7512 fail:
7513 return NULL;
7514}
7515
7516
c32bde28 7517static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 7518 PyObject *resultobj;
ae8162c8 7519 bool arg1 = (bool) true ;
d55e5bfc
RD
7520 bool result;
7521 PyObject * obj0 = 0 ;
7522 char *kwnames[] = {
7523 (char *) "doIt", NULL
7524 };
7525
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7527 if (obj0) {
c32bde28 7528 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (bool)wxLog::EnableLogging(arg1);
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 {
7539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7540 }
7541 return resultobj;
7542 fail:
7543 return NULL;
7544}
7545
7546
c32bde28 7547static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7548 PyObject *resultobj;
7549 wxLogLevel arg1 ;
7550 wxChar *arg2 = (wxChar *) 0 ;
7551 time_t arg3 ;
7552 PyObject * obj0 = 0 ;
7553 PyObject * obj1 = 0 ;
7554 PyObject * obj2 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "level",(char *) "szString",(char *) "t", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 7560 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
7561 if (PyErr_Occurred()) SWIG_fail;
7562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7564 arg3 = (time_t)SWIG_As_unsigned_SS_int(obj2);
d55e5bfc
RD
7565 if (PyErr_Occurred()) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 return resultobj;
7575 fail:
7576 return NULL;
7577}
7578
7579
c32bde28 7580static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7581 PyObject *resultobj;
7582 wxLog *arg1 = (wxLog *) 0 ;
7583 PyObject * obj0 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->Flush();
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602}
7603
7604
c32bde28 7605static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7606 PyObject *resultobj;
7607 char *kwnames[] = {
7608 NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 wxLog::FlushActive();
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623}
7624
7625
c32bde28 7626static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7627 PyObject *resultobj;
7628 wxLog *result;
7629 char *kwnames[] = {
7630 NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (wxLog *)wxLog::GetActiveTarget();
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7642 return resultobj;
7643 fail:
7644 return NULL;
7645}
7646
7647
c32bde28 7648static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7649 PyObject *resultobj;
7650 wxLog *arg1 = (wxLog *) 0 ;
7651 wxLog *result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "pLogger", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7668 return resultobj;
7669 fail:
7670 return NULL;
7671}
7672
7673
c32bde28 7674static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7675 PyObject *resultobj;
7676 char *kwnames[] = {
7677 NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 wxLog::Suspend();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 Py_INCREF(Py_None); resultobj = Py_None;
7689 return resultobj;
7690 fail:
7691 return NULL;
7692}
7693
7694
c32bde28 7695static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7696 PyObject *resultobj;
7697 char *kwnames[] = {
7698 NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 wxLog::Resume();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 Py_INCREF(Py_None); resultobj = Py_None;
7710 return resultobj;
7711 fail:
7712 return NULL;
7713}
7714
7715
c32bde28 7716static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 7717 PyObject *resultobj;
ae8162c8 7718 bool arg1 = (bool) true ;
d55e5bfc
RD
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "bVerbose", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7725 if (obj0) {
c32bde28 7726 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 wxLog::SetVerbose(arg1);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
c32bde28 7743static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7744 PyObject *resultobj;
7745 wxLogLevel arg1 ;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "logLevel", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
c32bde28 7752 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
7753 if (PyErr_Occurred()) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 wxLog::SetLogLevel(arg1);
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 Py_INCREF(Py_None); resultobj = Py_None;
7762 return resultobj;
7763 fail:
7764 return NULL;
7765}
7766
7767
c32bde28 7768static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7769 PyObject *resultobj;
7770 char *kwnames[] = {
7771 NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 wxLog::DontCreateOnDemand();
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 Py_INCREF(Py_None); resultobj = Py_None;
7783 return resultobj;
7784 fail:
7785 return NULL;
7786}
7787
7788
c32bde28 7789static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7790 PyObject *resultobj;
7791 wxTraceMask arg1 ;
7792 PyObject * obj0 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "ulMask", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
c32bde28 7798 arg1 = (wxTraceMask)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
7799 if (PyErr_Occurred()) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 wxLog::SetTraceMask(arg1);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c32bde28 7814static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7815 PyObject *resultobj;
7816 wxString *arg1 = 0 ;
ae8162c8 7817 bool temp1 = false ;
d55e5bfc
RD
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "str", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7824 {
7825 arg1 = wxString_in_helper(obj0);
7826 if (arg1 == NULL) SWIG_fail;
ae8162c8 7827 temp1 = true;
d55e5bfc
RD
7828 }
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 wxLog::AddTraceMask((wxString const &)*arg1);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 Py_INCREF(Py_None); resultobj = Py_None;
7837 {
7838 if (temp1)
7839 delete arg1;
7840 }
7841 return resultobj;
7842 fail:
7843 {
7844 if (temp1)
7845 delete arg1;
7846 }
7847 return NULL;
7848}
7849
7850
c32bde28 7851static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7852 PyObject *resultobj;
7853 wxString *arg1 = 0 ;
ae8162c8 7854 bool temp1 = false ;
d55e5bfc
RD
7855 PyObject * obj0 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "str", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7861 {
7862 arg1 = wxString_in_helper(obj0);
7863 if (arg1 == NULL) SWIG_fail;
ae8162c8 7864 temp1 = true;
d55e5bfc
RD
7865 }
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 wxLog::RemoveTraceMask((wxString const &)*arg1);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 {
7875 if (temp1)
7876 delete arg1;
7877 }
7878 return resultobj;
7879 fail:
7880 {
7881 if (temp1)
7882 delete arg1;
7883 }
7884 return NULL;
7885}
7886
7887
c32bde28 7888static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7889 PyObject *resultobj;
7890 char *kwnames[] = {
7891 NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 wxLog::ClearTraceMasks();
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 Py_INCREF(Py_None); resultobj = Py_None;
7903 return resultobj;
7904 fail:
7905 return NULL;
7906}
7907
7908
c32bde28 7909static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7910 PyObject *resultobj;
7911 wxArrayString *result;
7912 char *kwnames[] = {
7913 NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 {
7920 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7921 result = (wxArrayString *) &_result_ref;
7922 }
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 resultobj = wxArrayString2PyList_helper(*result);
7929 }
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
c32bde28 7936static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7937 PyObject *resultobj;
7938 wxChar *arg1 = (wxChar *) 0 ;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "ts", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 wxLog::SetTimestamp((wxChar const *)arg1);
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 Py_INCREF(Py_None); resultobj = Py_None;
7955 return resultobj;
7956 fail:
7957 return NULL;
7958}
7959
7960
c32bde28 7961static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7962 PyObject *resultobj;
7963 bool result;
7964 char *kwnames[] = {
7965 NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (bool)wxLog::GetVerbose();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7978 }
7979 return resultobj;
7980 fail:
7981 return NULL;
7982}
7983
7984
c32bde28 7985static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7986 PyObject *resultobj;
7987 wxTraceMask result;
7988 char *kwnames[] = {
7989 NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 result = (wxTraceMask)wxLog::GetTraceMask();
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
c32bde28 8000 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
8001 return resultobj;
8002 fail:
8003 return NULL;
8004}
8005
8006
c32bde28 8007static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8008 PyObject *resultobj;
8009 wxChar *arg1 = (wxChar *) 0 ;
8010 bool result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "mask", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
8029 return resultobj;
8030 fail:
8031 return NULL;
8032}
8033
8034
c32bde28 8035static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8036 PyObject *resultobj;
8037 wxLogLevel result;
8038 char *kwnames[] = {
8039 NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (wxLogLevel)wxLog::GetLogLevel();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
c32bde28 8050 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
8051 return resultobj;
8052 fail:
8053 return NULL;
8054}
8055
8056
c32bde28 8057static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8058 PyObject *resultobj;
8059 wxChar *result;
8060 char *kwnames[] = {
8061 NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = (wxChar *)wxLog::GetTimestamp();
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
8073 return resultobj;
8074 fail:
8075 return NULL;
8076}
8077
8078
c32bde28 8079static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8080 PyObject *resultobj;
8081 wxString result;
8082 char *kwnames[] = {
8083 NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = Log_TimeStamp();
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 {
8095#if wxUSE_UNICODE
8096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8097#else
8098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8099#endif
8100 }
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
c32bde28 8107static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8108 PyObject *resultobj;
8109 wxLog *arg1 = (wxLog *) 0 ;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 wxLog_Destroy(arg1);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129}
8130
8131
c32bde28 8132static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8133 PyObject *obj;
8134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8135 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
8136 Py_INCREF(obj);
8137 return Py_BuildValue((char *)"");
8138}
c32bde28 8139static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8140 PyObject *resultobj;
8141 wxLogStderr *result;
8142 char *kwnames[] = {
8143 NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (wxLogStderr *)new wxLogStderr();
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
8155 return resultobj;
8156 fail:
8157 return NULL;
8158}
8159
8160
c32bde28 8161static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8162 PyObject *obj;
8163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8164 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
8165 Py_INCREF(obj);
8166 return Py_BuildValue((char *)"");
8167}
c32bde28 8168static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8169 PyObject *resultobj;
8170 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8171 wxLogTextCtrl *result;
8172 PyObject * obj0 = 0 ;
8173 char *kwnames[] = {
8174 (char *) "pTextCtrl", NULL
8175 };
8176
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
8178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
c32bde28 8194static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8195 PyObject *obj;
8196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8197 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
8198 Py_INCREF(obj);
8199 return Py_BuildValue((char *)"");
8200}
c32bde28 8201static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8202 PyObject *resultobj;
8203 wxLogGui *result;
8204 char *kwnames[] = {
8205 NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (wxLogGui *)new wxLogGui();
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
8217 return resultobj;
8218 fail:
8219 return NULL;
8220}
8221
8222
c32bde28 8223static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8224 PyObject *obj;
8225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8226 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
8227 Py_INCREF(obj);
8228 return Py_BuildValue((char *)"");
8229}
c32bde28 8230static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8231 PyObject *resultobj;
8232 wxFrame *arg1 = (wxFrame *) 0 ;
8233 wxString *arg2 = 0 ;
ae8162c8
RD
8234 bool arg3 = (bool) true ;
8235 bool arg4 = (bool) true ;
d55e5bfc 8236 wxLogWindow *result;
ae8162c8 8237 bool temp2 = false ;
d55e5bfc
RD
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 PyObject * obj3 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8249 {
8250 arg2 = wxString_in_helper(obj1);
8251 if (arg2 == NULL) SWIG_fail;
ae8162c8 8252 temp2 = true;
d55e5bfc
RD
8253 }
8254 if (obj2) {
c32bde28 8255 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 if (obj3) {
c32bde28 8259 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
8270 {
8271 if (temp2)
8272 delete arg2;
8273 }
8274 return resultobj;
8275 fail:
8276 {
8277 if (temp2)
8278 delete arg2;
8279 }
8280 return NULL;
8281}
8282
8283
c32bde28 8284static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8285 PyObject *resultobj;
8286 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 8287 bool arg2 = (bool) true ;
d55e5bfc
RD
8288 PyObject * obj0 = 0 ;
8289 PyObject * obj1 = 0 ;
8290 char *kwnames[] = {
8291 (char *) "self",(char *) "bShow", NULL
8292 };
8293
8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
8295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8297 if (obj1) {
c32bde28 8298 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 (arg1)->Show(arg2);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 Py_INCREF(Py_None); resultobj = Py_None;
8309 return resultobj;
8310 fail:
8311 return NULL;
8312}
8313
8314
c32bde28 8315static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8316 PyObject *resultobj;
8317 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8318 wxFrame *result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
412d302d 8335 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8336 }
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
c32bde28 8343static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8344 PyObject *resultobj;
8345 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8346 wxLog *result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
c32bde28 8369static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8370 PyObject *resultobj;
8371 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8372 bool result;
8373 PyObject * obj0 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 {
8389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8390 }
8391 return resultobj;
8392 fail:
8393 return NULL;
8394}
8395
8396
c32bde28 8397static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8398 PyObject *resultobj;
8399 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8400 bool arg2 ;
8401 PyObject * obj0 = 0 ;
8402 PyObject * obj1 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "bDoPass", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8410 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
8411 if (PyErr_Occurred()) SWIG_fail;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->PassMessages(arg2);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 return resultobj;
8421 fail:
8422 return NULL;
8423}
8424
8425
c32bde28 8426static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8427 PyObject *obj;
8428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8430 Py_INCREF(obj);
8431 return Py_BuildValue((char *)"");
8432}
c32bde28 8433static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8434 PyObject *resultobj;
8435 wxLog *arg1 = (wxLog *) 0 ;
8436 wxLogChain *result;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "logger", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (wxLogChain *)new wxLogChain(arg1);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8453 return resultobj;
8454 fail:
8455 return NULL;
8456}
8457
8458
c32bde28 8459static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8460 PyObject *resultobj;
8461 wxLogChain *arg1 = (wxLogChain *) 0 ;
8462 wxLog *arg2 = (wxLog *) 0 ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "logger", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 (arg1)->SetLog(arg2);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 Py_INCREF(Py_None); resultobj = Py_None;
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
c32bde28 8488static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8489 PyObject *resultobj;
8490 wxLogChain *arg1 = (wxLogChain *) 0 ;
8491 bool arg2 ;
8492 PyObject * obj0 = 0 ;
8493 PyObject * obj1 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self",(char *) "bDoPass", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8501 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
8502 if (PyErr_Occurred()) SWIG_fail;
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 (arg1)->PassMessages(arg2);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 Py_INCREF(Py_None); resultobj = Py_None;
8511 return resultobj;
8512 fail:
8513 return NULL;
8514}
8515
8516
c32bde28 8517static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8518 PyObject *resultobj;
8519 wxLogChain *arg1 = (wxLogChain *) 0 ;
8520 bool result;
8521 PyObject * obj0 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (bool)(arg1)->IsPassingMessages();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 {
8537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8538 }
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
c32bde28 8545static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8546 PyObject *resultobj;
8547 wxLogChain *arg1 = (wxLogChain *) 0 ;
8548 wxLog *result;
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (wxLog *)(arg1)->GetOldLog();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8565 return resultobj;
8566 fail:
8567 return NULL;
8568}
8569
8570
c32bde28 8571static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8572 PyObject *obj;
8573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8575 Py_INCREF(obj);
8576 return Py_BuildValue((char *)"");
8577}
c32bde28 8578static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8579 PyObject *resultobj;
8580 unsigned long result;
8581 char *kwnames[] = {
8582 NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (unsigned long)wxSysErrorCode();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
c32bde28 8593 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
8594 return resultobj;
8595 fail:
8596 return NULL;
8597}
8598
8599
c32bde28 8600static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8601 PyObject *resultobj;
8602 unsigned long arg1 = (unsigned long) 0 ;
8603 wxString result;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "nErrCode", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8610 if (obj0) {
c32bde28 8611 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = wxSysErrorMsg(arg1);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 {
8622#if wxUSE_UNICODE
8623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8624#else
8625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8626#endif
8627 }
8628 return resultobj;
8629 fail:
8630 return NULL;
8631}
8632
8633
c32bde28 8634static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8635 PyObject *resultobj;
8636 wxString *arg1 = 0 ;
ae8162c8 8637 bool temp1 = false ;
d55e5bfc
RD
8638 PyObject * obj0 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "msg", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8644 {
8645 arg1 = wxString_in_helper(obj0);
8646 if (arg1 == NULL) SWIG_fail;
ae8162c8 8647 temp1 = true;
d55e5bfc
RD
8648 }
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8651 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 Py_INCREF(Py_None); resultobj = Py_None;
8657 {
8658 if (temp1)
8659 delete arg1;
8660 }
8661 return resultobj;
8662 fail:
8663 {
8664 if (temp1)
8665 delete arg1;
8666 }
8667 return NULL;
8668}
8669
8670
c32bde28 8671static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8672 PyObject *resultobj;
8673 wxString *arg1 = 0 ;
ae8162c8 8674 bool temp1 = false ;
d55e5bfc
RD
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "msg", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8681 {
8682 arg1 = wxString_in_helper(obj0);
8683 if (arg1 == NULL) SWIG_fail;
ae8162c8 8684 temp1 = true;
d55e5bfc
RD
8685 }
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8688 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 {
8695 if (temp1)
8696 delete arg1;
8697 }
8698 return resultobj;
8699 fail:
8700 {
8701 if (temp1)
8702 delete arg1;
8703 }
8704 return NULL;
8705}
8706
8707
c32bde28 8708static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8709 PyObject *resultobj;
8710 wxString *arg1 = 0 ;
ae8162c8 8711 bool temp1 = false ;
d55e5bfc
RD
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "msg", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8718 {
8719 arg1 = wxString_in_helper(obj0);
8720 if (arg1 == NULL) SWIG_fail;
ae8162c8 8721 temp1 = true;
d55e5bfc
RD
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8725 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 Py_INCREF(Py_None); resultobj = Py_None;
8731 {
8732 if (temp1)
8733 delete arg1;
8734 }
8735 return resultobj;
8736 fail:
8737 {
8738 if (temp1)
8739 delete arg1;
8740 }
8741 return NULL;
8742}
8743
8744
c32bde28 8745static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8746 PyObject *resultobj;
8747 wxString *arg1 = 0 ;
ae8162c8 8748 bool temp1 = false ;
d55e5bfc
RD
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "msg", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8755 {
8756 arg1 = wxString_in_helper(obj0);
8757 if (arg1 == NULL) SWIG_fail;
ae8162c8 8758 temp1 = true;
d55e5bfc
RD
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8762 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 Py_INCREF(Py_None); resultobj = Py_None;
8768 {
8769 if (temp1)
8770 delete arg1;
8771 }
8772 return resultobj;
8773 fail:
8774 {
8775 if (temp1)
8776 delete arg1;
8777 }
8778 return NULL;
8779}
8780
8781
c32bde28 8782static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8783 PyObject *resultobj;
8784 wxString *arg1 = 0 ;
ae8162c8 8785 bool temp1 = false ;
d55e5bfc
RD
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "msg", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8792 {
8793 arg1 = wxString_in_helper(obj0);
8794 if (arg1 == NULL) SWIG_fail;
ae8162c8 8795 temp1 = true;
d55e5bfc
RD
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8799 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 Py_INCREF(Py_None); resultobj = Py_None;
8805 {
8806 if (temp1)
8807 delete arg1;
8808 }
8809 return resultobj;
8810 fail:
8811 {
8812 if (temp1)
8813 delete arg1;
8814 }
8815 return NULL;
8816}
8817
8818
c32bde28 8819static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8820 PyObject *resultobj;
8821 wxString *arg1 = 0 ;
ae8162c8 8822 bool temp1 = false ;
d55e5bfc
RD
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "msg", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8829 {
8830 arg1 = wxString_in_helper(obj0);
8831 if (arg1 == NULL) SWIG_fail;
ae8162c8 8832 temp1 = true;
d55e5bfc
RD
8833 }
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8836 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
8837
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 Py_INCREF(Py_None); resultobj = Py_None;
8842 {
8843 if (temp1)
8844 delete arg1;
8845 }
8846 return resultobj;
8847 fail:
8848 {
8849 if (temp1)
8850 delete arg1;
8851 }
8852 return NULL;
8853}
8854
8855
c32bde28 8856static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8857 PyObject *resultobj;
8858 wxString *arg1 = 0 ;
ae8162c8 8859 bool temp1 = false ;
d55e5bfc
RD
8860 PyObject * obj0 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "msg", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8866 {
8867 arg1 = wxString_in_helper(obj0);
8868 if (arg1 == NULL) SWIG_fail;
ae8162c8 8869 temp1 = true;
d55e5bfc
RD
8870 }
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8873 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 Py_INCREF(Py_None); resultobj = Py_None;
8879 {
8880 if (temp1)
8881 delete arg1;
8882 }
8883 return resultobj;
8884 fail:
8885 {
8886 if (temp1)
8887 delete arg1;
8888 }
8889 return NULL;
8890}
8891
8892
c32bde28 8893static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8894 PyObject *resultobj;
8895 wxString *arg1 = 0 ;
ae8162c8 8896 bool temp1 = false ;
d55e5bfc
RD
8897 PyObject * obj0 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "msg", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8903 {
8904 arg1 = wxString_in_helper(obj0);
8905 if (arg1 == NULL) SWIG_fail;
ae8162c8 8906 temp1 = true;
d55e5bfc
RD
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8910 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 {
8917 if (temp1)
8918 delete arg1;
8919 }
8920 return resultobj;
8921 fail:
8922 {
8923 if (temp1)
8924 delete arg1;
8925 }
8926 return NULL;
8927}
8928
8929
c32bde28 8930static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8931 PyObject *resultobj;
8932 wxFrame *arg1 = (wxFrame *) 0 ;
8933 wxString *arg2 = 0 ;
ae8162c8 8934 bool temp2 = false ;
d55e5bfc
RD
8935 PyObject * obj0 = 0 ;
8936 PyObject * obj1 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "pFrame",(char *) "msg", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8944 {
8945 arg2 = wxString_in_helper(obj1);
8946 if (arg2 == NULL) SWIG_fail;
ae8162c8 8947 temp2 = true;
d55e5bfc
RD
8948 }
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8951 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 Py_INCREF(Py_None); resultobj = Py_None;
8957 {
8958 if (temp2)
8959 delete arg2;
8960 }
8961 return resultobj;
8962 fail:
8963 {
8964 if (temp2)
8965 delete arg2;
8966 }
8967 return NULL;
8968}
8969
8970
c32bde28 8971static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8972 PyObject *resultobj;
8973 wxString *arg1 = 0 ;
ae8162c8 8974 bool temp1 = false ;
d55e5bfc
RD
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "msg", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8981 {
8982 arg1 = wxString_in_helper(obj0);
8983 if (arg1 == NULL) SWIG_fail;
ae8162c8 8984 temp1 = true;
d55e5bfc
RD
8985 }
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 8988 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 {
8995 if (temp1)
8996 delete arg1;
8997 }
8998 return resultobj;
8999 fail:
9000 {
9001 if (temp1)
9002 delete arg1;
9003 }
9004 return NULL;
9005}
9006
9007
f78cc896
RD
9008static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 unsigned long arg1 ;
9011 wxString *arg2 = 0 ;
9012 bool temp2 = false ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "level",(char *) "msg", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
9020 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 {
9023 arg2 = wxString_in_helper(obj1);
9024 if (arg2 == NULL) SWIG_fail;
9025 temp2 = true;
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 wxPyLogGeneric(arg1,(wxString const &)*arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 {
9036 if (temp2)
9037 delete arg2;
9038 }
9039 return resultobj;
9040 fail:
9041 {
9042 if (temp2)
9043 delete arg2;
9044 }
9045 return NULL;
9046}
9047
9048
c32bde28 9049static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
9050 PyObject *resultobj;
9051 unsigned long arg1 ;
9052 wxString *arg2 = 0 ;
ae8162c8 9053 bool temp2 = false ;
d55e5bfc
RD
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056
9057 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
c32bde28 9058 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
d55e5bfc
RD
9059 if (PyErr_Occurred()) SWIG_fail;
9060 {
9061 arg2 = wxString_in_helper(obj1);
9062 if (arg2 == NULL) SWIG_fail;
ae8162c8 9063 temp2 = true;
d55e5bfc
RD
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 9067 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 Py_INCREF(Py_None); resultobj = Py_None;
9073 {
9074 if (temp2)
9075 delete arg2;
9076 }
9077 return resultobj;
9078 fail:
9079 {
9080 if (temp2)
9081 delete arg2;
9082 }
9083 return NULL;
9084}
9085
9086
c32bde28 9087static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
9088 PyObject *resultobj;
9089 wxString *arg1 = 0 ;
9090 wxString *arg2 = 0 ;
ae8162c8
RD
9091 bool temp1 = false ;
9092 bool temp2 = false ;
d55e5bfc
RD
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095
9096 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
9097 {
9098 arg1 = wxString_in_helper(obj0);
9099 if (arg1 == NULL) SWIG_fail;
ae8162c8 9100 temp1 = true;
d55e5bfc
RD
9101 }
9102 {
9103 arg2 = wxString_in_helper(obj1);
9104 if (arg2 == NULL) SWIG_fail;
ae8162c8 9105 temp2 = true;
d55e5bfc
RD
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 9109 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 Py_INCREF(Py_None); resultobj = Py_None;
9115 {
9116 if (temp1)
9117 delete arg1;
9118 }
9119 {
9120 if (temp2)
9121 delete arg2;
9122 }
9123 return resultobj;
9124 fail:
9125 {
9126 if (temp1)
9127 delete arg1;
9128 }
9129 {
9130 if (temp2)
9131 delete arg2;
9132 }
9133 return NULL;
9134}
9135
9136
9137static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
9138 int argc;
9139 PyObject *argv[3];
9140 int ii;
9141
9142 argc = PyObject_Length(args);
9143 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
9144 argv[ii] = PyTuple_GetItem(args,ii);
9145 }
9146 if (argc == 2) {
9147 int _v;
9148 {
9149 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
9150 }
9151 if (_v) {
9152 {
9153 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9154 }
9155 if (_v) {
9156 return _wrap_LogTrace__SWIG_1(self,args);
9157 }
9158 }
9159 }
9160 if (argc == 2) {
9161 int _v;
c32bde28 9162 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
9163 if (_v) {
9164 {
9165 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9166 }
9167 if (_v) {
9168 return _wrap_LogTrace__SWIG_0(self,args);
9169 }
9170 }
9171 }
9172
9173 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
9174 return NULL;
9175}
9176
9177
c32bde28 9178static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9179 PyObject *resultobj;
9180 wxString *arg1 = 0 ;
9181 wxString *arg2 = 0 ;
ae8162c8
RD
9182 bool temp1 = false ;
9183 bool temp2 = false ;
d55e5bfc
RD
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "title",(char *) "text", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
9191 {
9192 arg1 = wxString_in_helper(obj0);
9193 if (arg1 == NULL) SWIG_fail;
ae8162c8 9194 temp1 = true;
d55e5bfc
RD
9195 }
9196 {
9197 arg2 = wxString_in_helper(obj1);
9198 if (arg2 == NULL) SWIG_fail;
ae8162c8 9199 temp2 = true;
d55e5bfc
RD
9200 }
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 Py_INCREF(Py_None); resultobj = Py_None;
9209 {
9210 if (temp1)
9211 delete arg1;
9212 }
9213 {
9214 if (temp2)
9215 delete arg2;
9216 }
9217 return resultobj;
9218 fail:
9219 {
9220 if (temp1)
9221 delete arg1;
9222 }
9223 {
9224 if (temp2)
9225 delete arg2;
9226 }
9227 return NULL;
9228}
9229
9230
c32bde28 9231static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9232 PyObject *resultobj;
9233 wxLogNull *result;
9234 char *kwnames[] = {
9235 NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (wxLogNull *)new wxLogNull();
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
9247 return resultobj;
9248 fail:
9249 return NULL;
9250}
9251
9252
c32bde28 9253static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9254 PyObject *resultobj;
9255 wxLogNull *arg1 = (wxLogNull *) 0 ;
9256 PyObject * obj0 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
9263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 delete arg1;
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 Py_INCREF(Py_None); resultobj = Py_None;
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
c32bde28 9278static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9279 PyObject *obj;
9280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9281 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
9282 Py_INCREF(obj);
9283 return Py_BuildValue((char *)"");
9284}
c32bde28 9285static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9286 PyObject *resultobj;
9287 wxPyLog *result;
9288 char *kwnames[] = {
9289 NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (wxPyLog *)new wxPyLog();
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
9301 return resultobj;
9302 fail:
9303 return NULL;
9304}
9305
9306
c32bde28 9307static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9308 PyObject *resultobj;
9309 wxPyLog *arg1 = (wxPyLog *) 0 ;
9310 PyObject *arg2 = (PyObject *) 0 ;
9311 PyObject *arg3 = (PyObject *) 0 ;
9312 PyObject * obj0 = 0 ;
9313 PyObject * obj1 = 0 ;
9314 PyObject * obj2 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "self",(char *) "_class", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 arg2 = obj1;
9323 arg3 = obj2;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->_setCallbackInfo(arg2,arg3);
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335}
9336
9337
c32bde28 9338static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9339 PyObject *obj;
9340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9341 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
9342 Py_INCREF(obj);
9343 return Py_BuildValue((char *)"");
9344}
c32bde28 9345static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9346 PyObject *resultobj;
9347 int arg1 ;
9348 int arg2 = (int) wxSIGTERM ;
9349 int result;
9350 PyObject * obj0 = 0 ;
9351 PyObject * obj1 = 0 ;
9352 char *kwnames[] = {
9353 (char *) "pid",(char *) "sig", NULL
9354 };
9355
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
c32bde28 9357 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
9358 if (PyErr_Occurred()) SWIG_fail;
9359 if (obj1) {
c32bde28 9360 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
c32bde28 9370 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
c32bde28 9377static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9378 PyObject *resultobj;
9379 int arg1 ;
9380 bool result;
9381 PyObject * obj0 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "pid", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
c32bde28 9387 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
9388 if (PyErr_Occurred()) SWIG_fail;
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (bool)wxPyProcess::Exists(arg1);
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 {
9397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
c32bde28 9405static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9406 PyObject *resultobj;
9407 wxString *arg1 = 0 ;
9408 int arg2 = (int) wxEXEC_ASYNC ;
9409 wxPyProcess *result;
ae8162c8 9410 bool temp1 = false ;
d55e5bfc
RD
9411 PyObject * obj0 = 0 ;
9412 PyObject * obj1 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "cmd",(char *) "flags", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9418 {
9419 arg1 = wxString_in_helper(obj0);
9420 if (arg1 == NULL) SWIG_fail;
ae8162c8 9421 temp1 = true;
d55e5bfc
RD
9422 }
9423 if (obj1) {
c32bde28 9424 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9435 {
9436 if (temp1)
9437 delete arg1;
9438 }
9439 return resultobj;
9440 fail:
9441 {
9442 if (temp1)
9443 delete arg1;
9444 }
9445 return NULL;
9446}
9447
9448
c32bde28 9449static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9450 PyObject *resultobj;
9451 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9452 int arg2 = (int) -1 ;
9453 wxPyProcess *result;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "parent",(char *) "id", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9461 if (obj0) {
9462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9464 }
9465 if (obj1) {
c32bde28 9466 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9477 return resultobj;
9478 fail:
9479 return NULL;
9480}
9481
9482
c32bde28 9483static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9484 PyObject *resultobj;
9485 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9486 PyObject *arg2 = (PyObject *) 0 ;
9487 PyObject *arg3 = (PyObject *) 0 ;
9488 PyObject * obj0 = 0 ;
9489 PyObject * obj1 = 0 ;
9490 PyObject * obj2 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "self",(char *) "_class", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 arg2 = obj1;
9499 arg3 = obj2;
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 (arg1)->_setCallbackInfo(arg2,arg3);
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 Py_INCREF(Py_None); resultobj = Py_None;
9508 return resultobj;
9509 fail:
9510 return NULL;
9511}
9512
9513
c32bde28 9514static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9515 PyObject *resultobj;
9516 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9517 int arg2 ;
9518 int arg3 ;
9519 PyObject * obj0 = 0 ;
9520 PyObject * obj1 = 0 ;
9521 PyObject * obj2 = 0 ;
9522 char *kwnames[] = {
9523 (char *) "self",(char *) "pid",(char *) "status", NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9529 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9530 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9531 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9532 if (PyErr_Occurred()) SWIG_fail;
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 (arg1)->base_OnTerminate(arg2,arg3);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 Py_INCREF(Py_None); resultobj = Py_None;
9541 return resultobj;
9542 fail:
9543 return NULL;
9544}
9545
9546
c32bde28 9547static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9548 PyObject *resultobj;
9549 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 (arg1)->Redirect();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 Py_INCREF(Py_None); resultobj = Py_None;
9566 return resultobj;
9567 fail:
9568 return NULL;
9569}
9570
9571
c32bde28 9572static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9573 PyObject *resultobj;
9574 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9575 bool result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (bool)(arg1)->IsRedirected();
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 {
9592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9593 }
9594 return resultobj;
9595 fail:
9596 return NULL;
9597}
9598
9599
c32bde28 9600static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9601 PyObject *resultobj;
9602 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9603 PyObject * obj0 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->Detach();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622}
9623
9624
c32bde28 9625static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9626 PyObject *resultobj;
9627 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9628 wxInputStream *result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (wxInputStream *)(arg1)->GetInputStream();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 wxPyInputStream * _ptr = NULL;
9646
9647 if (result) {
9648 _ptr = new wxPyInputStream(result);
9649 }
fc71d09b 9650 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
9651 }
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
c32bde28 9658static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9659 PyObject *resultobj;
9660 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9661 wxInputStream *result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = (wxInputStream *)(arg1)->GetErrorStream();
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 {
9678 wxPyInputStream * _ptr = NULL;
9679
9680 if (result) {
9681 _ptr = new wxPyInputStream(result);
9682 }
fc71d09b 9683 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
9684 }
9685 return resultobj;
9686 fail:
9687 return NULL;
9688}
9689
9690
c32bde28 9691static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9692 PyObject *resultobj;
9693 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9694 wxOutputStream *result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (wxOutputStream *)(arg1)->GetOutputStream();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9711 return resultobj;
9712 fail:
9713 return NULL;
9714}
9715
9716
c32bde28 9717static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9718 PyObject *resultobj;
9719 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->CloseOutput();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 Py_INCREF(Py_None); resultobj = Py_None;
9736 return resultobj;
9737 fail:
9738 return NULL;
9739}
9740
9741
c32bde28 9742static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9743 PyObject *resultobj;
9744 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9745 bool result;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
9764 return resultobj;
9765 fail:
9766 return NULL;
9767}
9768
9769
c32bde28 9770static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9771 PyObject *resultobj;
9772 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9773 bool result;
9774 PyObject * obj0 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 {
9790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9791 }
9792 return resultobj;
9793 fail:
9794 return NULL;
9795}
9796
9797
c32bde28 9798static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9799 PyObject *resultobj;
9800 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9801 bool result;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 {
9818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9819 }
9820 return resultobj;
9821 fail:
9822 return NULL;
9823}
9824
9825
c32bde28 9826static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9827 PyObject *obj;
9828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9830 Py_INCREF(obj);
9831 return Py_BuildValue((char *)"");
9832}
c32bde28 9833static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9834 PyObject *resultobj;
9835 int arg1 = (int) 0 ;
9836 int arg2 = (int) 0 ;
9837 int arg3 = (int) 0 ;
9838 wxProcessEvent *result;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9847 if (obj0) {
c32bde28 9848 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 if (obj1) {
c32bde28 9852 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 if (obj2) {
c32bde28 9856 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
c32bde28 9873static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9874 PyObject *resultobj;
9875 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9876 int result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (int)(arg1)->GetPid();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
c32bde28 9892 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9893 return resultobj;
9894 fail:
9895 return NULL;
9896}
9897
9898
c32bde28 9899static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9900 PyObject *resultobj;
9901 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9902 int result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (int)(arg1)->GetExitCode();
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
c32bde28 9918 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9919 return resultobj;
9920 fail:
9921 return NULL;
9922}
9923
9924
c32bde28 9925static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9926 PyObject *resultobj;
9927 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9928 int arg2 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "m_pid", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9938 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9939 if (PyErr_Occurred()) SWIG_fail;
9940 if (arg1) (arg1)->m_pid = arg2;
9941
9942 Py_INCREF(Py_None); resultobj = Py_None;
9943 return resultobj;
9944 fail:
9945 return NULL;
9946}
9947
9948
c32bde28 9949static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9950 PyObject *resultobj;
9951 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9952 int result;
9953 PyObject * obj0 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9961 result = (int) ((arg1)->m_pid);
9962
c32bde28 9963 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9964 return resultobj;
9965 fail:
9966 return NULL;
9967}
9968
9969
c32bde28 9970static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9971 PyObject *resultobj;
9972 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9973 int arg2 ;
9974 PyObject * obj0 = 0 ;
9975 PyObject * obj1 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "m_exitcode", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9983 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9984 if (PyErr_Occurred()) SWIG_fail;
9985 if (arg1) (arg1)->m_exitcode = arg2;
9986
9987 Py_INCREF(Py_None); resultobj = Py_None;
9988 return resultobj;
9989 fail:
9990 return NULL;
9991}
9992
9993
c32bde28 9994static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9995 PyObject *resultobj;
9996 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9997 int result;
9998 PyObject * obj0 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
10005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10006 result = (int) ((arg1)->m_exitcode);
10007
c32bde28 10008 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10009 return resultobj;
10010 fail:
10011 return NULL;
10012}
10013
10014
c32bde28 10015static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10016 PyObject *obj;
10017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10018 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
10019 Py_INCREF(obj);
10020 return Py_BuildValue((char *)"");
10021}
c32bde28 10022static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10023 PyObject *resultobj;
10024 wxString *arg1 = 0 ;
10025 int arg2 = (int) wxEXEC_ASYNC ;
10026 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
10027 long result;
ae8162c8 10028 bool temp1 = false ;
d55e5bfc
RD
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "command",(char *) "flags",(char *) "process", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
10037 {
10038 arg1 = wxString_in_helper(obj0);
10039 if (arg1 == NULL) SWIG_fail;
ae8162c8 10040 temp1 = true;
d55e5bfc
RD
10041 }
10042 if (obj1) {
c32bde28 10043 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 if (obj2) {
10047 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10049 }
10050 {
0439c23b 10051 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
10054
10055 wxPyEndAllowThreads(__tstate);
110da5b0 10056 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 10057 }
c32bde28 10058 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
10059 {
10060 if (temp1)
10061 delete arg1;
10062 }
10063 return resultobj;
10064 fail:
10065 {
10066 if (temp1)
10067 delete arg1;
10068 }
10069 return NULL;
10070}
10071
10072
c32bde28 10073static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10074 PyObject *resultobj;
10075 int arg1 = (int) wxJOYSTICK1 ;
10076 wxJoystick *result;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "joystick", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
10083 if (obj0) {
c32bde28 10084 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 {
0439c23b 10088 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (wxJoystick *)new wxJoystick(arg1);
10091
10092 wxPyEndAllowThreads(__tstate);
110da5b0 10093 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10094 }
10095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
10096 return resultobj;
10097 fail:
10098 return NULL;
10099}
10100
10101
c32bde28 10102static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10103 PyObject *resultobj;
10104 wxJoystick *arg1 = (wxJoystick *) 0 ;
10105 PyObject * obj0 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 delete arg1;
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124}
10125
10126
c32bde28 10127static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10128 PyObject *resultobj;
10129 wxJoystick *arg1 = (wxJoystick *) 0 ;
10130 wxPoint result;
10131 PyObject * obj0 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
10137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (arg1)->GetPosition();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 {
10147 wxPoint * resultptr;
10148 resultptr = new wxPoint((wxPoint &) result);
10149 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10150 }
10151 return resultobj;
10152 fail:
10153 return NULL;
10154}
10155
10156
c32bde28 10157static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10158 PyObject *resultobj;
10159 wxJoystick *arg1 = (wxJoystick *) 0 ;
10160 int result;
10161 PyObject * obj0 = 0 ;
10162 char *kwnames[] = {
10163 (char *) "self", NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
10167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 result = (int)(arg1)->GetZPosition();
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
c32bde28 10176 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10177 return resultobj;
10178 fail:
10179 return NULL;
10180}
10181
10182
c32bde28 10183static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10184 PyObject *resultobj;
10185 wxJoystick *arg1 = (wxJoystick *) 0 ;
10186 int result;
10187 PyObject * obj0 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
10193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (int)(arg1)->GetButtonState();
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
c32bde28 10202 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
c32bde28 10209static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10210 PyObject *resultobj;
10211 wxJoystick *arg1 = (wxJoystick *) 0 ;
10212 int result;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (int)(arg1)->GetPOVPosition();
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
c32bde28 10228 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10229 return resultobj;
10230 fail:
10231 return NULL;
10232}
10233
10234
c32bde28 10235static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10236 PyObject *resultobj;
10237 wxJoystick *arg1 = (wxJoystick *) 0 ;
10238 int result;
10239 PyObject * obj0 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "self", NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
10245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (int)(arg1)->GetPOVCTSPosition();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
c32bde28 10254 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10255 return resultobj;
10256 fail:
10257 return NULL;
10258}
10259
10260
c32bde28 10261static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10262 PyObject *resultobj;
10263 wxJoystick *arg1 = (wxJoystick *) 0 ;
10264 int result;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (int)(arg1)->GetRudderPosition();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
c32bde28 10280 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
c32bde28 10287static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10288 PyObject *resultobj;
10289 wxJoystick *arg1 = (wxJoystick *) 0 ;
10290 int result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (int)(arg1)->GetUPosition();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
c32bde28 10306 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10307 return resultobj;
10308 fail:
10309 return NULL;
10310}
10311
10312
c32bde28 10313static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10314 PyObject *resultobj;
10315 wxJoystick *arg1 = (wxJoystick *) 0 ;
10316 int result;
10317 PyObject * obj0 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "self", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (int)(arg1)->GetVPosition();
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
c32bde28 10332 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10333 return resultobj;
10334 fail:
10335 return NULL;
10336}
10337
10338
c32bde28 10339static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10340 PyObject *resultobj;
10341 wxJoystick *arg1 = (wxJoystick *) 0 ;
10342 int result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (int)(arg1)->GetMovementThreshold();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
c32bde28 10358 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10359 return resultobj;
10360 fail:
10361 return NULL;
10362}
10363
10364
c32bde28 10365static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10366 PyObject *resultobj;
10367 wxJoystick *arg1 = (wxJoystick *) 0 ;
10368 int arg2 ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "threshold", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10378 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10379 if (PyErr_Occurred()) SWIG_fail;
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->SetMovementThreshold(arg2);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 Py_INCREF(Py_None); resultobj = Py_None;
10388 return resultobj;
10389 fail:
10390 return NULL;
10391}
10392
10393
c32bde28 10394static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10395 PyObject *resultobj;
10396 wxJoystick *arg1 = (wxJoystick *) 0 ;
10397 bool result;
10398 PyObject * obj0 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (bool)(arg1)->IsOk();
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 {
10414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10415 }
10416 return resultobj;
10417 fail:
10418 return NULL;
10419}
10420
10421
c32bde28 10422static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10423 PyObject *resultobj;
10424 wxJoystick *arg1 = (wxJoystick *) 0 ;
10425 int result;
10426 PyObject * obj0 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)(arg1)->GetNumberJoysticks();
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
c32bde28 10441 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10442 return resultobj;
10443 fail:
10444 return NULL;
10445}
10446
10447
c32bde28 10448static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10449 PyObject *resultobj;
10450 wxJoystick *arg1 = (wxJoystick *) 0 ;
10451 int result;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (int)(arg1)->GetManufacturerId();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
c32bde28 10467 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
c32bde28 10474static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10475 PyObject *resultobj;
10476 wxJoystick *arg1 = (wxJoystick *) 0 ;
10477 int result;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (int)(arg1)->GetProductId();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
c32bde28 10493 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
c32bde28 10500static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10501 PyObject *resultobj;
10502 wxJoystick *arg1 = (wxJoystick *) 0 ;
10503 wxString result;
10504 PyObject * obj0 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (arg1)->GetProductName();
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 {
10520#if wxUSE_UNICODE
10521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10522#else
10523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10524#endif
10525 }
10526 return resultobj;
10527 fail:
10528 return NULL;
10529}
10530
10531
c32bde28 10532static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10533 PyObject *resultobj;
10534 wxJoystick *arg1 = (wxJoystick *) 0 ;
10535 int result;
10536 PyObject * obj0 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (int)(arg1)->GetXMin();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
c32bde28 10551 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10552 return resultobj;
10553 fail:
10554 return NULL;
10555}
10556
10557
c32bde28 10558static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10559 PyObject *resultobj;
10560 wxJoystick *arg1 = (wxJoystick *) 0 ;
10561 int result;
10562 PyObject * obj0 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (int)(arg1)->GetYMin();
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
c32bde28 10577 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10578 return resultobj;
10579 fail:
10580 return NULL;
10581}
10582
10583
c32bde28 10584static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10585 PyObject *resultobj;
10586 wxJoystick *arg1 = (wxJoystick *) 0 ;
10587 int result;
10588 PyObject * obj0 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (int)(arg1)->GetZMin();
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
c32bde28 10603 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10604 return resultobj;
10605 fail:
10606 return NULL;
10607}
10608
10609
c32bde28 10610static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10611 PyObject *resultobj;
10612 wxJoystick *arg1 = (wxJoystick *) 0 ;
10613 int result;
10614 PyObject * obj0 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "self", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = (int)(arg1)->GetXMax();
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
c32bde28 10629 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
c32bde28 10636static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10637 PyObject *resultobj;
10638 wxJoystick *arg1 = (wxJoystick *) 0 ;
10639 int result;
10640 PyObject * obj0 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)(arg1)->GetYMax();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
c32bde28 10655 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10656 return resultobj;
10657 fail:
10658 return NULL;
10659}
10660
10661
c32bde28 10662static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10663 PyObject *resultobj;
10664 wxJoystick *arg1 = (wxJoystick *) 0 ;
10665 int result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 result = (int)(arg1)->GetZMax();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
c32bde28 10681 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10682 return resultobj;
10683 fail:
10684 return NULL;
10685}
10686
10687
c32bde28 10688static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10689 PyObject *resultobj;
10690 wxJoystick *arg1 = (wxJoystick *) 0 ;
10691 int result;
10692 PyObject * obj0 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 result = (int)(arg1)->GetNumberButtons();
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
c32bde28 10707 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10708 return resultobj;
10709 fail:
10710 return NULL;
10711}
10712
10713
c32bde28 10714static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10715 PyObject *resultobj;
10716 wxJoystick *arg1 = (wxJoystick *) 0 ;
10717 int result;
10718 PyObject * obj0 = 0 ;
10719 char *kwnames[] = {
10720 (char *) "self", NULL
10721 };
10722
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (int)(arg1)->GetNumberAxes();
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
c32bde28 10733 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10734 return resultobj;
10735 fail:
10736 return NULL;
10737}
10738
10739
c32bde28 10740static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10741 PyObject *resultobj;
10742 wxJoystick *arg1 = (wxJoystick *) 0 ;
10743 int result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 result = (int)(arg1)->GetMaxButtons();
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
c32bde28 10759 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10760 return resultobj;
10761 fail:
10762 return NULL;
10763}
10764
10765
c32bde28 10766static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10767 PyObject *resultobj;
10768 wxJoystick *arg1 = (wxJoystick *) 0 ;
10769 int result;
10770 PyObject * obj0 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (int)(arg1)->GetMaxAxes();
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
c32bde28 10785 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10786 return resultobj;
10787 fail:
10788 return NULL;
10789}
10790
10791
c32bde28 10792static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10793 PyObject *resultobj;
10794 wxJoystick *arg1 = (wxJoystick *) 0 ;
10795 int result;
10796 PyObject * obj0 = 0 ;
10797 char *kwnames[] = {
10798 (char *) "self", NULL
10799 };
10800
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 result = (int)(arg1)->GetPollingMin();
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
c32bde28 10811 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
c32bde28 10818static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10819 PyObject *resultobj;
10820 wxJoystick *arg1 = (wxJoystick *) 0 ;
10821 int result;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (int)(arg1)->GetPollingMax();
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
c32bde28 10837 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
c32bde28 10844static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10845 PyObject *resultobj;
10846 wxJoystick *arg1 = (wxJoystick *) 0 ;
10847 int result;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = (int)(arg1)->GetRudderMin();
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
c32bde28 10863 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
c32bde28 10870static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10871 PyObject *resultobj;
10872 wxJoystick *arg1 = (wxJoystick *) 0 ;
10873 int result;
10874 PyObject * obj0 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (int)(arg1)->GetRudderMax();
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
c32bde28 10889 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10890 return resultobj;
10891 fail:
10892 return NULL;
10893}
10894
10895
c32bde28 10896static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10897 PyObject *resultobj;
10898 wxJoystick *arg1 = (wxJoystick *) 0 ;
10899 int result;
10900 PyObject * obj0 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 result = (int)(arg1)->GetUMin();
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
c32bde28 10915 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10916 return resultobj;
10917 fail:
10918 return NULL;
10919}
10920
10921
c32bde28 10922static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10923 PyObject *resultobj;
10924 wxJoystick *arg1 = (wxJoystick *) 0 ;
10925 int result;
10926 PyObject * obj0 = 0 ;
10927 char *kwnames[] = {
10928 (char *) "self", NULL
10929 };
10930
10931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (int)(arg1)->GetUMax();
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
c32bde28 10941 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
c32bde28 10948static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10949 PyObject *resultobj;
10950 wxJoystick *arg1 = (wxJoystick *) 0 ;
10951 int result;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (int)(arg1)->GetVMin();
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
c32bde28 10967 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
c32bde28 10974static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10975 PyObject *resultobj;
10976 wxJoystick *arg1 = (wxJoystick *) 0 ;
10977 int result;
10978 PyObject * obj0 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 result = (int)(arg1)->GetVMax();
10989
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
c32bde28 10993 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10994 return resultobj;
10995 fail:
10996 return NULL;
10997}
10998
10999
c32bde28 11000static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11001 PyObject *resultobj;
11002 wxJoystick *arg1 = (wxJoystick *) 0 ;
11003 bool result;
11004 PyObject * obj0 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (bool)(arg1)->HasRudder();
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 {
11020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11021 }
11022 return resultobj;
11023 fail:
11024 return NULL;
11025}
11026
11027
c32bde28 11028static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11029 PyObject *resultobj;
11030 wxJoystick *arg1 = (wxJoystick *) 0 ;
11031 bool result;
11032 PyObject * obj0 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 result = (bool)(arg1)->HasZ();
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053}
11054
11055
c32bde28 11056static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11057 PyObject *resultobj;
11058 wxJoystick *arg1 = (wxJoystick *) 0 ;
11059 bool result;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)(arg1)->HasU();
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 {
11076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11077 }
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
c32bde28 11084static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11085 PyObject *resultobj;
11086 wxJoystick *arg1 = (wxJoystick *) 0 ;
11087 bool result;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = (bool)(arg1)->HasV();
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 {
11104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11105 }
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
c32bde28 11112static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11113 PyObject *resultobj;
11114 wxJoystick *arg1 = (wxJoystick *) 0 ;
11115 bool result;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
11122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (bool)(arg1)->HasPOV();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11133 }
11134 return resultobj;
11135 fail:
11136 return NULL;
11137}
11138
11139
c32bde28 11140static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11141 PyObject *resultobj;
11142 wxJoystick *arg1 = (wxJoystick *) 0 ;
11143 bool result;
11144 PyObject * obj0 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (bool)(arg1)->HasPOV4Dir();
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11161 }
11162 return resultobj;
11163 fail:
11164 return NULL;
11165}
11166
11167
c32bde28 11168static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11169 PyObject *resultobj;
11170 wxJoystick *arg1 = (wxJoystick *) 0 ;
11171 bool result;
11172 PyObject * obj0 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
11178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (bool)(arg1)->HasPOVCTS();
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 {
11188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11189 }
11190 return resultobj;
11191 fail:
11192 return NULL;
11193}
11194
11195
c32bde28 11196static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11197 PyObject *resultobj;
11198 wxJoystick *arg1 = (wxJoystick *) 0 ;
11199 wxWindow *arg2 = (wxWindow *) 0 ;
11200 int arg3 = (int) 0 ;
11201 bool result;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 PyObject * obj2 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
11210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11214 if (obj2) {
c32bde28 11215 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 result = (bool)(arg1)->SetCapture(arg2,arg3);
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 {
11226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11227 }
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
c32bde28 11234static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11235 PyObject *resultobj;
11236 wxJoystick *arg1 = (wxJoystick *) 0 ;
11237 bool result;
11238 PyObject * obj0 = 0 ;
11239 char *kwnames[] = {
11240 (char *) "self", NULL
11241 };
11242
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
11244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 result = (bool)(arg1)->ReleaseCapture();
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 {
11254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11255 }
11256 return resultobj;
11257 fail:
11258 return NULL;
11259}
11260
11261
c32bde28 11262static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11263 PyObject *obj;
11264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11265 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
11266 Py_INCREF(obj);
11267 return Py_BuildValue((char *)"");
11268}
c32bde28 11269static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11270 PyObject *resultobj;
11271 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11272 wxPoint *arg2 = (wxPoint *) 0 ;
11273 PyObject * obj0 = 0 ;
11274 PyObject * obj1 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self",(char *) "m_pos", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
11280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
11283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11284 if (arg1) (arg1)->m_pos = *arg2;
11285
11286 Py_INCREF(Py_None); resultobj = Py_None;
11287 return resultobj;
11288 fail:
11289 return NULL;
11290}
11291
11292
c32bde28 11293static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11294 PyObject *resultobj;
11295 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11296 wxPoint *result;
11297 PyObject * obj0 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11305 result = (wxPoint *)& ((arg1)->m_pos);
11306
11307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
11308 return resultobj;
11309 fail:
11310 return NULL;
11311}
11312
11313
c32bde28 11314static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11315 PyObject *resultobj;
11316 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11317 int arg2 ;
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self",(char *) "m_zPosition", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11327 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11328 if (PyErr_Occurred()) SWIG_fail;
11329 if (arg1) (arg1)->m_zPosition = arg2;
11330
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
c32bde28 11338static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11339 PyObject *resultobj;
11340 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11341 int result;
11342 PyObject * obj0 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11350 result = (int) ((arg1)->m_zPosition);
11351
c32bde28 11352 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11353 return resultobj;
11354 fail:
11355 return NULL;
11356}
11357
11358
c32bde28 11359static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11360 PyObject *resultobj;
11361 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11362 int arg2 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "m_buttonChange", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11372 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11373 if (PyErr_Occurred()) SWIG_fail;
11374 if (arg1) (arg1)->m_buttonChange = arg2;
11375
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380}
11381
11382
c32bde28 11383static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11384 PyObject *resultobj;
11385 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11386 int result;
11387 PyObject * obj0 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11395 result = (int) ((arg1)->m_buttonChange);
11396
c32bde28 11397 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11398 return resultobj;
11399 fail:
11400 return NULL;
11401}
11402
11403
c32bde28 11404static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11405 PyObject *resultobj;
11406 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11407 int arg2 ;
11408 PyObject * obj0 = 0 ;
11409 PyObject * obj1 = 0 ;
11410 char *kwnames[] = {
11411 (char *) "self",(char *) "m_buttonState", NULL
11412 };
11413
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11417 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11418 if (PyErr_Occurred()) SWIG_fail;
11419 if (arg1) (arg1)->m_buttonState = arg2;
11420
11421 Py_INCREF(Py_None); resultobj = Py_None;
11422 return resultobj;
11423 fail:
11424 return NULL;
11425}
11426
11427
c32bde28 11428static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11429 PyObject *resultobj;
11430 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11431 int result;
11432 PyObject * obj0 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11440 result = (int) ((arg1)->m_buttonState);
11441
c32bde28 11442 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11443 return resultobj;
11444 fail:
11445 return NULL;
11446}
11447
11448
c32bde28 11449static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11450 PyObject *resultobj;
11451 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11452 int arg2 ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self",(char *) "m_joyStick", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11462 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11463 if (PyErr_Occurred()) SWIG_fail;
11464 if (arg1) (arg1)->m_joyStick = arg2;
11465
11466 Py_INCREF(Py_None); resultobj = Py_None;
11467 return resultobj;
11468 fail:
11469 return NULL;
11470}
11471
11472
c32bde28 11473static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11474 PyObject *resultobj;
11475 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11476 int result;
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11485 result = (int) ((arg1)->m_joyStick);
11486
c32bde28 11487 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11488 return resultobj;
11489 fail:
11490 return NULL;
11491}
11492
11493
c32bde28 11494static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11495 PyObject *resultobj;
11496 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11497 int arg2 = (int) 0 ;
11498 int arg3 = (int) wxJOYSTICK1 ;
11499 int arg4 = (int) 0 ;
11500 wxJoystickEvent *result;
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
11504 PyObject * obj3 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11510 if (obj0) {
c32bde28 11511 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 if (obj1) {
c32bde28 11515 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 if (obj2) {
c32bde28 11519 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 if (obj3) {
c32bde28 11523 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11534 return resultobj;
11535 fail:
11536 return NULL;
11537}
11538
11539
c32bde28 11540static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11541 PyObject *resultobj;
11542 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11543 wxPoint result;
11544 PyObject * obj0 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 wxPoint * resultptr;
11561 resultptr = new wxPoint((wxPoint &) result);
11562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11563 }
11564 return resultobj;
11565 fail:
11566 return NULL;
11567}
11568
11569
c32bde28 11570static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11571 PyObject *resultobj;
11572 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11573 int result;
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
c32bde28 11589 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11590 return resultobj;
11591 fail:
11592 return NULL;
11593}
11594
11595
c32bde28 11596static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11597 PyObject *resultobj;
11598 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11599 int result;
11600 PyObject * obj0 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
c32bde28 11615 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11616 return resultobj;
11617 fail:
11618 return NULL;
11619}
11620
11621
c32bde28 11622static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11623 PyObject *resultobj;
11624 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11625 int result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
c32bde28 11641 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11642 return resultobj;
11643 fail:
11644 return NULL;
11645}
11646
11647
c32bde28 11648static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11649 PyObject *resultobj;
11650 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11651 int result;
11652 PyObject * obj0 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
c32bde28 11667 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11668 return resultobj;
11669 fail:
11670 return NULL;
11671}
11672
11673
c32bde28 11674static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11675 PyObject *resultobj;
11676 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11677 int arg2 ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "stick", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11687 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11688 if (PyErr_Occurred()) SWIG_fail;
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 (arg1)->SetJoystick(arg2);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 Py_INCREF(Py_None); resultobj = Py_None;
11697 return resultobj;
11698 fail:
11699 return NULL;
11700}
11701
11702
c32bde28 11703static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11704 PyObject *resultobj;
11705 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11706 int arg2 ;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 char *kwnames[] = {
11710 (char *) "self",(char *) "state", NULL
11711 };
11712
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11716 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11717 if (PyErr_Occurred()) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 (arg1)->SetButtonState(arg2);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729}
11730
11731
c32bde28 11732static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11733 PyObject *resultobj;
11734 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11735 int arg2 ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "change", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11745 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11746 if (PyErr_Occurred()) SWIG_fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 (arg1)->SetButtonChange(arg2);
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 Py_INCREF(Py_None); resultobj = Py_None;
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
c32bde28 11761static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11762 PyObject *resultobj;
11763 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11764 wxPoint *arg2 = 0 ;
11765 wxPoint temp2 ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "pos", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11775 {
11776 arg2 = &temp2;
11777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SetPosition((wxPoint const &)*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790}
11791
11792
c32bde28 11793static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11794 PyObject *resultobj;
11795 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11796 int arg2 ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "zPos", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11806 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11807 if (PyErr_Occurred()) SWIG_fail;
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 (arg1)->SetZPosition(arg2);
11811
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 Py_INCREF(Py_None); resultobj = Py_None;
11816 return resultobj;
11817 fail:
11818 return NULL;
11819}
11820
11821
c32bde28 11822static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11823 PyObject *resultobj;
11824 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11825 bool result;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 {
11842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11843 }
11844 return resultobj;
11845 fail:
11846 return NULL;
11847}
11848
11849
c32bde28 11850static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11851 PyObject *resultobj;
11852 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11853 bool result;
11854 PyObject * obj0 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
11870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11871 }
11872 return resultobj;
11873 fail:
11874 return NULL;
11875}
11876
11877
c32bde28 11878static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11879 PyObject *resultobj;
11880 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11881 bool result;
11882 PyObject * obj0 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11893
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 {
11898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11899 }
11900 return resultobj;
11901 fail:
11902 return NULL;
11903}
11904
11905
c32bde28 11906static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11907 PyObject *resultobj;
11908 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11909 int arg2 = (int) wxJOY_BUTTON_ANY ;
11910 bool result;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "but", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 if (obj1) {
c32bde28 11921 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 {
11932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11933 }
11934 return resultobj;
11935 fail:
11936 return NULL;
11937}
11938
11939
c32bde28 11940static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11941 PyObject *resultobj;
11942 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11943 int arg2 = (int) wxJOY_BUTTON_ANY ;
11944 bool result;
11945 PyObject * obj0 = 0 ;
11946 PyObject * obj1 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "but", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11954 if (obj1) {
c32bde28 11955 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 {
11966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11967 }
11968 return resultobj;
11969 fail:
11970 return NULL;
11971}
11972
11973
c32bde28 11974static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11975 PyObject *resultobj;
11976 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11977 int arg2 = (int) wxJOY_BUTTON_ANY ;
11978 bool result;
11979 PyObject * obj0 = 0 ;
11980 PyObject * obj1 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self",(char *) "but", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11988 if (obj1) {
c32bde28 11989 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 {
12000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12001 }
12002 return resultobj;
12003 fail:
12004 return NULL;
12005}
12006
12007
c32bde28 12008static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12009 PyObject *obj;
12010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12011 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
12012 Py_INCREF(obj);
12013 return Py_BuildValue((char *)"");
12014}
c32bde28 12015static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12016 PyObject *resultobj;
b1f29bf7
RD
12017 wxString const &arg1_defvalue = wxPyEmptyString ;
12018 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 12019 wxSound *result;
ae8162c8 12020 bool temp1 = false ;
d55e5bfc 12021 PyObject * obj0 = 0 ;
b1f29bf7
RD
12022 char *kwnames[] = {
12023 (char *) "fileName", NULL
12024 };
d55e5bfc 12025
b1f29bf7
RD
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
12027 if (obj0) {
12028 {
12029 arg1 = wxString_in_helper(obj0);
12030 if (arg1 == NULL) SWIG_fail;
ae8162c8 12031 temp1 = true;
b1f29bf7 12032 }
d55e5bfc
RD
12033 }
12034 {
0439c23b 12035 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 12037 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
12038
12039 wxPyEndAllowThreads(__tstate);
110da5b0 12040 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12041 }
12042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
12043 {
12044 if (temp1)
12045 delete arg1;
12046 }
12047 return resultobj;
12048 fail:
12049 {
12050 if (temp1)
12051 delete arg1;
12052 }
12053 return NULL;
12054}
12055
12056
c32bde28 12057static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12058 PyObject *resultobj;
b1f29bf7 12059 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
12060 wxSound *result;
12061 PyObject * obj0 = 0 ;
b1f29bf7
RD
12062 char *kwnames[] = {
12063 (char *) "data", NULL
12064 };
d55e5bfc 12065
b1f29bf7
RD
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
12067 arg1 = obj0;
d55e5bfc 12068 {
0439c23b 12069 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 12071 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
12072
12073 wxPyEndAllowThreads(__tstate);
110da5b0 12074 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12075 }
12076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
12077 return resultobj;
12078 fail:
12079 return NULL;
12080}
12081
12082
c32bde28 12083static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12084 PyObject *resultobj;
12085 wxSound *arg1 = (wxSound *) 0 ;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 delete arg1;
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 Py_INCREF(Py_None); resultobj = Py_None;
12102 return resultobj;
12103 fail:
12104 return NULL;
12105}
12106
12107
c32bde28 12108static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12109 PyObject *resultobj;
12110 wxSound *arg1 = (wxSound *) 0 ;
12111 wxString *arg2 = 0 ;
d55e5bfc 12112 bool result;
ae8162c8 12113 bool temp2 = false ;
d55e5bfc
RD
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
b1f29bf7
RD
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "fileName", NULL
12118 };
d55e5bfc 12119
b1f29bf7 12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
12121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12123 {
12124 arg2 = wxString_in_helper(obj1);
12125 if (arg2 == NULL) SWIG_fail;
ae8162c8 12126 temp2 = true;
d55e5bfc 12127 }
d55e5bfc
RD
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 12130 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 {
12136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12137 }
12138 {
12139 if (temp2)
12140 delete arg2;
12141 }
12142 return resultobj;
12143 fail:
12144 {
12145 if (temp2)
12146 delete arg2;
12147 }
12148 return NULL;
12149}
12150
12151
c32bde28 12152static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12153 PyObject *resultobj;
12154 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 12155 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
12156 bool result;
12157 PyObject * obj0 = 0 ;
12158 PyObject * obj1 = 0 ;
b1f29bf7
RD
12159 char *kwnames[] = {
12160 (char *) "self",(char *) "data", NULL
12161 };
d55e5bfc 12162
b1f29bf7 12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b1f29bf7 12166 arg2 = obj1;
d55e5bfc
RD
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 12169 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 {
12175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
c32bde28 12183static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12184 PyObject *resultobj;
12185 wxSound *arg1 = (wxSound *) 0 ;
12186 bool result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (bool)(arg1)->IsOk();
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 {
12203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12204 }
12205 return resultobj;
12206 fail:
12207 return NULL;
12208}
12209
12210
c32bde28 12211static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12212 PyObject *resultobj;
12213 wxSound *arg1 = (wxSound *) 0 ;
12214 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12215 bool result;
12216 PyObject * obj0 = 0 ;
12217 PyObject * obj1 = 0 ;
b1f29bf7
RD
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "flags", NULL
12220 };
d55e5bfc 12221
b1f29bf7 12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12225 if (obj1) {
c32bde28 12226 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 {
0439c23b 12230 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = (bool)((wxSound const *)arg1)->Play(arg2);
12233
12234 wxPyEndAllowThreads(__tstate);
110da5b0 12235 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12236 }
12237 {
12238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12239 }
12240 return resultobj;
12241 fail:
12242 return NULL;
12243}
12244
12245
c32bde28 12246static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12247 PyObject *resultobj;
12248 wxString *arg1 = 0 ;
12249 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12250 bool result;
ae8162c8 12251 bool temp1 = false ;
d55e5bfc
RD
12252 PyObject * obj0 = 0 ;
12253 PyObject * obj1 = 0 ;
b1f29bf7
RD
12254 char *kwnames[] = {
12255 (char *) "filename",(char *) "flags", NULL
12256 };
d55e5bfc 12257
b1f29bf7 12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
12259 {
12260 arg1 = wxString_in_helper(obj0);
12261 if (arg1 == NULL) SWIG_fail;
ae8162c8 12262 temp1 = true;
d55e5bfc
RD
12263 }
12264 if (obj1) {
c32bde28 12265 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 {
0439c23b 12269 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
12272
12273 wxPyEndAllowThreads(__tstate);
110da5b0 12274 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12275 }
12276 {
12277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12278 }
12279 {
12280 if (temp1)
12281 delete arg1;
12282 }
12283 return resultobj;
12284 fail:
12285 {
12286 if (temp1)
12287 delete arg1;
12288 }
12289 return NULL;
12290}
12291
12292
c32bde28 12293static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12294 PyObject *resultobj;
12295 char *kwnames[] = {
12296 NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
12300 {
0439c23b 12301 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 wxSound::Stop();
12304
12305 wxPyEndAllowThreads(__tstate);
110da5b0 12306 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12307 }
12308 Py_INCREF(Py_None); resultobj = Py_None;
12309 return resultobj;
12310 fail:
12311 return NULL;
12312}
12313
12314
c32bde28 12315static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12316 PyObject *obj;
12317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12318 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
12319 Py_INCREF(obj);
12320 return Py_BuildValue((char *)"");
12321}
c32bde28 12322static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12323 PyObject *resultobj;
12324 wxString *arg1 = 0 ;
12325 wxString *arg2 = 0 ;
12326 wxString *arg3 = 0 ;
12327 wxString *arg4 = 0 ;
12328 wxFileTypeInfo *result;
ae8162c8
RD
12329 bool temp1 = false ;
12330 bool temp2 = false ;
12331 bool temp3 = false ;
12332 bool temp4 = false ;
d55e5bfc
RD
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 PyObject * obj2 = 0 ;
12336 PyObject * obj3 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12342 {
12343 arg1 = wxString_in_helper(obj0);
12344 if (arg1 == NULL) SWIG_fail;
ae8162c8 12345 temp1 = true;
d55e5bfc
RD
12346 }
12347 {
12348 arg2 = wxString_in_helper(obj1);
12349 if (arg2 == NULL) SWIG_fail;
ae8162c8 12350 temp2 = true;
d55e5bfc
RD
12351 }
12352 {
12353 arg3 = wxString_in_helper(obj2);
12354 if (arg3 == NULL) SWIG_fail;
ae8162c8 12355 temp3 = true;
d55e5bfc
RD
12356 }
12357 {
12358 arg4 = wxString_in_helper(obj3);
12359 if (arg4 == NULL) SWIG_fail;
ae8162c8 12360 temp4 = true;
d55e5bfc
RD
12361 }
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12370 {
12371 if (temp1)
12372 delete arg1;
12373 }
12374 {
12375 if (temp2)
12376 delete arg2;
12377 }
12378 {
12379 if (temp3)
12380 delete arg3;
12381 }
12382 {
12383 if (temp4)
12384 delete arg4;
12385 }
12386 return resultobj;
12387 fail:
12388 {
12389 if (temp1)
12390 delete arg1;
12391 }
12392 {
12393 if (temp2)
12394 delete arg2;
12395 }
12396 {
12397 if (temp3)
12398 delete arg3;
12399 }
12400 {
12401 if (temp4)
12402 delete arg4;
12403 }
12404 return NULL;
12405}
12406
12407
c32bde28 12408static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12409 PyObject *resultobj;
12410 wxArrayString *arg1 = 0 ;
12411 wxFileTypeInfo *result;
ae8162c8 12412 bool temp1 = false ;
d55e5bfc
RD
12413 PyObject * obj0 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "sArray", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12419 {
12420 if (! PySequence_Check(obj0)) {
12421 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12422 SWIG_fail;
12423 }
12424 arg1 = new wxArrayString;
ae8162c8 12425 temp1 = true;
d55e5bfc
RD
12426 int i, len=PySequence_Length(obj0);
12427 for (i=0; i<len; i++) {
12428 PyObject* item = PySequence_GetItem(obj0, i);
12429#if wxUSE_UNICODE
12430 PyObject* str = PyObject_Unicode(item);
12431#else
12432 PyObject* str = PyObject_Str(item);
12433#endif
12434 if (PyErr_Occurred()) SWIG_fail;
12435 arg1->Add(Py2wxString(str));
12436 Py_DECREF(item);
12437 Py_DECREF(str);
12438 }
12439 }
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12448 {
12449 if (temp1) delete arg1;
12450 }
12451 return resultobj;
12452 fail:
12453 {
12454 if (temp1) delete arg1;
12455 }
12456 return NULL;
12457}
12458
12459
c32bde28 12460static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12461 PyObject *resultobj;
12462 wxFileTypeInfo *result;
12463 char *kwnames[] = {
12464 NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
c32bde28 12482static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12483 PyObject *resultobj;
12484 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12485 bool result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12503 }
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
c32bde28 12510static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12511 PyObject *resultobj;
12512 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12513 wxString *arg2 = 0 ;
12514 int arg3 = (int) 0 ;
ae8162c8 12515 bool temp2 = false ;
d55e5bfc
RD
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 PyObject * obj2 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12526 {
12527 arg2 = wxString_in_helper(obj1);
12528 if (arg2 == NULL) SWIG_fail;
ae8162c8 12529 temp2 = true;
d55e5bfc
RD
12530 }
12531 if (obj2) {
c32bde28 12532 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 Py_INCREF(Py_None); resultobj = Py_None;
12543 {
12544 if (temp2)
12545 delete arg2;
12546 }
12547 return resultobj;
12548 fail:
12549 {
12550 if (temp2)
12551 delete arg2;
12552 }
12553 return NULL;
12554}
12555
12556
c32bde28 12557static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12558 PyObject *resultobj;
12559 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12560 wxString *arg2 = 0 ;
ae8162c8 12561 bool temp2 = false ;
d55e5bfc
RD
12562 PyObject * obj0 = 0 ;
12563 PyObject * obj1 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self",(char *) "shortDesc", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12571 {
12572 arg2 = wxString_in_helper(obj1);
12573 if (arg2 == NULL) SWIG_fail;
ae8162c8 12574 temp2 = true;
d55e5bfc
RD
12575 }
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 (arg1)->SetShortDesc((wxString const &)*arg2);
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 Py_INCREF(Py_None); resultobj = Py_None;
12584 {
12585 if (temp2)
12586 delete arg2;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 return NULL;
12595}
12596
12597
c32bde28 12598static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12599 PyObject *resultobj;
12600 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12601 wxString *result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 {
12613 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12614 result = (wxString *) &_result_ref;
12615 }
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 {
12621#if wxUSE_UNICODE
12622 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12623#else
12624 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12625#endif
12626 }
12627 return resultobj;
12628 fail:
12629 return NULL;
12630}
12631
12632
c32bde28 12633static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12634 PyObject *resultobj;
12635 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12636 wxString *result;
12637 PyObject * obj0 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 {
12648 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12649 result = (wxString *) &_result_ref;
12650 }
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 {
12656#if wxUSE_UNICODE
12657 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12658#else
12659 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12660#endif
12661 }
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
c32bde28 12668static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12669 PyObject *resultobj;
12670 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12671 wxString *result;
12672 PyObject * obj0 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 {
12683 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12684 result = (wxString *) &_result_ref;
12685 }
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 {
12691#if wxUSE_UNICODE
12692 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12693#else
12694 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12695#endif
12696 }
12697 return resultobj;
12698 fail:
12699 return NULL;
12700}
12701
12702
c32bde28 12703static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12704 PyObject *resultobj;
12705 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12706 wxString *result;
12707 PyObject * obj0 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "self", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 {
12718 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12719 result = (wxString *) &_result_ref;
12720 }
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 {
12726#if wxUSE_UNICODE
12727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12728#else
12729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12730#endif
12731 }
12732 return resultobj;
12733 fail:
12734 return NULL;
12735}
12736
12737
c32bde28 12738static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12739 PyObject *resultobj;
12740 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12741 wxString *result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 {
12753 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12754 result = (wxString *) &_result_ref;
12755 }
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 {
12761#if wxUSE_UNICODE
12762 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12763#else
12764 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12765#endif
12766 }
12767 return resultobj;
12768 fail:
12769 return NULL;
12770}
12771
12772
c32bde28 12773static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12774 PyObject *resultobj;
12775 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12776 wxArrayString *result;
12777 PyObject * obj0 = 0 ;
12778 char *kwnames[] = {
12779 (char *) "self", NULL
12780 };
12781
12782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 {
12788 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12789 result = (wxArrayString *) &_result_ref;
12790 }
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 {
12796 resultobj = wxArrayString2PyList_helper(*result);
12797 }
12798 return resultobj;
12799 fail:
12800 return NULL;
12801}
12802
12803
c32bde28 12804static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12805 PyObject *resultobj;
12806 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12807 int result;
12808 PyObject * obj0 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
c32bde28 12823 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
c32bde28 12830static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12831 PyObject *resultobj;
12832 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12833 wxString *result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 {
12845 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12846 result = (wxString *) &_result_ref;
12847 }
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 {
12853#if wxUSE_UNICODE
12854 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12855#else
12856 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12857#endif
12858 }
12859 return resultobj;
12860 fail:
12861 return NULL;
12862}
12863
12864
c32bde28 12865static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12866 PyObject *resultobj;
12867 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12868 int result;
12869 PyObject * obj0 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
c32bde28 12884 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
c32bde28 12891static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12892 PyObject *obj;
12893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12895 Py_INCREF(obj);
12896 return Py_BuildValue((char *)"");
12897}
c32bde28 12898static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12899 PyObject *resultobj;
12900 wxFileTypeInfo *arg1 = 0 ;
12901 wxFileType *result;
12902 PyObject * obj0 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "ftInfo", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12909 SWIG_POINTER_EXCEPTION | 0)) == -1)
12910 SWIG_fail;
12911 if (arg1 == NULL) {
12912 PyErr_SetString(PyExc_TypeError,"null reference");
12913 SWIG_fail;
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12923 return resultobj;
12924 fail:
12925 return NULL;
12926}
12927
12928
c32bde28 12929static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12930 PyObject *resultobj;
12931 wxFileType *arg1 = (wxFileType *) 0 ;
12932 PyObject * obj0 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 delete arg1;
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 Py_INCREF(Py_None); resultobj = Py_None;
12948 return resultobj;
12949 fail:
12950 return NULL;
12951}
12952
12953
c32bde28 12954static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12955 PyObject *resultobj;
12956 wxFileType *arg1 = (wxFileType *) 0 ;
12957 PyObject *result;
12958 PyObject * obj0 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "self", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 result = (PyObject *)wxFileType_GetMimeType(arg1);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 resultobj = result;
12974 return resultobj;
12975 fail:
12976 return NULL;
12977}
12978
12979
c32bde28 12980static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12981 PyObject *resultobj;
12982 wxFileType *arg1 = (wxFileType *) 0 ;
12983 PyObject *result;
12984 PyObject * obj0 = 0 ;
12985 char *kwnames[] = {
12986 (char *) "self", NULL
12987 };
12988
12989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12992 {
12993 PyThreadState* __tstate = wxPyBeginAllowThreads();
12994 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12995
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = result;
13000 return resultobj;
13001 fail:
13002 return NULL;
13003}
13004
13005
c32bde28 13006static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13007 PyObject *resultobj;
13008 wxFileType *arg1 = (wxFileType *) 0 ;
13009 PyObject *result;
13010 PyObject * obj0 = 0 ;
13011 char *kwnames[] = {
13012 (char *) "self", NULL
13013 };
13014
13015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
13016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 result = (PyObject *)wxFileType_GetExtensions(arg1);
13021
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 resultobj = result;
13026 return resultobj;
13027 fail:
13028 return NULL;
13029}
13030
13031
c32bde28 13032static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13033 PyObject *resultobj;
13034 wxFileType *arg1 = (wxFileType *) 0 ;
13035 wxIcon *result;
13036 PyObject * obj0 = 0 ;
13037 char *kwnames[] = {
13038 (char *) "self", NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
13042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 result = (wxIcon *)wxFileType_GetIcon(arg1);
13047
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
13052 return resultobj;
13053 fail:
13054 return NULL;
13055}
13056
13057
c32bde28 13058static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13059 PyObject *resultobj;
13060 wxFileType *arg1 = (wxFileType *) 0 ;
13061 PyObject *result;
13062 PyObject * obj0 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 result = (PyObject *)wxFileType_GetIconInfo(arg1);
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = result;
13078 return resultobj;
13079 fail:
13080 return NULL;
13081}
13082
13083
c32bde28 13084static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13085 PyObject *resultobj;
13086 wxFileType *arg1 = (wxFileType *) 0 ;
13087 PyObject *result;
13088 PyObject * obj0 = 0 ;
13089 char *kwnames[] = {
13090 (char *) "self", NULL
13091 };
13092
13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
13094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = (PyObject *)wxFileType_GetDescription(arg1);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = result;
13104 return resultobj;
13105 fail:
13106 return NULL;
13107}
13108
13109
c32bde28 13110static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13111 PyObject *resultobj;
13112 wxFileType *arg1 = (wxFileType *) 0 ;
13113 wxString *arg2 = 0 ;
13114 wxString const &arg3_defvalue = wxPyEmptyString ;
13115 wxString *arg3 = (wxString *) &arg3_defvalue ;
13116 PyObject *result;
ae8162c8
RD
13117 bool temp2 = false ;
13118 bool temp3 = false ;
d55e5bfc
RD
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 PyObject * obj2 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 {
13130 arg2 = wxString_in_helper(obj1);
13131 if (arg2 == NULL) SWIG_fail;
ae8162c8 13132 temp2 = true;
d55e5bfc
RD
13133 }
13134 if (obj2) {
13135 {
13136 arg3 = wxString_in_helper(obj2);
13137 if (arg3 == NULL) SWIG_fail;
ae8162c8 13138 temp3 = true;
d55e5bfc
RD
13139 }
13140 }
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 resultobj = result;
13149 {
13150 if (temp2)
13151 delete arg2;
13152 }
13153 {
13154 if (temp3)
13155 delete arg3;
13156 }
13157 return resultobj;
13158 fail:
13159 {
13160 if (temp2)
13161 delete arg2;
13162 }
13163 {
13164 if (temp3)
13165 delete arg3;
13166 }
13167 return NULL;
13168}
13169
13170
c32bde28 13171static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13172 PyObject *resultobj;
13173 wxFileType *arg1 = (wxFileType *) 0 ;
13174 wxString *arg2 = 0 ;
13175 wxString const &arg3_defvalue = wxPyEmptyString ;
13176 wxString *arg3 = (wxString *) &arg3_defvalue ;
13177 PyObject *result;
ae8162c8
RD
13178 bool temp2 = false ;
13179 bool temp3 = false ;
d55e5bfc
RD
13180 PyObject * obj0 = 0 ;
13181 PyObject * obj1 = 0 ;
13182 PyObject * obj2 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13190 {
13191 arg2 = wxString_in_helper(obj1);
13192 if (arg2 == NULL) SWIG_fail;
ae8162c8 13193 temp2 = true;
d55e5bfc
RD
13194 }
13195 if (obj2) {
13196 {
13197 arg3 = wxString_in_helper(obj2);
13198 if (arg3 == NULL) SWIG_fail;
ae8162c8 13199 temp3 = true;
d55e5bfc
RD
13200 }
13201 }
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = result;
13210 {
13211 if (temp2)
13212 delete arg2;
13213 }
13214 {
13215 if (temp3)
13216 delete arg3;
13217 }
13218 return resultobj;
13219 fail:
13220 {
13221 if (temp2)
13222 delete arg2;
13223 }
13224 {
13225 if (temp3)
13226 delete arg3;
13227 }
13228 return NULL;
13229}
13230
13231
c32bde28 13232static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13233 PyObject *resultobj;
13234 wxFileType *arg1 = (wxFileType *) 0 ;
13235 wxString *arg2 = 0 ;
13236 wxString const &arg3_defvalue = wxPyEmptyString ;
13237 wxString *arg3 = (wxString *) &arg3_defvalue ;
13238 PyObject *result;
ae8162c8
RD
13239 bool temp2 = false ;
13240 bool temp3 = false ;
d55e5bfc
RD
13241 PyObject * obj0 = 0 ;
13242 PyObject * obj1 = 0 ;
13243 PyObject * obj2 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
13249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13251 {
13252 arg2 = wxString_in_helper(obj1);
13253 if (arg2 == NULL) SWIG_fail;
ae8162c8 13254 temp2 = true;
d55e5bfc
RD
13255 }
13256 if (obj2) {
13257 {
13258 arg3 = wxString_in_helper(obj2);
13259 if (arg3 == NULL) SWIG_fail;
ae8162c8 13260 temp3 = true;
d55e5bfc
RD
13261 }
13262 }
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = result;
13271 {
13272 if (temp2)
13273 delete arg2;
13274 }
13275 {
13276 if (temp3)
13277 delete arg3;
13278 }
13279 return resultobj;
13280 fail:
13281 {
13282 if (temp2)
13283 delete arg2;
13284 }
13285 {
13286 if (temp3)
13287 delete arg3;
13288 }
13289 return NULL;
13290}
13291
13292
c32bde28 13293static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13294 PyObject *resultobj;
13295 wxFileType *arg1 = (wxFileType *) 0 ;
13296 wxString *arg2 = 0 ;
13297 wxString *arg3 = 0 ;
ae8162c8 13298 bool arg4 = (bool) true ;
d55e5bfc 13299 bool result;
ae8162c8
RD
13300 bool temp2 = false ;
13301 bool temp3 = false ;
d55e5bfc
RD
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 PyObject * obj2 = 0 ;
13305 PyObject * obj3 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 {
13314 arg2 = wxString_in_helper(obj1);
13315 if (arg2 == NULL) SWIG_fail;
ae8162c8 13316 temp2 = true;
d55e5bfc
RD
13317 }
13318 {
13319 arg3 = wxString_in_helper(obj2);
13320 if (arg3 == NULL) SWIG_fail;
ae8162c8 13321 temp3 = true;
d55e5bfc
RD
13322 }
13323 if (obj3) {
c32bde28 13324 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 {
13335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13336 }
13337 {
13338 if (temp2)
13339 delete arg2;
13340 }
13341 {
13342 if (temp3)
13343 delete arg3;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 {
13352 if (temp3)
13353 delete arg3;
13354 }
13355 return NULL;
13356}
13357
13358
c32bde28 13359static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13360 PyObject *resultobj;
13361 wxFileType *arg1 = (wxFileType *) 0 ;
13362 wxString const &arg2_defvalue = wxPyEmptyString ;
13363 wxString *arg2 = (wxString *) &arg2_defvalue ;
13364 int arg3 = (int) 0 ;
13365 bool result;
ae8162c8 13366 bool temp2 = false ;
d55e5bfc
RD
13367 PyObject * obj0 = 0 ;
13368 PyObject * obj1 = 0 ;
13369 PyObject * obj2 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "cmd",(char *) "index", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13377 if (obj1) {
13378 {
13379 arg2 = wxString_in_helper(obj1);
13380 if (arg2 == NULL) SWIG_fail;
ae8162c8 13381 temp2 = true;
d55e5bfc
RD
13382 }
13383 }
13384 if (obj2) {
c32bde28 13385 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 {
13396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13397 }
13398 {
13399 if (temp2)
13400 delete arg2;
13401 }
13402 return resultobj;
13403 fail:
13404 {
13405 if (temp2)
13406 delete arg2;
13407 }
13408 return NULL;
13409}
13410
13411
c32bde28 13412static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13413 PyObject *resultobj;
13414 wxFileType *arg1 = (wxFileType *) 0 ;
13415 bool result;
13416 PyObject * obj0 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "self", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 {
13425 PyThreadState* __tstate = wxPyBeginAllowThreads();
13426 result = (bool)(arg1)->Unassociate();
13427
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 {
13432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13433 }
13434 return resultobj;
13435 fail:
13436 return NULL;
13437}
13438
13439
c32bde28 13440static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13441 PyObject *resultobj;
13442 wxString *arg1 = 0 ;
13443 wxString *arg2 = 0 ;
13444 wxString const &arg3_defvalue = wxPyEmptyString ;
13445 wxString *arg3 = (wxString *) &arg3_defvalue ;
13446 wxString result;
ae8162c8
RD
13447 bool temp1 = false ;
13448 bool temp2 = false ;
13449 bool temp3 = false ;
d55e5bfc
RD
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 PyObject * obj2 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13458 {
13459 arg1 = wxString_in_helper(obj0);
13460 if (arg1 == NULL) SWIG_fail;
ae8162c8 13461 temp1 = true;
d55e5bfc
RD
13462 }
13463 {
13464 arg2 = wxString_in_helper(obj1);
13465 if (arg2 == NULL) SWIG_fail;
ae8162c8 13466 temp2 = true;
d55e5bfc
RD
13467 }
13468 if (obj2) {
13469 {
13470 arg3 = wxString_in_helper(obj2);
13471 if (arg3 == NULL) SWIG_fail;
ae8162c8 13472 temp3 = true;
d55e5bfc
RD
13473 }
13474 }
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483#if wxUSE_UNICODE
13484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13485#else
13486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13487#endif
13488 }
13489 {
13490 if (temp1)
13491 delete arg1;
13492 }
13493 {
13494 if (temp2)
13495 delete arg2;
13496 }
13497 {
13498 if (temp3)
13499 delete arg3;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp1)
13505 delete arg1;
13506 }
13507 {
13508 if (temp2)
13509 delete arg2;
13510 }
13511 {
13512 if (temp3)
13513 delete arg3;
13514 }
13515 return NULL;
13516}
13517
13518
c32bde28 13519static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13520 PyObject *obj;
13521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13522 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13523 Py_INCREF(obj);
13524 return Py_BuildValue((char *)"");
13525}
c32bde28 13526static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
13527 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13528 return 1;
13529}
13530
13531
13532static PyObject *_wrap_TheMimeTypesManager_get() {
13533 PyObject *pyobj;
13534
13535 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13536 return pyobj;
13537}
13538
13539
c32bde28 13540static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13541 PyObject *resultobj;
13542 wxString *arg1 = 0 ;
13543 wxString *arg2 = 0 ;
13544 bool result;
ae8162c8
RD
13545 bool temp1 = false ;
13546 bool temp2 = false ;
d55e5bfc
RD
13547 PyObject * obj0 = 0 ;
13548 PyObject * obj1 = 0 ;
13549 char *kwnames[] = {
13550 (char *) "mimeType",(char *) "wildcard", NULL
13551 };
13552
13553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13554 {
13555 arg1 = wxString_in_helper(obj0);
13556 if (arg1 == NULL) SWIG_fail;
ae8162c8 13557 temp1 = true;
d55e5bfc
RD
13558 }
13559 {
13560 arg2 = wxString_in_helper(obj1);
13561 if (arg2 == NULL) SWIG_fail;
ae8162c8 13562 temp2 = true;
d55e5bfc
RD
13563 }
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 {
13572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13573 }
13574 {
13575 if (temp1)
13576 delete arg1;
13577 }
13578 {
13579 if (temp2)
13580 delete arg2;
13581 }
13582 return resultobj;
13583 fail:
13584 {
13585 if (temp1)
13586 delete arg1;
13587 }
13588 {
13589 if (temp2)
13590 delete arg2;
13591 }
13592 return NULL;
13593}
13594
13595
c32bde28 13596static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13597 PyObject *resultobj;
13598 wxMimeTypesManager *result;
13599 char *kwnames[] = {
13600 NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13612 return resultobj;
13613 fail:
13614 return NULL;
13615}
13616
13617
c32bde28 13618static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13619 PyObject *resultobj;
13620 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13621 int arg2 = (int) wxMAILCAP_ALL ;
13622 wxString const &arg3_defvalue = wxPyEmptyString ;
13623 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 13624 bool temp3 = false ;
d55e5bfc
RD
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 PyObject * obj2 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 if (obj1) {
c32bde28 13636 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 if (obj2) {
13640 {
13641 arg3 = wxString_in_helper(obj2);
13642 if (arg3 == NULL) SWIG_fail;
ae8162c8 13643 temp3 = true;
d55e5bfc
RD
13644 }
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 {
13655 if (temp3)
13656 delete arg3;
13657 }
13658 return resultobj;
13659 fail:
13660 {
13661 if (temp3)
13662 delete arg3;
13663 }
13664 return NULL;
13665}
13666
13667
c32bde28 13668static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13669 PyObject *resultobj;
13670 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 (arg1)->ClearData();
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 Py_INCREF(Py_None); resultobj = Py_None;
13687 return resultobj;
13688 fail:
13689 return NULL;
13690}
13691
13692
c32bde28 13693static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13694 PyObject *resultobj;
13695 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13696 wxString *arg2 = 0 ;
13697 wxFileType *result;
ae8162c8 13698 bool temp2 = false ;
d55e5bfc
RD
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "ext", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13708 {
13709 arg2 = wxString_in_helper(obj1);
13710 if (arg2 == NULL) SWIG_fail;
ae8162c8 13711 temp2 = true;
d55e5bfc
RD
13712 }
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13721 {
13722 if (temp2)
13723 delete arg2;
13724 }
13725 return resultobj;
13726 fail:
13727 {
13728 if (temp2)
13729 delete arg2;
13730 }
13731 return NULL;
13732}
13733
13734
c32bde28 13735static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13736 PyObject *resultobj;
13737 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13738 wxString *arg2 = 0 ;
13739 wxFileType *result;
ae8162c8 13740 bool temp2 = false ;
d55e5bfc
RD
13741 PyObject * obj0 = 0 ;
13742 PyObject * obj1 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self",(char *) "mimeType", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13750 {
13751 arg2 = wxString_in_helper(obj1);
13752 if (arg2 == NULL) SWIG_fail;
ae8162c8 13753 temp2 = true;
d55e5bfc
RD
13754 }
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13763 {
13764 if (temp2)
13765 delete arg2;
13766 }
13767 return resultobj;
13768 fail:
13769 {
13770 if (temp2)
13771 delete arg2;
13772 }
13773 return NULL;
13774}
13775
13776
c32bde28 13777static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13778 PyObject *resultobj;
13779 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13780 wxString *arg2 = 0 ;
ae8162c8 13781 bool arg3 = (bool) false ;
d55e5bfc 13782 bool result;
ae8162c8 13783 bool temp2 = false ;
d55e5bfc
RD
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 PyObject * obj2 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13794 {
13795 arg2 = wxString_in_helper(obj1);
13796 if (arg2 == NULL) SWIG_fail;
ae8162c8 13797 temp2 = true;
d55e5bfc
RD
13798 }
13799 if (obj2) {
c32bde28 13800 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13812 }
13813 {
13814 if (temp2)
13815 delete arg2;
13816 }
13817 return resultobj;
13818 fail:
13819 {
13820 if (temp2)
13821 delete arg2;
13822 }
13823 return NULL;
13824}
13825
13826
c32bde28 13827static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13828 PyObject *resultobj;
13829 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13830 wxString *arg2 = 0 ;
13831 bool result;
ae8162c8 13832 bool temp2 = false ;
d55e5bfc
RD
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "filename", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13842 {
13843 arg2 = wxString_in_helper(obj1);
13844 if (arg2 == NULL) SWIG_fail;
ae8162c8 13845 temp2 = true;
d55e5bfc
RD
13846 }
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 {
13855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13856 }
13857 {
13858 if (temp2)
13859 delete arg2;
13860 }
13861 return resultobj;
13862 fail:
13863 {
13864 if (temp2)
13865 delete arg2;
13866 }
13867 return NULL;
13868}
13869
13870
c32bde28 13871static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13872 PyObject *resultobj;
13873 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13874 PyObject *result;
13875 PyObject * obj0 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 resultobj = result;
13891 return resultobj;
13892 fail:
13893 return NULL;
13894}
13895
13896
c32bde28 13897static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13898 PyObject *resultobj;
13899 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13900 wxFileTypeInfo *arg2 = 0 ;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "ft", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13911 SWIG_POINTER_EXCEPTION | 0)) == -1)
13912 SWIG_fail;
13913 if (arg2 == NULL) {
13914 PyErr_SetString(PyExc_TypeError,"null reference");
13915 SWIG_fail;
13916 }
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
13924 Py_INCREF(Py_None); resultobj = Py_None;
13925 return resultobj;
13926 fail:
13927 return NULL;
13928}
13929
13930
c32bde28 13931static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13932 PyObject *resultobj;
13933 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13934 wxFileTypeInfo *arg2 = 0 ;
13935 wxFileType *result;
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "ftInfo", NULL
13940 };
13941
13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13946 SWIG_POINTER_EXCEPTION | 0)) == -1)
13947 SWIG_fail;
13948 if (arg2 == NULL) {
13949 PyErr_SetString(PyExc_TypeError,"null reference");
13950 SWIG_fail;
13951 }
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13960 return resultobj;
13961 fail:
13962 return NULL;
13963}
13964
13965
c32bde28 13966static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13967 PyObject *resultobj;
13968 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13969 wxFileType *arg2 = (wxFileType *) 0 ;
13970 bool result;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "ft", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (bool)(arg1)->Unassociate(arg2);
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 {
13990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13991 }
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
c32bde28 13998static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13999 PyObject *resultobj;
14000 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
14007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 delete arg1;
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 Py_INCREF(Py_None); resultobj = Py_None;
14017 return resultobj;
14018 fail:
14019 return NULL;
14020}
14021
14022
c32bde28 14023static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14024 PyObject *obj;
14025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
14027 Py_INCREF(obj);
14028 return Py_BuildValue((char *)"");
14029}
c32bde28 14030static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
14031 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
14032 return 1;
14033}
14034
14035
14036static PyObject *_wrap_ART_TOOLBAR_get() {
14037 PyObject *pyobj;
14038
14039 {
14040#if wxUSE_UNICODE
14041 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
14042#else
14043 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
14044#endif
14045 }
14046 return pyobj;
14047}
14048
14049
c32bde28 14050static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
14051 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
14052 return 1;
14053}
14054
14055
14056static PyObject *_wrap_ART_MENU_get() {
14057 PyObject *pyobj;
14058
14059 {
14060#if wxUSE_UNICODE
14061 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
14062#else
14063 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
14064#endif
14065 }
14066 return pyobj;
14067}
14068
14069
c32bde28 14070static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
14071 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
14072 return 1;
14073}
14074
14075
14076static PyObject *_wrap_ART_FRAME_ICON_get() {
14077 PyObject *pyobj;
14078
14079 {
14080#if wxUSE_UNICODE
14081 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
14082#else
14083 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
14084#endif
14085 }
14086 return pyobj;
14087}
14088
14089
c32bde28 14090static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
14091 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
14092 return 1;
14093}
14094
14095
14096static PyObject *_wrap_ART_CMN_DIALOG_get() {
14097 PyObject *pyobj;
14098
14099 {
14100#if wxUSE_UNICODE
14101 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14102#else
14103 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14104#endif
14105 }
14106 return pyobj;
14107}
14108
14109
c32bde28 14110static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
14111 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
14112 return 1;
14113}
14114
14115
14116static PyObject *_wrap_ART_HELP_BROWSER_get() {
14117 PyObject *pyobj;
14118
14119 {
14120#if wxUSE_UNICODE
14121 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14122#else
14123 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14124#endif
14125 }
14126 return pyobj;
14127}
14128
14129
c32bde28 14130static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
14131 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
14132 return 1;
14133}
14134
14135
14136static PyObject *_wrap_ART_MESSAGE_BOX_get() {
14137 PyObject *pyobj;
14138
14139 {
14140#if wxUSE_UNICODE
14141 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14142#else
14143 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14144#endif
14145 }
14146 return pyobj;
14147}
14148
14149
c32bde28 14150static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
14151 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
14152 return 1;
14153}
14154
14155
14156static PyObject *_wrap_ART_BUTTON_get() {
14157 PyObject *pyobj;
14158
14159 {
14160#if wxUSE_UNICODE
14161 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14162#else
14163 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14164#endif
14165 }
14166 return pyobj;
14167}
14168
14169
c32bde28 14170static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
14171 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
14172 return 1;
14173}
14174
14175
14176static PyObject *_wrap_ART_OTHER_get() {
14177 PyObject *pyobj;
14178
14179 {
14180#if wxUSE_UNICODE
14181 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14182#else
14183 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14184#endif
14185 }
14186 return pyobj;
14187}
14188
14189
c32bde28 14190static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
14191 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
14192 return 1;
14193}
14194
14195
14196static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
14197 PyObject *pyobj;
14198
14199 {
14200#if wxUSE_UNICODE
14201 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14202#else
14203 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14204#endif
14205 }
14206 return pyobj;
14207}
14208
14209
c32bde28 14210static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
14211 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
14212 return 1;
14213}
14214
14215
14216static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
14217 PyObject *pyobj;
14218
14219 {
14220#if wxUSE_UNICODE
14221 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14222#else
14223 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14224#endif
14225 }
14226 return pyobj;
14227}
14228
14229
c32bde28 14230static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
14231 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
14232 return 1;
14233}
14234
14235
14236static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
14237 PyObject *pyobj;
14238
14239 {
14240#if wxUSE_UNICODE
14241 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14242#else
14243 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14244#endif
14245 }
14246 return pyobj;
14247}
14248
14249
c32bde28 14250static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
14251 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
14252 return 1;
14253}
14254
14255
14256static PyObject *_wrap_ART_HELP_SETTINGS_get() {
14257 PyObject *pyobj;
14258
14259 {
14260#if wxUSE_UNICODE
14261 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14262#else
14263 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14264#endif
14265 }
14266 return pyobj;
14267}
14268
14269
c32bde28 14270static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
14271 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
14272 return 1;
14273}
14274
14275
14276static PyObject *_wrap_ART_HELP_BOOK_get() {
14277 PyObject *pyobj;
14278
14279 {
14280#if wxUSE_UNICODE
14281 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14282#else
14283 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14284#endif
14285 }
14286 return pyobj;
14287}
14288
14289
c32bde28 14290static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
14291 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
14292 return 1;
14293}
14294
14295
14296static PyObject *_wrap_ART_HELP_FOLDER_get() {
14297 PyObject *pyobj;
14298
14299 {
14300#if wxUSE_UNICODE
14301 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14302#else
14303 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14304#endif
14305 }
14306 return pyobj;
14307}
14308
14309
c32bde28 14310static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
14311 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
14312 return 1;
14313}
14314
14315
14316static PyObject *_wrap_ART_HELP_PAGE_get() {
14317 PyObject *pyobj;
14318
14319 {
14320#if wxUSE_UNICODE
14321 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14322#else
14323 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14324#endif
14325 }
14326 return pyobj;
14327}
14328
14329
c32bde28 14330static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
14331 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
14332 return 1;
14333}
14334
14335
14336static PyObject *_wrap_ART_GO_BACK_get() {
14337 PyObject *pyobj;
14338
14339 {
14340#if wxUSE_UNICODE
14341 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14342#else
14343 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14344#endif
14345 }
14346 return pyobj;
14347}
14348
14349
c32bde28 14350static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
14351 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
14352 return 1;
14353}
14354
14355
14356static PyObject *_wrap_ART_GO_FORWARD_get() {
14357 PyObject *pyobj;
14358
14359 {
14360#if wxUSE_UNICODE
14361 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14362#else
14363 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14364#endif
14365 }
14366 return pyobj;
14367}
14368
14369
c32bde28 14370static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
14371 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14372 return 1;
14373}
14374
14375
14376static PyObject *_wrap_ART_GO_UP_get() {
14377 PyObject *pyobj;
14378
14379 {
14380#if wxUSE_UNICODE
14381 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14382#else
14383 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14384#endif
14385 }
14386 return pyobj;
14387}
14388
14389
c32bde28 14390static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
14391 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14392 return 1;
14393}
14394
14395
14396static PyObject *_wrap_ART_GO_DOWN_get() {
14397 PyObject *pyobj;
14398
14399 {
14400#if wxUSE_UNICODE
14401 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14402#else
14403 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14404#endif
14405 }
14406 return pyobj;
14407}
14408
14409
c32bde28 14410static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
14411 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14412 return 1;
14413}
14414
14415
14416static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14417 PyObject *pyobj;
14418
14419 {
14420#if wxUSE_UNICODE
14421 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14422#else
14423 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14424#endif
14425 }
14426 return pyobj;
14427}
14428
14429
c32bde28 14430static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
14431 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14432 return 1;
14433}
14434
14435
14436static PyObject *_wrap_ART_GO_HOME_get() {
14437 PyObject *pyobj;
14438
14439 {
14440#if wxUSE_UNICODE
14441 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14442#else
14443 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14444#endif
14445 }
14446 return pyobj;
14447}
14448
14449
c32bde28 14450static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
14451 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14452 return 1;
14453}
14454
14455
14456static PyObject *_wrap_ART_FILE_OPEN_get() {
14457 PyObject *pyobj;
14458
14459 {
14460#if wxUSE_UNICODE
14461 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14462#else
14463 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14464#endif
14465 }
14466 return pyobj;
14467}
14468
14469
c32bde28 14470static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
14471 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14472 return 1;
14473}
14474
14475
14476static PyObject *_wrap_ART_PRINT_get() {
14477 PyObject *pyobj;
14478
14479 {
14480#if wxUSE_UNICODE
14481 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14482#else
14483 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14484#endif
14485 }
14486 return pyobj;
14487}
14488
14489
c32bde28 14490static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
14491 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14492 return 1;
14493}
14494
14495
14496static PyObject *_wrap_ART_HELP_get() {
14497 PyObject *pyobj;
14498
14499 {
14500#if wxUSE_UNICODE
14501 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14502#else
14503 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14504#endif
14505 }
14506 return pyobj;
14507}
14508
14509
c32bde28 14510static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
14511 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14512 return 1;
14513}
14514
14515
14516static PyObject *_wrap_ART_TIP_get() {
14517 PyObject *pyobj;
14518
14519 {
14520#if wxUSE_UNICODE
14521 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14522#else
14523 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14524#endif
14525 }
14526 return pyobj;
14527}
14528
14529
c32bde28 14530static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
14531 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14532 return 1;
14533}
14534
14535
14536static PyObject *_wrap_ART_REPORT_VIEW_get() {
14537 PyObject *pyobj;
14538
14539 {
14540#if wxUSE_UNICODE
14541 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14542#else
14543 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14544#endif
14545 }
14546 return pyobj;
14547}
14548
14549
c32bde28 14550static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
14551 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14552 return 1;
14553}
14554
14555
14556static PyObject *_wrap_ART_LIST_VIEW_get() {
14557 PyObject *pyobj;
14558
14559 {
14560#if wxUSE_UNICODE
14561 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14562#else
14563 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14564#endif
14565 }
14566 return pyobj;
14567}
14568
14569
c32bde28 14570static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
14571 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14572 return 1;
14573}
14574
14575
14576static PyObject *_wrap_ART_NEW_DIR_get() {
14577 PyObject *pyobj;
14578
14579 {
14580#if wxUSE_UNICODE
14581 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14582#else
14583 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14584#endif
14585 }
14586 return pyobj;
14587}
14588
14589
f78cc896
RD
14590static int _wrap_ART_HARDDISK_set(PyObject *) {
14591 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
14592 return 1;
14593}
14594
14595
14596static PyObject *_wrap_ART_HARDDISK_get() {
14597 PyObject *pyobj;
14598
14599 {
14600#if wxUSE_UNICODE
14601 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
14602#else
14603 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
14604#endif
14605 }
14606 return pyobj;
14607}
14608
14609
14610static int _wrap_ART_FLOPPY_set(PyObject *) {
14611 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
14612 return 1;
14613}
14614
14615
14616static PyObject *_wrap_ART_FLOPPY_get() {
14617 PyObject *pyobj;
14618
14619 {
14620#if wxUSE_UNICODE
14621 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
14622#else
14623 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
14624#endif
14625 }
14626 return pyobj;
14627}
14628
14629
14630static int _wrap_ART_CDROM_set(PyObject *) {
14631 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
14632 return 1;
14633}
14634
14635
14636static PyObject *_wrap_ART_CDROM_get() {
14637 PyObject *pyobj;
14638
14639 {
14640#if wxUSE_UNICODE
14641 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
14642#else
14643 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
14644#endif
14645 }
14646 return pyobj;
14647}
14648
14649
14650static int _wrap_ART_REMOVABLE_set(PyObject *) {
14651 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
14652 return 1;
14653}
14654
14655
14656static PyObject *_wrap_ART_REMOVABLE_get() {
14657 PyObject *pyobj;
14658
14659 {
14660#if wxUSE_UNICODE
14661 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
14662#else
14663 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
14664#endif
14665 }
14666 return pyobj;
14667}
14668
14669
c32bde28 14670static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
14671 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14672 return 1;
14673}
14674
14675
14676static PyObject *_wrap_ART_FOLDER_get() {
14677 PyObject *pyobj;
14678
14679 {
14680#if wxUSE_UNICODE
14681 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14682#else
14683 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14684#endif
14685 }
14686 return pyobj;
14687}
14688
14689
f78cc896
RD
14690static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
14691 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
14692 return 1;
14693}
14694
14695
14696static PyObject *_wrap_ART_FOLDER_OPEN_get() {
14697 PyObject *pyobj;
14698
14699 {
14700#if wxUSE_UNICODE
14701 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
14702#else
14703 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
14704#endif
14705 }
14706 return pyobj;
14707}
14708
14709
c32bde28 14710static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
14711 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14712 return 1;
14713}
14714
14715
14716static PyObject *_wrap_ART_GO_DIR_UP_get() {
14717 PyObject *pyobj;
14718
14719 {
14720#if wxUSE_UNICODE
14721 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14722#else
14723 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14724#endif
14725 }
14726 return pyobj;
14727}
14728
14729
c32bde28 14730static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
14731 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14732 return 1;
14733}
14734
14735
14736static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14737 PyObject *pyobj;
14738
14739 {
14740#if wxUSE_UNICODE
14741 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14742#else
14743 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14744#endif
14745 }
14746 return pyobj;
14747}
14748
14749
c32bde28 14750static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
14751 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14752 return 1;
14753}
14754
14755
14756static PyObject *_wrap_ART_NORMAL_FILE_get() {
14757 PyObject *pyobj;
14758
14759 {
14760#if wxUSE_UNICODE
14761 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14762#else
14763 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14764#endif
14765 }
14766 return pyobj;
14767}
14768
14769
c32bde28 14770static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
14771 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14772 return 1;
14773}
14774
14775
14776static PyObject *_wrap_ART_TICK_MARK_get() {
14777 PyObject *pyobj;
14778
14779 {
14780#if wxUSE_UNICODE
14781 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14782#else
14783 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14784#endif
14785 }
14786 return pyobj;
14787}
14788
14789
c32bde28 14790static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
14791 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14792 return 1;
14793}
14794
14795
14796static PyObject *_wrap_ART_CROSS_MARK_get() {
14797 PyObject *pyobj;
14798
14799 {
14800#if wxUSE_UNICODE
14801 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14802#else
14803 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14804#endif
14805 }
14806 return pyobj;
14807}
14808
14809
c32bde28 14810static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
14811 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14812 return 1;
14813}
14814
14815
14816static PyObject *_wrap_ART_ERROR_get() {
14817 PyObject *pyobj;
14818
14819 {
14820#if wxUSE_UNICODE
14821 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14822#else
14823 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14824#endif
14825 }
14826 return pyobj;
14827}
14828
14829
c32bde28 14830static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
14831 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14832 return 1;
14833}
14834
14835
14836static PyObject *_wrap_ART_QUESTION_get() {
14837 PyObject *pyobj;
14838
14839 {
14840#if wxUSE_UNICODE
14841 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14842#else
14843 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14844#endif
14845 }
14846 return pyobj;
14847}
14848
14849
c32bde28 14850static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
14851 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14852 return 1;
14853}
14854
14855
14856static PyObject *_wrap_ART_WARNING_get() {
14857 PyObject *pyobj;
14858
14859 {
14860#if wxUSE_UNICODE
14861 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14862#else
14863 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14864#endif
14865 }
14866 return pyobj;
14867}
14868
14869
c32bde28 14870static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
14871 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14872 return 1;
14873}
14874
14875
14876static PyObject *_wrap_ART_INFORMATION_get() {
14877 PyObject *pyobj;
14878
14879 {
14880#if wxUSE_UNICODE
14881 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14882#else
14883 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14884#endif
14885 }
14886 return pyobj;
14887}
14888
14889
c32bde28 14890static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
14891 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14892 return 1;
14893}
14894
14895
14896static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14897 PyObject *pyobj;
14898
14899 {
14900#if wxUSE_UNICODE
14901 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14902#else
14903 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14904#endif
14905 }
14906 return pyobj;
14907}
14908
14909
c32bde28 14910static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14911 PyObject *resultobj;
14912 wxPyArtProvider *result;
14913 char *kwnames[] = {
14914 NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14918 {
0439c23b 14919 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (wxPyArtProvider *)new wxPyArtProvider();
14922
14923 wxPyEndAllowThreads(__tstate);
110da5b0 14924 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14925 }
14926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
c32bde28 14933static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14934 PyObject *resultobj;
14935 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14936 PyObject *arg2 = (PyObject *) 0 ;
14937 PyObject *arg3 = (PyObject *) 0 ;
14938 PyObject * obj0 = 0 ;
14939 PyObject * obj1 = 0 ;
14940 PyObject * obj2 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self",(char *) "self",(char *) "_class", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14948 arg2 = obj1;
14949 arg3 = obj2;
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 (arg1)->_setCallbackInfo(arg2,arg3);
14953
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 Py_INCREF(Py_None); resultobj = Py_None;
14958 return resultobj;
14959 fail:
14960 return NULL;
14961}
14962
14963
c32bde28 14964static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14965 PyObject *resultobj;
14966 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14967 PyObject * obj0 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "provider", NULL
14970 };
14971
14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 wxPyArtProvider::PushProvider(arg1);
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 Py_INCREF(Py_None); resultobj = Py_None;
14983 return resultobj;
14984 fail:
14985 return NULL;
14986}
14987
14988
c32bde28 14989static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14990 PyObject *resultobj;
14991 bool result;
14992 char *kwnames[] = {
14993 NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (bool)wxPyArtProvider::PopProvider();
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 {
15005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15006 }
15007 return resultobj;
15008 fail:
15009 return NULL;
15010}
15011
15012
c32bde28 15013static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15014 PyObject *resultobj;
15015 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15016 bool result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "provider", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
15028
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 {
15033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15034 }
15035 return resultobj;
15036 fail:
15037 return NULL;
15038}
15039
15040
c32bde28 15041static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15042 PyObject *resultobj;
15043 wxString *arg1 = 0 ;
15044 wxString const &arg2_defvalue = wxPyART_OTHER ;
15045 wxString *arg2 = (wxString *) &arg2_defvalue ;
15046 wxSize const &arg3_defvalue = wxDefaultSize ;
15047 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
15048 wxBitmap result;
ae8162c8
RD
15049 bool temp1 = false ;
15050 bool temp2 = false ;
d55e5bfc
RD
15051 wxSize temp3 ;
15052 PyObject * obj0 = 0 ;
15053 PyObject * obj1 = 0 ;
15054 PyObject * obj2 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "id",(char *) "client",(char *) "size", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15060 {
15061 arg1 = wxString_in_helper(obj0);
15062 if (arg1 == NULL) SWIG_fail;
ae8162c8 15063 temp1 = true;
d55e5bfc
RD
15064 }
15065 if (obj1) {
15066 {
15067 arg2 = wxString_in_helper(obj1);
15068 if (arg2 == NULL) SWIG_fail;
ae8162c8 15069 temp2 = true;
d55e5bfc
RD
15070 }
15071 }
15072 if (obj2) {
15073 {
15074 arg3 = &temp3;
15075 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
15076 }
15077 }
15078 {
0439c23b 15079 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
15082
15083 wxPyEndAllowThreads(__tstate);
110da5b0 15084 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15085 }
15086 {
15087 wxBitmap * resultptr;
15088 resultptr = new wxBitmap((wxBitmap &) result);
15089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15090 }
15091 {
15092 if (temp1)
15093 delete arg1;
15094 }
15095 {
15096 if (temp2)
15097 delete arg2;
15098 }
15099 return resultobj;
15100 fail:
15101 {
15102 if (temp1)
15103 delete arg1;
15104 }
15105 {
15106 if (temp2)
15107 delete arg2;
15108 }
15109 return NULL;
15110}
15111
15112
c32bde28 15113static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15114 PyObject *resultobj;
15115 wxString *arg1 = 0 ;
15116 wxString const &arg2_defvalue = wxPyART_OTHER ;
15117 wxString *arg2 = (wxString *) &arg2_defvalue ;
15118 wxSize const &arg3_defvalue = wxDefaultSize ;
15119 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
15120 wxIcon result;
ae8162c8
RD
15121 bool temp1 = false ;
15122 bool temp2 = false ;
d55e5bfc
RD
15123 wxSize temp3 ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
15126 PyObject * obj2 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "id",(char *) "client",(char *) "size", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15132 {
15133 arg1 = wxString_in_helper(obj0);
15134 if (arg1 == NULL) SWIG_fail;
ae8162c8 15135 temp1 = true;
d55e5bfc
RD
15136 }
15137 if (obj1) {
15138 {
15139 arg2 = wxString_in_helper(obj1);
15140 if (arg2 == NULL) SWIG_fail;
ae8162c8 15141 temp2 = true;
d55e5bfc
RD
15142 }
15143 }
15144 if (obj2) {
15145 {
15146 arg3 = &temp3;
15147 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
15148 }
15149 }
15150 {
0439c23b 15151 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
15154
15155 wxPyEndAllowThreads(__tstate);
110da5b0 15156 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15157 }
15158 {
15159 wxIcon * resultptr;
15160 resultptr = new wxIcon((wxIcon &) result);
15161 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
15162 }
15163 {
15164 if (temp1)
15165 delete arg1;
15166 }
15167 {
15168 if (temp2)
15169 delete arg2;
15170 }
15171 return resultobj;
15172 fail:
15173 {
15174 if (temp1)
15175 delete arg1;
15176 }
15177 {
15178 if (temp2)
15179 delete arg2;
15180 }
15181 return NULL;
15182}
15183
15184
c32bde28 15185static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15186 PyObject *resultobj;
15187 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
15188 PyObject * obj0 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 wxPyArtProvider_Destroy(arg1);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
c32bde28 15210static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15211 PyObject *obj;
15212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
15214 Py_INCREF(obj);
15215 return Py_BuildValue((char *)"");
15216}
c32bde28 15217static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15218 PyObject *resultobj;
15219 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
15226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 delete arg1;
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 Py_INCREF(Py_None); resultobj = Py_None;
15236 return resultobj;
15237 fail:
15238 return NULL;
15239}
15240
15241
c32bde28 15242static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15243 PyObject *resultobj;
15244 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15245 wxConfigBase *result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "config", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (wxConfigBase *)wxConfigBase::Set(arg1);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15262 return resultobj;
15263 fail:
15264 return NULL;
15265}
15266
15267
c32bde28 15268static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 15269 PyObject *resultobj;
ae8162c8 15270 bool arg1 = (bool) true ;
d55e5bfc
RD
15271 wxConfigBase *result;
15272 PyObject * obj0 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "createOnDemand", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
15278 if (obj0) {
c32bde28 15279 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = (wxConfigBase *)wxConfigBase::Get(arg1);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15290 return resultobj;
15291 fail:
15292 return NULL;
15293}
15294
15295
c32bde28 15296static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15297 PyObject *resultobj;
15298 wxConfigBase *result;
15299 char *kwnames[] = {
15300 NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (wxConfigBase *)wxConfigBase::Create();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15312 return resultobj;
15313 fail:
15314 return NULL;
15315}
15316
15317
c32bde28 15318static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15319 PyObject *resultobj;
15320 char *kwnames[] = {
15321 NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 wxConfigBase::DontCreateOnDemand();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 Py_INCREF(Py_None); resultobj = Py_None;
15333 return resultobj;
15334 fail:
15335 return NULL;
15336}
15337
15338
c32bde28 15339static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15340 PyObject *resultobj;
15341 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15342 wxString *arg2 = 0 ;
ae8162c8 15343 bool temp2 = false ;
d55e5bfc
RD
15344 PyObject * obj0 = 0 ;
15345 PyObject * obj1 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self",(char *) "path", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15353 {
15354 arg2 = wxString_in_helper(obj1);
15355 if (arg2 == NULL) SWIG_fail;
ae8162c8 15356 temp2 = true;
d55e5bfc
RD
15357 }
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->SetPath((wxString const &)*arg2);
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 {
15367 if (temp2)
15368 delete arg2;
15369 }
15370 return resultobj;
15371 fail:
15372 {
15373 if (temp2)
15374 delete arg2;
15375 }
15376 return NULL;
15377}
15378
15379
c32bde28 15380static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15381 PyObject *resultobj;
15382 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15383 wxString *result;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 {
15395 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
15396 result = (wxString *) &_result_ref;
15397 }
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 {
15403#if wxUSE_UNICODE
15404 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15405#else
15406 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15407#endif
15408 }
15409 return resultobj;
15410 fail:
15411 return NULL;
15412}
15413
15414
c32bde28 15415static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15416 PyObject *resultobj;
15417 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15418 PyObject *result;
15419 PyObject * obj0 = 0 ;
15420 char *kwnames[] = {
15421 (char *) "self", NULL
15422 };
15423
15424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
15425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = result;
15435 return resultobj;
15436 fail:
15437 return NULL;
15438}
15439
15440
c32bde28 15441static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15442 PyObject *resultobj;
15443 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15444 long arg2 ;
15445 PyObject *result;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self",(char *) "index", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15455 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
15456 if (PyErr_Occurred()) SWIG_fail;
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 resultobj = result;
15465 return resultobj;
15466 fail:
15467 return NULL;
15468}
15469
15470
c32bde28 15471static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15472 PyObject *resultobj;
15473 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15474 PyObject *result;
15475 PyObject * obj0 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 resultobj = result;
15491 return resultobj;
15492 fail:
15493 return NULL;
15494}
15495
15496
c32bde28 15497static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15498 PyObject *resultobj;
15499 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15500 long arg2 ;
15501 PyObject *result;
15502 PyObject * obj0 = 0 ;
15503 PyObject * obj1 = 0 ;
15504 char *kwnames[] = {
15505 (char *) "self",(char *) "index", NULL
15506 };
15507
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15511 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
15512 if (PyErr_Occurred()) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 resultobj = result;
15521 return resultobj;
15522 fail:
15523 return NULL;
15524}
15525
15526
c32bde28 15527static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15528 PyObject *resultobj;
15529 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 15530 bool arg2 = (bool) false ;
d55e5bfc
RD
15531 size_t result;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self",(char *) "recursive", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 if (obj1) {
c32bde28 15542 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
c32bde28 15552 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
15553 return resultobj;
15554 fail:
15555 return NULL;
15556}
15557
15558
c32bde28 15559static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15560 PyObject *resultobj;
15561 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 15562 bool arg2 = (bool) false ;
d55e5bfc
RD
15563 size_t result;
15564 PyObject * obj0 = 0 ;
15565 PyObject * obj1 = 0 ;
15566 char *kwnames[] = {
15567 (char *) "self",(char *) "recursive", NULL
15568 };
15569
15570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15573 if (obj1) {
c32bde28 15574 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
c32bde28 15584 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
15585 return resultobj;
15586 fail:
15587 return NULL;
15588}
15589
15590
c32bde28 15591static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15592 PyObject *resultobj;
15593 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15594 wxString *arg2 = 0 ;
15595 bool result;
ae8162c8 15596 bool temp2 = false ;
d55e5bfc
RD
15597 PyObject * obj0 = 0 ;
15598 PyObject * obj1 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "name", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15606 {
15607 arg2 = wxString_in_helper(obj1);
15608 if (arg2 == NULL) SWIG_fail;
ae8162c8 15609 temp2 = true;
d55e5bfc
RD
15610 }
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15620 }
15621 {
15622 if (temp2)
15623 delete arg2;
15624 }
15625 return resultobj;
15626 fail:
15627 {
15628 if (temp2)
15629 delete arg2;
15630 }
15631 return NULL;
15632}
15633
15634
c32bde28 15635static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15636 PyObject *resultobj;
15637 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15638 wxString *arg2 = 0 ;
15639 bool result;
ae8162c8 15640 bool temp2 = false ;
d55e5bfc
RD
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 char *kwnames[] = {
15644 (char *) "self",(char *) "name", NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15650 {
15651 arg2 = wxString_in_helper(obj1);
15652 if (arg2 == NULL) SWIG_fail;
ae8162c8 15653 temp2 = true;
d55e5bfc
RD
15654 }
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 {
15663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15664 }
15665 {
15666 if (temp2)
15667 delete arg2;
15668 }
15669 return resultobj;
15670 fail:
15671 {
15672 if (temp2)
15673 delete arg2;
15674 }
15675 return NULL;
15676}
15677
15678
c32bde28 15679static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15680 PyObject *resultobj;
15681 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15682 wxString *arg2 = 0 ;
15683 bool result;
ae8162c8 15684 bool temp2 = false ;
d55e5bfc
RD
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "name", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15694 {
15695 arg2 = wxString_in_helper(obj1);
15696 if (arg2 == NULL) SWIG_fail;
ae8162c8 15697 temp2 = true;
d55e5bfc
RD
15698 }
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 {
15707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15708 }
15709 {
15710 if (temp2)
15711 delete arg2;
15712 }
15713 return resultobj;
15714 fail:
15715 {
15716 if (temp2)
15717 delete arg2;
15718 }
15719 return NULL;
15720}
15721
15722
c32bde28 15723static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15724 PyObject *resultobj;
15725 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15726 wxString *arg2 = 0 ;
15727 int result;
ae8162c8 15728 bool temp2 = false ;
d55e5bfc
RD
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self",(char *) "name", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15738 {
15739 arg2 = wxString_in_helper(obj1);
15740 if (arg2 == NULL) SWIG_fail;
ae8162c8 15741 temp2 = true;
d55e5bfc
RD
15742 }
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
c32bde28 15750 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15751 {
15752 if (temp2)
15753 delete arg2;
15754 }
15755 return resultobj;
15756 fail:
15757 {
15758 if (temp2)
15759 delete arg2;
15760 }
15761 return NULL;
15762}
15763
15764
c32bde28 15765static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15766 PyObject *resultobj;
15767 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15768 wxString *arg2 = 0 ;
15769 wxString const &arg3_defvalue = wxPyEmptyString ;
15770 wxString *arg3 = (wxString *) &arg3_defvalue ;
15771 wxString result;
ae8162c8
RD
15772 bool temp2 = false ;
15773 bool temp3 = false ;
d55e5bfc
RD
15774 PyObject * obj0 = 0 ;
15775 PyObject * obj1 = 0 ;
15776 PyObject * obj2 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15784 {
15785 arg2 = wxString_in_helper(obj1);
15786 if (arg2 == NULL) SWIG_fail;
ae8162c8 15787 temp2 = true;
d55e5bfc
RD
15788 }
15789 if (obj2) {
15790 {
15791 arg3 = wxString_in_helper(obj2);
15792 if (arg3 == NULL) SWIG_fail;
ae8162c8 15793 temp3 = true;
d55e5bfc
RD
15794 }
15795 }
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804#if wxUSE_UNICODE
15805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15806#else
15807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15808#endif
15809 }
15810 {
15811 if (temp2)
15812 delete arg2;
15813 }
15814 {
15815 if (temp3)
15816 delete arg3;
15817 }
15818 return resultobj;
15819 fail:
15820 {
15821 if (temp2)
15822 delete arg2;
15823 }
15824 {
15825 if (temp3)
15826 delete arg3;
15827 }
15828 return NULL;
15829}
15830
15831
c32bde28 15832static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15833 PyObject *resultobj;
15834 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15835 wxString *arg2 = 0 ;
15836 long arg3 = (long) 0 ;
15837 long result;
ae8162c8 15838 bool temp2 = false ;
d55e5bfc
RD
15839 PyObject * obj0 = 0 ;
15840 PyObject * obj1 = 0 ;
15841 PyObject * obj2 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 {
15850 arg2 = wxString_in_helper(obj1);
15851 if (arg2 == NULL) SWIG_fail;
ae8162c8 15852 temp2 = true;
d55e5bfc
RD
15853 }
15854 if (obj2) {
c32bde28 15855 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
c32bde28 15865 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 return resultobj;
15871 fail:
15872 {
15873 if (temp2)
15874 delete arg2;
15875 }
15876 return NULL;
15877}
15878
15879
c32bde28 15880static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15881 PyObject *resultobj;
15882 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15883 wxString *arg2 = 0 ;
15884 double arg3 = (double) 0.0 ;
15885 double result;
ae8162c8 15886 bool temp2 = false ;
d55e5bfc
RD
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 PyObject * obj2 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15897 {
15898 arg2 = wxString_in_helper(obj1);
15899 if (arg2 == NULL) SWIG_fail;
ae8162c8 15900 temp2 = true;
d55e5bfc
RD
15901 }
15902 if (obj2) {
c32bde28 15903 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
c32bde28 15913 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
15914 {
15915 if (temp2)
15916 delete arg2;
15917 }
15918 return resultobj;
15919 fail:
15920 {
15921 if (temp2)
15922 delete arg2;
15923 }
15924 return NULL;
15925}
15926
15927
c32bde28 15928static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15929 PyObject *resultobj;
15930 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15931 wxString *arg2 = 0 ;
ae8162c8 15932 bool arg3 = (bool) false ;
d55e5bfc 15933 bool result;
ae8162c8 15934 bool temp2 = false ;
d55e5bfc
RD
15935 PyObject * obj0 = 0 ;
15936 PyObject * obj1 = 0 ;
15937 PyObject * obj2 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15940 };
15941
15942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15945 {
15946 arg2 = wxString_in_helper(obj1);
15947 if (arg2 == NULL) SWIG_fail;
ae8162c8 15948 temp2 = true;
d55e5bfc
RD
15949 }
15950 if (obj2) {
c32bde28 15951 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 {
15955 PyThreadState* __tstate = wxPyBeginAllowThreads();
15956 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15957
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 {
15962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15963 }
15964 {
15965 if (temp2)
15966 delete arg2;
15967 }
15968 return resultobj;
15969 fail:
15970 {
15971 if (temp2)
15972 delete arg2;
15973 }
15974 return NULL;
15975}
15976
15977
c32bde28 15978static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15979 PyObject *resultobj;
15980 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15981 wxString *arg2 = 0 ;
15982 wxString *arg3 = 0 ;
15983 bool result;
ae8162c8
RD
15984 bool temp2 = false ;
15985 bool temp3 = false ;
d55e5bfc
RD
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 PyObject * obj2 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self",(char *) "key",(char *) "value", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15996 {
15997 arg2 = wxString_in_helper(obj1);
15998 if (arg2 == NULL) SWIG_fail;
ae8162c8 15999 temp2 = true;
d55e5bfc
RD
16000 }
16001 {
16002 arg3 = wxString_in_helper(obj2);
16003 if (arg3 == NULL) SWIG_fail;
ae8162c8 16004 temp3 = true;
d55e5bfc
RD
16005 }
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 {
16014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16015 }
16016 {
16017 if (temp2)
16018 delete arg2;
16019 }
16020 {
16021 if (temp3)
16022 delete arg3;
16023 }
16024 return resultobj;
16025 fail:
16026 {
16027 if (temp2)
16028 delete arg2;
16029 }
16030 {
16031 if (temp3)
16032 delete arg3;
16033 }
16034 return NULL;
16035}
16036
16037
c32bde28 16038static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16039 PyObject *resultobj;
16040 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16041 wxString *arg2 = 0 ;
16042 long arg3 ;
16043 bool result;
ae8162c8 16044 bool temp2 = false ;
d55e5bfc
RD
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 PyObject * obj2 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self",(char *) "key",(char *) "value", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16055 {
16056 arg2 = wxString_in_helper(obj1);
16057 if (arg2 == NULL) SWIG_fail;
ae8162c8 16058 temp2 = true;
d55e5bfc 16059 }
c32bde28 16060 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
16061 if (PyErr_Occurred()) SWIG_fail;
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 {
16070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16071 }
16072 {
16073 if (temp2)
16074 delete arg2;
16075 }
16076 return resultobj;
16077 fail:
16078 {
16079 if (temp2)
16080 delete arg2;
16081 }
16082 return NULL;
16083}
16084
16085
c32bde28 16086static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16087 PyObject *resultobj;
16088 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16089 wxString *arg2 = 0 ;
16090 double arg3 ;
16091 bool result;
ae8162c8 16092 bool temp2 = false ;
d55e5bfc
RD
16093 PyObject * obj0 = 0 ;
16094 PyObject * obj1 = 0 ;
16095 PyObject * obj2 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self",(char *) "key",(char *) "value", NULL
16098 };
16099
16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
16101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16103 {
16104 arg2 = wxString_in_helper(obj1);
16105 if (arg2 == NULL) SWIG_fail;
ae8162c8 16106 temp2 = true;
d55e5bfc 16107 }
c32bde28 16108 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
16109 if (PyErr_Occurred()) SWIG_fail;
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 {
16118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16119 }
16120 {
16121 if (temp2)
16122 delete arg2;
16123 }
16124 return resultobj;
16125 fail:
16126 {
16127 if (temp2)
16128 delete arg2;
16129 }
16130 return NULL;
16131}
16132
16133
c32bde28 16134static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16135 PyObject *resultobj;
16136 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16137 wxString *arg2 = 0 ;
16138 bool arg3 ;
16139 bool result;
ae8162c8 16140 bool temp2 = false ;
d55e5bfc
RD
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 PyObject * obj2 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self",(char *) "key",(char *) "value", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 {
16152 arg2 = wxString_in_helper(obj1);
16153 if (arg2 == NULL) SWIG_fail;
ae8162c8 16154 temp2 = true;
d55e5bfc 16155 }
c32bde28 16156 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
16157 if (PyErr_Occurred()) SWIG_fail;
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 {
16166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16167 }
16168 {
16169 if (temp2)
16170 delete arg2;
16171 }
16172 return resultobj;
16173 fail:
16174 {
16175 if (temp2)
16176 delete arg2;
16177 }
16178 return NULL;
16179}
16180
16181
c32bde28 16182static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16183 PyObject *resultobj;
16184 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16185 bool arg2 = (bool) false ;
d55e5bfc
RD
16186 bool result;
16187 PyObject * obj0 = 0 ;
16188 PyObject * obj1 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self",(char *) "currentOnly", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16196 if (obj1) {
c32bde28 16197 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (bool)(arg1)->Flush(arg2);
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213}
16214
16215
c32bde28 16216static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16217 PyObject *resultobj;
16218 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16219 wxString *arg2 = 0 ;
16220 wxString *arg3 = 0 ;
16221 bool result;
ae8162c8
RD
16222 bool temp2 = false ;
16223 bool temp3 = false ;
d55e5bfc
RD
16224 PyObject * obj0 = 0 ;
16225 PyObject * obj1 = 0 ;
16226 PyObject * obj2 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16234 {
16235 arg2 = wxString_in_helper(obj1);
16236 if (arg2 == NULL) SWIG_fail;
ae8162c8 16237 temp2 = true;
d55e5bfc
RD
16238 }
16239 {
16240 arg3 = wxString_in_helper(obj2);
16241 if (arg3 == NULL) SWIG_fail;
ae8162c8 16242 temp3 = true;
d55e5bfc
RD
16243 }
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 {
16252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16253 }
16254 {
16255 if (temp2)
16256 delete arg2;
16257 }
16258 {
16259 if (temp3)
16260 delete arg3;
16261 }
16262 return resultobj;
16263 fail:
16264 {
16265 if (temp2)
16266 delete arg2;
16267 }
16268 {
16269 if (temp3)
16270 delete arg3;
16271 }
16272 return NULL;
16273}
16274
16275
c32bde28 16276static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16277 PyObject *resultobj;
16278 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16279 wxString *arg2 = 0 ;
16280 wxString *arg3 = 0 ;
16281 bool result;
ae8162c8
RD
16282 bool temp2 = false ;
16283 bool temp3 = false ;
d55e5bfc
RD
16284 PyObject * obj0 = 0 ;
16285 PyObject * obj1 = 0 ;
16286 PyObject * obj2 = 0 ;
16287 char *kwnames[] = {
16288 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16289 };
16290
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16294 {
16295 arg2 = wxString_in_helper(obj1);
16296 if (arg2 == NULL) SWIG_fail;
ae8162c8 16297 temp2 = true;
d55e5bfc
RD
16298 }
16299 {
16300 arg3 = wxString_in_helper(obj2);
16301 if (arg3 == NULL) SWIG_fail;
ae8162c8 16302 temp3 = true;
d55e5bfc
RD
16303 }
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
16307
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 {
16312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16313 }
16314 {
16315 if (temp2)
16316 delete arg2;
16317 }
16318 {
16319 if (temp3)
16320 delete arg3;
16321 }
16322 return resultobj;
16323 fail:
16324 {
16325 if (temp2)
16326 delete arg2;
16327 }
16328 {
16329 if (temp3)
16330 delete arg3;
16331 }
16332 return NULL;
16333}
16334
16335
c32bde28 16336static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16337 PyObject *resultobj;
16338 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16339 wxString *arg2 = 0 ;
ae8162c8 16340 bool arg3 = (bool) true ;
d55e5bfc 16341 bool result;
ae8162c8 16342 bool temp2 = false ;
d55e5bfc
RD
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 PyObject * obj2 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16353 {
16354 arg2 = wxString_in_helper(obj1);
16355 if (arg2 == NULL) SWIG_fail;
ae8162c8 16356 temp2 = true;
d55e5bfc
RD
16357 }
16358 if (obj2) {
c32bde28 16359 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
16370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16371 }
16372 {
16373 if (temp2)
16374 delete arg2;
16375 }
16376 return resultobj;
16377 fail:
16378 {
16379 if (temp2)
16380 delete arg2;
16381 }
16382 return NULL;
16383}
16384
16385
c32bde28 16386static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16387 PyObject *resultobj;
16388 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16389 wxString *arg2 = 0 ;
16390 bool result;
ae8162c8 16391 bool temp2 = false ;
d55e5bfc
RD
16392 PyObject * obj0 = 0 ;
16393 PyObject * obj1 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self",(char *) "key", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16401 {
16402 arg2 = wxString_in_helper(obj1);
16403 if (arg2 == NULL) SWIG_fail;
ae8162c8 16404 temp2 = true;
d55e5bfc
RD
16405 }
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 {
16414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16415 }
16416 {
16417 if (temp2)
16418 delete arg2;
16419 }
16420 return resultobj;
16421 fail:
16422 {
16423 if (temp2)
16424 delete arg2;
16425 }
16426 return NULL;
16427}
16428
16429
c32bde28 16430static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16431 PyObject *resultobj;
16432 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16433 bool result;
16434 PyObject * obj0 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
16440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 result = (bool)(arg1)->DeleteAll();
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 {
16450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16451 }
16452 return resultobj;
16453 fail:
16454 return NULL;
16455}
16456
16457
c32bde28 16458static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16459 PyObject *resultobj;
16460 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16461 bool arg2 = (bool) true ;
d55e5bfc
RD
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self",(char *) "doIt", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16471 if (obj1) {
c32bde28 16472 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetExpandEnvVars(arg2);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 Py_INCREF(Py_None); resultobj = Py_None;
16483 return resultobj;
16484 fail:
16485 return NULL;
16486}
16487
16488
c32bde28 16489static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16490 PyObject *resultobj;
16491 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16492 bool result;
16493 PyObject * obj0 = 0 ;
16494 char *kwnames[] = {
16495 (char *) "self", NULL
16496 };
16497
16498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 {
16509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16510 }
16511 return resultobj;
16512 fail:
16513 return NULL;
16514}
16515
16516
c32bde28 16517static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16518 PyObject *resultobj;
16519 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 16520 bool arg2 = (bool) true ;
d55e5bfc
RD
16521 PyObject * obj0 = 0 ;
16522 PyObject * obj1 = 0 ;
16523 char *kwnames[] = {
16524 (char *) "self",(char *) "doIt", NULL
16525 };
16526
16527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16530 if (obj1) {
c32bde28 16531 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 (arg1)->SetRecordDefaults(arg2);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 Py_INCREF(Py_None); resultobj = Py_None;
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
c32bde28 16548static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16549 PyObject *resultobj;
16550 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16551 bool result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16569 }
16570 return resultobj;
16571 fail:
16572 return NULL;
16573}
16574
16575
c32bde28 16576static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16577 PyObject *resultobj;
16578 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16579 wxString *arg2 = 0 ;
16580 wxString result;
ae8162c8 16581 bool temp2 = false ;
d55e5bfc
RD
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "str", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 {
16592 arg2 = wxString_in_helper(obj1);
16593 if (arg2 == NULL) SWIG_fail;
ae8162c8 16594 temp2 = true;
d55e5bfc
RD
16595 }
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604#if wxUSE_UNICODE
16605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16606#else
16607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16608#endif
16609 }
16610 {
16611 if (temp2)
16612 delete arg2;
16613 }
16614 return resultobj;
16615 fail:
16616 {
16617 if (temp2)
16618 delete arg2;
16619 }
16620 return NULL;
16621}
16622
16623
c32bde28 16624static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16625 PyObject *resultobj;
16626 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16627 wxString result;
16628 PyObject * obj0 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self", NULL
16631 };
16632
16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = ((wxConfigBase const *)arg1)->GetAppName();
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644#if wxUSE_UNICODE
16645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16646#else
16647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16648#endif
16649 }
16650 return resultobj;
16651 fail:
16652 return NULL;
16653}
16654
16655
c32bde28 16656static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16657 PyObject *resultobj;
16658 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16659 wxString result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = ((wxConfigBase const *)arg1)->GetVendorName();
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676#if wxUSE_UNICODE
16677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16678#else
16679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16680#endif
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685}
16686
16687
c32bde28 16688static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16689 PyObject *resultobj;
16690 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16691 wxString *arg2 = 0 ;
ae8162c8 16692 bool temp2 = false ;
d55e5bfc
RD
16693 PyObject * obj0 = 0 ;
16694 PyObject * obj1 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "appName", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16702 {
16703 arg2 = wxString_in_helper(obj1);
16704 if (arg2 == NULL) SWIG_fail;
ae8162c8 16705 temp2 = true;
d55e5bfc
RD
16706 }
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 (arg1)->SetAppName((wxString const &)*arg2);
16710
16711 wxPyEndAllowThreads(__tstate);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 Py_INCREF(Py_None); resultobj = Py_None;
16715 {
16716 if (temp2)
16717 delete arg2;
16718 }
16719 return resultobj;
16720 fail:
16721 {
16722 if (temp2)
16723 delete arg2;
16724 }
16725 return NULL;
16726}
16727
16728
c32bde28 16729static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16730 PyObject *resultobj;
16731 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16732 wxString *arg2 = 0 ;
ae8162c8 16733 bool temp2 = false ;
d55e5bfc
RD
16734 PyObject * obj0 = 0 ;
16735 PyObject * obj1 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self",(char *) "vendorName", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16743 {
16744 arg2 = wxString_in_helper(obj1);
16745 if (arg2 == NULL) SWIG_fail;
ae8162c8 16746 temp2 = true;
d55e5bfc
RD
16747 }
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 (arg1)->SetVendorName((wxString const &)*arg2);
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 Py_INCREF(Py_None); resultobj = Py_None;
16756 {
16757 if (temp2)
16758 delete arg2;
16759 }
16760 return resultobj;
16761 fail:
16762 {
16763 if (temp2)
16764 delete arg2;
16765 }
16766 return NULL;
16767}
16768
16769
c32bde28 16770static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16771 PyObject *resultobj;
16772 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16773 long arg2 ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self",(char *) "style", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16783 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
16784 if (PyErr_Occurred()) SWIG_fail;
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->SetStyle(arg2);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 return resultobj;
16794 fail:
16795 return NULL;
16796}
16797
16798
c32bde28 16799static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16800 PyObject *resultobj;
16801 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16802 long result;
16803 PyObject * obj0 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "self", NULL
16806 };
16807
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16811 {
16812 PyThreadState* __tstate = wxPyBeginAllowThreads();
16813 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
c32bde28 16818 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
16819 return resultobj;
16820 fail:
16821 return NULL;
16822}
16823
16824
c32bde28 16825static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16826 PyObject *obj;
16827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16828 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16829 Py_INCREF(obj);
16830 return Py_BuildValue((char *)"");
16831}
c32bde28 16832static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16833 PyObject *resultobj;
16834 wxString const &arg1_defvalue = wxPyEmptyString ;
16835 wxString *arg1 = (wxString *) &arg1_defvalue ;
16836 wxString const &arg2_defvalue = wxPyEmptyString ;
16837 wxString *arg2 = (wxString *) &arg2_defvalue ;
16838 wxString const &arg3_defvalue = wxPyEmptyString ;
16839 wxString *arg3 = (wxString *) &arg3_defvalue ;
16840 wxString const &arg4_defvalue = wxPyEmptyString ;
16841 wxString *arg4 = (wxString *) &arg4_defvalue ;
16842 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16843 wxConfig *result;
ae8162c8
RD
16844 bool temp1 = false ;
16845 bool temp2 = false ;
16846 bool temp3 = false ;
16847 bool temp4 = false ;
d55e5bfc
RD
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 PyObject * obj2 = 0 ;
16851 PyObject * obj3 = 0 ;
16852 PyObject * obj4 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16858 if (obj0) {
16859 {
16860 arg1 = wxString_in_helper(obj0);
16861 if (arg1 == NULL) SWIG_fail;
ae8162c8 16862 temp1 = true;
d55e5bfc
RD
16863 }
16864 }
16865 if (obj1) {
16866 {
16867 arg2 = wxString_in_helper(obj1);
16868 if (arg2 == NULL) SWIG_fail;
ae8162c8 16869 temp2 = true;
d55e5bfc
RD
16870 }
16871 }
16872 if (obj2) {
16873 {
16874 arg3 = wxString_in_helper(obj2);
16875 if (arg3 == NULL) SWIG_fail;
ae8162c8 16876 temp3 = true;
d55e5bfc
RD
16877 }
16878 }
16879 if (obj3) {
16880 {
16881 arg4 = wxString_in_helper(obj3);
16882 if (arg4 == NULL) SWIG_fail;
ae8162c8 16883 temp4 = true;
d55e5bfc
RD
16884 }
16885 }
16886 if (obj4) {
c32bde28 16887 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16898 {
16899 if (temp1)
16900 delete arg1;
16901 }
16902 {
16903 if (temp2)
16904 delete arg2;
16905 }
16906 {
16907 if (temp3)
16908 delete arg3;
16909 }
16910 {
16911 if (temp4)
16912 delete arg4;
16913 }
16914 return resultobj;
16915 fail:
16916 {
16917 if (temp1)
16918 delete arg1;
16919 }
16920 {
16921 if (temp2)
16922 delete arg2;
16923 }
16924 {
16925 if (temp3)
16926 delete arg3;
16927 }
16928 {
16929 if (temp4)
16930 delete arg4;
16931 }
16932 return NULL;
16933}
16934
16935
c32bde28 16936static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16937 PyObject *resultobj;
16938 wxConfig *arg1 = (wxConfig *) 0 ;
16939 PyObject * obj0 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 delete arg1;
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 Py_INCREF(Py_None); resultobj = Py_None;
16955 return resultobj;
16956 fail:
16957 return NULL;
16958}
16959
16960
c32bde28 16961static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16962 PyObject *obj;
16963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16964 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16965 Py_INCREF(obj);
16966 return Py_BuildValue((char *)"");
16967}
c32bde28 16968static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16969 PyObject *resultobj;
16970 wxString const &arg1_defvalue = wxPyEmptyString ;
16971 wxString *arg1 = (wxString *) &arg1_defvalue ;
16972 wxString const &arg2_defvalue = wxPyEmptyString ;
16973 wxString *arg2 = (wxString *) &arg2_defvalue ;
16974 wxString const &arg3_defvalue = wxPyEmptyString ;
16975 wxString *arg3 = (wxString *) &arg3_defvalue ;
16976 wxString const &arg4_defvalue = wxPyEmptyString ;
16977 wxString *arg4 = (wxString *) &arg4_defvalue ;
16978 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16979 wxFileConfig *result;
ae8162c8
RD
16980 bool temp1 = false ;
16981 bool temp2 = false ;
16982 bool temp3 = false ;
16983 bool temp4 = false ;
d55e5bfc
RD
16984 PyObject * obj0 = 0 ;
16985 PyObject * obj1 = 0 ;
16986 PyObject * obj2 = 0 ;
16987 PyObject * obj3 = 0 ;
16988 PyObject * obj4 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16994 if (obj0) {
16995 {
16996 arg1 = wxString_in_helper(obj0);
16997 if (arg1 == NULL) SWIG_fail;
ae8162c8 16998 temp1 = true;
d55e5bfc
RD
16999 }
17000 }
17001 if (obj1) {
17002 {
17003 arg2 = wxString_in_helper(obj1);
17004 if (arg2 == NULL) SWIG_fail;
ae8162c8 17005 temp2 = true;
d55e5bfc
RD
17006 }
17007 }
17008 if (obj2) {
17009 {
17010 arg3 = wxString_in_helper(obj2);
17011 if (arg3 == NULL) SWIG_fail;
ae8162c8 17012 temp3 = true;
d55e5bfc
RD
17013 }
17014 }
17015 if (obj3) {
17016 {
17017 arg4 = wxString_in_helper(obj3);
17018 if (arg4 == NULL) SWIG_fail;
ae8162c8 17019 temp4 = true;
d55e5bfc
RD
17020 }
17021 }
17022 if (obj4) {
c32bde28 17023 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
17034 {
17035 if (temp1)
17036 delete arg1;
17037 }
17038 {
17039 if (temp2)
17040 delete arg2;
17041 }
17042 {
17043 if (temp3)
17044 delete arg3;
17045 }
17046 {
17047 if (temp4)
17048 delete arg4;
17049 }
17050 return resultobj;
17051 fail:
17052 {
17053 if (temp1)
17054 delete arg1;
17055 }
17056 {
17057 if (temp2)
17058 delete arg2;
17059 }
17060 {
17061 if (temp3)
17062 delete arg3;
17063 }
17064 {
17065 if (temp4)
17066 delete arg4;
17067 }
17068 return NULL;
17069}
17070
17071
c32bde28 17072static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17073 PyObject *resultobj;
17074 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
17075 PyObject * obj0 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
17081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
17082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 delete arg1;
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 Py_INCREF(Py_None); resultobj = Py_None;
17091 return resultobj;
17092 fail:
17093 return NULL;
17094}
17095
17096
c32bde28 17097static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17098 PyObject *obj;
17099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
17101 Py_INCREF(obj);
17102 return Py_BuildValue((char *)"");
17103}
c32bde28 17104static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17105 PyObject *resultobj;
17106 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17107 wxString *arg2 = 0 ;
17108 wxConfigPathChanger *result;
ae8162c8 17109 bool temp2 = false ;
d55e5bfc
RD
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "config",(char *) "entry", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
17118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17119 {
17120 arg2 = wxString_in_helper(obj1);
17121 if (arg2 == NULL) SWIG_fail;
ae8162c8 17122 temp2 = true;
d55e5bfc
RD
17123 }
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
17132 {
17133 if (temp2)
17134 delete arg2;
17135 }
17136 return resultobj;
17137 fail:
17138 {
17139 if (temp2)
17140 delete arg2;
17141 }
17142 return NULL;
17143}
17144
17145
c32bde28 17146static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17147 PyObject *resultobj;
17148 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
17149 PyObject * obj0 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 delete arg1;
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 Py_INCREF(Py_None); resultobj = Py_None;
17165 return resultobj;
17166 fail:
17167 return NULL;
17168}
17169
17170
c32bde28 17171static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17172 PyObject *resultobj;
17173 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
17174 wxString *result;
17175 PyObject * obj0 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 {
17186 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
17187 result = (wxString *) &_result_ref;
17188 }
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 {
17194#if wxUSE_UNICODE
17195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17196#else
17197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17198#endif
17199 }
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
c32bde28 17206static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17207 PyObject *obj;
17208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17209 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
17210 Py_INCREF(obj);
17211 return Py_BuildValue((char *)"");
17212}
c32bde28 17213static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17214 PyObject *resultobj;
17215 wxString *arg1 = 0 ;
17216 wxString result;
ae8162c8 17217 bool temp1 = false ;
d55e5bfc
RD
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "sz", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
17224 {
17225 arg1 = wxString_in_helper(obj0);
17226 if (arg1 == NULL) SWIG_fail;
ae8162c8 17227 temp1 = true;
d55e5bfc
RD
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = wxExpandEnvVars((wxString const &)*arg1);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237#if wxUSE_UNICODE
17238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17239#else
17240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17241#endif
17242 }
17243 {
17244 if (temp1)
17245 delete arg1;
17246 }
17247 return resultobj;
17248 fail:
17249 {
17250 if (temp1)
17251 delete arg1;
17252 }
17253 return NULL;
17254}
17255
17256
c32bde28 17257static int _wrap_DateFormatStr_set(PyObject *) {
d55e5bfc
RD
17258 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
17259 return 1;
17260}
17261
17262
17263static PyObject *_wrap_DateFormatStr_get() {
17264 PyObject *pyobj;
17265
17266 {
17267#if wxUSE_UNICODE
17268 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17269#else
17270 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17271#endif
17272 }
17273 return pyobj;
17274}
17275
17276
c32bde28 17277static int _wrap_TimeSpanFormatStr_set(PyObject *) {
d55e5bfc
RD
17278 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
17279 return 1;
17280}
17281
17282
17283static PyObject *_wrap_TimeSpanFormatStr_get() {
17284 PyObject *pyobj;
17285
17286 {
17287#if wxUSE_UNICODE
17288 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17289#else
17290 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17291#endif
17292 }
17293 return pyobj;
17294}
17295
17296
c32bde28 17297static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17298 PyObject *resultobj;
17299 int arg1 ;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "country", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
c32bde28 17306 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17307 if (PyErr_Occurred()) SWIG_fail;
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 wxDateTime::SetCountry((wxDateTime::Country )arg1);
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 Py_INCREF(Py_None); resultobj = Py_None;
17316 return resultobj;
17317 fail:
17318 return NULL;
17319}
17320
17321
c32bde28 17322static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17323 PyObject *resultobj;
17324 int result;
17325 char *kwnames[] = {
17326 NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = (int)wxDateTime::GetCountry();
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
c32bde28 17337 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17338 return resultobj;
17339 fail:
17340 return NULL;
17341}
17342
17343
c32bde28 17344static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17345 PyObject *resultobj;
17346 int arg1 = (int) wxDateTime::Country_Default ;
17347 bool result;
17348 PyObject * obj0 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "country", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
17354 if (obj0) {
c32bde28 17355 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 {
17366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17367 }
17368 return resultobj;
17369 fail:
17370 return NULL;
17371}
17372
17373
c32bde28 17374static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17375 PyObject *resultobj;
17376 int arg1 = (int) wxDateTime::Gregorian ;
17377 int result;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "cal", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
17384 if (obj0) {
c32bde28 17385 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
c32bde28 17395 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17396 return resultobj;
17397 fail:
17398 return NULL;
17399}
17400
17401
c32bde28 17402static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17403 PyObject *resultobj;
17404 int arg1 ;
17405 int result;
17406 PyObject * obj0 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "year", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
c32bde28 17412 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17413 if (PyErr_Occurred()) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (int)wxDateTime::ConvertYearToBC(arg1);
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
c32bde28 17421 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17422 return resultobj;
17423 fail:
17424 return NULL;
17425}
17426
17427
c32bde28 17428static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17429 PyObject *resultobj;
17430 int arg1 = (int) wxDateTime::Gregorian ;
17431 int result;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "cal", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
17438 if (obj0) {
c32bde28 17439 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
c32bde28 17449 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17450 return resultobj;
17451 fail:
17452 return NULL;
17453}
17454
17455
c32bde28 17456static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17457 PyObject *resultobj;
17458 int arg1 = (int) wxDateTime::Inv_Year ;
17459 int arg2 = (int) wxDateTime::Gregorian ;
17460 bool result;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "year",(char *) "cal", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17468 if (obj0) {
c32bde28 17469 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 if (obj1) {
c32bde28 17473 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 {
17484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17485 }
17486 return resultobj;
17487 fail:
17488 return NULL;
17489}
17490
17491
c32bde28 17492static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17493 PyObject *resultobj;
17494 int arg1 = (int) wxDateTime::Inv_Year ;
17495 int result;
17496 PyObject * obj0 = 0 ;
17497 char *kwnames[] = {
17498 (char *) "year", NULL
17499 };
17500
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17502 if (obj0) {
c32bde28 17503 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 result = (int)wxDateTime::GetCentury(arg1);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
c32bde28 17513 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17514 return resultobj;
17515 fail:
17516 return NULL;
17517}
17518
17519
c32bde28 17520static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17521 PyObject *resultobj;
17522 int arg1 ;
17523 int arg2 = (int) wxDateTime::Gregorian ;
17524 int result;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "year",(char *) "cal", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17532 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17533 if (PyErr_Occurred()) SWIG_fail;
17534 if (obj1) {
c32bde28 17535 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
c32bde28 17545 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17546 return resultobj;
17547 fail:
17548 return NULL;
17549}
17550
17551
c32bde28 17552static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17553 PyObject *resultobj;
17554 int arg1 ;
17555 int arg2 = (int) wxDateTime::Inv_Year ;
17556 int arg3 = (int) wxDateTime::Gregorian ;
17557 int result;
17558 PyObject * obj0 = 0 ;
17559 PyObject * obj1 = 0 ;
17560 PyObject * obj2 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "month",(char *) "year",(char *) "cal", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 17566 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17567 if (PyErr_Occurred()) SWIG_fail;
17568 if (obj1) {
c32bde28 17569 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 if (obj2) {
c32bde28 17573 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
c32bde28 17583 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17584 return resultobj;
17585 fail:
17586 return NULL;
17587}
17588
17589
c32bde28 17590static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17591 PyObject *resultobj;
17592 int arg1 ;
17593 int arg2 = (int) wxDateTime::Name_Full ;
17594 wxString result;
17595 PyObject * obj0 = 0 ;
17596 PyObject * obj1 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "month",(char *) "flags", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17602 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17603 if (PyErr_Occurred()) SWIG_fail;
17604 if (obj1) {
c32bde28 17605 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616#if wxUSE_UNICODE
17617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17618#else
17619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17620#endif
17621 }
17622 return resultobj;
17623 fail:
17624 return NULL;
17625}
17626
17627
c32bde28 17628static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17629 PyObject *resultobj;
17630 int arg1 ;
17631 int arg2 = (int) wxDateTime::Name_Full ;
17632 wxString result;
17633 PyObject * obj0 = 0 ;
17634 PyObject * obj1 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "weekday",(char *) "flags", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
c32bde28 17640 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17641 if (PyErr_Occurred()) SWIG_fail;
17642 if (obj1) {
c32bde28 17643 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 {
17654#if wxUSE_UNICODE
17655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17656#else
17657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17658#endif
17659 }
17660 return resultobj;
17661 fail:
17662 return NULL;
17663}
17664
17665
c32bde28 17666static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17667 PyObject *resultobj;
17668 wxString *arg1 = (wxString *) 0 ;
17669 wxString *arg2 = (wxString *) 0 ;
ae8162c8
RD
17670 bool temp1 = false ;
17671 bool temp2 = false ;
d55e5bfc
RD
17672 PyObject * obj0 = 0 ;
17673 PyObject * obj1 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17679 {
17680 arg1 = wxString_in_helper(obj0);
17681 if (arg1 == NULL) SWIG_fail;
ae8162c8 17682 temp1 = true;
d55e5bfc
RD
17683 }
17684 {
17685 arg2 = wxString_in_helper(obj1);
17686 if (arg2 == NULL) SWIG_fail;
ae8162c8 17687 temp2 = true;
d55e5bfc
RD
17688 }
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 wxDateTime::GetAmPmStrings(arg1,arg2);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 Py_INCREF(Py_None); resultobj = Py_None;
17697 {
17698 if (temp1)
17699 delete arg1;
17700 }
17701 {
17702 if (temp2)
17703 delete arg2;
17704 }
17705 return resultobj;
17706 fail:
17707 {
17708 if (temp1)
17709 delete arg1;
17710 }
17711 {
17712 if (temp2)
17713 delete arg2;
17714 }
17715 return NULL;
17716}
17717
17718
c32bde28 17719static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17720 PyObject *resultobj;
17721 int arg1 = (int) wxDateTime::Inv_Year ;
17722 int arg2 = (int) wxDateTime::Country_Default ;
17723 bool result;
17724 PyObject * obj0 = 0 ;
17725 PyObject * obj1 = 0 ;
17726 char *kwnames[] = {
17727 (char *) "year",(char *) "country", NULL
17728 };
17729
17730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17731 if (obj0) {
c32bde28 17732 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 if (obj1) {
c32bde28 17736 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 {
17747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17748 }
17749 return resultobj;
17750 fail:
17751 return NULL;
17752}
17753
17754
c32bde28 17755static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17756 PyObject *resultobj;
17757 int arg1 = (int) wxDateTime::Inv_Year ;
17758 int arg2 = (int) wxDateTime::Country_Default ;
17759 wxDateTime result;
17760 PyObject * obj0 = 0 ;
17761 PyObject * obj1 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "year",(char *) "country", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17767 if (obj0) {
c32bde28 17768 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 if (obj1) {
c32bde28 17772 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17778
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 {
17783 wxDateTime * resultptr;
17784 resultptr = new wxDateTime((wxDateTime &) result);
17785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17786 }
17787 return resultobj;
17788 fail:
17789 return NULL;
17790}
17791
17792
c32bde28 17793static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17794 PyObject *resultobj;
17795 int arg1 = (int) wxDateTime::Inv_Year ;
17796 int arg2 = (int) wxDateTime::Country_Default ;
17797 wxDateTime result;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "year",(char *) "country", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17805 if (obj0) {
c32bde28 17806 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 if (obj1) {
c32bde28 17810 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 {
17821 wxDateTime * resultptr;
17822 resultptr = new wxDateTime((wxDateTime &) result);
17823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17824 }
17825 return resultobj;
17826 fail:
17827 return NULL;
17828}
17829
17830
c32bde28 17831static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17832 PyObject *resultobj;
17833 wxDateTime result;
17834 char *kwnames[] = {
17835 NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = wxDateTime::Now();
17842
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 {
17847 wxDateTime * resultptr;
17848 resultptr = new wxDateTime((wxDateTime &) result);
17849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17850 }
17851 return resultobj;
17852 fail:
17853 return NULL;
17854}
17855
17856
c32bde28 17857static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17858 PyObject *resultobj;
17859 wxDateTime result;
17860 char *kwnames[] = {
17861 NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 result = wxDateTime::UNow();
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 {
17873 wxDateTime * resultptr;
17874 resultptr = new wxDateTime((wxDateTime &) result);
17875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17876 }
17877 return resultobj;
17878 fail:
17879 return NULL;
17880}
17881
17882
c32bde28 17883static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17884 PyObject *resultobj;
17885 wxDateTime result;
17886 char *kwnames[] = {
17887 NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = wxDateTime::Today();
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 {
17899 wxDateTime * resultptr;
17900 resultptr = new wxDateTime((wxDateTime &) result);
17901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17902 }
17903 return resultobj;
17904 fail:
17905 return NULL;
17906}
17907
17908
c32bde28 17909static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17910 PyObject *resultobj;
17911 wxDateTime *result;
17912 char *kwnames[] = {
17913 NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 result = (wxDateTime *)new wxDateTime();
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
c32bde28 17931static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17932 PyObject *resultobj;
17933 time_t arg1 ;
17934 wxDateTime *result;
17935 PyObject * obj0 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "timet", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
c32bde28 17941 arg1 = (time_t)SWIG_As_unsigned_SS_int(obj0);
d55e5bfc
RD
17942 if (PyErr_Occurred()) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 result = (wxDateTime *)new wxDateTime(arg1);
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17951 return resultobj;
17952 fail:
17953 return NULL;
17954}
17955
17956
c32bde28 17957static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17958 PyObject *resultobj;
17959 double arg1 ;
17960 wxDateTime *result;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "jdn", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
c32bde28 17967 arg1 = (double)SWIG_As_double(obj0);
d55e5bfc
RD
17968 if (PyErr_Occurred()) SWIG_fail;
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 result = (wxDateTime *)new wxDateTime(arg1);
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17977 return resultobj;
17978 fail:
17979 return NULL;
17980}
17981
17982
c32bde28 17983static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17984 PyObject *resultobj;
17985 int arg1 ;
17986 int arg2 = (int) 0 ;
17987 int arg3 = (int) 0 ;
17988 int arg4 = (int) 0 ;
17989 wxDateTime *result;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 PyObject * obj2 = 0 ;
17993 PyObject * obj3 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 17999 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18000 if (PyErr_Occurred()) SWIG_fail;
18001 if (obj1) {
c32bde28 18002 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18003 if (PyErr_Occurred()) SWIG_fail;
18004 }
18005 if (obj2) {
c32bde28 18006 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 if (obj3) {
c32bde28 18010 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
18021 return resultobj;
18022 fail:
18023 return NULL;
18024}
18025
18026
c32bde28 18027static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18028 PyObject *resultobj;
18029 int arg1 ;
18030 int arg2 = (int) wxDateTime::Inv_Month ;
18031 int arg3 = (int) wxDateTime::Inv_Year ;
18032 int arg4 = (int) 0 ;
18033 int arg5 = (int) 0 ;
18034 int arg6 = (int) 0 ;
18035 int arg7 = (int) 0 ;
18036 wxDateTime *result;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 PyObject * obj2 = 0 ;
18040 PyObject * obj3 = 0 ;
18041 PyObject * obj4 = 0 ;
18042 PyObject * obj5 = 0 ;
18043 PyObject * obj6 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 18049 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18050 if (PyErr_Occurred()) SWIG_fail;
18051 if (obj1) {
c32bde28 18052 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 if (obj2) {
c32bde28 18056 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 if (obj3) {
c32bde28 18060 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 if (obj4) {
c32bde28 18064 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 if (obj5) {
c32bde28 18068 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 if (obj6) {
c32bde28 18072 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
18083 return resultobj;
18084 fail:
18085 return NULL;
18086}
18087
18088
c32bde28 18089static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18090 PyObject *resultobj;
18091 wxDateTime *arg1 = (wxDateTime *) 0 ;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
18098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 delete arg1;
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 Py_INCREF(Py_None); resultobj = Py_None;
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
c32bde28 18114static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18115 PyObject *resultobj;
18116 wxDateTime *arg1 = (wxDateTime *) 0 ;
18117 wxDateTime *result;
18118 PyObject * obj0 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "self", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
18124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 {
18129 wxDateTime &_result_ref = (arg1)->SetToCurrent();
18130 result = (wxDateTime *) &_result_ref;
18131 }
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
c32bde28 18143static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18144 PyObject *resultobj;
18145 wxDateTime *arg1 = (wxDateTime *) 0 ;
18146 time_t arg2 ;
18147 wxDateTime *result;
18148 PyObject * obj0 = 0 ;
18149 PyObject * obj1 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self",(char *) "timet", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18157 arg2 = (time_t)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
18158 if (PyErr_Occurred()) SWIG_fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 {
18162 wxDateTime &_result_ref = (arg1)->Set(arg2);
18163 result = (wxDateTime *) &_result_ref;
18164 }
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18170 return resultobj;
18171 fail:
18172 return NULL;
18173}
18174
18175
c32bde28 18176static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18177 PyObject *resultobj;
18178 wxDateTime *arg1 = (wxDateTime *) 0 ;
18179 double arg2 ;
18180 wxDateTime *result;
18181 PyObject * obj0 = 0 ;
18182 PyObject * obj1 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self",(char *) "jdn", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18190 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
18191 if (PyErr_Occurred()) SWIG_fail;
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 {
18195 wxDateTime &_result_ref = (arg1)->Set(arg2);
18196 result = (wxDateTime *) &_result_ref;
18197 }
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18203 return resultobj;
18204 fail:
18205 return NULL;
18206}
18207
18208
c32bde28 18209static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18210 PyObject *resultobj;
18211 wxDateTime *arg1 = (wxDateTime *) 0 ;
18212 int arg2 ;
18213 int arg3 = (int) 0 ;
18214 int arg4 = (int) 0 ;
18215 int arg5 = (int) 0 ;
18216 wxDateTime *result;
18217 PyObject * obj0 = 0 ;
18218 PyObject * obj1 = 0 ;
18219 PyObject * obj2 = 0 ;
18220 PyObject * obj3 = 0 ;
18221 PyObject * obj4 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18229 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18230 if (PyErr_Occurred()) SWIG_fail;
18231 if (obj2) {
c32bde28 18232 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 if (obj3) {
c32bde28 18236 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 if (obj4) {
c32bde28 18240 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 {
18246 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
18247 result = (wxDateTime *) &_result_ref;
18248 }
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18254 return resultobj;
18255 fail:
18256 return NULL;
18257}
18258
18259
c32bde28 18260static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18261 PyObject *resultobj;
18262 wxDateTime *arg1 = (wxDateTime *) 0 ;
18263 int arg2 ;
18264 int arg3 = (int) wxDateTime::Inv_Month ;
18265 int arg4 = (int) wxDateTime::Inv_Year ;
18266 int arg5 = (int) 0 ;
18267 int arg6 = (int) 0 ;
18268 int arg7 = (int) 0 ;
18269 int arg8 = (int) 0 ;
18270 wxDateTime *result;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 PyObject * obj6 = 0 ;
18278 PyObject * obj7 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
18284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18286 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18287 if (PyErr_Occurred()) SWIG_fail;
18288 if (obj2) {
c32bde28 18289 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 if (obj3) {
c32bde28 18293 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 if (obj4) {
c32bde28 18297 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 if (obj5) {
c32bde28 18301 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 if (obj6) {
c32bde28 18305 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 if (obj7) {
c32bde28 18309 arg8 = (int)SWIG_As_int(obj7);
d55e5bfc
RD
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 {
18315 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
18316 result = (wxDateTime *) &_result_ref;
18317 }
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18323 return resultobj;
18324 fail:
18325 return NULL;
18326}
18327
18328
c32bde28 18329static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18330 PyObject *resultobj;
18331 wxDateTime *arg1 = (wxDateTime *) 0 ;
18332 wxDateTime *result;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 {
18344 wxDateTime &_result_ref = (arg1)->ResetTime();
18345 result = (wxDateTime *) &_result_ref;
18346 }
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18352 return resultobj;
18353 fail:
18354 return NULL;
18355}
18356
18357
c32bde28 18358static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18359 PyObject *resultobj;
18360 wxDateTime *arg1 = (wxDateTime *) 0 ;
18361 int arg2 ;
18362 wxDateTime *result;
18363 PyObject * obj0 = 0 ;
18364 PyObject * obj1 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "year", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18372 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18373 if (PyErr_Occurred()) SWIG_fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 {
18377 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
18378 result = (wxDateTime *) &_result_ref;
18379 }
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18385 return resultobj;
18386 fail:
18387 return NULL;
18388}
18389
18390
c32bde28 18391static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18392 PyObject *resultobj;
18393 wxDateTime *arg1 = (wxDateTime *) 0 ;
18394 int arg2 ;
18395 wxDateTime *result;
18396 PyObject * obj0 = 0 ;
18397 PyObject * obj1 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self",(char *) "month", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
18403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18405 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18406 if (PyErr_Occurred()) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 {
18410 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
18411 result = (wxDateTime *) &_result_ref;
18412 }
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18418 return resultobj;
18419 fail:
18420 return NULL;
18421}
18422
18423
c32bde28 18424static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18425 PyObject *resultobj;
18426 wxDateTime *arg1 = (wxDateTime *) 0 ;
18427 int arg2 ;
18428 wxDateTime *result;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "day", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18438 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18439 if (PyErr_Occurred()) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 {
18443 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
18444 result = (wxDateTime *) &_result_ref;
18445 }
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
c32bde28 18457static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18458 PyObject *resultobj;
18459 wxDateTime *arg1 = (wxDateTime *) 0 ;
18460 int arg2 ;
18461 wxDateTime *result;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "hour", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18471 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18472 if (PyErr_Occurred()) SWIG_fail;
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 {
18476 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18477 result = (wxDateTime *) &_result_ref;
18478 }
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487}
18488
18489
c32bde28 18490static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18491 PyObject *resultobj;
18492 wxDateTime *arg1 = (wxDateTime *) 0 ;
18493 int arg2 ;
18494 wxDateTime *result;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self",(char *) "minute", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18504 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18505 if (PyErr_Occurred()) SWIG_fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 {
18509 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18510 result = (wxDateTime *) &_result_ref;
18511 }
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18517 return resultobj;
18518 fail:
18519 return NULL;
18520}
18521
18522
c32bde28 18523static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18524 PyObject *resultobj;
18525 wxDateTime *arg1 = (wxDateTime *) 0 ;
18526 int arg2 ;
18527 wxDateTime *result;
18528 PyObject * obj0 = 0 ;
18529 PyObject * obj1 = 0 ;
18530 char *kwnames[] = {
18531 (char *) "self",(char *) "second", NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18537 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18538 if (PyErr_Occurred()) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 {
18542 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18543 result = (wxDateTime *) &_result_ref;
18544 }
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18550 return resultobj;
18551 fail:
18552 return NULL;
18553}
18554
18555
c32bde28 18556static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18557 PyObject *resultobj;
18558 wxDateTime *arg1 = (wxDateTime *) 0 ;
18559 int arg2 ;
18560 wxDateTime *result;
18561 PyObject * obj0 = 0 ;
18562 PyObject * obj1 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self",(char *) "millisecond", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18570 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18571 if (PyErr_Occurred()) SWIG_fail;
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 {
18575 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18576 result = (wxDateTime *) &_result_ref;
18577 }
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18583 return resultobj;
18584 fail:
18585 return NULL;
18586}
18587
18588
c32bde28 18589static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18590 PyObject *resultobj;
18591 wxDateTime *arg1 = (wxDateTime *) 0 ;
18592 int arg2 ;
18593 int arg3 = (int) wxDateTime::Monday_First ;
18594 wxDateTime *result;
18595 PyObject * obj0 = 0 ;
18596 PyObject * obj1 = 0 ;
18597 PyObject * obj2 = 0 ;
18598 char *kwnames[] = {
18599 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18600 };
18601
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18605 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18606 if (PyErr_Occurred()) SWIG_fail;
18607 if (obj2) {
c32bde28 18608 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 {
18614 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18615 result = (wxDateTime *) &_result_ref;
18616 }
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
c32bde28 18628static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18629 PyObject *resultobj;
18630 wxDateTime *arg1 = (wxDateTime *) 0 ;
18631 int arg2 ;
18632 int arg3 = (int) wxDateTime::Monday_First ;
18633 wxDateTime result;
18634 PyObject * obj0 = 0 ;
18635 PyObject * obj1 = 0 ;
18636 PyObject * obj2 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18644 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18645 if (PyErr_Occurred()) SWIG_fail;
18646 if (obj2) {
c32bde28 18647 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 {
18658 wxDateTime * resultptr;
18659 resultptr = new wxDateTime((wxDateTime &) result);
18660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18661 }
18662 return resultobj;
18663 fail:
18664 return NULL;
18665}
18666
18667
c32bde28 18668static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18669 PyObject *resultobj;
18670 wxDateTime *arg1 = (wxDateTime *) 0 ;
18671 int arg2 ;
18672 wxDateTime *result;
18673 PyObject * obj0 = 0 ;
18674 PyObject * obj1 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self",(char *) "weekday", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18682 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18683 if (PyErr_Occurred()) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 {
18687 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18688 result = (wxDateTime *) &_result_ref;
18689 }
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18695 return resultobj;
18696 fail:
18697 return NULL;
18698}
18699
18700
c32bde28 18701static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18702 PyObject *resultobj;
18703 wxDateTime *arg1 = (wxDateTime *) 0 ;
18704 int arg2 ;
18705 wxDateTime result;
18706 PyObject * obj0 = 0 ;
18707 PyObject * obj1 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self",(char *) "weekday", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18715 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18716 if (PyErr_Occurred()) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 {
18725 wxDateTime * resultptr;
18726 resultptr = new wxDateTime((wxDateTime &) result);
18727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18728 }
18729 return resultobj;
18730 fail:
18731 return NULL;
18732}
18733
18734
c32bde28 18735static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18736 PyObject *resultobj;
18737 wxDateTime *arg1 = (wxDateTime *) 0 ;
18738 int arg2 ;
18739 wxDateTime *result;
18740 PyObject * obj0 = 0 ;
18741 PyObject * obj1 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "weekday", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18749 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18750 if (PyErr_Occurred()) SWIG_fail;
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 {
18754 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18755 result = (wxDateTime *) &_result_ref;
18756 }
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18762 return resultobj;
18763 fail:
18764 return NULL;
18765}
18766
18767
c32bde28 18768static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18769 PyObject *resultobj;
18770 wxDateTime *arg1 = (wxDateTime *) 0 ;
18771 int arg2 ;
18772 wxDateTime result;
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self",(char *) "weekday", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18782 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18783 if (PyErr_Occurred()) SWIG_fail;
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 {
18792 wxDateTime * resultptr;
18793 resultptr = new wxDateTime((wxDateTime &) result);
18794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18795 }
18796 return resultobj;
18797 fail:
18798 return NULL;
18799}
18800
18801
c32bde28 18802static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18803 PyObject *resultobj;
18804 wxDateTime *arg1 = (wxDateTime *) 0 ;
18805 int arg2 ;
18806 int arg3 = (int) 1 ;
18807 int arg4 = (int) wxDateTime::Inv_Month ;
18808 int arg5 = (int) wxDateTime::Inv_Year ;
18809 bool result;
18810 PyObject * obj0 = 0 ;
18811 PyObject * obj1 = 0 ;
18812 PyObject * obj2 = 0 ;
18813 PyObject * obj3 = 0 ;
18814 PyObject * obj4 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18822 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18823 if (PyErr_Occurred()) SWIG_fail;
18824 if (obj2) {
c32bde28 18825 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 if (obj3) {
c32bde28 18829 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 if (obj4) {
c32bde28 18833 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18839
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 {
18844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18845 }
18846 return resultobj;
18847 fail:
18848 return NULL;
18849}
18850
18851
c32bde28 18852static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18853 PyObject *resultobj;
18854 wxDateTime *arg1 = (wxDateTime *) 0 ;
18855 int arg2 ;
18856 int arg3 = (int) wxDateTime::Inv_Month ;
18857 int arg4 = (int) wxDateTime::Inv_Year ;
18858 bool result;
18859 PyObject * obj0 = 0 ;
18860 PyObject * obj1 = 0 ;
18861 PyObject * obj2 = 0 ;
18862 PyObject * obj3 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18870 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18871 if (PyErr_Occurred()) SWIG_fail;
18872 if (obj2) {
c32bde28 18873 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 if (obj3) {
c32bde28 18877 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18889 }
18890 return resultobj;
18891 fail:
18892 return NULL;
18893}
18894
18895
c32bde28 18896static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18897 PyObject *resultobj;
18898 wxDateTime *arg1 = (wxDateTime *) 0 ;
18899 int arg2 ;
18900 int arg3 = (int) wxDateTime::Inv_Month ;
18901 int arg4 = (int) wxDateTime::Inv_Year ;
18902 wxDateTime result;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 PyObject * obj2 = 0 ;
18906 PyObject * obj3 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18914 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18915 if (PyErr_Occurred()) SWIG_fail;
18916 if (obj2) {
c32bde28 18917 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 if (obj3) {
c32bde28 18921 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 {
18932 wxDateTime * resultptr;
18933 resultptr = new wxDateTime((wxDateTime &) result);
18934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18935 }
18936 return resultobj;
18937 fail:
18938 return NULL;
18939}
18940
18941
c32bde28 18942static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18943 PyObject *resultobj;
18944 wxDateTime *arg1 = (wxDateTime *) 0 ;
18945 int arg2 ;
18946 int arg3 = (int) wxDateTime::Mon ;
18947 int arg4 = (int) wxDateTime::Monday_First ;
18948 bool result;
18949 PyObject * obj0 = 0 ;
18950 PyObject * obj1 = 0 ;
18951 PyObject * obj2 = 0 ;
18952 PyObject * obj3 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18960 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18961 if (PyErr_Occurred()) SWIG_fail;
18962 if (obj2) {
c32bde28 18963 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 if (obj3) {
c32bde28 18967 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 {
18978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18979 }
18980 return resultobj;
18981 fail:
18982 return NULL;
18983}
18984
18985
c32bde28 18986static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18987 PyObject *resultobj;
18988 wxDateTime *arg1 = (wxDateTime *) 0 ;
18989 int arg2 ;
18990 int arg3 = (int) wxDateTime::Mon ;
18991 int arg4 = (int) wxDateTime::Monday_First ;
18992 wxDateTime result;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 PyObject * obj2 = 0 ;
18996 PyObject * obj3 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19004 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19005 if (PyErr_Occurred()) SWIG_fail;
19006 if (obj2) {
c32bde28 19007 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 if (obj3) {
c32bde28 19011 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 {
19022 wxDateTime * resultptr;
19023 resultptr = new wxDateTime((wxDateTime &) result);
19024 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19025 }
19026 return resultobj;
19027 fail:
19028 return NULL;
19029}
19030
19031
7e63a440
RD
19032static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 int arg1 ;
19035 int arg2 ;
19036 int arg3 = (int) wxDateTime::Mon ;
19037 wxDateTime result;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19046 arg1 = (int)SWIG_As_int(obj0);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 arg2 = (int)SWIG_As_int(obj1);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 if (obj2) {
19051 arg3 = (int)SWIG_As_int(obj2);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 {
19062 wxDateTime * resultptr;
19063 resultptr = new wxDateTime((wxDateTime &) result);
19064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19065 }
19066 return resultobj;
19067 fail:
19068 return NULL;
19069}
19070
19071
c32bde28 19072static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19073 PyObject *resultobj;
19074 wxDateTime *arg1 = (wxDateTime *) 0 ;
19075 int arg2 = (int) wxDateTime::Inv_Month ;
19076 int arg3 = (int) wxDateTime::Inv_Year ;
19077 wxDateTime *result;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 PyObject * obj2 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "month",(char *) "year", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19088 if (obj1) {
c32bde28 19089 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 if (obj2) {
c32bde28 19093 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 {
19099 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
19100 result = (wxDateTime *) &_result_ref;
19101 }
19102
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19107 return resultobj;
19108 fail:
19109 return NULL;
19110}
19111
19112
c32bde28 19113static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19114 PyObject *resultobj;
19115 wxDateTime *arg1 = (wxDateTime *) 0 ;
19116 int arg2 = (int) wxDateTime::Inv_Month ;
19117 int arg3 = (int) wxDateTime::Inv_Year ;
19118 wxDateTime result;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 PyObject * obj2 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "month",(char *) "year", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19129 if (obj1) {
c32bde28 19130 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 if (obj2) {
c32bde28 19134 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 {
19145 wxDateTime * resultptr;
19146 resultptr = new wxDateTime((wxDateTime &) result);
19147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19148 }
19149 return resultobj;
19150 fail:
19151 return NULL;
19152}
19153
19154
c32bde28 19155static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19156 PyObject *resultobj;
19157 wxDateTime *arg1 = (wxDateTime *) 0 ;
19158 int arg2 ;
19159 wxDateTime *result;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "yday", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19169 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19170 if (PyErr_Occurred()) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 {
19174 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
19175 result = (wxDateTime *) &_result_ref;
19176 }
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19182 return resultobj;
19183 fail:
19184 return NULL;
19185}
19186
19187
c32bde28 19188static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19189 PyObject *resultobj;
19190 wxDateTime *arg1 = (wxDateTime *) 0 ;
19191 int arg2 ;
19192 wxDateTime result;
19193 PyObject * obj0 = 0 ;
19194 PyObject * obj1 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self",(char *) "yday", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
19200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19202 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19203 if (PyErr_Occurred()) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (arg1)->GetYearDay(arg2);
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 wxDateTime * resultptr;
19213 resultptr = new wxDateTime((wxDateTime &) result);
19214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19215 }
19216 return resultobj;
19217 fail:
19218 return NULL;
19219}
19220
19221
c32bde28 19222static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19223 PyObject *resultobj;
19224 wxDateTime *arg1 = (wxDateTime *) 0 ;
19225 double result;
19226 PyObject * obj0 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 result = (double)(arg1)->GetJulianDayNumber();
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
c32bde28 19241 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19242 return resultobj;
19243 fail:
19244 return NULL;
19245}
19246
19247
c32bde28 19248static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19249 PyObject *resultobj;
19250 wxDateTime *arg1 = (wxDateTime *) 0 ;
19251 double result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (double)(arg1)->GetJDN();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
c32bde28 19267 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
c32bde28 19274static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19275 PyObject *resultobj;
19276 wxDateTime *arg1 = (wxDateTime *) 0 ;
19277 double result;
19278 PyObject * obj0 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
c32bde28 19293 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19294 return resultobj;
19295 fail:
19296 return NULL;
19297}
19298
19299
c32bde28 19300static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19301 PyObject *resultobj;
19302 wxDateTime *arg1 = (wxDateTime *) 0 ;
19303 double result;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 result = (double)(arg1)->GetMJD();
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
c32bde28 19319 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19320 return resultobj;
19321 fail:
19322 return NULL;
19323}
19324
19325
c32bde28 19326static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19327 PyObject *resultobj;
19328 wxDateTime *arg1 = (wxDateTime *) 0 ;
19329 double result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (double)(arg1)->GetRataDie();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
c32bde28 19345 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19346 return resultobj;
19347 fail:
19348 return NULL;
19349}
19350
19351
c32bde28 19352static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19353 PyObject *resultobj;
19354 wxDateTime *arg1 = (wxDateTime *) 0 ;
19355 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 19356 bool arg3 = (bool) false ;
d55e5bfc 19357 wxDateTime result;
ae8162c8 19358 bool temp2 = false ;
d55e5bfc
RD
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 PyObject * obj2 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19369 {
19370 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19371 temp2 = true;
d55e5bfc
RD
19372 }
19373 if (obj2) {
c32bde28 19374 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 {
19385 wxDateTime * resultptr;
19386 resultptr = new wxDateTime((wxDateTime &) result);
19387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19388 }
19389 {
19390 if (temp2) delete arg2;
19391 }
19392 return resultobj;
19393 fail:
19394 {
19395 if (temp2) delete arg2;
19396 }
19397 return NULL;
19398}
19399
19400
c32bde28 19401static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19402 PyObject *resultobj;
19403 wxDateTime *arg1 = (wxDateTime *) 0 ;
19404 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 19405 bool arg3 = (bool) false ;
d55e5bfc 19406 wxDateTime *result;
ae8162c8 19407 bool temp2 = false ;
d55e5bfc
RD
19408 PyObject * obj0 = 0 ;
19409 PyObject * obj1 = 0 ;
19410 PyObject * obj2 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19418 {
19419 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19420 temp2 = true;
d55e5bfc
RD
19421 }
19422 if (obj2) {
c32bde28 19423 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 {
19429 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19430 result = (wxDateTime *) &_result_ref;
19431 }
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19437 {
19438 if (temp2) delete arg2;
19439 }
19440 return resultobj;
19441 fail:
19442 {
19443 if (temp2) delete arg2;
19444 }
19445 return NULL;
19446}
19447
19448
c32bde28 19449static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19450 PyObject *resultobj;
19451 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 19452 bool arg2 = (bool) false ;
d55e5bfc
RD
19453 wxDateTime result;
19454 PyObject * obj0 = 0 ;
19455 PyObject * obj1 = 0 ;
19456 char *kwnames[] = {
19457 (char *) "self",(char *) "noDST", NULL
19458 };
19459
19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
19461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19463 if (obj1) {
c32bde28 19464 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 result = (arg1)->ToGMT(arg2);
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 {
19475 wxDateTime * resultptr;
19476 resultptr = new wxDateTime((wxDateTime &) result);
19477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19478 }
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
c32bde28 19485static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19486 PyObject *resultobj;
19487 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 19488 bool arg2 = (bool) false ;
d55e5bfc
RD
19489 wxDateTime *result;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj1 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self",(char *) "noDST", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19499 if (obj1) {
c32bde28 19500 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 {
19506 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19507 result = (wxDateTime *) &_result_ref;
19508 }
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19514 return resultobj;
19515 fail:
19516 return NULL;
19517}
19518
19519
c32bde28 19520static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19521 PyObject *resultobj;
19522 wxDateTime *arg1 = (wxDateTime *) 0 ;
19523 int arg2 = (int) wxDateTime::Country_Default ;
19524 int result;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self",(char *) "country", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19534 if (obj1) {
c32bde28 19535 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 {
19539 PyThreadState* __tstate = wxPyBeginAllowThreads();
19540 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19541
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
c32bde28 19545 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19546 return resultobj;
19547 fail:
19548 return NULL;
19549}
19550
19551
c32bde28 19552static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19553 PyObject *resultobj;
19554 wxDateTime *arg1 = (wxDateTime *) 0 ;
19555 bool result;
19556 PyObject * obj0 = 0 ;
19557 char *kwnames[] = {
19558 (char *) "self", NULL
19559 };
19560
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (bool)((wxDateTime const *)arg1)->IsValid();
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 {
19572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19573 }
19574 return resultobj;
19575 fail:
19576 return NULL;
19577}
19578
19579
c32bde28 19580static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19581 PyObject *resultobj;
19582 wxDateTime *arg1 = (wxDateTime *) 0 ;
19583 time_t result;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
c32bde28 19599 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
19600 return resultobj;
19601 fail:
19602 return NULL;
19603}
19604
19605
c32bde28 19606static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19607 PyObject *resultobj;
19608 wxDateTime *arg1 = (wxDateTime *) 0 ;
19609 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19610 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19611 int result;
ae8162c8 19612 bool temp2 = false ;
d55e5bfc
RD
19613 PyObject * obj0 = 0 ;
19614 PyObject * obj1 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self",(char *) "tz", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19622 if (obj1) {
19623 {
19624 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19625 temp2 = true;
d55e5bfc
RD
19626 }
19627 }
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
c32bde28 19635 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19636 {
19637 if (temp2) delete arg2;
19638 }
19639 return resultobj;
19640 fail:
19641 {
19642 if (temp2) delete arg2;
19643 }
19644 return NULL;
19645}
19646
19647
c32bde28 19648static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19649 PyObject *resultobj;
19650 wxDateTime *arg1 = (wxDateTime *) 0 ;
19651 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19652 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19653 int result;
ae8162c8 19654 bool temp2 = false ;
d55e5bfc
RD
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "tz", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19664 if (obj1) {
19665 {
19666 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19667 temp2 = true;
d55e5bfc
RD
19668 }
19669 }
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
c32bde28 19677 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19678 {
19679 if (temp2) delete arg2;
19680 }
19681 return resultobj;
19682 fail:
19683 {
19684 if (temp2) delete arg2;
19685 }
19686 return NULL;
19687}
19688
19689
c32bde28 19690static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19691 PyObject *resultobj;
19692 wxDateTime *arg1 = (wxDateTime *) 0 ;
19693 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19694 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19695 int result;
ae8162c8 19696 bool temp2 = false ;
d55e5bfc
RD
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "tz", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19706 if (obj1) {
19707 {
19708 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19709 temp2 = true;
d55e5bfc
RD
19710 }
19711 }
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
c32bde28 19719 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19720 {
19721 if (temp2) delete arg2;
19722 }
19723 return resultobj;
19724 fail:
19725 {
19726 if (temp2) delete arg2;
19727 }
19728 return NULL;
19729}
19730
19731
c32bde28 19732static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19733 PyObject *resultobj;
19734 wxDateTime *arg1 = (wxDateTime *) 0 ;
19735 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19736 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19737 int result;
ae8162c8 19738 bool temp2 = false ;
d55e5bfc
RD
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "tz", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19748 if (obj1) {
19749 {
19750 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19751 temp2 = true;
d55e5bfc
RD
19752 }
19753 }
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
c32bde28 19761 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19762 {
19763 if (temp2) delete arg2;
19764 }
19765 return resultobj;
19766 fail:
19767 {
19768 if (temp2) delete arg2;
19769 }
19770 return NULL;
19771}
19772
19773
c32bde28 19774static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19775 PyObject *resultobj;
19776 wxDateTime *arg1 = (wxDateTime *) 0 ;
19777 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19778 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19779 int result;
ae8162c8 19780 bool temp2 = false ;
d55e5bfc
RD
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "tz", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19790 if (obj1) {
19791 {
19792 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19793 temp2 = true;
d55e5bfc
RD
19794 }
19795 }
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
c32bde28 19803 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19804 {
19805 if (temp2) delete arg2;
19806 }
19807 return resultobj;
19808 fail:
19809 {
19810 if (temp2) delete arg2;
19811 }
19812 return NULL;
19813}
19814
19815
c32bde28 19816static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19817 PyObject *resultobj;
19818 wxDateTime *arg1 = (wxDateTime *) 0 ;
19819 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19820 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19821 int result;
ae8162c8 19822 bool temp2 = false ;
d55e5bfc
RD
19823 PyObject * obj0 = 0 ;
19824 PyObject * obj1 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self",(char *) "tz", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19832 if (obj1) {
19833 {
19834 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19835 temp2 = true;
d55e5bfc
RD
19836 }
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
c32bde28 19845 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19846 {
19847 if (temp2) delete arg2;
19848 }
19849 return resultobj;
19850 fail:
19851 {
19852 if (temp2) delete arg2;
19853 }
19854 return NULL;
19855}
19856
19857
c32bde28 19858static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19859 PyObject *resultobj;
19860 wxDateTime *arg1 = (wxDateTime *) 0 ;
19861 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19862 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19863 int result;
ae8162c8 19864 bool temp2 = false ;
d55e5bfc
RD
19865 PyObject * obj0 = 0 ;
19866 PyObject * obj1 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "tz", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19874 if (obj1) {
19875 {
19876 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19877 temp2 = true;
d55e5bfc
RD
19878 }
19879 }
19880 {
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19883
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
c32bde28 19887 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19888 {
19889 if (temp2) delete arg2;
19890 }
19891 return resultobj;
19892 fail:
19893 {
19894 if (temp2) delete arg2;
19895 }
19896 return NULL;
19897}
19898
19899
c32bde28 19900static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19901 PyObject *resultobj;
19902 wxDateTime *arg1 = (wxDateTime *) 0 ;
19903 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19904 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19905 int result;
ae8162c8 19906 bool temp2 = false ;
d55e5bfc
RD
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self",(char *) "tz", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19916 if (obj1) {
19917 {
19918 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19919 temp2 = true;
d55e5bfc
RD
19920 }
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
c32bde28 19929 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19930 {
19931 if (temp2) delete arg2;
19932 }
19933 return resultobj;
19934 fail:
19935 {
19936 if (temp2) delete arg2;
19937 }
19938 return NULL;
19939}
19940
19941
c32bde28 19942static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19943 PyObject *resultobj;
19944 wxDateTime *arg1 = (wxDateTime *) 0 ;
19945 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19946 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19947 int result;
ae8162c8 19948 bool temp2 = false ;
d55e5bfc
RD
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self",(char *) "tz", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19958 if (obj1) {
19959 {
19960 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 19961 temp2 = true;
d55e5bfc
RD
19962 }
19963 }
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
c32bde28 19971 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19972 {
19973 if (temp2) delete arg2;
19974 }
19975 return resultobj;
19976 fail:
19977 {
19978 if (temp2) delete arg2;
19979 }
19980 return NULL;
19981}
19982
19983
c32bde28 19984static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19985 PyObject *resultobj;
19986 wxDateTime *arg1 = (wxDateTime *) 0 ;
19987 int arg2 = (int) wxDateTime::Monday_First ;
19988 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19989 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19990 int result;
ae8162c8 19991 bool temp3 = false ;
d55e5bfc
RD
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 PyObject * obj2 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "flags",(char *) "tz", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 if (obj1) {
c32bde28 20003 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 if (obj2) {
20007 {
20008 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 20009 temp3 = true;
d55e5bfc
RD
20010 }
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
c32bde28 20019 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20020 {
20021 if (temp3) delete arg3;
20022 }
20023 return resultobj;
20024 fail:
20025 {
20026 if (temp3) delete arg3;
20027 }
20028 return NULL;
20029}
20030
20031
c32bde28 20032static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20033 PyObject *resultobj;
20034 wxDateTime *arg1 = (wxDateTime *) 0 ;
20035 int arg2 = (int) wxDateTime::Monday_First ;
20036 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20037 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20038 int result;
ae8162c8 20039 bool temp3 = false ;
d55e5bfc
RD
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 PyObject * obj2 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "flags",(char *) "tz", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20050 if (obj1) {
c32bde28 20051 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 if (obj2) {
20055 {
20056 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 20057 temp3 = true;
d55e5bfc
RD
20058 }
20059 }
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
c32bde28 20067 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20068 {
20069 if (temp3) delete arg3;
20070 }
20071 return resultobj;
20072 fail:
20073 {
20074 if (temp3) delete arg3;
20075 }
20076 return NULL;
20077}
20078
20079
c32bde28 20080static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20081 PyObject *resultobj;
20082 wxDateTime *arg1 = (wxDateTime *) 0 ;
20083 int arg2 = (int) wxDateTime::Country_Default ;
20084 bool result;
20085 PyObject * obj0 = 0 ;
20086 PyObject * obj1 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self",(char *) "country", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 if (obj1) {
c32bde28 20095 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 {
20106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20107 }
20108 return resultobj;
20109 fail:
20110 return NULL;
20111}
20112
20113
c32bde28 20114static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20115 PyObject *resultobj;
20116 wxDateTime *arg1 = (wxDateTime *) 0 ;
20117 wxDateTime *arg2 = 0 ;
20118 bool result;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self",(char *) "datetime", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1)
20130 SWIG_fail;
20131 if (arg2 == NULL) {
20132 PyErr_SetString(PyExc_TypeError,"null reference");
20133 SWIG_fail;
20134 }
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 {
20143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20144 }
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
c32bde28 20151static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20152 PyObject *resultobj;
20153 wxDateTime *arg1 = (wxDateTime *) 0 ;
20154 wxDateTime *arg2 = 0 ;
20155 bool result;
20156 PyObject * obj0 = 0 ;
20157 PyObject * obj1 = 0 ;
20158 char *kwnames[] = {
20159 (char *) "self",(char *) "datetime", NULL
20160 };
20161
20162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
20163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20166 SWIG_POINTER_EXCEPTION | 0)) == -1)
20167 SWIG_fail;
20168 if (arg2 == NULL) {
20169 PyErr_SetString(PyExc_TypeError,"null reference");
20170 SWIG_fail;
20171 }
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20181 }
20182 return resultobj;
20183 fail:
20184 return NULL;
20185}
20186
20187
c32bde28 20188static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20189 PyObject *resultobj;
20190 wxDateTime *arg1 = (wxDateTime *) 0 ;
20191 wxDateTime *arg2 = 0 ;
20192 bool result;
20193 PyObject * obj0 = 0 ;
20194 PyObject * obj1 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self",(char *) "datetime", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20203 SWIG_POINTER_EXCEPTION | 0)) == -1)
20204 SWIG_fail;
20205 if (arg2 == NULL) {
20206 PyErr_SetString(PyExc_TypeError,"null reference");
20207 SWIG_fail;
20208 }
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 {
20217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20218 }
20219 return resultobj;
20220 fail:
20221 return NULL;
20222}
20223
20224
c32bde28 20225static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20226 PyObject *resultobj;
20227 wxDateTime *arg1 = (wxDateTime *) 0 ;
20228 wxDateTime *arg2 = 0 ;
20229 wxDateTime *arg3 = 0 ;
20230 bool result;
20231 PyObject * obj0 = 0 ;
20232 PyObject * obj1 = 0 ;
20233 PyObject * obj2 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self",(char *) "t1",(char *) "t2", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1)
20243 SWIG_fail;
20244 if (arg2 == NULL) {
20245 PyErr_SetString(PyExc_TypeError,"null reference");
20246 SWIG_fail;
20247 }
20248 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1)
20250 SWIG_fail;
20251 if (arg3 == NULL) {
20252 PyErr_SetString(PyExc_TypeError,"null reference");
20253 SWIG_fail;
20254 }
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 {
20263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20264 }
20265 return resultobj;
20266 fail:
20267 return NULL;
20268}
20269
20270
c32bde28 20271static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20272 PyObject *resultobj;
20273 wxDateTime *arg1 = (wxDateTime *) 0 ;
20274 wxDateTime *arg2 = 0 ;
20275 wxDateTime *arg3 = 0 ;
20276 bool result;
20277 PyObject * obj0 = 0 ;
20278 PyObject * obj1 = 0 ;
20279 PyObject * obj2 = 0 ;
20280 char *kwnames[] = {
20281 (char *) "self",(char *) "t1",(char *) "t2", NULL
20282 };
20283
20284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
20285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20288 SWIG_POINTER_EXCEPTION | 0)) == -1)
20289 SWIG_fail;
20290 if (arg2 == NULL) {
20291 PyErr_SetString(PyExc_TypeError,"null reference");
20292 SWIG_fail;
20293 }
20294 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20295 SWIG_POINTER_EXCEPTION | 0)) == -1)
20296 SWIG_fail;
20297 if (arg3 == NULL) {
20298 PyErr_SetString(PyExc_TypeError,"null reference");
20299 SWIG_fail;
20300 }
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
c32bde28 20317static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20318 PyObject *resultobj;
20319 wxDateTime *arg1 = (wxDateTime *) 0 ;
20320 wxDateTime *arg2 = 0 ;
20321 bool result;
20322 PyObject * obj0 = 0 ;
20323 PyObject * obj1 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "dt", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1)
20333 SWIG_fail;
20334 if (arg2 == NULL) {
20335 PyErr_SetString(PyExc_TypeError,"null reference");
20336 SWIG_fail;
20337 }
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 {
20346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20347 }
20348 return resultobj;
20349 fail:
20350 return NULL;
20351}
20352
20353
c32bde28 20354static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20355 PyObject *resultobj;
20356 wxDateTime *arg1 = (wxDateTime *) 0 ;
20357 wxDateTime *arg2 = 0 ;
20358 bool result;
20359 PyObject * obj0 = 0 ;
20360 PyObject * obj1 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self",(char *) "dt", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20369 SWIG_POINTER_EXCEPTION | 0)) == -1)
20370 SWIG_fail;
20371 if (arg2 == NULL) {
20372 PyErr_SetString(PyExc_TypeError,"null reference");
20373 SWIG_fail;
20374 }
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 {
20383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20384 }
20385 return resultobj;
20386 fail:
20387 return NULL;
20388}
20389
20390
c32bde28 20391static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20392 PyObject *resultobj;
20393 wxDateTime *arg1 = (wxDateTime *) 0 ;
20394 wxDateTime *arg2 = 0 ;
20395 wxTimeSpan *arg3 = 0 ;
20396 bool result;
20397 PyObject * obj0 = 0 ;
20398 PyObject * obj1 = 0 ;
20399 PyObject * obj2 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "dt",(char *) "ts", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20408 SWIG_POINTER_EXCEPTION | 0)) == -1)
20409 SWIG_fail;
20410 if (arg2 == NULL) {
20411 PyErr_SetString(PyExc_TypeError,"null reference");
20412 SWIG_fail;
20413 }
20414 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1)
20416 SWIG_fail;
20417 if (arg3 == NULL) {
20418 PyErr_SetString(PyExc_TypeError,"null reference");
20419 SWIG_fail;
20420 }
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434}
20435
20436
c32bde28 20437static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20438 PyObject *resultobj;
20439 wxDateTime *arg1 = (wxDateTime *) 0 ;
20440 wxTimeSpan *arg2 = 0 ;
20441 wxDateTime *result;
20442 PyObject * obj0 = 0 ;
20443 PyObject * obj1 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self",(char *) "diff", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1)
20453 SWIG_fail;
20454 if (arg2 == NULL) {
20455 PyErr_SetString(PyExc_TypeError,"null reference");
20456 SWIG_fail;
20457 }
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 {
20461 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
20462 result = (wxDateTime *) &_result_ref;
20463 }
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20469 return resultobj;
20470 fail:
20471 return NULL;
20472}
20473
20474
c32bde28 20475static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20476 PyObject *resultobj;
20477 wxDateTime *arg1 = (wxDateTime *) 0 ;
20478 wxDateSpan *arg2 = 0 ;
20479 wxDateTime *result;
20480 PyObject * obj0 = 0 ;
20481 PyObject * obj1 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self",(char *) "diff", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20490 SWIG_POINTER_EXCEPTION | 0)) == -1)
20491 SWIG_fail;
20492 if (arg2 == NULL) {
20493 PyErr_SetString(PyExc_TypeError,"null reference");
20494 SWIG_fail;
20495 }
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 {
20499 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20500 result = (wxDateTime *) &_result_ref;
20501 }
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20507 return resultobj;
20508 fail:
20509 return NULL;
20510}
20511
20512
c32bde28 20513static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20514 PyObject *resultobj;
20515 wxDateTime *arg1 = (wxDateTime *) 0 ;
20516 wxTimeSpan *arg2 = 0 ;
20517 wxDateTime *result;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self",(char *) "diff", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1)
20529 SWIG_fail;
20530 if (arg2 == NULL) {
20531 PyErr_SetString(PyExc_TypeError,"null reference");
20532 SWIG_fail;
20533 }
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 {
20537 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20538 result = (wxDateTime *) &_result_ref;
20539 }
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20545 return resultobj;
20546 fail:
20547 return NULL;
20548}
20549
20550
c32bde28 20551static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20552 PyObject *resultobj;
20553 wxDateTime *arg1 = (wxDateTime *) 0 ;
20554 wxDateSpan *arg2 = 0 ;
20555 wxDateTime *result;
20556 PyObject * obj0 = 0 ;
20557 PyObject * obj1 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "diff", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20566 SWIG_POINTER_EXCEPTION | 0)) == -1)
20567 SWIG_fail;
20568 if (arg2 == NULL) {
20569 PyErr_SetString(PyExc_TypeError,"null reference");
20570 SWIG_fail;
20571 }
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 {
20575 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20576 result = (wxDateTime *) &_result_ref;
20577 }
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20583 return resultobj;
20584 fail:
20585 return NULL;
20586}
20587
20588
c32bde28 20589static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20590 PyObject *resultobj;
20591 wxDateTime *arg1 = (wxDateTime *) 0 ;
20592 wxDateTime *arg2 = 0 ;
20593 wxTimeSpan result;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj1 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self",(char *) "dt", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20604 SWIG_POINTER_EXCEPTION | 0)) == -1)
20605 SWIG_fail;
20606 if (arg2 == NULL) {
20607 PyErr_SetString(PyExc_TypeError,"null reference");
20608 SWIG_fail;
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 {
20618 wxTimeSpan * resultptr;
20619 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20621 }
20622 return resultobj;
20623 fail:
20624 return NULL;
20625}
20626
20627
c32bde28 20628static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20629 PyObject *resultobj;
20630 wxDateTime *arg1 = (wxDateTime *) 0 ;
20631 wxTimeSpan *arg2 = 0 ;
20632 wxDateTime *result;
20633 PyObject * obj0 = 0 ;
20634 PyObject * obj1 = 0 ;
20635
20636 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20638 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
20639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20640 SWIG_POINTER_EXCEPTION | 0)) == -1)
20641 SWIG_fail;
20642 if (arg2 == NULL) {
20643 PyErr_SetString(PyExc_TypeError,"null reference");
20644 SWIG_fail;
20645 }
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 {
20649 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20650 result = (wxDateTime *) &_result_ref;
20651 }
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
c32bde28 20656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
20657 return resultobj;
20658 fail:
20659 return NULL;
20660}
20661
20662
c32bde28 20663static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20664 PyObject *resultobj;
20665 wxDateTime *arg1 = (wxDateTime *) 0 ;
20666 wxDateSpan *arg2 = 0 ;
20667 wxDateTime *result;
20668 PyObject * obj0 = 0 ;
20669 PyObject * obj1 = 0 ;
20670
20671 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20673 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
20674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20675 SWIG_POINTER_EXCEPTION | 0)) == -1)
20676 SWIG_fail;
20677 if (arg2 == NULL) {
20678 PyErr_SetString(PyExc_TypeError,"null reference");
20679 SWIG_fail;
20680 }
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 {
20684 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20685 result = (wxDateTime *) &_result_ref;
20686 }
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
c32bde28 20691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
20698static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20699 int argc;
20700 PyObject *argv[3];
20701 int ii;
20702
20703 argc = PyObject_Length(args);
20704 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20705 argv[ii] = PyTuple_GetItem(args,ii);
20706 }
20707 if (argc == 2) {
20708 int _v;
20709 {
20710 void *ptr;
20711 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20712 _v = 0;
20713 PyErr_Clear();
20714 } else {
20715 _v = 1;
20716 }
20717 }
20718 if (_v) {
20719 {
20720 void *ptr;
20721 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20722 _v = 0;
20723 PyErr_Clear();
20724 } else {
20725 _v = 1;
20726 }
20727 }
20728 if (_v) {
20729 return _wrap_DateTime___iadd____SWIG_0(self,args);
20730 }
20731 }
20732 }
20733 if (argc == 2) {
20734 int _v;
20735 {
20736 void *ptr;
20737 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20738 _v = 0;
20739 PyErr_Clear();
20740 } else {
20741 _v = 1;
20742 }
20743 }
20744 if (_v) {
20745 {
20746 void *ptr;
20747 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20748 _v = 0;
20749 PyErr_Clear();
20750 } else {
20751 _v = 1;
20752 }
20753 }
20754 if (_v) {
20755 return _wrap_DateTime___iadd____SWIG_1(self,args);
20756 }
20757 }
20758 }
20759
20760 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20761 return NULL;
20762}
20763
20764
c32bde28 20765static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20766 PyObject *resultobj;
20767 wxDateTime *arg1 = (wxDateTime *) 0 ;
20768 wxTimeSpan *arg2 = 0 ;
20769 wxDateTime *result;
20770 PyObject * obj0 = 0 ;
20771 PyObject * obj1 = 0 ;
20772
20773 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20775 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
20776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20777 SWIG_POINTER_EXCEPTION | 0)) == -1)
20778 SWIG_fail;
20779 if (arg2 == NULL) {
20780 PyErr_SetString(PyExc_TypeError,"null reference");
20781 SWIG_fail;
20782 }
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 {
20786 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20787 result = (wxDateTime *) &_result_ref;
20788 }
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
c32bde28 20793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
c32bde28 20800static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20801 PyObject *resultobj;
20802 wxDateTime *arg1 = (wxDateTime *) 0 ;
20803 wxDateSpan *arg2 = 0 ;
20804 wxDateTime *result;
20805 PyObject * obj0 = 0 ;
20806 PyObject * obj1 = 0 ;
20807
20808 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
c32bde28 20810 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
20811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20812 SWIG_POINTER_EXCEPTION | 0)) == -1)
20813 SWIG_fail;
20814 if (arg2 == NULL) {
20815 PyErr_SetString(PyExc_TypeError,"null reference");
20816 SWIG_fail;
20817 }
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 {
20821 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20822 result = (wxDateTime *) &_result_ref;
20823 }
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
c32bde28 20828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
20829 return resultobj;
20830 fail:
20831 return NULL;
20832}
20833
20834
20835static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20836 int argc;
20837 PyObject *argv[3];
20838 int ii;
20839
20840 argc = PyObject_Length(args);
20841 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20842 argv[ii] = PyTuple_GetItem(args,ii);
20843 }
20844 if (argc == 2) {
20845 int _v;
20846 {
20847 void *ptr;
20848 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20849 _v = 0;
20850 PyErr_Clear();
20851 } else {
20852 _v = 1;
20853 }
20854 }
20855 if (_v) {
20856 {
20857 void *ptr;
20858 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20859 _v = 0;
20860 PyErr_Clear();
20861 } else {
20862 _v = 1;
20863 }
20864 }
20865 if (_v) {
20866 return _wrap_DateTime___isub____SWIG_0(self,args);
20867 }
20868 }
20869 }
20870 if (argc == 2) {
20871 int _v;
20872 {
20873 void *ptr;
20874 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20875 _v = 0;
20876 PyErr_Clear();
20877 } else {
20878 _v = 1;
20879 }
20880 }
20881 if (_v) {
20882 {
20883 void *ptr;
20884 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20885 _v = 0;
20886 PyErr_Clear();
20887 } else {
20888 _v = 1;
20889 }
20890 }
20891 if (_v) {
20892 return _wrap_DateTime___isub____SWIG_1(self,args);
20893 }
20894 }
20895 }
20896
20897 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20898 return NULL;
20899}
20900
20901
c32bde28 20902static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20903 PyObject *resultobj;
20904 wxDateTime *arg1 = (wxDateTime *) 0 ;
20905 wxTimeSpan *arg2 = 0 ;
20906 wxDateTime result;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909
20910 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1)
20915 SWIG_fail;
20916 if (arg2 == NULL) {
20917 PyErr_SetString(PyExc_TypeError,"null reference");
20918 SWIG_fail;
20919 }
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
20928 wxDateTime * resultptr;
20929 resultptr = new wxDateTime((wxDateTime &) result);
20930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20931 }
20932 return resultobj;
20933 fail:
20934 return NULL;
20935}
20936
20937
c32bde28 20938static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20939 PyObject *resultobj;
20940 wxDateTime *arg1 = (wxDateTime *) 0 ;
20941 wxDateSpan *arg2 = 0 ;
20942 wxDateTime result;
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945
20946 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20950 SWIG_POINTER_EXCEPTION | 0)) == -1)
20951 SWIG_fail;
20952 if (arg2 == NULL) {
20953 PyErr_SetString(PyExc_TypeError,"null reference");
20954 SWIG_fail;
20955 }
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 {
20964 wxDateTime * resultptr;
20965 resultptr = new wxDateTime((wxDateTime &) result);
20966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20967 }
20968 return resultobj;
20969 fail:
20970 return NULL;
20971}
20972
20973
20974static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20975 int argc;
20976 PyObject *argv[3];
20977 int ii;
20978
20979 argc = PyObject_Length(args);
20980 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20981 argv[ii] = PyTuple_GetItem(args,ii);
20982 }
20983 if (argc == 2) {
20984 int _v;
20985 {
20986 void *ptr;
20987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20988 _v = 0;
20989 PyErr_Clear();
20990 } else {
20991 _v = 1;
20992 }
20993 }
20994 if (_v) {
20995 {
20996 void *ptr;
20997 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20998 _v = 0;
20999 PyErr_Clear();
21000 } else {
21001 _v = 1;
21002 }
21003 }
21004 if (_v) {
21005 return _wrap_DateTime___add____SWIG_0(self,args);
21006 }
21007 }
21008 }
21009 if (argc == 2) {
21010 int _v;
21011 {
21012 void *ptr;
21013 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21014 _v = 0;
21015 PyErr_Clear();
21016 } else {
21017 _v = 1;
21018 }
21019 }
21020 if (_v) {
21021 {
21022 void *ptr;
21023 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
21024 _v = 0;
21025 PyErr_Clear();
21026 } else {
21027 _v = 1;
21028 }
21029 }
21030 if (_v) {
21031 return _wrap_DateTime___add____SWIG_1(self,args);
21032 }
21033 }
21034 }
21035
21036 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
21037 return NULL;
21038}
21039
21040
c32bde28 21041static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
21042 PyObject *resultobj;
21043 wxDateTime *arg1 = (wxDateTime *) 0 ;
21044 wxDateTime *arg2 = 0 ;
21045 wxTimeSpan result;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048
21049 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21053 SWIG_POINTER_EXCEPTION | 0)) == -1)
21054 SWIG_fail;
21055 if (arg2 == NULL) {
21056 PyErr_SetString(PyExc_TypeError,"null reference");
21057 SWIG_fail;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 {
21067 wxTimeSpan * resultptr;
21068 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21070 }
21071 return resultobj;
21072 fail:
21073 return NULL;
21074}
21075
21076
c32bde28 21077static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
21078 PyObject *resultobj;
21079 wxDateTime *arg1 = (wxDateTime *) 0 ;
21080 wxTimeSpan *arg2 = 0 ;
21081 wxDateTime result;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084
21085 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1)
21090 SWIG_fail;
21091 if (arg2 == NULL) {
21092 PyErr_SetString(PyExc_TypeError,"null reference");
21093 SWIG_fail;
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 wxDateTime * resultptr;
21104 resultptr = new wxDateTime((wxDateTime &) result);
21105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21106 }
21107 return resultobj;
21108 fail:
21109 return NULL;
21110}
21111
21112
c32bde28 21113static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
21114 PyObject *resultobj;
21115 wxDateTime *arg1 = (wxDateTime *) 0 ;
21116 wxDateSpan *arg2 = 0 ;
21117 wxDateTime result;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120
21121 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
21125 SWIG_POINTER_EXCEPTION | 0)) == -1)
21126 SWIG_fail;
21127 if (arg2 == NULL) {
21128 PyErr_SetString(PyExc_TypeError,"null reference");
21129 SWIG_fail;
21130 }
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 wxDateTime * resultptr;
21140 resultptr = new wxDateTime((wxDateTime &) result);
21141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21142 }
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
21149static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
21150 int argc;
21151 PyObject *argv[3];
21152 int ii;
21153
21154 argc = PyObject_Length(args);
21155 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21156 argv[ii] = PyTuple_GetItem(args,ii);
21157 }
21158 if (argc == 2) {
21159 int _v;
21160 {
21161 void *ptr;
21162 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21163 _v = 0;
21164 PyErr_Clear();
21165 } else {
21166 _v = 1;
21167 }
21168 }
21169 if (_v) {
21170 {
21171 void *ptr;
21172 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21173 _v = 0;
21174 PyErr_Clear();
21175 } else {
21176 _v = 1;
21177 }
21178 }
21179 if (_v) {
21180 return _wrap_DateTime___sub____SWIG_0(self,args);
21181 }
21182 }
21183 }
21184 if (argc == 2) {
21185 int _v;
21186 {
21187 void *ptr;
21188 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21189 _v = 0;
21190 PyErr_Clear();
21191 } else {
21192 _v = 1;
21193 }
21194 }
21195 if (_v) {
21196 {
21197 void *ptr;
21198 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
21199 _v = 0;
21200 PyErr_Clear();
21201 } else {
21202 _v = 1;
21203 }
21204 }
21205 if (_v) {
21206 return _wrap_DateTime___sub____SWIG_1(self,args);
21207 }
21208 }
21209 }
21210 if (argc == 2) {
21211 int _v;
21212 {
21213 void *ptr;
21214 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21215 _v = 0;
21216 PyErr_Clear();
21217 } else {
21218 _v = 1;
21219 }
21220 }
21221 if (_v) {
21222 {
21223 void *ptr;
21224 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
21225 _v = 0;
21226 PyErr_Clear();
21227 } else {
21228 _v = 1;
21229 }
21230 }
21231 if (_v) {
21232 return _wrap_DateTime___sub____SWIG_2(self,args);
21233 }
21234 }
21235 }
21236
21237 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
21238 return NULL;
21239}
21240
21241
c32bde28 21242static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
d55e5bfc
RD
21243 PyObject *resultobj;
21244 wxDateTime *arg1 = (wxDateTime *) 0 ;
21245 wxDateTime *arg2 = (wxDateTime *) 0 ;
21246 bool result;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249
21250 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
21251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 {
21263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21264 }
21265 return resultobj;
21266 fail:
21267 return NULL;
21268}
21269
21270
c32bde28 21271static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
d55e5bfc
RD
21272 PyObject *resultobj;
21273 wxDateTime *arg1 = (wxDateTime *) 0 ;
21274 wxDateTime *arg2 = (wxDateTime *) 0 ;
21275 bool result;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278
21279 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
21280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21293 }
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
c32bde28 21300static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
d55e5bfc
RD
21301 PyObject *resultobj;
21302 wxDateTime *arg1 = (wxDateTime *) 0 ;
21303 wxDateTime *arg2 = (wxDateTime *) 0 ;
21304 bool result;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307
21308 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
21309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 {
21321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21322 }
21323 return resultobj;
21324 fail:
21325 return NULL;
21326}
21327
21328
c32bde28 21329static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
d55e5bfc
RD
21330 PyObject *resultobj;
21331 wxDateTime *arg1 = (wxDateTime *) 0 ;
21332 wxDateTime *arg2 = (wxDateTime *) 0 ;
21333 bool result;
21334 PyObject * obj0 = 0 ;
21335 PyObject * obj1 = 0 ;
21336
21337 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
21345
21346 wxPyEndAllowThreads(__tstate);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 {
21350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21351 }
21352 return resultobj;
21353 fail:
21354 return NULL;
21355}
21356
21357
c32bde28 21358static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
d55e5bfc
RD
21359 PyObject *resultobj;
21360 wxDateTime *arg1 = (wxDateTime *) 0 ;
21361 wxDateTime *arg2 = (wxDateTime *) 0 ;
21362 bool result;
21363 PyObject * obj0 = 0 ;
21364 PyObject * obj1 = 0 ;
21365
21366 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
21367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
21374
21375 wxPyEndAllowThreads(__tstate);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 }
21378 {
21379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21380 }
21381 return resultobj;
21382 fail:
21383 return NULL;
21384}
21385
21386
c32bde28 21387static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
d55e5bfc
RD
21388 PyObject *resultobj;
21389 wxDateTime *arg1 = (wxDateTime *) 0 ;
21390 wxDateTime *arg2 = (wxDateTime *) 0 ;
21391 bool result;
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394
21395 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
21396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 {
21408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21409 }
21410 return resultobj;
21411 fail:
21412 return NULL;
21413}
21414
21415
c32bde28 21416static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21417 PyObject *resultobj;
21418 wxDateTime *arg1 = (wxDateTime *) 0 ;
21419 wxString *arg2 = 0 ;
21420 int result;
ae8162c8 21421 bool temp2 = false ;
d55e5bfc
RD
21422 PyObject * obj0 = 0 ;
21423 PyObject * obj1 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self",(char *) "date", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
21429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21431 {
21432 arg2 = wxString_in_helper(obj1);
21433 if (arg2 == NULL) SWIG_fail;
ae8162c8 21434 temp2 = true;
d55e5bfc
RD
21435 }
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
c32bde28 21443 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21444 {
21445 if (temp2)
21446 delete arg2;
21447 }
21448 return resultobj;
21449 fail:
21450 {
21451 if (temp2)
21452 delete arg2;
21453 }
21454 return NULL;
21455}
21456
21457
c32bde28 21458static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21459 PyObject *resultobj;
21460 wxDateTime *arg1 = (wxDateTime *) 0 ;
21461 wxString *arg2 = 0 ;
21462 wxString const &arg3_defvalue = wxPyDateFormatStr ;
21463 wxString *arg3 = (wxString *) &arg3_defvalue ;
21464 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
21465 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
21466 int result;
ae8162c8
RD
21467 bool temp2 = false ;
21468 bool temp3 = false ;
d55e5bfc
RD
21469 PyObject * obj0 = 0 ;
21470 PyObject * obj1 = 0 ;
21471 PyObject * obj2 = 0 ;
21472 PyObject * obj3 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21480 {
21481 arg2 = wxString_in_helper(obj1);
21482 if (arg2 == NULL) SWIG_fail;
ae8162c8 21483 temp2 = true;
d55e5bfc
RD
21484 }
21485 if (obj2) {
21486 {
21487 arg3 = wxString_in_helper(obj2);
21488 if (arg3 == NULL) SWIG_fail;
ae8162c8 21489 temp3 = true;
d55e5bfc
RD
21490 }
21491 }
21492 if (obj3) {
21493 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
21494 SWIG_POINTER_EXCEPTION | 0)) == -1)
21495 SWIG_fail;
21496 if (arg4 == NULL) {
21497 PyErr_SetString(PyExc_TypeError,"null reference");
21498 SWIG_fail;
21499 }
21500 }
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
c32bde28 21508 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21509 {
21510 if (temp2)
21511 delete arg2;
21512 }
21513 {
21514 if (temp3)
21515 delete arg3;
21516 }
21517 return resultobj;
21518 fail:
21519 {
21520 if (temp2)
21521 delete arg2;
21522 }
21523 {
21524 if (temp3)
21525 delete arg3;
21526 }
21527 return NULL;
21528}
21529
21530
c32bde28 21531static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21532 PyObject *resultobj;
21533 wxDateTime *arg1 = (wxDateTime *) 0 ;
21534 wxString *arg2 = 0 ;
21535 int result;
ae8162c8 21536 bool temp2 = false ;
d55e5bfc
RD
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "datetime", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 {
21547 arg2 = wxString_in_helper(obj1);
21548 if (arg2 == NULL) SWIG_fail;
ae8162c8 21549 temp2 = true;
d55e5bfc
RD
21550 }
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
c32bde28 21558 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21559 {
21560 if (temp2)
21561 delete arg2;
21562 }
21563 return resultobj;
21564 fail:
21565 {
21566 if (temp2)
21567 delete arg2;
21568 }
21569 return NULL;
21570}
21571
21572
c32bde28 21573static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21574 PyObject *resultobj;
21575 wxDateTime *arg1 = (wxDateTime *) 0 ;
21576 wxString *arg2 = 0 ;
21577 int result;
ae8162c8 21578 bool temp2 = false ;
d55e5bfc
RD
21579 PyObject * obj0 = 0 ;
21580 PyObject * obj1 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "date", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21588 {
21589 arg2 = wxString_in_helper(obj1);
21590 if (arg2 == NULL) SWIG_fail;
ae8162c8 21591 temp2 = true;
d55e5bfc
RD
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
c32bde28 21600 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21601 {
21602 if (temp2)
21603 delete arg2;
21604 }
21605 return resultobj;
21606 fail:
21607 {
21608 if (temp2)
21609 delete arg2;
21610 }
21611 return NULL;
21612}
21613
21614
c32bde28 21615static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21616 PyObject *resultobj;
21617 wxDateTime *arg1 = (wxDateTime *) 0 ;
21618 wxString *arg2 = 0 ;
21619 int result;
ae8162c8 21620 bool temp2 = false ;
d55e5bfc
RD
21621 PyObject * obj0 = 0 ;
21622 PyObject * obj1 = 0 ;
21623 char *kwnames[] = {
21624 (char *) "self",(char *) "time", NULL
21625 };
21626
21627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21630 {
21631 arg2 = wxString_in_helper(obj1);
21632 if (arg2 == NULL) SWIG_fail;
ae8162c8 21633 temp2 = true;
d55e5bfc
RD
21634 }
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
c32bde28 21642 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21643 {
21644 if (temp2)
21645 delete arg2;
21646 }
21647 return resultobj;
21648 fail:
21649 {
21650 if (temp2)
21651 delete arg2;
21652 }
21653 return NULL;
21654}
21655
21656
c32bde28 21657static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21658 PyObject *resultobj;
21659 wxDateTime *arg1 = (wxDateTime *) 0 ;
21660 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21661 wxString *arg2 = (wxString *) &arg2_defvalue ;
21662 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21663 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21664 wxString result;
ae8162c8
RD
21665 bool temp2 = false ;
21666 bool temp3 = false ;
d55e5bfc
RD
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 PyObject * obj2 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "format",(char *) "tz", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 if (obj1) {
21678 {
21679 arg2 = wxString_in_helper(obj1);
21680 if (arg2 == NULL) SWIG_fail;
ae8162c8 21681 temp2 = true;
d55e5bfc
RD
21682 }
21683 }
21684 if (obj2) {
21685 {
21686 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21687 temp3 = true;
d55e5bfc
RD
21688 }
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 {
21698#if wxUSE_UNICODE
21699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21700#else
21701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21702#endif
21703 }
21704 {
21705 if (temp2)
21706 delete arg2;
21707 }
21708 {
21709 if (temp3) delete arg3;
21710 }
21711 return resultobj;
21712 fail:
21713 {
21714 if (temp2)
21715 delete arg2;
21716 }
21717 {
21718 if (temp3) delete arg3;
21719 }
21720 return NULL;
21721}
21722
21723
c32bde28 21724static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21725 PyObject *resultobj;
21726 wxDateTime *arg1 = (wxDateTime *) 0 ;
21727 wxString result;
21728 PyObject * obj0 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = ((wxDateTime const *)arg1)->FormatDate();
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 {
21744#if wxUSE_UNICODE
21745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21746#else
21747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21748#endif
21749 }
21750 return resultobj;
21751 fail:
21752 return NULL;
21753}
21754
21755
c32bde28 21756static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21757 PyObject *resultobj;
21758 wxDateTime *arg1 = (wxDateTime *) 0 ;
21759 wxString result;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = ((wxDateTime const *)arg1)->FormatTime();
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 {
21776#if wxUSE_UNICODE
21777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21778#else
21779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21780#endif
21781 }
21782 return resultobj;
21783 fail:
21784 return NULL;
21785}
21786
21787
c32bde28 21788static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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_FormatISODate",kwnames,&obj0)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = ((wxDateTime const *)arg1)->FormatISODate();
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_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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_FormatISOTime",kwnames,&obj0)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = ((wxDateTime const *)arg1)->FormatISOTime();
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 * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21853 PyObject *obj;
21854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21855 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21856 Py_INCREF(obj);
21857 return Py_BuildValue((char *)"");
21858}
c32bde28 21859static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21860 PyObject *resultobj;
21861 long arg1 ;
21862 wxTimeSpan result;
21863 PyObject * obj0 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "sec", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
c32bde28 21869 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
21870 if (PyErr_Occurred()) SWIG_fail;
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 result = wxTimeSpan::Seconds(arg1);
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 {
21879 wxTimeSpan * resultptr;
21880 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21882 }
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c32bde28 21889static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21890 PyObject *resultobj;
21891 wxTimeSpan result;
21892 char *kwnames[] = {
21893 NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = wxTimeSpan::Second();
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 {
21905 wxTimeSpan * resultptr;
21906 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21908 }
21909 return resultobj;
21910 fail:
21911 return NULL;
21912}
21913
21914
c32bde28 21915static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21916 PyObject *resultobj;
21917 long arg1 ;
21918 wxTimeSpan result;
21919 PyObject * obj0 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "min", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
c32bde28 21925 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
21926 if (PyErr_Occurred()) SWIG_fail;
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 result = wxTimeSpan::Minutes(arg1);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 wxTimeSpan * resultptr;
21936 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21938 }
21939 return resultobj;
21940 fail:
21941 return NULL;
21942}
21943
21944
c32bde28 21945static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21946 PyObject *resultobj;
21947 wxTimeSpan result;
21948 char *kwnames[] = {
21949 NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 result = wxTimeSpan::Minute();
21956
21957 wxPyEndAllowThreads(__tstate);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 {
21961 wxTimeSpan * resultptr;
21962 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21964 }
21965 return resultobj;
21966 fail:
21967 return NULL;
21968}
21969
21970
c32bde28 21971static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21972 PyObject *resultobj;
21973 long arg1 ;
21974 wxTimeSpan result;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "hours", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
c32bde28 21981 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
21982 if (PyErr_Occurred()) SWIG_fail;
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 result = wxTimeSpan::Hours(arg1);
21986
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 {
21991 wxTimeSpan * resultptr;
21992 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21994 }
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
c32bde28 22001static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22002 PyObject *resultobj;
22003 wxTimeSpan result;
22004 char *kwnames[] = {
22005 NULL
22006 };
22007
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 result = wxTimeSpan::Hour();
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 {
22017 wxTimeSpan * resultptr;
22018 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22020 }
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
c32bde28 22027static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22028 PyObject *resultobj;
22029 long arg1 ;
22030 wxTimeSpan result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "days", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
c32bde28 22037 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
22038 if (PyErr_Occurred()) SWIG_fail;
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = wxTimeSpan::Days(arg1);
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 wxTimeSpan * resultptr;
22048 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
c32bde28 22057static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22058 PyObject *resultobj;
22059 wxTimeSpan result;
22060 char *kwnames[] = {
22061 NULL
22062 };
22063
22064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
22065 {
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 result = wxTimeSpan::Day();
22068
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 {
22073 wxTimeSpan * resultptr;
22074 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22076 }
22077 return resultobj;
22078 fail:
22079 return NULL;
22080}
22081
22082
c32bde28 22083static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22084 PyObject *resultobj;
22085 long arg1 ;
22086 wxTimeSpan result;
22087 PyObject * obj0 = 0 ;
22088 char *kwnames[] = {
22089 (char *) "days", NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
c32bde28 22093 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
22094 if (PyErr_Occurred()) SWIG_fail;
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = wxTimeSpan::Weeks(arg1);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 {
22103 wxTimeSpan * resultptr;
22104 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22106 }
22107 return resultobj;
22108 fail:
22109 return NULL;
22110}
22111
22112
c32bde28 22113static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22114 PyObject *resultobj;
22115 wxTimeSpan result;
22116 char *kwnames[] = {
22117 NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = wxTimeSpan::Week();
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 {
22129 wxTimeSpan * resultptr;
22130 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22132 }
22133 return resultobj;
22134 fail:
22135 return NULL;
22136}
22137
22138
c32bde28 22139static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22140 PyObject *resultobj;
22141 long arg1 = (long) 0 ;
22142 long arg2 = (long) 0 ;
22143 long arg3 = (long) 0 ;
22144 long arg4 = (long) 0 ;
22145 wxTimeSpan *result;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 PyObject * obj2 = 0 ;
22149 PyObject * obj3 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22152 };
22153
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22155 if (obj0) {
c32bde28 22156 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 if (obj1) {
c32bde28 22160 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 if (obj2) {
c32bde28 22164 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 if (obj3) {
c32bde28 22168 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22179 return resultobj;
22180 fail:
22181 return NULL;
22182}
22183
22184
c32bde28 22185static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22186 PyObject *resultobj;
22187 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22188 PyObject * obj0 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
22194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 delete arg1;
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 Py_INCREF(Py_None); resultobj = Py_None;
22204 return resultobj;
22205 fail:
22206 return NULL;
22207}
22208
22209
c32bde28 22210static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22211 PyObject *resultobj;
22212 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22213 wxTimeSpan *arg2 = 0 ;
22214 wxTimeSpan *result;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self",(char *) "diff", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22225 SWIG_POINTER_EXCEPTION | 0)) == -1)
22226 SWIG_fail;
22227 if (arg2 == NULL) {
22228 PyErr_SetString(PyExc_TypeError,"null reference");
22229 SWIG_fail;
22230 }
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 {
22234 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22235 result = (wxTimeSpan *) &_result_ref;
22236 }
22237
22238 wxPyEndAllowThreads(__tstate);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
c32bde28 22248static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22249 PyObject *resultobj;
22250 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22251 wxTimeSpan *arg2 = 0 ;
22252 wxTimeSpan *result;
22253 PyObject * obj0 = 0 ;
22254 PyObject * obj1 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self",(char *) "diff", NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22263 SWIG_POINTER_EXCEPTION | 0)) == -1)
22264 SWIG_fail;
22265 if (arg2 == NULL) {
22266 PyErr_SetString(PyExc_TypeError,"null reference");
22267 SWIG_fail;
22268 }
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 {
22272 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22273 result = (wxTimeSpan *) &_result_ref;
22274 }
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22280 return resultobj;
22281 fail:
22282 return NULL;
22283}
22284
22285
c32bde28 22286static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22287 PyObject *resultobj;
22288 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22289 int arg2 ;
22290 wxTimeSpan *result;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "n", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22300 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22301 if (PyErr_Occurred()) SWIG_fail;
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 {
22305 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
22306 result = (wxTimeSpan *) &_result_ref;
22307 }
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22313 return resultobj;
22314 fail:
22315 return NULL;
22316}
22317
22318
c32bde28 22319static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22320 PyObject *resultobj;
22321 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22322 wxTimeSpan *result;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
22329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 {
22334 wxTimeSpan &_result_ref = (arg1)->Neg();
22335 result = (wxTimeSpan *) &_result_ref;
22336 }
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22342 return resultobj;
22343 fail:
22344 return NULL;
22345}
22346
22347
c32bde28 22348static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22349 PyObject *resultobj;
22350 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22351 wxTimeSpan result;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = ((wxTimeSpan const *)arg1)->Abs();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 {
22368 wxTimeSpan * resultptr;
22369 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22371 }
22372 return resultobj;
22373 fail:
22374 return NULL;
22375}
22376
22377
c32bde28 22378static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22379 PyObject *resultobj;
22380 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22381 wxTimeSpan *arg2 = 0 ;
22382 wxTimeSpan *result;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "diff", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28 22391 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
22392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22393 SWIG_POINTER_EXCEPTION | 0)) == -1)
22394 SWIG_fail;
22395 if (arg2 == NULL) {
22396 PyErr_SetString(PyExc_TypeError,"null reference");
22397 SWIG_fail;
22398 }
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 {
22402 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22403 result = (wxTimeSpan *) &_result_ref;
22404 }
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
c32bde28 22409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
22410 return resultobj;
22411 fail:
22412 return NULL;
22413}
22414
22415
c32bde28 22416static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22417 PyObject *resultobj;
22418 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22419 wxTimeSpan *arg2 = 0 ;
22420 wxTimeSpan *result;
22421 PyObject * obj0 = 0 ;
22422 PyObject * obj1 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self",(char *) "diff", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28 22429 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
22430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22431 SWIG_POINTER_EXCEPTION | 0)) == -1)
22432 SWIG_fail;
22433 if (arg2 == NULL) {
22434 PyErr_SetString(PyExc_TypeError,"null reference");
22435 SWIG_fail;
22436 }
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 {
22440 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22441 result = (wxTimeSpan *) &_result_ref;
22442 }
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
c32bde28 22447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
c32bde28 22454static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22455 PyObject *resultobj;
22456 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22457 int arg2 ;
22458 wxTimeSpan *result;
22459 PyObject * obj0 = 0 ;
22460 PyObject * obj1 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self",(char *) "n", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
22466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
c32bde28
RD
22467 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22468 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22469 if (PyErr_Occurred()) SWIG_fail;
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 {
22473 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
22474 result = (wxTimeSpan *) &_result_ref;
22475 }
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
c32bde28 22480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
22481 return resultobj;
22482 fail:
22483 return NULL;
22484}
22485
22486
c32bde28 22487static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22488 PyObject *resultobj;
22489 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22490 wxTimeSpan *result;
22491 PyObject * obj0 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
22497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 {
22502 wxTimeSpan &_result_ref = (arg1)->operator -();
22503 result = (wxTimeSpan *) &_result_ref;
22504 }
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
c32bde28 22516static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22517 PyObject *resultobj;
22518 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22519 wxTimeSpan *arg2 = 0 ;
22520 wxTimeSpan result;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self",(char *) "other", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22531 SWIG_POINTER_EXCEPTION | 0)) == -1)
22532 SWIG_fail;
22533 if (arg2 == NULL) {
22534 PyErr_SetString(PyExc_TypeError,"null reference");
22535 SWIG_fail;
22536 }
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 {
22545 wxTimeSpan * resultptr;
22546 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22548 }
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
c32bde28 22555static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22556 PyObject *resultobj;
22557 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22558 wxTimeSpan *arg2 = 0 ;
22559 wxTimeSpan result;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "other", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22570 SWIG_POINTER_EXCEPTION | 0)) == -1)
22571 SWIG_fail;
22572 if (arg2 == NULL) {
22573 PyErr_SetString(PyExc_TypeError,"null reference");
22574 SWIG_fail;
22575 }
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 {
22584 wxTimeSpan * resultptr;
22585 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22587 }
22588 return resultobj;
22589 fail:
22590 return NULL;
22591}
22592
22593
c32bde28 22594static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22595 PyObject *resultobj;
22596 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22597 int arg2 ;
22598 wxTimeSpan result;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "n", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22608 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22609 if (PyErr_Occurred()) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = wxTimeSpan___mul__(arg1,arg2);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 wxTimeSpan * resultptr;
22619 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22621 }
22622 return resultobj;
22623 fail:
22624 return NULL;
22625}
22626
22627
c32bde28 22628static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22629 PyObject *resultobj;
22630 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22631 int arg2 ;
22632 wxTimeSpan result;
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "n", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22642 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22643 if (PyErr_Occurred()) SWIG_fail;
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 result = wxTimeSpan___rmul__(arg1,arg2);
22647
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 {
22652 wxTimeSpan * resultptr;
22653 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22655 }
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
c32bde28 22662static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22663 PyObject *resultobj;
22664 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22665 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22666 bool result;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "other", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 {
22686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22687 }
22688 return resultobj;
22689 fail:
22690 return NULL;
22691}
22692
22693
c32bde28 22694static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22695 PyObject *resultobj;
22696 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22697 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22698 bool result;
22699 PyObject * obj0 = 0 ;
22700 PyObject * obj1 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self",(char *) "other", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 {
22718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22719 }
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
c32bde28 22726static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22727 PyObject *resultobj;
22728 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22729 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
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___gt__",kwnames,&obj0,&obj1)) goto fail;
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;
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22745
22746 wxPyEndAllowThreads(__tstate);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
22749 {
22750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22751 }
22752 return resultobj;
22753 fail:
22754 return NULL;
22755}
22756
22757
c32bde28 22758static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22759 PyObject *resultobj;
22760 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22761 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
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___ge__",kwnames,&obj0,&obj1)) goto fail;
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;
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 {
22782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22783 }
22784 return resultobj;
22785 fail:
22786 return NULL;
22787}
22788
22789
c32bde28 22790static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22791 PyObject *resultobj;
22792 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22793 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
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___eq__",kwnames,&obj0,&obj1)) goto fail;
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;
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 {
22814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22815 }
22816 return resultobj;
22817 fail:
22818 return NULL;
22819}
22820
22821
c32bde28 22822static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22823 PyObject *resultobj;
22824 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22825 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
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___ne__",kwnames,&obj0,&obj1)) goto fail;
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;
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22841
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 {
22846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22847 }
22848 return resultobj;
22849 fail:
22850 return NULL;
22851}
22852
22853
c32bde28 22854static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22855 PyObject *resultobj;
22856 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22857 bool result;
22858 PyObject * obj0 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "self", NULL
22861 };
22862
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 {
22874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22875 }
22876 return resultobj;
22877 fail:
22878 return NULL;
22879}
22880
22881
c32bde28 22882static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22883 PyObject *resultobj;
22884 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22885 bool result;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 {
22902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22903 }
22904 return resultobj;
22905 fail:
22906 return NULL;
22907}
22908
22909
c32bde28 22910static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22911 PyObject *resultobj;
22912 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22913 bool result;
22914 PyObject * obj0 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22922 {
22923 PyThreadState* __tstate = wxPyBeginAllowThreads();
22924 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22925
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 {
22930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22931 }
22932 return resultobj;
22933 fail:
22934 return NULL;
22935}
22936
22937
c32bde28 22938static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22939 PyObject *resultobj;
22940 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22941 wxTimeSpan *arg2 = 0 ;
22942 bool result;
22943 PyObject * obj0 = 0 ;
22944 PyObject * obj1 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self",(char *) "ts", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1)
22954 SWIG_fail;
22955 if (arg2 == NULL) {
22956 PyErr_SetString(PyExc_TypeError,"null reference");
22957 SWIG_fail;
22958 }
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22968 }
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
c32bde28 22975static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22976 PyObject *resultobj;
22977 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22978 wxTimeSpan *arg2 = 0 ;
22979 bool result;
22980 PyObject * obj0 = 0 ;
22981 PyObject * obj1 = 0 ;
22982 char *kwnames[] = {
22983 (char *) "self",(char *) "ts", NULL
22984 };
22985
22986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1)
22991 SWIG_fail;
22992 if (arg2 == NULL) {
22993 PyErr_SetString(PyExc_TypeError,"null reference");
22994 SWIG_fail;
22995 }
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 {
23004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23005 }
23006 return resultobj;
23007 fail:
23008 return NULL;
23009}
23010
23011
c32bde28 23012static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23013 PyObject *resultobj;
23014 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23015 wxTimeSpan *arg2 = 0 ;
23016 bool result;
23017 PyObject * obj0 = 0 ;
23018 PyObject * obj1 = 0 ;
23019 char *kwnames[] = {
23020 (char *) "self",(char *) "t", NULL
23021 };
23022
23023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
23024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
23027 SWIG_POINTER_EXCEPTION | 0)) == -1)
23028 SWIG_fail;
23029 if (arg2 == NULL) {
23030 PyErr_SetString(PyExc_TypeError,"null reference");
23031 SWIG_fail;
23032 }
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 {
23041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23042 }
23043 return resultobj;
23044 fail:
23045 return NULL;
23046}
23047
23048
c32bde28 23049static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23050 PyObject *resultobj;
23051 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23052 int result;
23053 PyObject * obj0 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
c32bde28 23068 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23069 return resultobj;
23070 fail:
23071 return NULL;
23072}
23073
23074
c32bde28 23075static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23076 PyObject *resultobj;
23077 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23078 int result;
23079 PyObject * obj0 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 result = (int)((wxTimeSpan const *)arg1)->GetDays();
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
c32bde28 23094 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23095 return resultobj;
23096 fail:
23097 return NULL;
23098}
23099
23100
c32bde28 23101static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23102 PyObject *resultobj;
23103 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23104 int result;
23105 PyObject * obj0 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
23111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 result = (int)((wxTimeSpan const *)arg1)->GetHours();
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
c32bde28 23120 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23121 return resultobj;
23122 fail:
23123 return NULL;
23124}
23125
23126
c32bde28 23127static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23128 PyObject *resultobj;
23129 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23130 int result;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
c32bde28 23146 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23147 return resultobj;
23148 fail:
23149 return NULL;
23150}
23151
23152
c32bde28 23153static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23154 PyObject *resultobj;
23155 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23156 wxLongLong result;
23157 PyObject * obj0 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
23163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 result = ((wxTimeSpan const *)arg1)->GetSeconds();
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 {
23173 PyObject *hi, *lo, *shifter, *shifted;
23174 hi = PyLong_FromLong( (&result)->GetHi() );
23175 lo = PyLong_FromLong( (&result)->GetLo() );
23176 shifter = PyLong_FromLong(32);
23177 shifted = PyNumber_Lshift(hi, shifter);
23178 resultobj = PyNumber_Or(shifted, lo);
23179 Py_DECREF(hi);
23180 Py_DECREF(lo);
23181 Py_DECREF(shifter);
23182 Py_DECREF(shifted);
23183 }
23184 return resultobj;
23185 fail:
23186 return NULL;
23187}
23188
23189
c32bde28 23190static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23191 PyObject *resultobj;
23192 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23193 wxLongLong result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 {
23210 PyObject *hi, *lo, *shifter, *shifted;
23211 hi = PyLong_FromLong( (&result)->GetHi() );
23212 lo = PyLong_FromLong( (&result)->GetLo() );
23213 shifter = PyLong_FromLong(32);
23214 shifted = PyNumber_Lshift(hi, shifter);
23215 resultobj = PyNumber_Or(shifted, lo);
23216 Py_DECREF(hi);
23217 Py_DECREF(lo);
23218 Py_DECREF(shifter);
23219 Py_DECREF(shifted);
23220 }
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
c32bde28 23227static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23228 PyObject *resultobj;
23229 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23230 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
23231 wxString *arg2 = (wxString *) &arg2_defvalue ;
23232 wxString result;
ae8162c8 23233 bool temp2 = false ;
d55e5bfc
RD
23234 PyObject * obj0 = 0 ;
23235 PyObject * obj1 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self",(char *) "format", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
23241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23243 if (obj1) {
23244 {
23245 arg2 = wxString_in_helper(obj1);
23246 if (arg2 == NULL) SWIG_fail;
ae8162c8 23247 temp2 = true;
d55e5bfc
RD
23248 }
23249 }
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 {
23258#if wxUSE_UNICODE
23259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23260#else
23261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23262#endif
23263 }
23264 {
23265 if (temp2)
23266 delete arg2;
23267 }
23268 return resultobj;
23269 fail:
23270 {
23271 if (temp2)
23272 delete arg2;
23273 }
23274 return NULL;
23275}
23276
23277
c32bde28 23278static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23279 PyObject *obj;
23280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23281 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
23282 Py_INCREF(obj);
23283 return Py_BuildValue((char *)"");
23284}
c32bde28 23285static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23286 PyObject *resultobj;
23287 int arg1 = (int) 0 ;
23288 int arg2 = (int) 0 ;
23289 int arg3 = (int) 0 ;
23290 int arg4 = (int) 0 ;
23291 wxDateSpan *result;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 PyObject * obj2 = 0 ;
23295 PyObject * obj3 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23301 if (obj0) {
c32bde28 23302 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 if (obj1) {
c32bde28 23306 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 if (obj2) {
c32bde28 23310 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 if (obj3) {
c32bde28 23314 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23325 return resultobj;
23326 fail:
23327 return NULL;
23328}
23329
23330
c32bde28 23331static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23332 PyObject *resultobj;
23333 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 delete arg1;
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 Py_INCREF(Py_None); resultobj = Py_None;
23350 return resultobj;
23351 fail:
23352 return NULL;
23353}
23354
23355
c32bde28 23356static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23357 PyObject *resultobj;
23358 int arg1 ;
23359 wxDateSpan result;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "days", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
c32bde28 23366 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
23367 if (PyErr_Occurred()) SWIG_fail;
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = wxDateSpan::Days(arg1);
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 {
23376 wxDateSpan * resultptr;
23377 resultptr = new wxDateSpan((wxDateSpan &) result);
23378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383}
23384
23385
c32bde28 23386static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23387 PyObject *resultobj;
23388 wxDateSpan result;
23389 char *kwnames[] = {
23390 NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = wxDateSpan::Day();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 {
23402 wxDateSpan * resultptr;
23403 resultptr = new wxDateSpan((wxDateSpan &) result);
23404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23405 }
23406 return resultobj;
23407 fail:
23408 return NULL;
23409}
23410
23411
c32bde28 23412static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23413 PyObject *resultobj;
23414 int arg1 ;
23415 wxDateSpan result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "weeks", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
c32bde28 23422 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
23423 if (PyErr_Occurred()) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = wxDateSpan::Weeks(arg1);
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 {
23432 wxDateSpan * resultptr;
23433 resultptr = new wxDateSpan((wxDateSpan &) result);
23434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23435 }
23436 return resultobj;
23437 fail:
23438 return NULL;
23439}
23440
23441
c32bde28 23442static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23443 PyObject *resultobj;
23444 wxDateSpan result;
23445 char *kwnames[] = {
23446 NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 result = wxDateSpan::Week();
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 {
23458 wxDateSpan * resultptr;
23459 resultptr = new wxDateSpan((wxDateSpan &) result);
23460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23461 }
23462 return resultobj;
23463 fail:
23464 return NULL;
23465}
23466
23467
c32bde28 23468static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23469 PyObject *resultobj;
23470 int arg1 ;
23471 wxDateSpan result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "mon", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
c32bde28 23478 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
23479 if (PyErr_Occurred()) SWIG_fail;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = wxDateSpan::Months(arg1);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 {
23488 wxDateSpan * resultptr;
23489 resultptr = new wxDateSpan((wxDateSpan &) result);
23490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23491 }
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
c32bde28 23498static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23499 PyObject *resultobj;
23500 wxDateSpan result;
23501 char *kwnames[] = {
23502 NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = wxDateSpan::Month();
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 {
23514 wxDateSpan * resultptr;
23515 resultptr = new wxDateSpan((wxDateSpan &) result);
23516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23517 }
23518 return resultobj;
23519 fail:
23520 return NULL;
23521}
23522
23523
c32bde28 23524static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23525 PyObject *resultobj;
23526 int arg1 ;
23527 wxDateSpan result;
23528 PyObject * obj0 = 0 ;
23529 char *kwnames[] = {
23530 (char *) "years", NULL
23531 };
23532
23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
c32bde28 23534 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
23535 if (PyErr_Occurred()) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = wxDateSpan::Years(arg1);
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 {
23544 wxDateSpan * resultptr;
23545 resultptr = new wxDateSpan((wxDateSpan &) result);
23546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23547 }
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
c32bde28 23554static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23555 PyObject *resultobj;
23556 wxDateSpan result;
23557 char *kwnames[] = {
23558 NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = wxDateSpan::Year();
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 {
23570 wxDateSpan * resultptr;
23571 resultptr = new wxDateSpan((wxDateSpan &) result);
23572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23573 }
23574 return resultobj;
23575 fail:
23576 return NULL;
23577}
23578
23579
c32bde28 23580static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23581 PyObject *resultobj;
23582 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23583 int arg2 ;
23584 wxDateSpan *result;
23585 PyObject * obj0 = 0 ;
23586 PyObject * obj1 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self",(char *) "n", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23594 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23595 if (PyErr_Occurred()) SWIG_fail;
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 {
23599 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23600 result = (wxDateSpan *) &_result_ref;
23601 }
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23607 return resultobj;
23608 fail:
23609 return NULL;
23610}
23611
23612
c32bde28 23613static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23614 PyObject *resultobj;
23615 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23616 int arg2 ;
23617 wxDateSpan *result;
23618 PyObject * obj0 = 0 ;
23619 PyObject * obj1 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self",(char *) "n", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23627 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23628 if (PyErr_Occurred()) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 {
23632 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23633 result = (wxDateSpan *) &_result_ref;
23634 }
23635
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23640 return resultobj;
23641 fail:
23642 return NULL;
23643}
23644
23645
c32bde28 23646static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23647 PyObject *resultobj;
23648 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23649 int arg2 ;
23650 wxDateSpan *result;
23651 PyObject * obj0 = 0 ;
23652 PyObject * obj1 = 0 ;
23653 char *kwnames[] = {
23654 (char *) "self",(char *) "n", NULL
23655 };
23656
23657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23660 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23661 if (PyErr_Occurred()) SWIG_fail;
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 {
23665 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23666 result = (wxDateSpan *) &_result_ref;
23667 }
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23673 return resultobj;
23674 fail:
23675 return NULL;
23676}
23677
23678
c32bde28 23679static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23680 PyObject *resultobj;
23681 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23682 int arg2 ;
23683 wxDateSpan *result;
23684 PyObject * obj0 = 0 ;
23685 PyObject * obj1 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self",(char *) "n", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23693 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23694 if (PyErr_Occurred()) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 {
23698 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23699 result = (wxDateSpan *) &_result_ref;
23700 }
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
c32bde28 23712static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23713 PyObject *resultobj;
23714 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23715 int result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (int)((wxDateSpan const *)arg1)->GetYears();
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
c32bde28 23731 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23732 return resultobj;
23733 fail:
23734 return NULL;
23735}
23736
23737
c32bde28 23738static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23739 PyObject *resultobj;
23740 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23741 int result;
23742 PyObject * obj0 = 0 ;
23743 char *kwnames[] = {
23744 (char *) "self", NULL
23745 };
23746
23747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23753
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
c32bde28 23757 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23758 return resultobj;
23759 fail:
23760 return NULL;
23761}
23762
23763
c32bde28 23764static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23765 PyObject *resultobj;
23766 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23767 int result;
23768 PyObject * obj0 = 0 ;
23769 char *kwnames[] = {
23770 (char *) "self", NULL
23771 };
23772
23773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
c32bde28 23783 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23784 return resultobj;
23785 fail:
23786 return NULL;
23787}
23788
23789
c32bde28 23790static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23791 PyObject *resultobj;
23792 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23793 int result;
23794 PyObject * obj0 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23802 {
23803 PyThreadState* __tstate = wxPyBeginAllowThreads();
23804 result = (int)((wxDateSpan const *)arg1)->GetDays();
23805
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
c32bde28 23809 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23810 return resultobj;
23811 fail:
23812 return NULL;
23813}
23814
23815
c32bde28 23816static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23817 PyObject *resultobj;
23818 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23819 int result;
23820 PyObject * obj0 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
c32bde28 23835 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23836 return resultobj;
23837 fail:
23838 return NULL;
23839}
23840
23841
c32bde28 23842static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23843 PyObject *resultobj;
23844 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23845 wxDateSpan *arg2 = 0 ;
23846 wxDateSpan *result;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "other", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23857 SWIG_POINTER_EXCEPTION | 0)) == -1)
23858 SWIG_fail;
23859 if (arg2 == NULL) {
23860 PyErr_SetString(PyExc_TypeError,"null reference");
23861 SWIG_fail;
23862 }
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 {
23866 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23867 result = (wxDateSpan *) &_result_ref;
23868 }
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23874 return resultobj;
23875 fail:
23876 return NULL;
23877}
23878
23879
c32bde28 23880static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23881 PyObject *resultobj;
23882 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23883 wxDateSpan *arg2 = 0 ;
23884 wxDateSpan *result;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self",(char *) "other", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23895 SWIG_POINTER_EXCEPTION | 0)) == -1)
23896 SWIG_fail;
23897 if (arg2 == NULL) {
23898 PyErr_SetString(PyExc_TypeError,"null reference");
23899 SWIG_fail;
23900 }
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 {
23904 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23905 result = (wxDateSpan *) &_result_ref;
23906 }
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23912 return resultobj;
23913 fail:
23914 return NULL;
23915}
23916
23917
c32bde28 23918static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23919 PyObject *resultobj;
23920 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23921 wxDateSpan *result;
23922 PyObject * obj0 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self", NULL
23925 };
23926
23927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23930 {
23931 PyThreadState* __tstate = wxPyBeginAllowThreads();
23932 {
23933 wxDateSpan &_result_ref = (arg1)->Neg();
23934 result = (wxDateSpan *) &_result_ref;
23935 }
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23941 return resultobj;
23942 fail:
23943 return NULL;
23944}
23945
23946
c32bde28 23947static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23948 PyObject *resultobj;
23949 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23950 int arg2 ;
23951 wxDateSpan *result;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self",(char *) "factor", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23961 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23962 if (PyErr_Occurred()) SWIG_fail;
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 {
23966 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23967 result = (wxDateSpan *) &_result_ref;
23968 }
23969
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
23973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23974 return resultobj;
23975 fail:
23976 return NULL;
23977}
23978
23979
c32bde28 23980static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23981 PyObject *resultobj;
23982 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23983 wxDateSpan *arg2 = 0 ;
23984 wxDateSpan *result;
23985 PyObject * obj0 = 0 ;
23986 PyObject * obj1 = 0 ;
23987 char *kwnames[] = {
23988 (char *) "self",(char *) "other", NULL
23989 };
23990
23991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28 23993 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
23994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1)
23996 SWIG_fail;
23997 if (arg2 == NULL) {
23998 PyErr_SetString(PyExc_TypeError,"null reference");
23999 SWIG_fail;
24000 }
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 {
24004 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
24005 result = (wxDateSpan *) &_result_ref;
24006 }
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
c32bde28 24011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
24012 return resultobj;
24013 fail:
24014 return NULL;
24015}
24016
24017
c32bde28 24018static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24019 PyObject *resultobj;
24020 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24021 wxDateSpan *arg2 = 0 ;
24022 wxDateSpan *result;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self",(char *) "other", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28 24031 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
24032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1)
24034 SWIG_fail;
24035 if (arg2 == NULL) {
24036 PyErr_SetString(PyExc_TypeError,"null reference");
24037 SWIG_fail;
24038 }
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 {
24042 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
24043 result = (wxDateSpan *) &_result_ref;
24044 }
24045
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
c32bde28 24049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
24050 return resultobj;
24051 fail:
24052 return NULL;
24053}
24054
24055
c32bde28 24056static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24057 PyObject *resultobj;
24058 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24059 wxDateSpan *result;
24060 PyObject * obj0 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
24066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 {
24071 wxDateSpan &_result_ref = (arg1)->operator -();
24072 result = (wxDateSpan *) &_result_ref;
24073 }
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
24079 return resultobj;
24080 fail:
24081 return NULL;
24082}
24083
24084
c32bde28 24085static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24086 PyObject *resultobj;
24087 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24088 int arg2 ;
24089 wxDateSpan *result;
24090 PyObject * obj0 = 0 ;
24091 PyObject * obj1 = 0 ;
24092 char *kwnames[] = {
24093 (char *) "self",(char *) "factor", NULL
24094 };
24095
24096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
24097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
c32bde28
RD
24098 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24099 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24100 if (PyErr_Occurred()) SWIG_fail;
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 {
24104 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
24105 result = (wxDateSpan *) &_result_ref;
24106 }
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
c32bde28 24111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
24112 return resultobj;
24113 fail:
24114 return NULL;
24115}
24116
24117
c32bde28 24118static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24119 PyObject *resultobj;
24120 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24121 wxDateSpan *arg2 = 0 ;
24122 wxDateSpan result;
24123 PyObject * obj0 = 0 ;
24124 PyObject * obj1 = 0 ;
24125 char *kwnames[] = {
24126 (char *) "self",(char *) "other", NULL
24127 };
24128
24129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
24130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24133 SWIG_POINTER_EXCEPTION | 0)) == -1)
24134 SWIG_fail;
24135 if (arg2 == NULL) {
24136 PyErr_SetString(PyExc_TypeError,"null reference");
24137 SWIG_fail;
24138 }
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 {
24147 wxDateSpan * resultptr;
24148 resultptr = new wxDateSpan((wxDateSpan &) result);
24149 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24150 }
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
c32bde28 24157static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24158 PyObject *resultobj;
24159 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24160 wxDateSpan *arg2 = 0 ;
24161 wxDateSpan result;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "other", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24172 SWIG_POINTER_EXCEPTION | 0)) == -1)
24173 SWIG_fail;
24174 if (arg2 == NULL) {
24175 PyErr_SetString(PyExc_TypeError,"null reference");
24176 SWIG_fail;
24177 }
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
24181
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 {
24186 wxDateSpan * resultptr;
24187 resultptr = new wxDateSpan((wxDateSpan &) result);
24188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24189 }
24190 return resultobj;
24191 fail:
24192 return NULL;
24193}
24194
24195
c32bde28 24196static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24197 PyObject *resultobj;
24198 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24199 int arg2 ;
24200 wxDateSpan result;
24201 PyObject * obj0 = 0 ;
24202 PyObject * obj1 = 0 ;
24203 char *kwnames[] = {
24204 (char *) "self",(char *) "n", NULL
24205 };
24206
24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
24208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24210 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24211 if (PyErr_Occurred()) SWIG_fail;
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = wxDateSpan___mul__(arg1,arg2);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 {
24220 wxDateSpan * resultptr;
24221 resultptr = new wxDateSpan((wxDateSpan &) result);
24222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24223 }
24224 return resultobj;
24225 fail:
24226 return NULL;
24227}
24228
24229
c32bde28 24230static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24231 PyObject *resultobj;
24232 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24233 int arg2 ;
24234 wxDateSpan result;
24235 PyObject * obj0 = 0 ;
24236 PyObject * obj1 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self",(char *) "n", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
24242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24244 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24245 if (PyErr_Occurred()) SWIG_fail;
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 result = wxDateSpan___rmul__(arg1,arg2);
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 {
24254 wxDateSpan * resultptr;
24255 resultptr = new wxDateSpan((wxDateSpan &) result);
24256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
c32bde28 24264static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24265 PyObject *resultobj;
24266 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24267 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24268 bool result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "other", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
24276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 {
24288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24289 }
24290 return resultobj;
24291 fail:
24292 return NULL;
24293}
24294
24295
c32bde28 24296static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24297 PyObject *resultobj;
24298 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24299 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24300 bool result;
24301 PyObject * obj0 = 0 ;
24302 PyObject * obj1 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self",(char *) "other", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
24308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
24315
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 {
24320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24321 }
24322 return resultobj;
24323 fail:
24324 return NULL;
24325}
24326
24327
c32bde28 24328static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24329 PyObject *obj;
24330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24331 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
24332 Py_INCREF(obj);
24333 return Py_BuildValue((char *)"");
24334}
c32bde28 24335static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24336 PyObject *resultobj;
24337 long result;
24338 char *kwnames[] = {
24339 NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 result = (long)wxGetLocalTime();
24346
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
c32bde28 24350 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24351 return resultobj;
24352 fail:
24353 return NULL;
24354}
24355
24356
c32bde28 24357static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24358 PyObject *resultobj;
24359 long result;
24360 char *kwnames[] = {
24361 NULL
24362 };
24363
24364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 result = (long)wxGetUTCTime();
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
c32bde28 24372 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24373 return resultobj;
24374 fail:
24375 return NULL;
24376}
24377
24378
c32bde28 24379static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24380 PyObject *resultobj;
24381 long result;
24382 char *kwnames[] = {
24383 NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 result = (long)wxGetCurrentTime();
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
c32bde28 24394 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24395 return resultobj;
24396 fail:
24397 return NULL;
24398}
24399
24400
c32bde28 24401static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24402 PyObject *resultobj;
24403 wxLongLong result;
24404 char *kwnames[] = {
24405 NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = wxGetLocalTimeMillis();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 PyObject *hi, *lo, *shifter, *shifted;
24418 hi = PyLong_FromLong( (&result)->GetHi() );
24419 lo = PyLong_FromLong( (&result)->GetLo() );
24420 shifter = PyLong_FromLong(32);
24421 shifted = PyNumber_Lshift(hi, shifter);
24422 resultobj = PyNumber_Or(shifted, lo);
24423 Py_DECREF(hi);
24424 Py_DECREF(lo);
24425 Py_DECREF(shifter);
24426 Py_DECREF(shifted);
24427 }
24428 return resultobj;
24429 fail:
24430 return NULL;
24431}
24432
24433
c32bde28 24434static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
24435 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
24436 return 1;
24437}
24438
24439
24440static PyObject *_wrap_DefaultDateTime_get() {
24441 PyObject *pyobj;
24442
24443 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
24444 return pyobj;
24445}
24446
24447
c32bde28 24448static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24449 PyObject *resultobj;
24450 int arg1 ;
24451 wxDataFormat *result;
24452 PyObject * obj0 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "type", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
c32bde28 24458 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
24459 if (PyErr_Occurred()) SWIG_fail;
24460 {
24461 PyThreadState* __tstate = wxPyBeginAllowThreads();
24462 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
24463
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24468 return resultobj;
24469 fail:
24470 return NULL;
24471}
24472
24473
c32bde28 24474static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24475 PyObject *resultobj;
24476 wxString *arg1 = 0 ;
24477 wxDataFormat *result;
ae8162c8 24478 bool temp1 = false ;
d55e5bfc
RD
24479 PyObject * obj0 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "format", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
24485 {
24486 arg1 = wxString_in_helper(obj0);
24487 if (arg1 == NULL) SWIG_fail;
ae8162c8 24488 temp1 = true;
d55e5bfc
RD
24489 }
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24498 {
24499 if (temp1)
24500 delete arg1;
24501 }
24502 return resultobj;
24503 fail:
24504 {
24505 if (temp1)
24506 delete arg1;
24507 }
24508 return NULL;
24509}
24510
24511
c32bde28 24512static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24513 PyObject *resultobj;
24514 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24515 PyObject * obj0 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 delete arg1;
24526
24527 wxPyEndAllowThreads(__tstate);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 Py_INCREF(Py_None); resultobj = Py_None;
24531 return resultobj;
24532 fail:
24533 return NULL;
24534}
24535
24536
c32bde28 24537static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
24538 PyObject *resultobj;
24539 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24540 int arg2 ;
24541 bool result;
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj1 = 0 ;
24544
24545 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24548 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24549 if (PyErr_Occurred()) SWIG_fail;
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
24557 {
24558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24559 }
24560 return resultobj;
24561 fail:
24562 return NULL;
24563}
24564
24565
c32bde28 24566static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
24567 PyObject *resultobj;
24568 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24569 int arg2 ;
24570 bool result;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573
24574 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24577 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24578 if (PyErr_Occurred()) SWIG_fail;
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 {
24587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24588 }
24589 return resultobj;
24590 fail:
24591 return NULL;
24592}
24593
24594
c32bde28 24595static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
24596 PyObject *resultobj;
24597 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24598 wxDataFormat *arg2 = 0 ;
24599 bool result;
24600 PyObject * obj0 = 0 ;
24601 PyObject * obj1 = 0 ;
24602
24603 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24607 SWIG_POINTER_EXCEPTION | 0)) == -1)
24608 SWIG_fail;
24609 if (arg2 == NULL) {
24610 PyErr_SetString(PyExc_TypeError,"null reference");
24611 SWIG_fail;
24612 }
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24616
24617 wxPyEndAllowThreads(__tstate);
24618 if (PyErr_Occurred()) SWIG_fail;
24619 }
24620 {
24621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24622 }
24623 return resultobj;
24624 fail:
24625 return NULL;
24626}
24627
24628
24629static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24630 int argc;
24631 PyObject *argv[3];
24632 int ii;
24633
24634 argc = PyObject_Length(args);
24635 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24636 argv[ii] = PyTuple_GetItem(args,ii);
24637 }
24638 if (argc == 2) {
24639 int _v;
24640 {
24641 void *ptr;
24642 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24643 _v = 0;
24644 PyErr_Clear();
24645 } else {
24646 _v = 1;
24647 }
24648 }
24649 if (_v) {
24650 {
24651 void *ptr;
24652 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24653 _v = 0;
24654 PyErr_Clear();
24655 } else {
24656 _v = 1;
24657 }
24658 }
24659 if (_v) {
24660 return _wrap_DataFormat___eq____SWIG_1(self,args);
24661 }
24662 }
24663 }
24664 if (argc == 2) {
24665 int _v;
24666 {
24667 void *ptr;
24668 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24669 _v = 0;
24670 PyErr_Clear();
24671 } else {
24672 _v = 1;
24673 }
24674 }
24675 if (_v) {
c32bde28 24676 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
24677 if (_v) {
24678 return _wrap_DataFormat___eq____SWIG_0(self,args);
24679 }
24680 }
24681 }
24682
24683 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24684 return NULL;
24685}
24686
24687
c32bde28 24688static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
24689 PyObject *resultobj;
24690 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24691 wxDataFormat *arg2 = 0 ;
24692 bool result;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695
24696 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1)
24701 SWIG_fail;
24702 if (arg2 == NULL) {
24703 PyErr_SetString(PyExc_TypeError,"null reference");
24704 SWIG_fail;
24705 }
24706 {
24707 PyThreadState* __tstate = wxPyBeginAllowThreads();
24708 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24709
24710 wxPyEndAllowThreads(__tstate);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 }
24713 {
24714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24715 }
24716 return resultobj;
24717 fail:
24718 return NULL;
24719}
24720
24721
24722static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24723 int argc;
24724 PyObject *argv[3];
24725 int ii;
24726
24727 argc = PyObject_Length(args);
24728 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24729 argv[ii] = PyTuple_GetItem(args,ii);
24730 }
24731 if (argc == 2) {
24732 int _v;
24733 {
24734 void *ptr;
24735 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24736 _v = 0;
24737 PyErr_Clear();
24738 } else {
24739 _v = 1;
24740 }
24741 }
24742 if (_v) {
24743 {
24744 void *ptr;
24745 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24746 _v = 0;
24747 PyErr_Clear();
24748 } else {
24749 _v = 1;
24750 }
24751 }
24752 if (_v) {
24753 return _wrap_DataFormat___ne____SWIG_1(self,args);
24754 }
24755 }
24756 }
24757 if (argc == 2) {
24758 int _v;
24759 {
24760 void *ptr;
24761 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24762 _v = 0;
24763 PyErr_Clear();
24764 } else {
24765 _v = 1;
24766 }
24767 }
24768 if (_v) {
c32bde28 24769 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
24770 if (_v) {
24771 return _wrap_DataFormat___ne____SWIG_0(self,args);
24772 }
24773 }
24774 }
24775
24776 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24777 return NULL;
24778}
24779
24780
c32bde28 24781static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24782 PyObject *resultobj;
24783 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24784 int arg2 ;
24785 PyObject * obj0 = 0 ;
24786 PyObject * obj1 = 0 ;
24787 char *kwnames[] = {
24788 (char *) "self",(char *) "format", NULL
24789 };
24790
24791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24794 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24795 if (PyErr_Occurred()) SWIG_fail;
24796 {
24797 PyThreadState* __tstate = wxPyBeginAllowThreads();
24798 (arg1)->SetType((wxDataFormatId )arg2);
24799
24800 wxPyEndAllowThreads(__tstate);
24801 if (PyErr_Occurred()) SWIG_fail;
24802 }
24803 Py_INCREF(Py_None); resultobj = Py_None;
24804 return resultobj;
24805 fail:
24806 return NULL;
24807}
24808
24809
c32bde28 24810static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24811 PyObject *resultobj;
24812 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24813 int result;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 result = (int)((wxDataFormat const *)arg1)->GetType();
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
c32bde28 24829 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
c32bde28 24836static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24837 PyObject *resultobj;
24838 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24839 wxString result;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 result = ((wxDataFormat const *)arg1)->GetId();
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 {
24856#if wxUSE_UNICODE
24857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24858#else
24859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24860#endif
24861 }
24862 return resultobj;
24863 fail:
24864 return NULL;
24865}
24866
24867
c32bde28 24868static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24869 PyObject *resultobj;
24870 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24871 wxString *arg2 = 0 ;
ae8162c8 24872 bool temp2 = false ;
d55e5bfc
RD
24873 PyObject * obj0 = 0 ;
24874 PyObject * obj1 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self",(char *) "format", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24882 {
24883 arg2 = wxString_in_helper(obj1);
24884 if (arg2 == NULL) SWIG_fail;
ae8162c8 24885 temp2 = true;
d55e5bfc
RD
24886 }
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->SetId((wxString const &)*arg2);
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 Py_INCREF(Py_None); resultobj = Py_None;
24895 {
24896 if (temp2)
24897 delete arg2;
24898 }
24899 return resultobj;
24900 fail:
24901 {
24902 if (temp2)
24903 delete arg2;
24904 }
24905 return NULL;
24906}
24907
24908
c32bde28 24909static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24910 PyObject *obj;
24911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24913 Py_INCREF(obj);
24914 return Py_BuildValue((char *)"");
24915}
c32bde28 24916static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
24917 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24918 return 1;
24919}
24920
24921
24922static PyObject *_wrap_FormatInvalid_get() {
24923 PyObject *pyobj;
24924
24925 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24926 return pyobj;
24927}
24928
24929
c32bde28 24930static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24931 PyObject *resultobj;
24932 wxDataObject *arg1 = (wxDataObject *) 0 ;
24933 PyObject * obj0 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 delete arg1;
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 return resultobj;
24950 fail:
24951 return NULL;
24952}
24953
24954
c32bde28 24955static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24956 PyObject *resultobj;
24957 wxDataObject *arg1 = (wxDataObject *) 0 ;
24958 int arg2 = (int) wxDataObject::Get ;
24959 SwigValueWrapper< wxDataFormat > result;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "self",(char *) "dir", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24969 if (obj1) {
c32bde28 24970 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 {
24974 PyThreadState* __tstate = wxPyBeginAllowThreads();
24975 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24976
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 {
24981 wxDataFormat * resultptr;
24982 resultptr = new wxDataFormat((wxDataFormat &) result);
24983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24984 }
24985 return resultobj;
24986 fail:
24987 return NULL;
24988}
24989
24990
c32bde28 24991static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24992 PyObject *resultobj;
24993 wxDataObject *arg1 = (wxDataObject *) 0 ;
24994 int arg2 = (int) wxDataObject::Get ;
24995 size_t result;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self",(char *) "dir", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25005 if (obj1) {
c32bde28 25006 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
25012
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
c32bde28 25016 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
25017 return resultobj;
25018 fail:
25019 return NULL;
25020}
25021
25022
c32bde28 25023static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25024 PyObject *resultobj;
25025 wxDataObject *arg1 = (wxDataObject *) 0 ;
25026 wxDataFormat *arg2 = 0 ;
25027 int arg3 = (int) wxDataObject::Get ;
25028 bool result;
25029 PyObject * obj0 = 0 ;
25030 PyObject * obj1 = 0 ;
25031 PyObject * obj2 = 0 ;
25032 char *kwnames[] = {
25033 (char *) "self",(char *) "format",(char *) "dir", NULL
25034 };
25035
25036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
25037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25040 SWIG_POINTER_EXCEPTION | 0)) == -1)
25041 SWIG_fail;
25042 if (arg2 == NULL) {
25043 PyErr_SetString(PyExc_TypeError,"null reference");
25044 SWIG_fail;
25045 }
25046 if (obj2) {
c32bde28 25047 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
25053
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 {
25058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25059 }
25060 return resultobj;
25061 fail:
25062 return NULL;
25063}
25064
25065
c32bde28 25066static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25067 PyObject *resultobj;
25068 wxDataObject *arg1 = (wxDataObject *) 0 ;
25069 wxDataFormat *arg2 = 0 ;
25070 size_t result;
25071 PyObject * obj0 = 0 ;
25072 PyObject * obj1 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self",(char *) "format", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
25078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1)
25082 SWIG_fail;
25083 if (arg2 == NULL) {
25084 PyErr_SetString(PyExc_TypeError,"null reference");
25085 SWIG_fail;
25086 }
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
c32bde28 25094 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
25095 return resultobj;
25096 fail:
25097 return NULL;
25098}
25099
25100
c32bde28 25101static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25102 PyObject *resultobj;
25103 wxDataObject *arg1 = (wxDataObject *) 0 ;
a07a67e6
RD
25104 int arg2 = (int) wxDataObject::Get ;
25105 PyObject *result;
d55e5bfc
RD
25106 PyObject * obj0 = 0 ;
25107 PyObject * obj1 = 0 ;
d55e5bfc 25108 char *kwnames[] = {
a07a67e6 25109 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
25110 };
25111
a07a67e6 25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
25113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a07a67e6 25115 if (obj1) {
c32bde28 25116 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 25121 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
25122
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
a07a67e6 25126 resultobj = result;
d55e5bfc
RD
25127 return resultobj;
25128 fail:
25129 return NULL;
25130}
25131
25132
c32bde28 25133static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25134 PyObject *resultobj;
25135 wxDataObject *arg1 = (wxDataObject *) 0 ;
25136 wxDataFormat *arg2 = 0 ;
a07a67e6 25137 PyObject *result;
d55e5bfc
RD
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
d55e5bfc 25140 char *kwnames[] = {
a07a67e6 25141 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
25142 };
25143
a07a67e6 25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
25145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25148 SWIG_POINTER_EXCEPTION | 0)) == -1)
25149 SWIG_fail;
25150 if (arg2 == NULL) {
25151 PyErr_SetString(PyExc_TypeError,"null reference");
25152 SWIG_fail;
25153 }
d55e5bfc
RD
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 25156 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
25157
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
a07a67e6 25161 resultobj = result;
d55e5bfc
RD
25162 return resultobj;
25163 fail:
25164 return NULL;
25165}
25166
25167
c32bde28 25168static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25169 PyObject *resultobj;
25170 wxDataObject *arg1 = (wxDataObject *) 0 ;
25171 wxDataFormat *arg2 = 0 ;
a07a67e6 25172 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
25173 bool result;
25174 PyObject * obj0 = 0 ;
25175 PyObject * obj1 = 0 ;
25176 PyObject * obj2 = 0 ;
d55e5bfc 25177 char *kwnames[] = {
a07a67e6 25178 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
25179 };
25180
a07a67e6 25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
25182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25185 SWIG_POINTER_EXCEPTION | 0)) == -1)
25186 SWIG_fail;
25187 if (arg2 == NULL) {
25188 PyErr_SetString(PyExc_TypeError,"null reference");
25189 SWIG_fail;
25190 }
a07a67e6 25191 arg3 = obj2;
d55e5bfc
RD
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 25194 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 {
25200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25201 }
25202 return resultobj;
25203 fail:
25204 return NULL;
25205}
25206
25207
c32bde28 25208static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25209 PyObject *obj;
25210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25211 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
25212 Py_INCREF(obj);
25213 return Py_BuildValue((char *)"");
25214}
c32bde28 25215static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25216 PyObject *resultobj;
25217 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25218 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25219 wxDataObjectSimple *result;
25220 PyObject * obj0 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "format", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
25226 if (obj0) {
25227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25228 SWIG_POINTER_EXCEPTION | 0)) == -1)
25229 SWIG_fail;
25230 if (arg1 == NULL) {
25231 PyErr_SetString(PyExc_TypeError,"null reference");
25232 SWIG_fail;
25233 }
25234 }
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
25238
25239 wxPyEndAllowThreads(__tstate);
25240 if (PyErr_Occurred()) SWIG_fail;
25241 }
25242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
25243 return resultobj;
25244 fail:
25245 return NULL;
25246}
25247
25248
c32bde28 25249static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25250 PyObject *resultobj;
25251 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25252 wxDataFormat *result;
25253 PyObject * obj0 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
25259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 {
25264 wxDataFormat const &_result_ref = (arg1)->GetFormat();
25265 result = (wxDataFormat *) &_result_ref;
25266 }
25267
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
25272 return resultobj;
25273 fail:
25274 return NULL;
25275}
25276
25277
c32bde28 25278static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25279 PyObject *resultobj;
25280 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25281 wxDataFormat *arg2 = 0 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 char *kwnames[] = {
25285 (char *) "self",(char *) "format", NULL
25286 };
25287
25288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
25289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1)
25293 SWIG_fail;
25294 if (arg2 == NULL) {
25295 PyErr_SetString(PyExc_TypeError,"null reference");
25296 SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 (arg1)->SetFormat((wxDataFormat const &)*arg2);
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 Py_INCREF(Py_None); resultobj = Py_None;
25306 return resultobj;
25307 fail:
25308 return NULL;
25309}
25310
25311
c32bde28 25312static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
25313 PyObject *resultobj;
25314 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25315 size_t result;
25316 PyObject * obj0 = 0 ;
25317 char *kwnames[] = {
25318 (char *) "self", NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
25322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
25327
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
c32bde28 25331 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
a07a67e6
RD
25332 return resultobj;
25333 fail:
25334 return NULL;
25335}
25336
25337
c32bde28 25338static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
25339 PyObject *resultobj;
25340 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25341 PyObject *result;
25342 PyObject * obj0 = 0 ;
25343 char *kwnames[] = {
25344 (char *) "self", NULL
25345 };
25346
25347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
25348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 resultobj = result;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
25365 PyObject *resultobj;
25366 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25367 PyObject *arg2 = (PyObject *) 0 ;
25368 bool result;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "data", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25378 arg2 = obj1;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 {
25387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25388 }
25389 return resultobj;
25390 fail:
25391 return NULL;
25392}
25393
25394
c32bde28 25395static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25396 PyObject *obj;
25397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25398 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
25399 Py_INCREF(obj);
25400 return Py_BuildValue((char *)"");
25401}
c32bde28 25402static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25403 PyObject *resultobj;
25404 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25405 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25406 wxPyDataObjectSimple *result;
25407 PyObject * obj0 = 0 ;
25408 char *kwnames[] = {
25409 (char *) "format", NULL
25410 };
25411
25412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
25413 if (obj0) {
25414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25415 SWIG_POINTER_EXCEPTION | 0)) == -1)
25416 SWIG_fail;
25417 if (arg1 == NULL) {
25418 PyErr_SetString(PyExc_TypeError,"null reference");
25419 SWIG_fail;
25420 }
25421 }
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
25430 return resultobj;
25431 fail:
25432 return NULL;
25433}
25434
25435
c32bde28 25436static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25437 PyObject *resultobj;
25438 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
25439 PyObject *arg2 = (PyObject *) 0 ;
25440 PyObject *arg3 = (PyObject *) 0 ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 PyObject * obj2 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "self",(char *) "_class", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25451 arg2 = obj1;
25452 arg3 = obj2;
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->_setCallbackInfo(arg2,arg3);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464}
25465
25466
c32bde28 25467static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25468 PyObject *obj;
25469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25470 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
25471 Py_INCREF(obj);
25472 return Py_BuildValue((char *)"");
25473}
c32bde28 25474static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25475 PyObject *resultobj;
25476 wxDataObjectComposite *result;
25477 char *kwnames[] = {
25478 NULL
25479 };
25480
25481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 result = (wxDataObjectComposite *)new wxDataObjectComposite();
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
25490 return resultobj;
25491 fail:
25492 return NULL;
25493}
25494
25495
c32bde28 25496static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25497 PyObject *resultobj;
25498 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
25499 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 25500 bool arg3 = (bool) false ;
d55e5bfc
RD
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 PyObject * obj2 = 0 ;
25504 char *kwnames[] = {
25505 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25506 };
25507
25508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
25509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25512 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25513 if (obj2) {
c32bde28 25514 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 {
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 (arg1)->Add(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 * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25532 PyObject *obj;
25533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25534 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25535 Py_INCREF(obj);
25536 return Py_BuildValue((char *)"");
25537}
c32bde28 25538static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25539 PyObject *resultobj;
25540 wxString const &arg1_defvalue = wxPyEmptyString ;
25541 wxString *arg1 = (wxString *) &arg1_defvalue ;
25542 wxTextDataObject *result;
ae8162c8 25543 bool temp1 = false ;
d55e5bfc
RD
25544 PyObject * obj0 = 0 ;
25545 char *kwnames[] = {
25546 (char *) "text", NULL
25547 };
25548
25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25550 if (obj0) {
25551 {
25552 arg1 = wxString_in_helper(obj0);
25553 if (arg1 == NULL) SWIG_fail;
ae8162c8 25554 temp1 = true;
d55e5bfc
RD
25555 }
25556 }
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25565 {
25566 if (temp1)
25567 delete arg1;
25568 }
25569 return resultobj;
25570 fail:
25571 {
25572 if (temp1)
25573 delete arg1;
25574 }
25575 return NULL;
25576}
25577
25578
c32bde28 25579static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25580 PyObject *resultobj;
25581 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25582 size_t result;
25583 PyObject * obj0 = 0 ;
25584 char *kwnames[] = {
25585 (char *) "self", NULL
25586 };
25587
25588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (size_t)(arg1)->GetTextLength();
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
c32bde28 25598 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
25599 return resultobj;
25600 fail:
25601 return NULL;
25602}
25603
25604
c32bde28 25605static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25606 PyObject *resultobj;
25607 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25608 wxString result;
25609 PyObject * obj0 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self", NULL
25612 };
25613
25614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (arg1)->GetText();
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 {
25625#if wxUSE_UNICODE
25626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25627#else
25628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25629#endif
25630 }
25631 return resultobj;
25632 fail:
25633 return NULL;
25634}
25635
25636
c32bde28 25637static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25638 PyObject *resultobj;
25639 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25640 wxString *arg2 = 0 ;
ae8162c8 25641 bool temp2 = false ;
d55e5bfc
RD
25642 PyObject * obj0 = 0 ;
25643 PyObject * obj1 = 0 ;
25644 char *kwnames[] = {
25645 (char *) "self",(char *) "text", NULL
25646 };
25647
25648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25651 {
25652 arg2 = wxString_in_helper(obj1);
25653 if (arg2 == NULL) SWIG_fail;
ae8162c8 25654 temp2 = true;
d55e5bfc
RD
25655 }
25656 {
25657 PyThreadState* __tstate = wxPyBeginAllowThreads();
25658 (arg1)->SetText((wxString const &)*arg2);
25659
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 Py_INCREF(Py_None); resultobj = Py_None;
25664 {
25665 if (temp2)
25666 delete arg2;
25667 }
25668 return resultobj;
25669 fail:
25670 {
25671 if (temp2)
25672 delete arg2;
25673 }
25674 return NULL;
25675}
25676
25677
c32bde28 25678static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25679 PyObject *obj;
25680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25681 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25682 Py_INCREF(obj);
25683 return Py_BuildValue((char *)"");
25684}
c32bde28 25685static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25686 PyObject *resultobj;
25687 wxString const &arg1_defvalue = wxPyEmptyString ;
25688 wxString *arg1 = (wxString *) &arg1_defvalue ;
25689 wxPyTextDataObject *result;
ae8162c8 25690 bool temp1 = false ;
d55e5bfc
RD
25691 PyObject * obj0 = 0 ;
25692 char *kwnames[] = {
25693 (char *) "text", NULL
25694 };
25695
25696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25697 if (obj0) {
25698 {
25699 arg1 = wxString_in_helper(obj0);
25700 if (arg1 == NULL) SWIG_fail;
ae8162c8 25701 temp1 = true;
d55e5bfc
RD
25702 }
25703 }
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25712 {
25713 if (temp1)
25714 delete arg1;
25715 }
25716 return resultobj;
25717 fail:
25718 {
25719 if (temp1)
25720 delete arg1;
25721 }
25722 return NULL;
25723}
25724
25725
c32bde28 25726static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25727 PyObject *resultobj;
25728 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25729 PyObject *arg2 = (PyObject *) 0 ;
25730 PyObject *arg3 = (PyObject *) 0 ;
25731 PyObject * obj0 = 0 ;
25732 PyObject * obj1 = 0 ;
25733 PyObject * obj2 = 0 ;
25734 char *kwnames[] = {
25735 (char *) "self",(char *) "self",(char *) "_class", NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25741 arg2 = obj1;
25742 arg3 = obj2;
25743 {
25744 PyThreadState* __tstate = wxPyBeginAllowThreads();
25745 (arg1)->_setCallbackInfo(arg2,arg3);
25746
25747 wxPyEndAllowThreads(__tstate);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 }
25750 Py_INCREF(Py_None); resultobj = Py_None;
25751 return resultobj;
25752 fail:
25753 return NULL;
25754}
25755
25756
c32bde28 25757static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25758 PyObject *obj;
25759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25760 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25761 Py_INCREF(obj);
25762 return Py_BuildValue((char *)"");
25763}
c32bde28 25764static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25765 PyObject *resultobj;
25766 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25767 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25768 wxBitmapDataObject *result;
25769 PyObject * obj0 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "bitmap", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25775 if (obj0) {
25776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25777 SWIG_POINTER_EXCEPTION | 0)) == -1)
25778 SWIG_fail;
25779 if (arg1 == NULL) {
25780 PyErr_SetString(PyExc_TypeError,"null reference");
25781 SWIG_fail;
25782 }
25783 }
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25792 return resultobj;
25793 fail:
25794 return NULL;
25795}
25796
25797
c32bde28 25798static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25799 PyObject *resultobj;
25800 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25801 wxBitmap result;
25802 PyObject * obj0 = 0 ;
25803 char *kwnames[] = {
25804 (char *) "self", NULL
25805 };
25806
25807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 {
25818 wxBitmap * resultptr;
25819 resultptr = new wxBitmap((wxBitmap &) result);
25820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25821 }
25822 return resultobj;
25823 fail:
25824 return NULL;
25825}
25826
25827
c32bde28 25828static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25829 PyObject *resultobj;
25830 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25831 wxBitmap *arg2 = 0 ;
25832 PyObject * obj0 = 0 ;
25833 PyObject * obj1 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "bitmap", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25842 SWIG_POINTER_EXCEPTION | 0)) == -1)
25843 SWIG_fail;
25844 if (arg2 == NULL) {
25845 PyErr_SetString(PyExc_TypeError,"null reference");
25846 SWIG_fail;
25847 }
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25851
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 Py_INCREF(Py_None); resultobj = Py_None;
25856 return resultobj;
25857 fail:
25858 return NULL;
25859}
25860
25861
c32bde28 25862static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25863 PyObject *obj;
25864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25865 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25866 Py_INCREF(obj);
25867 return Py_BuildValue((char *)"");
25868}
c32bde28 25869static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25870 PyObject *resultobj;
25871 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25872 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25873 wxPyBitmapDataObject *result;
25874 PyObject * obj0 = 0 ;
25875 char *kwnames[] = {
25876 (char *) "bitmap", NULL
25877 };
25878
25879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25880 if (obj0) {
25881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25882 SWIG_POINTER_EXCEPTION | 0)) == -1)
25883 SWIG_fail;
25884 if (arg1 == NULL) {
25885 PyErr_SetString(PyExc_TypeError,"null reference");
25886 SWIG_fail;
25887 }
25888 }
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25892
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25897 return resultobj;
25898 fail:
25899 return NULL;
25900}
25901
25902
c32bde28 25903static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25904 PyObject *resultobj;
25905 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25906 PyObject *arg2 = (PyObject *) 0 ;
25907 PyObject *arg3 = (PyObject *) 0 ;
25908 PyObject * obj0 = 0 ;
25909 PyObject * obj1 = 0 ;
25910 PyObject * obj2 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self",(char *) "self",(char *) "_class", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25918 arg2 = obj1;
25919 arg3 = obj2;
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->_setCallbackInfo(arg2,arg3);
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 Py_INCREF(Py_None); resultobj = Py_None;
25928 return resultobj;
25929 fail:
25930 return NULL;
25931}
25932
25933
c32bde28 25934static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25935 PyObject *obj;
25936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25937 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25938 Py_INCREF(obj);
25939 return Py_BuildValue((char *)"");
25940}
c32bde28 25941static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25942 PyObject *resultobj;
25943 wxFileDataObject *result;
25944 char *kwnames[] = {
25945 NULL
25946 };
25947
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = (wxFileDataObject *)new wxFileDataObject();
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25957 return resultobj;
25958 fail:
25959 return NULL;
25960}
25961
25962
c32bde28 25963static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25964 PyObject *resultobj;
25965 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25966 wxArrayString *result;
25967 PyObject * obj0 = 0 ;
25968 char *kwnames[] = {
25969 (char *) "self", NULL
25970 };
25971
25972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 {
25978 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25979 result = (wxArrayString *) &_result_ref;
25980 }
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 {
25986 resultobj = wxArrayString2PyList_helper(*result);
25987 }
25988 return resultobj;
25989 fail:
25990 return NULL;
25991}
25992
25993
c32bde28 25994static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25995 PyObject *resultobj;
25996 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25997 wxString *arg2 = 0 ;
ae8162c8 25998 bool temp2 = false ;
d55e5bfc
RD
25999 PyObject * obj0 = 0 ;
26000 PyObject * obj1 = 0 ;
26001 char *kwnames[] = {
26002 (char *) "self",(char *) "filename", NULL
26003 };
26004
26005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
26006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
26007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26008 {
26009 arg2 = wxString_in_helper(obj1);
26010 if (arg2 == NULL) SWIG_fail;
ae8162c8 26011 temp2 = true;
d55e5bfc
RD
26012 }
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 (arg1)->AddFile((wxString const &)*arg2);
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 Py_INCREF(Py_None); resultobj = Py_None;
26021 {
26022 if (temp2)
26023 delete arg2;
26024 }
26025 return resultobj;
26026 fail:
26027 {
26028 if (temp2)
26029 delete arg2;
26030 }
26031 return NULL;
26032}
26033
26034
c32bde28 26035static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26036 PyObject *obj;
26037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26038 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
26039 Py_INCREF(obj);
26040 return Py_BuildValue((char *)"");
26041}
c32bde28 26042static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26043 PyObject *resultobj;
26044 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
26045 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
26046 wxCustomDataObject *result;
26047 PyObject * obj0 = 0 ;
26048 char *kwnames[] = {
26049 (char *) "format", NULL
26050 };
26051
26052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
26053 if (obj0) {
26054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
26055 SWIG_POINTER_EXCEPTION | 0)) == -1)
26056 SWIG_fail;
26057 if (arg1 == NULL) {
26058 PyErr_SetString(PyExc_TypeError,"null reference");
26059 SWIG_fail;
26060 }
26061 }
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
26070 return resultobj;
26071 fail:
26072 return NULL;
26073}
26074
26075
c32bde28 26076static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26077 PyObject *resultobj;
26078 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26079 PyObject *arg2 = (PyObject *) 0 ;
26080 bool result;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 char *kwnames[] = {
26084 (char *) "self",(char *) "data", NULL
26085 };
26086
26087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
26088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26090 arg2 = obj1;
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 {
26099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26100 }
26101 return resultobj;
26102 fail:
26103 return NULL;
26104}
26105
26106
c32bde28 26107static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26108 PyObject *resultobj;
26109 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26110 size_t result;
26111 PyObject * obj0 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
26117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (size_t)(arg1)->GetSize();
26122
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
c32bde28 26126 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
26127 return resultobj;
26128 fail:
26129 return NULL;
26130}
26131
26132
c32bde28 26133static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26134 PyObject *resultobj;
26135 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
26136 PyObject *result;
26137 PyObject * obj0 = 0 ;
26138 char *kwnames[] = {
26139 (char *) "self", NULL
26140 };
26141
26142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
26143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
26144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 result = (PyObject *)wxCustomDataObject_GetData(arg1);
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = result;
26153 return resultobj;
26154 fail:
26155 return NULL;
26156}
26157
26158
c32bde28 26159static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26160 PyObject *obj;
26161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26162 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
26163 Py_INCREF(obj);
26164 return Py_BuildValue((char *)"");
26165}
c32bde28 26166static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26167 PyObject *resultobj;
26168 wxURLDataObject *result;
26169 char *kwnames[] = {
26170 NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 result = (wxURLDataObject *)new wxURLDataObject();
26177
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
26182 return resultobj;
26183 fail:
26184 return NULL;
26185}
26186
26187
c32bde28 26188static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26189 PyObject *resultobj;
26190 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26191 wxString result;
26192 PyObject * obj0 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
26198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (arg1)->GetURL();
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 {
26208#if wxUSE_UNICODE
26209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26210#else
26211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26212#endif
26213 }
26214 return resultobj;
26215 fail:
26216 return NULL;
26217}
26218
26219
c32bde28 26220static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26221 PyObject *resultobj;
26222 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26223 wxString *arg2 = 0 ;
ae8162c8 26224 bool temp2 = false ;
d55e5bfc
RD
26225 PyObject * obj0 = 0 ;
26226 PyObject * obj1 = 0 ;
26227 char *kwnames[] = {
26228 (char *) "self",(char *) "url", NULL
26229 };
26230
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
26232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26234 {
26235 arg2 = wxString_in_helper(obj1);
26236 if (arg2 == NULL) SWIG_fail;
ae8162c8 26237 temp2 = true;
d55e5bfc
RD
26238 }
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 (arg1)->SetURL((wxString const &)*arg2);
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 Py_INCREF(Py_None); resultobj = Py_None;
26247 {
26248 if (temp2)
26249 delete arg2;
26250 }
26251 return resultobj;
26252 fail:
26253 {
26254 if (temp2)
26255 delete arg2;
26256 }
26257 return NULL;
26258}
26259
26260
c32bde28 26261static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26262 PyObject *obj;
26263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26264 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
26265 Py_INCREF(obj);
26266 return Py_BuildValue((char *)"");
26267}
c32bde28 26268static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26269 PyObject *resultobj;
26270 wxMetafileDataObject *result;
26271 char *kwnames[] = {
26272 NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (wxMetafileDataObject *)new wxMetafileDataObject();
26279
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
26284 return resultobj;
26285 fail:
26286 return NULL;
26287}
26288
26289
c32bde28 26290static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26291 PyObject *resultobj;
26292 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
26293 wxMetafile *arg2 = 0 ;
26294 PyObject * obj0 = 0 ;
26295 PyObject * obj1 = 0 ;
26296 char *kwnames[] = {
26297 (char *) "self",(char *) "metafile", NULL
26298 };
26299
26300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
26301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
26302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1)
26305 SWIG_fail;
26306 if (arg2 == NULL) {
26307 PyErr_SetString(PyExc_TypeError,"null reference");
26308 SWIG_fail;
26309 }
26310 {
26311 PyThreadState* __tstate = wxPyBeginAllowThreads();
26312 (arg1)->SetMetafile((wxMetafile const &)*arg2);
26313
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 Py_INCREF(Py_None); resultobj = Py_None;
26318 return resultobj;
26319 fail:
26320 return NULL;
26321}
26322
26323
c32bde28 26324static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26325 PyObject *resultobj;
26326 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
26327 wxMetafile result;
26328 PyObject * obj0 = 0 ;
26329 char *kwnames[] = {
26330 (char *) "self", NULL
26331 };
26332
26333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
26334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
26335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 {
26344 wxMetafile * resultptr;
26345 resultptr = new wxMetafile((wxMetafile &) result);
26346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
26347 }
26348 return resultobj;
26349 fail:
26350 return NULL;
26351}
26352
26353
c32bde28 26354static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
RD
26362 PyObject *resultobj;
26363 int arg1 ;
26364 bool result;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "res", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
c32bde28 26371 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
26372 if (PyErr_Occurred()) SWIG_fail;
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 {
26381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26382 }
26383 return resultobj;
26384 fail:
26385 return NULL;
26386}
26387
26388
c32bde28 26389static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26390 PyObject *resultobj;
26391 wxWindow *arg1 = (wxWindow *) 0 ;
26392 wxCursor const &arg2_defvalue = wxNullCursor ;
26393 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26394 wxCursor const &arg3_defvalue = wxNullCursor ;
26395 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
26396 wxCursor const &arg4_defvalue = wxNullCursor ;
26397 wxCursor *arg4 = (wxCursor *) &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
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26410 if (obj1) {
26411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26412 SWIG_POINTER_EXCEPTION | 0)) == -1)
26413 SWIG_fail;
26414 if (arg2 == NULL) {
26415 PyErr_SetString(PyExc_TypeError,"null reference");
26416 SWIG_fail;
26417 }
26418 }
26419 if (obj2) {
26420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26421 SWIG_POINTER_EXCEPTION | 0)) == -1)
26422 SWIG_fail;
26423 if (arg3 == NULL) {
26424 PyErr_SetString(PyExc_TypeError,"null reference");
26425 SWIG_fail;
26426 }
26427 }
26428 if (obj3) {
26429 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
26430 SWIG_POINTER_EXCEPTION | 0)) == -1)
26431 SWIG_fail;
26432 if (arg4 == NULL) {
26433 PyErr_SetString(PyExc_TypeError,"null reference");
26434 SWIG_fail;
26435 }
26436 }
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
26440
26441 wxPyEndAllowThreads(__tstate);
26442 if (PyErr_Occurred()) SWIG_fail;
26443 }
26444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
26445 return resultobj;
26446 fail:
26447 return NULL;
26448}
26449
26450
c32bde28 26451static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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 ;
26460 PyObject * obj3 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 arg2 = obj1;
26469 arg3 = obj2;
c32bde28 26470 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
26471 if (PyErr_Occurred()) SWIG_fail;
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) {
d55e5bfc
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;
26495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
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;
26527 if (arg2 == NULL) {
26528 PyErr_SetString(PyExc_TypeError,"null reference");
26529 SWIG_fail;
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) {
d55e5bfc
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;
26555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 result = (wxDataObject *)(arg1)->GetDataObject();
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26565 return resultobj;
26566 fail:
26567 return NULL;
26568}
26569
26570
c32bde28 26571static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26572 PyObject *resultobj;
26573 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26574 int arg2 ;
26575 wxCursor *arg3 = 0 ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 PyObject * obj2 = 0 ;
26579 char *kwnames[] = {
26580 (char *) "self",(char *) "res",(char *) "cursor", NULL
26581 };
26582
26583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
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);
d55e5bfc
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;
26591 if (arg3 == NULL) {
26592 PyErr_SetString(PyExc_TypeError,"null reference");
26593 SWIG_fail;
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) {
d55e5bfc
RD
26610 PyObject *resultobj;
26611 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26612 int arg2 = (int) wxDrag_CopyOnly ;
26613 int result;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 char *kwnames[] = {
26617 (char *) "self",(char *) "flags", NULL
26618 };
26619
26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26623 if (obj1) {
c32bde28 26624 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
26625 if (PyErr_Occurred()) SWIG_fail;
26626 }
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);
d55e5bfc
RD
26635 return resultobj;
26636 fail:
26637 return NULL;
26638}
26639
26640
c32bde28 26641static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26642 PyObject *resultobj;
26643 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26644 int arg2 ;
26645 bool result;
26646 PyObject * obj0 = 0 ;
26647 PyObject * obj1 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self",(char *) "effect", NULL
26650 };
26651
26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
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);
d55e5bfc
RD
26656 if (PyErr_Occurred()) SWIG_fail;
26657 {
26658 PyThreadState* __tstate = wxPyBeginAllowThreads();
26659 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26660
26661 wxPyEndAllowThreads(__tstate);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 }
26664 {
26665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26666 }
26667 return resultobj;
26668 fail:
26669 return NULL;
26670}
26671
26672
c32bde28 26673static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
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
26689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26690 if (obj0) {
26691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26692 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26693 }
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26697
26698 wxPyEndAllowThreads(__tstate);
26699 if (PyErr_Occurred()) SWIG_fail;
26700 }
26701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26702 return resultobj;
26703 fail:
26704 return NULL;
26705}
26706
26707
c32bde28 26708static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
26721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
26774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (wxDataObject *)(arg1)->GetDataObject();
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26784 return resultobj;
26785 fail:
26786 return NULL;
26787}
26788
26789
c32bde28 26790static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
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;
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) {
d55e5bfc
RD
26820 PyObject *resultobj;
26821 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26822 int arg2 ;
26823 int arg3 ;
26824 int arg4 ;
26825 int result;
26826 PyObject * obj0 = 0 ;
26827 PyObject * obj1 = 0 ;
26828 PyObject * obj2 = 0 ;
26829 PyObject * obj3 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 26838 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26839 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 26840 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26841 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
26842 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
26851 return resultobj;
26852 fail:
26853 return NULL;
26854}
26855
26856
c32bde28 26857static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26858 PyObject *resultobj;
26859 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26860 int arg2 ;
26861 int arg3 ;
26862 int arg4 ;
26863 int result;
26864 PyObject * obj0 = 0 ;
26865 PyObject * obj1 = 0 ;
26866 PyObject * obj2 = 0 ;
26867 PyObject * obj3 = 0 ;
26868 char *kwnames[] = {
26869 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26870 };
26871
26872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 26876 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26877 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 26878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26879 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
26880 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
26889 return resultobj;
26890 fail:
26891 return NULL;
26892}
26893
26894
c32bde28 26895static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
26904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
RD
26921 PyObject *resultobj;
26922 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26923 int arg2 ;
26924 int arg3 ;
26925 bool result;
26926 PyObject * obj0 = 0 ;
26927 PyObject * obj1 = 0 ;
26928 PyObject * obj2 = 0 ;
26929 char *kwnames[] = {
26930 (char *) "self",(char *) "x",(char *) "y", NULL
26931 };
26932
26933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
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);
d55e5bfc 26937 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26938 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
26939 if (PyErr_Occurred()) SWIG_fail;
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 {
26948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26949 }
26950 return resultobj;
26951 fail:
26952 return NULL;
26953}
26954
26955
c32bde28 26956static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
26966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (bool)(arg1)->GetData();
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 {
26976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26977 }
26978 return resultobj;
26979 fail:
26980 return NULL;
26981}
26982
26983
c32bde28 26984static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
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 }
27006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
27007 return resultobj;
27008 fail:
27009 return NULL;
27010}
27011
27012
c32bde28 27013static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
RD
27045 PyObject *resultobj;
27046 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27047 int arg2 ;
27048 int arg3 ;
27049 int arg4 ;
27050 int result;
27051 PyObject * obj0 = 0 ;
27052 PyObject * obj1 = 0 ;
27053 PyObject * obj2 = 0 ;
27054 PyObject * obj3 = 0 ;
27055 char *kwnames[] = {
27056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27057 };
27058
27059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27063 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27064 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27065 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27066 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27067 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27076 return resultobj;
27077 fail:
27078 return NULL;
27079}
27080
27081
c32bde28 27082static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27083 PyObject *resultobj;
27084 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27085 int arg2 ;
27086 int arg3 ;
27087 int arg4 ;
27088 int result;
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
27091 PyObject * obj2 = 0 ;
27092 PyObject * obj3 = 0 ;
27093 char *kwnames[] = {
27094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27095 };
27096
27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27101 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27102 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27103 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27104 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27105 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27114 return resultobj;
27115 fail:
27116 return NULL;
27117}
27118
27119
c32bde28 27120static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
27130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
RD
27146 PyObject *resultobj;
27147 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27148 int arg2 ;
27149 int arg3 ;
27150 bool result;
27151 PyObject * obj0 = 0 ;
27152 PyObject * obj1 = 0 ;
27153 PyObject * obj2 = 0 ;
27154 char *kwnames[] = {
27155 (char *) "self",(char *) "x",(char *) "y", NULL
27156 };
27157
27158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
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);
d55e5bfc 27162 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27163 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27164 if (PyErr_Occurred()) SWIG_fail;
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27168
27169 wxPyEndAllowThreads(__tstate);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 }
27172 {
27173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27174 }
27175 return resultobj;
27176 fail:
27177 return NULL;
27178}
27179
27180
c32bde28 27181static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27182 PyObject *resultobj;
27183 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
27184 int arg2 ;
27185 int arg3 ;
27186 int arg4 ;
27187 int result;
27188 PyObject * obj0 = 0 ;
27189 PyObject * obj1 = 0 ;
27190 PyObject * obj2 = 0 ;
27191 PyObject * obj3 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27200 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27201 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27202 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27203 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27204 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27213 return resultobj;
27214 fail:
27215 return NULL;
27216}
27217
27218
c32bde28 27219static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
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 }
27241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
27242 return resultobj;
27243 fail:
27244 return NULL;
27245}
27246
27247
c32bde28 27248static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
RD
27280 PyObject *resultobj;
27281 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27282 int arg2 ;
27283 int arg3 ;
27284 int arg4 ;
27285 int result;
27286 PyObject * obj0 = 0 ;
27287 PyObject * obj1 = 0 ;
27288 PyObject * obj2 = 0 ;
27289 PyObject * obj3 = 0 ;
27290 char *kwnames[] = {
27291 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27292 };
27293
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27298 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27299 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27300 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27301 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27302 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
c32bde28 27317static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27318 PyObject *resultobj;
27319 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27320 int arg2 ;
27321 int arg3 ;
27322 int arg4 ;
27323 int result;
27324 PyObject * obj0 = 0 ;
27325 PyObject * obj1 = 0 ;
27326 PyObject * obj2 = 0 ;
27327 PyObject * obj3 = 0 ;
27328 char *kwnames[] = {
27329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27330 };
27331
27332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27336 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27337 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27338 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27339 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27340 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27349 return resultobj;
27350 fail:
27351 return NULL;
27352}
27353
27354
c32bde28 27355static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
RD
27381 PyObject *resultobj;
27382 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27383 int arg2 ;
27384 int arg3 ;
27385 bool result;
27386 PyObject * obj0 = 0 ;
27387 PyObject * obj1 = 0 ;
27388 PyObject * obj2 = 0 ;
27389 char *kwnames[] = {
27390 (char *) "self",(char *) "x",(char *) "y", NULL
27391 };
27392
27393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
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);
d55e5bfc 27397 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27398 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27399 if (PyErr_Occurred()) SWIG_fail;
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 {
27408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27409 }
27410 return resultobj;
27411 fail:
27412 return NULL;
27413}
27414
27415
c32bde28 27416static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27417 PyObject *resultobj;
27418 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27419 int arg2 ;
27420 int arg3 ;
27421 int arg4 ;
27422 int result;
27423 PyObject * obj0 = 0 ;
27424 PyObject * obj1 = 0 ;
27425 PyObject * obj2 = 0 ;
27426 PyObject * obj3 = 0 ;
27427 char *kwnames[] = {
27428 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27429 };
27430
27431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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);
d55e5bfc 27435 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27436 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27437 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27438 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
27439 if (PyErr_Occurred()) SWIG_fail;
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);
d55e5bfc
RD
27448 return resultobj;
27449 fail:
27450 return NULL;
27451}
27452
27453
c32bde28 27454static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
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 }
27476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
27477 return resultobj;
27478 fail:
27479 return NULL;
27480}
27481
27482
c32bde28 27483static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
27518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (bool)(arg1)->Open();
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 {
27528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27529 }
27530 return resultobj;
27531 fail:
27532 return NULL;
27533}
27534
27535
c32bde28 27536static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
27571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27573 {
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27576
27577 wxPyEndAllowThreads(__tstate);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 {
27581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27582 }
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
c32bde28 27589static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
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;
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 result = (bool)(arg1)->AddData(arg2);
27608
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 {
27613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27614 }
27615 return resultobj;
27616 fail:
27617 return NULL;
27618}
27619
27620
c32bde28 27621static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
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;
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (bool)(arg1)->SetData(arg2);
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 {
27645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27646 }
27647 return resultobj;
27648 fail:
27649 return NULL;
27650}
27651
27652
c32bde28 27653static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
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;
27670 if (arg2 == NULL) {
27671 PyErr_SetString(PyExc_TypeError,"null reference");
27672 SWIG_fail;
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 }
27681 {
27682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27683 }
27684 return resultobj;
27685 fail:
27686 return NULL;
27687}
27688
27689
c32bde28 27690static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
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;
27707 if (arg2 == NULL) {
27708 PyErr_SetString(PyExc_TypeError,"null reference");
27709 SWIG_fail;
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 result = (bool)(arg1)->GetData(*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 {
27719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27720 }
27721 return resultobj;
27722 fail:
27723 return NULL;
27724}
27725
27726
c32bde28 27727static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
27762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 result = (bool)(arg1)->Flush();
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 {
27772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27773 }
27774 return resultobj;
27775 fail:
27776 return NULL;
27777}
27778
27779
c32bde28 27780static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27781 PyObject *resultobj;
27782 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 27783 bool arg2 = (bool) true ;
d55e5bfc
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;
27791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27793 if (obj1) {
c32bde28 27794 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
27795 if (PyErr_Occurred()) SWIG_fail;
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) {
a001823c
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) {
d55e5bfc
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) {
d55e5bfc
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) {
27851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27853 }
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
27856 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27857
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27862 return resultobj;
27863 fail:
27864 return NULL;
27865}
27866
27867
c32bde28 27868static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
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) {
d55e5bfc
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;
27903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (bool)wxClipboardLocker___nonzero__(arg1);
27908
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
27912 {
27913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27914 }
27915 return resultobj;
27916 fail:
27917 return NULL;
27918}
27919
27920
c32bde28 27921static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 if (obj1) {
c32bde28 27949 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 if (obj2) {
c32bde28 27953 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 if (obj3) {
c32bde28 27957 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
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) {
d55e5bfc
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) {
d55e5bfc
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 }
28027 {
28028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28029 }
28030 return resultobj;
28031 fail:
28032 return NULL;
28033}
28034
28035
c32bde28 28036static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
RD
28056 return resultobj;
28057 fail:
28058 return NULL;
28059}
28060
28061
c32bde28 28062static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
RD
28082 return resultobj;
28083 fail:
28084 return NULL;
28085}
28086
28087
c32bde28 28088static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
RD
28108 return resultobj;
28109 fail:
28110 return NULL;
28111}
28112
28113
c32bde28 28114static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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 }
28133 {
28134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28135 }
28136 return resultobj;
28137 fail:
28138 return NULL;
28139}
28140
28141
c32bde28 28142static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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 }
28165 {
28166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28167 }
28168 return resultobj;
28169 fail:
28170 return NULL;
28171}
28172
28173
c32bde28 28174static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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 }
28197 {
28198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28199 }
28200 return resultobj;
28201 fail:
28202 return NULL;
28203}
28204
28205
c32bde28 28206static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
28245 return resultobj;
28246 fail:
28247 return NULL;
28248}
28249
28250
c32bde28 28251static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
28290 return resultobj;
28291 fail:
28292 return NULL;
28293}
28294
28295
c32bde28 28296static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
28335 return resultobj;
28336 fail:
28337 return NULL;
28338}
28339
28340
c32bde28 28341static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
28380 return resultobj;
28381 fail:
28382 return NULL;
28383}
28384
28385
c32bde28 28386static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
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 *) {
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
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) {
d55e5bfc
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) {
d55e5bfc
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);
d55e5bfc
RD
28476 return resultobj;
28477 fail:
28478 return NULL;
28479}
28480
28481
c32bde28 28482static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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);
d55e5bfc
RD
28505 return resultobj;
28506 fail:
28507 return NULL;
28508}
28509
28510
c32bde28 28511static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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)wxDisplay::GetFromWindow(arg1);
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
c32bde28 28530 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
28531 return resultobj;
28532 fail:
28533 return NULL;
28534}
28535
28536
c32bde28 28537static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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 }
28556 {
28557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28558 }
28559 return resultobj;
28560 fail:
28561 return NULL;
28562}
28563
28564
c32bde28 28565static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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) {
d55e5bfc
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) {
d55e5bfc
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 }
28646 {
28647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28648 }
28649 return resultobj;
28650 fail:
28651 return NULL;
28652}
28653
28654
c32bde28 28655static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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) {
d55e5bfc
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) {
d55e5bfc
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 }
28754 {
28755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28756 }
28757 return resultobj;
28758 fail:
28759 return NULL;
28760}
28761
28762
c32bde28 28763static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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) {
d55e5bfc
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}
c1cb24a4
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();
c1cb24a4
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 wxStandardPaths_SetInstallPrefix(arg1,(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_GetInstallPrefix(arg1);
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}
d55e5bfc 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 },
29384 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29385 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29386 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29387 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29388 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29389 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29390 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29391 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29392 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29393 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29394 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29395 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29396 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29397 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
29398 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
29399 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
29400 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
29401 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
29402 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
29403 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
29404 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
29405 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
29406 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
29407 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29408 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29409 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29410 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29411 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
29412 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
29413 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
29414 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
29415 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
29416 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
29417 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
29418 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
29419 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
29420 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
29421 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
29422 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
29423 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
29424 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
29425 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
29426 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29427 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29428 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
29429 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
29430 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
29431 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
29432 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
29433 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
29434 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
29435 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
29436 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
29437 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
29438 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
29439 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29440 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29441 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29442 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29443 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29444 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29445 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29446 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29447 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29448 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29449 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29450 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
29451 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
29452 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
29453 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
29454 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
29455 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
29456 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
29457 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29458 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29459 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29460 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29461 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29462 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29463 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL },
29464 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL },
29465 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
29466 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
29467 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29468 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
29469 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29470 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29471 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29472 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29473 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29474 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29475 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29476 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29477 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29478 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29479 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
29480 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
29481 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
29482 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
29483 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29484 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29485 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29486 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29487 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29488 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29489 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29490 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29491 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29492 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29493 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
29494 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29495 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29496 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29497 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29498 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
29499 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
29500 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29501 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
29502 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
29503 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
29504 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29505 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
29506 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29507 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29508 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
29509 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
29510 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29511 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29512 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
29513 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29514 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29515 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29516 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29517 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29518 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29519 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29520 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29521 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
29522 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
29523 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29524 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29525 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29526 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
29527 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29528 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29529 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29530 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29531 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29532 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29533 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
29534 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
29535 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29536 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29537 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
29538 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
29539 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
29540 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
29541 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29542 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
29543 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
29544 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
29545 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29546 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
29547 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29548 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29549 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29550 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29551 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29552 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
29553 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29554 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29555 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29556 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29557 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29558 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29559 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29560 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29561 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29562 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29563 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29564 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
29565 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29566 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29567 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
29568 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29569 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29570 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
29571 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29572 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29573 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
29574 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
29575 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29576 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29577 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29578 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29579 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
29580 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
29581 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29582 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
29583 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
29584 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
29585 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29586 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
29587 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
29588 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
29589 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
29590 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
29591 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
29592 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
29593 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
29594 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
29595 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29596 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29597 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29598 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29599 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
29600 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29601 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
29602 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29603 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29604 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29605 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29606 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
29607 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29608 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29609 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29610 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29611 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29612 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29613 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29614 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29615 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29616 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29617 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29618 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29619 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29620 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29621 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29622 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29623 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29624 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
7e63a440 29625 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
29626 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29627 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29628 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29629 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29630 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29631 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29632 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29633 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
29634 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
29635 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29636 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29637 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29638 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29639 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
29640 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29641 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29642 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29643 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29644 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29645 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29646 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29647 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29648 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29649 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29650 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29651 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29652 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29653 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
29654 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29655 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
29656 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29657 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29658 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29659 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
29660 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
29661 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
29662 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
29663 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
29664 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
29665 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
29666 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29667 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
29668 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
29669 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
29670 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
29671 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
29672 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
29673 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
29674 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
29675 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
29676 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
29677 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
29678 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29679 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29680 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
29681 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
29682 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29683 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
29684 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
29685 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
29686 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
29687 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
29688 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
29689 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
29690 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
29691 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
29692 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
29693 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
29694 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29695 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29696 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29697 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29698 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29699 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29700 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29701 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29702 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29703 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29704 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
29705 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29706 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29707 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29708 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29709 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29710 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29711 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29712 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29713 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
29714 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
29715 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
29716 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
29717 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29718 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29719 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
29720 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
29721 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
29722 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29723 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
29724 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29725 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29726 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29727 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
29728 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
29729 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
29730 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
29731 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29732 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
29733 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29734 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29735 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29736 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29737 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29738 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29739 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
29740 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
29741 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
29742 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
29743 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29744 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29745 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29746 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29747 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29748 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29749 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29750 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29751 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
29752 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29753 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29754 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29755 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29756 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29757 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29758 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29759 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29760 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29761 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29762 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29763 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29764 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29765 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29766 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
29767 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
29768 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
29769 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
29770 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
29771 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29772 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29773 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29774 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
29775 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
29776 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
29777 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
29778 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29779 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29780 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
29781 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29782 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29783 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
29784 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29785 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29786 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
29787 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29788 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29789 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
29790 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29791 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29792 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29793 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29794 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29795 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29796 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
29797 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29798 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29799 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
29800 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
29801 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29802 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
29803 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29804 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
29805 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29806 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29807 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
29808 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29809 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29810 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
29811 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29812 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29813 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29814 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
29815 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29816 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29817 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
29818 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29819 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
29820 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
29821 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
29822 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29823 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29824 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29825 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29826 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
29827 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29828 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29829 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29830 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
29831 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29832 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
29833 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
29834 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
29835 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
29836 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29837 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29838 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29839 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29840 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29841 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29842 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29843 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
29844 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
29845 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29846 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29847 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29848 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29849 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29850 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29851 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29852 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29853 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29854 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29855 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
29856 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29857 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29858 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29859 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29860 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29861 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29862 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29863 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
29864 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29865 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29871 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
29872 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29882 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29885 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
29886 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
29889 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
29890 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29894 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29897 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
29902 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
29903 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
29904 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
29906 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
29907 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
29908 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
29921 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
c1cb24a4
RD
29922 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29927 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29932 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL },
c32bde28 29933 { NULL, NULL, 0, NULL }
d55e5bfc
RD
29934};
29935
29936
29937/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29938
29939static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29940 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29941}
29942static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29943 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29944}
29945static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29946 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29947}
29948static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29949 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29950}
29951static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29952 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29953}
29954static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29955 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29956}
29957static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29958 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29959}
29960static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29961 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29962}
29963static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29964 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29965}
29966static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29967 return (void *)((wxEvent *) ((wxPyEvent *) x));
29968}
29969static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29970 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29971}
29972static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29973 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29974}
29975static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29976 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29977}
29978static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29980}
29981static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29982 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29983}
29984static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29985 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29986}
29987static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29988 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29989}
29990static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29991 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29992}
29993static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29994 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29995}
29996static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29997 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29998}
29999static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30000 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30001}
30002static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30003 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30004}
30005static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30006 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30007}
30008static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30009 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30010}
30011static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30012 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30013}
30014static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30015 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30016}
30017static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30018 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30019}
30020static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30021 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30022}
30023static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30024 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30025}
30026static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30027 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30028}
30029static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
30030 return (void *)((wxEvent *) ((wxProcessEvent *) x));
30031}
30032static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30033 return (void *)((wxEvent *) ((wxShowEvent *) x));
30034}
30035static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30036 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30037}
30038static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30039 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30040}
30041static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30042 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30043}
30044static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30045 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30046}
30047static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30048 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30049}
30050static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30051 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30052}
30053static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
30054 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
30055}
30056static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
30057 return (void *)((wxConfigBase *) ((wxConfig *) x));
30058}
30059static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
30060 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30061}
30062static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
30063 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
30064}
30065static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
30066 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
30067}
30068static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
30069 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
30070}
30071static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
30072 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
30073}
30074static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
30075 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
30076}
30077static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
30078 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
30079}
30080static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
30081 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
30082}
30083static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
30084 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30085}
30086static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
30087 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
30088}
30089static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
30090 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
30091}
30092static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
30093 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
30094}
30095static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
30096 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
30097}
30098static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
30099 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
30100}
30101static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
30102 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
30103}
30104static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
30105 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
30106}
30107static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
30108 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
30109}
30110static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
30111 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
30112}
30113static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
30114 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
30115}
30116static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
30117 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
30118}
30119static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
30120 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
30121}
30122static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
30123 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
30124}
30125static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30127}
30128static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30129 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30130}
30131static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30133}
30134static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30135 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30136}
30137static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
30138 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
30139}
30140static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30141 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30142}
30143static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30144 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30145}
30146static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30148}
30149static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30150 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30151}
30152static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
30153 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
30154}
30155static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
30156 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
30157}
30158static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30159 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30160}
30161static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30162 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30163}
30164static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30165 return (void *)((wxObject *) ((wxSizerItem *) x));
30166}
30167static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30169}
30170static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30171 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30172}
30173static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30174 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30175}
30176static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30177 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30178}
30179static void *_p_wxSizerTo_p_wxObject(void *x) {
30180 return (void *)((wxObject *) ((wxSizer *) x));
30181}
30182static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30183 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30184}
30185static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
30186 return (void *)((wxObject *) ((wxFileHistory *) x));
30187}
30188static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30189 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30190}
30191static void *_p_wxEventTo_p_wxObject(void *x) {
30192 return (void *)((wxObject *) ((wxEvent *) x));
30193}
30194static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30195 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30196}
30197static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30198 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30199}
30200static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30201 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30202}
30203static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30204 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30205}
30206static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30207 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30208}
30209static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30210 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30211}
30212static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30213 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30214}
30215static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30216 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30217}
30218static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30219 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30220}
30221static void *_p_wxControlTo_p_wxObject(void *x) {
30222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30223}
30224static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30225 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30226}
30227static void *_p_wxTimerEventTo_p_wxObject(void *x) {
30228 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
30229}
30230static void *_p_wxFSFileTo_p_wxObject(void *x) {
30231 return (void *)((wxObject *) ((wxFSFile *) x));
30232}
30233static void *_p_wxClipboardTo_p_wxObject(void *x) {
30234 return (void *)((wxObject *) ((wxClipboard *) x));
30235}
30236static void *_p_wxPySizerTo_p_wxObject(void *x) {
30237 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30238}
30239static void *_p_wxPyEventTo_p_wxObject(void *x) {
30240 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30241}
30242static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30244}
30245static void *_p_wxShowEventTo_p_wxObject(void *x) {
30246 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30247}
30248static void *_p_wxToolTipTo_p_wxObject(void *x) {
30249 return (void *)((wxObject *) ((wxToolTip *) x));
30250}
30251static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30252 return (void *)((wxObject *) ((wxMenuItem *) x));
30253}
30254static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30255 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30256}
30257static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30258 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30259}
30260static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30261 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30262}
30263static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30264 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30265}
30266static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30267 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30268}
30269static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30270 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30271}
30272static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30273 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30274}
30275static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30276 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30277}
30278static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30279 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30280}
30281static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30282 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30283}
30284static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30285 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30286}
30287static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30288 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30289}
30290static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30291 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30292}
30293static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30294 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30295}
30296static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30297 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30298}
30299static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30300 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30301}
30302static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30303 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30304}
30305static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30306 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30307}
30308static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30309 return (void *)((wxObject *) ((wxImageHandler *) x));
30310}
30311static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30312 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30313}
30314static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30315 return (void *)((wxObject *) ((wxEvtHandler *) x));
30316}
30317static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30318 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30319}
30320static void *_p_wxImageTo_p_wxObject(void *x) {
30321 return (void *)((wxObject *) ((wxImage *) x));
30322}
30323static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30324 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30325}
30326static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
30327 return (void *)((wxObject *) ((wxSystemOptions *) x));
30328}
30329static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
30330 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
30331}
30332static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30333 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30334}
30335static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30336 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30337}
30338static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30339 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30340}
30341static void *_p_wxWindowTo_p_wxObject(void *x) {
30342 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30343}
30344static void *_p_wxMenuTo_p_wxObject(void *x) {
30345 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30346}
30347static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30349}
30350static void *_p_wxPyProcessTo_p_wxObject(void *x) {
30351 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
30352}
30353static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30354 return (void *)((wxObject *) ((wxFileSystem *) x));
30355}
30356static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30357 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30358}
30359static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30360 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30361}
30362static void *_p_wxPyAppTo_p_wxObject(void *x) {
30363 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30364}
30365static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30366 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30367}
30368static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30369 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30370}
30371static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30372 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30373}
30374static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
30375 return (void *)((wxObject *) ((wxBusyInfo *) x));
30376}
30377static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30379}
30380static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30381 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30382}
30383static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30384 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30385}
30386static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30387 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30388}
30389static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30390 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30391}
30392static void *_p_wxProcessEventTo_p_wxObject(void *x) {
30393 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
30394}
30395static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30397}
30398static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30399 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30400}
30401static void *_p_wxValidatorTo_p_wxObject(void *x) {
30402 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30403}
30404static void *_p_wxPyTimerTo_p_wxObject(void *x) {
30405 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
30406}
30407static void *_p_wxLogStderrTo_p_wxLog(void *x) {
30408 return (void *)((wxLog *) ((wxLogStderr *) x));
30409}
30410static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
30411 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
30412}
30413static void *_p_wxLogWindowTo_p_wxLog(void *x) {
30414 return (void *)((wxLog *) ((wxLogWindow *) x));
30415}
30416static void *_p_wxLogChainTo_p_wxLog(void *x) {
30417 return (void *)((wxLog *) ((wxLogChain *) x));
30418}
30419static void *_p_wxLogGuiTo_p_wxLog(void *x) {
30420 return (void *)((wxLog *) ((wxLogGui *) x));
30421}
30422static void *_p_wxPyLogTo_p_wxLog(void *x) {
30423 return (void *)((wxLog *) ((wxPyLog *) x));
30424}
30425static void *_p_wxControlTo_p_wxWindow(void *x) {
30426 return (void *)((wxWindow *) ((wxControl *) x));
30427}
30428static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30429 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30430}
30431static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30432 return (void *)((wxWindow *) ((wxMenuBar *) x));
30433}
30434static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
30435 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
30436}
30437static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
30438 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
30439}
30440static 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}};
30441static 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}};
30442static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30443static 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}};
30444static 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}};
30445static 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}};
30446static 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}};
30447static 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}};
30448static 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}};
30449static 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}};
30450static 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}};
30451static 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}};
30452static 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}};
30453static 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}};
30454static 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}};
30455static 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}};
30456static 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}};
30457static 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}};
30458static 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}};
30459static 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}};
30460static 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}};
30461static 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}};
30462static 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}};
30463static 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}};
30464static 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}};
30465static 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}};
30466static 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}};
b1f29bf7 30467static 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}};
d55e5bfc
RD
30468static 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}};
30469static 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}};
30470static 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}};
30471static 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}};
d55e5bfc
RD
30472static 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}};
30473static 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}};
30474static 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}};
30475static 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}};
30476static 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}};
30477static 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}};
30478static 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}};
30479static 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}};
30480static 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}};
30481static 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}};
30482static 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}};
30483static 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}};
30484static 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}};
30485static 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}};
30486static 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}};
30487static 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}};
30488static 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}};
30489static 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}};
30490static 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}};
30491static 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}};
30492static 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}};
c1cb24a4 30493static 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}};
d55e5bfc
RD
30494static 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}};
30495static 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}};
30496static 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}};
30497static 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}};
30498static 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}};
30499static 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}};
30500static 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}};
30501static 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}};
30502static 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}};
30503static 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}};
30504static 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}};
30505static 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}};
30506static 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}};
30507static 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}};
30508static 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}};
30509static 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}};
30510static 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}};
30511static 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}};
30512static 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}};
30513static 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}};
30514static 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}};
30515static 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}};
30516static 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}};
30517static 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}};
30518static 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}};
30519static 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}};
30520static 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}};
30521static 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}};
30522static 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}};
30523static 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}};
d55e5bfc
RD
30524static 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}};
30525static 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}};
30526static 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}};
30527
30528static swig_type_info *swig_types_initial[] = {
30529_swigt__p_wxLogChain,
30530_swigt__p_wxMutexGuiLocker,
30531_swigt__p_wxMetafile,
30532_swigt__p_wxFileHistory,
30533_swigt__p_wxLog,
30534_swigt__p_wxDateTime__TimeZone,
30535_swigt__p_wxMenu,
30536_swigt__p_wxEvent,
30537_swigt__p_wxConfigBase,
30538_swigt__p_wxDisplay,
30539_swigt__p_wxFileType,
30540_swigt__p_wxLogGui,
30541_swigt__p_wxFont,
30542_swigt__p_wxDataFormat,
30543_swigt__p_wxTimerEvent,
30544_swigt__p_wxCaret,
30545_swigt__p_int,
30546_swigt__p_wxSize,
30547_swigt__p_wxClipboard,
30548_swigt__p_wxStopWatch,
30549_swigt__p_wxDC,
30550_swigt__p_wxClipboardLocker,
30551_swigt__p_wxIcon,
30552_swigt__p_wxLogStderr,
30553_swigt__p_wxLogTextCtrl,
30554_swigt__p_wxTextCtrl,
30555_swigt__p_wxBusyCursor,
b1f29bf7 30556_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
30557_swigt__p_wxPyTextDataObject,
30558_swigt__p_wxBitmapDataObject,
30559_swigt__p_wxTextDataObject,
30560_swigt__p_wxDataObject,
d55e5bfc
RD
30561_swigt__p_wxFileDataObject,
30562_swigt__p_wxCustomDataObject,
30563_swigt__p_wxURLDataObject,
30564_swigt__p_wxMetafileDataObject,
30565_swigt__p_wxSound,
30566_swigt__p_wxTimerRunner,
30567_swigt__p_wxLogWindow,
30568_swigt__p_wxTimeSpan,
30569_swigt__p_wxArrayString,
30570_swigt__p_wxWindowDisabler,
30571_swigt__p_wxToolTip,
30572_swigt__p_wxDataObjectComposite,
30573_swigt__p_wxFileConfig,
30574_swigt__p_wxSystemSettings,
30575_swigt__p_wxVideoMode,
30576_swigt__p_wxPyDataObjectSimple,
30577_swigt__p_wxDataObjectSimple,
30578_swigt__p_wxEvtHandler,
30579_swigt__p_wxRect,
30580_swigt__p_char,
30581_swigt__p_wxSingleInstanceChecker,
c1cb24a4 30582_swigt__p_wxStandardPaths,
d55e5bfc
RD
30583_swigt__p_wxFileTypeInfo,
30584_swigt__p_wxFrame,
30585_swigt__p_wxTimer,
30586_swigt__p_wxMimeTypesManager,
30587_swigt__p_wxPyArtProvider,
30588_swigt__p_wxPyTipProvider,
30589_swigt__p_wxTipProvider,
30590_swigt__p_wxJoystick,
30591_swigt__p_wxSystemOptions,
30592_swigt__p_wxPoint,
30593_swigt__p_wxJoystickEvent,
30594_swigt__p_wxCursor,
30595_swigt__p_wxObject,
30596_swigt__p_wxOutputStream,
30597_swigt__p_wxDateTime,
30598_swigt__p_wxPyDropSource,
30599_swigt__p_wxWindow,
30600_swigt__p_wxString,
30601_swigt__p_wxPyProcess,
30602_swigt__p_wxBitmap,
30603_swigt__p_wxConfig,
30604_swigt__p_wxChar,
30605_swigt__p_wxBusyInfo,
30606_swigt__p_wxPyDropTarget,
30607_swigt__p_wxPyTextDropTarget,
30608_swigt__p_wxPyFileDropTarget,
30609_swigt__p_wxProcessEvent,
30610_swigt__p_wxPyLog,
30611_swigt__p_wxLogNull,
30612_swigt__p_wxColour,
d55e5bfc
RD
30613_swigt__p_wxConfigPathChanger,
30614_swigt__p_wxPyTimer,
30615_swigt__p_wxDateSpan,
306160
30617};
30618
30619
30620/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30621
30622static swig_const_info swig_const_table[] = {
30623{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
30624{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
30625{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
30626{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
30627{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 30628{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
30629
30630#ifdef __cplusplus
30631}
30632#endif
30633
30634#ifdef __cplusplus
30635extern "C"
30636#endif
30637SWIGEXPORT(void) SWIG_init(void) {
30638 static PyObject *SWIG_globals = 0;
30639 static int typeinit = 0;
30640 PyObject *m, *d;
30641 int i;
30642 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30643 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30644 d = PyModule_GetDict(m);
30645
30646 if (!typeinit) {
30647 for (i = 0; swig_types_initial[i]; i++) {
30648 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30649 }
30650 typeinit = 1;
30651 }
30652 SWIG_InstallConstants(d,swig_const_table);
30653
c32bde28
RD
30654 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT));
30655 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT));
30656 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT));
30657 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT));
30658 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT));
30659 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE));
30660 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT));
30661 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT));
30662 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT));
30663 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR));
30664 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND));
30665 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP));
30666 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION));
30667 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION));
30668 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU));
30669 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW));
30670 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME));
30671 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT));
30672 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT));
30673 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT));
30674 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER));
30675 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER));
30676 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE));
30677 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT));
30678 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
30679 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE));
30680 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE));
30681 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW));
30682 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW));
30683 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT));
30684 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT));
30685 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
30686 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT));
30687 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT));
30688 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT));
30689 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT));
30690 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW));
30691 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT));
30692 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT));
30693 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK));
30694 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX));
30695 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT));
30696 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
30697 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
30698 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT));
30699 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR));
30700 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX));
30701 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS));
30702 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X));
30703 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y));
30704 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X));
30705 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y));
30706 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X));
30707 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y));
30708 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X));
30709 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y));
30710 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X));
30711 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y));
30712 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X));
30713 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y));
30714 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X));
30715 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X));
30716 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y));
30717 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X));
30718 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y));
30719 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X));
30720 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y));
30721 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X));
30722 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y));
30723 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X));
30724 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y));
30725 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X));
30726 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y));
30727 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y));
30728 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X));
30729 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X));
30730 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y));
30731 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y));
30732 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y));
30733 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y));
30734 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT));
30735 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT));
30736 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS));
30737 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS));
30738 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
30739 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME));
30740 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE));
30741 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY));
30742 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA));
30743 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL));
30744 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP));
d55e5bfc 30745 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
7e63a440 30746 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
d55e5bfc
RD
30747 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30748 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30749 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
c32bde28
RD
30750 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF));
30751 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT));
30752 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS));
30753 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT));
d55e5bfc 30754 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
30755
30756 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30757
c32bde28
RD
30758 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError));
30759 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)wxLOG_Error));
30760 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning));
30761 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)wxLOG_Message));
30762 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)wxLOG_Status));
30763 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)wxLOG_Info));
30764 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug));
30765 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace));
30766 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress));
30767 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)wxLOG_User));
30768 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)wxLOG_Max));
d55e5bfc
RD
30769 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30770 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30771 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30772 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30773 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
c32bde28
RD
30774 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30775 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)0x0002));
30776 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)0x0004));
30777 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)0x0008));
30778 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)0x0100));
30779 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT));
30780 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT));
30781 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)wxKILL_OK));
30782 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL));
30783 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED));
30784 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS));
30785 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR));
30786 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)wxSIGNONE));
30787 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)wxSIGHUP));
30788 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)wxSIGINT));
30789 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT));
30790 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)wxSIGILL));
30791 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP));
30792 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)wxSIGABRT));
30793 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)wxSIGIOT));
30794 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)wxSIGEMT));
30795 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)wxSIGFPE));
30796 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)wxSIGKILL));
30797 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)wxSIGBUS));
30798 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV));
30799 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)wxSIGSYS));
30800 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE));
30801 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)wxSIGALRM));
30802 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)wxSIGTERM));
d55e5bfc 30803 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
c32bde28
RD
30804 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC));
30805 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC));
30806 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE));
30807 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER));
d55e5bfc
RD
30808
30809 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30810
c32bde28
RD
30811 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1));
30812 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2));
30813 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY));
30814 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1));
30815 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2));
30816 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3));
30817 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4));
d55e5bfc
RD
30818 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
30819 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
30820 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
30821 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
c32bde28
RD
30822 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC));
30823 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC));
30824 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP));
30825 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD));
30826 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE));
30827 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE));
30828 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME));
30829 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL));
d55e5bfc
RD
30830 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
30831 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
30832 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
30833 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
30834 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
30835 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
30836 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 30837 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
30838 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
30839 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
30840 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
30841 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
30842 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
30843 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30844 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30845 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30846 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30847 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30848 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30849 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30850 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30851 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30852 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30853 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30854 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30855 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30856 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30857 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30858 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
30859 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
30860 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
30861 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
30862 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 30863 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 30864 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
30865 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30866 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30867 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30868 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30869 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30870 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30871 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30872 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30873 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30874 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30875
30876 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30877
c32bde28
RD
30878 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE));
30879 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE));
30880 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH));
30881 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30882 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown));
30883 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String));
30884 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean));
30885 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer));
30886 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float));
d55e5bfc
RD
30887 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30888 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
c32bde28
RD
30889 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local));
30890 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12));
30891 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11));
30892 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10));
30893 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9));
30894 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8));
30895 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7));
30896 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6));
30897 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5));
30898 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4));
30899 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3));
30900 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2));
30901 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1));
30902 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0));
30903 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1));
30904 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2));
30905 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3));
30906 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4));
30907 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5));
30908 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6));
30909 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7));
30910 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8));
30911 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9));
30912 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10));
30913 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11));
30914 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12));
30915 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET));
30916 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST));
30917 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET));
30918 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST));
30919 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET));
30920 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST));
30921 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK));
30922 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD));
30923 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST));
30924 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT));
30925 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST));
30926 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT));
30927 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST));
30928 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT));
30929 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST));
30930 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT));
30931 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST));
30932 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT));
30933 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST));
30934 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST));
30935 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT));
30936 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST));
30937 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST));
30938 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST));
30939 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST));
30940 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC));
30941 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian));
30942 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian));
30943 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown));
30944 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard));
30945 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska));
30946 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania));
30947 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria));
30948 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen));
30949 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg));
30950 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol));
30951 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia));
30952 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria));
30953 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium));
30954 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria));
30955 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1));
30956 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2));
30957 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3));
30958 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada));
30959 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China));
30960 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1));
30961 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2));
30962 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia));
30963 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark));
30964 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt));
30965 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia));
30966 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland));
30967 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France));
30968 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace));
30969 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine));
30970 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg));
30971 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany));
30972 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic));
30973 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia));
30974 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant));
30975 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain));
30976 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece));
30977 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary));
30978 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland));
30979 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy));
30980 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan));
30981 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1));
30982 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2));
30983 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3));
30984 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia));
30985 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania));
30986 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg));
30987 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands));
30988 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen));
30989 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland));
30990 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht));
30991 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland));
30992 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway));
30993 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland));
30994 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal));
30995 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania));
30996 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia));
30997 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland));
30998 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain));
30999 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden));
31000 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland));
31001 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic));
31002 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant));
31003 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey));
31004 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA));
31005 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales));
31006 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia));
31007 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown));
31008 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default));
31009 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start));
31010 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC));
31011 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)wxDateTime::France));
31012 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany));
31013 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK));
31014 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End));
31015 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia));
31016 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA));
31017 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan));
31018 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb));
31019 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar));
31020 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr));
31021 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)wxDateTime::May));
31022 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun));
31023 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul));
31024 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug));
31025 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep));
31026 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct));
31027 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov));
31028 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec));
31029 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month));
31030 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun));
31031 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon));
31032 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue));
31033 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed));
31034 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu));
31035 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri));
31036 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat));
31037 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay));
31038 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year));
31039 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full));
31040 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr));
31041 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First));
31042 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First));
31043 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First));
d55e5bfc 31044 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
c32bde28
RD
31045 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID));
31046 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT));
31047 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP));
31048 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE));
31049 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK));
31050 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)wxDF_DIF));
31051 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF));
31052 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT));
31053 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)wxDF_DIB));
31054 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE));
31055 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA));
31056 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF));
31057 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE));
31058 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT));
31059 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE));
31060 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME));
31061 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE));
31062 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE));
31063 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)wxDF_HTML));
31064 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)wxDF_MAX));
d55e5bfc 31065 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
c32bde28
RD
31066 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get));
31067 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set));
31068 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both));
31069 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly));
31070 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove));
31071 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove));
31072 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)wxDragError));
31073 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)wxDragNone));
31074 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)wxDragCopy));
31075 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)wxDragMove));
31076 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)wxDragLink));
31077 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)wxDragCancel));
d55e5bfc
RD
31078
31079 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31080 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31081 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31082 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31083
d55e5bfc
RD
31084 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
31085}
31086