]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/misc_wrap.cpp
build doc update for MSW
[wxWidgets.git] / wxPython / src / mac / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLogChain swig_types[0]
210#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211#define SWIGTYPE_p_wxMetafile swig_types[2]
212#define SWIGTYPE_p_wxFileHistory swig_types[3]
213#define SWIGTYPE_p_wxLog swig_types[4]
214#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215#define SWIGTYPE_p_wxMenu swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
217#define SWIGTYPE_p_wxConfigBase swig_types[8]
02a34c4c
RD
218#define SWIGTYPE_p_wxFileType swig_types[9]
219#define SWIGTYPE_p_wxLogGui swig_types[10]
220#define SWIGTYPE_p_wxFont swig_types[11]
221#define SWIGTYPE_p_wxDataFormat swig_types[12]
222#define SWIGTYPE_p_wxTimerEvent swig_types[13]
223#define SWIGTYPE_p_wxCaret swig_types[14]
224#define SWIGTYPE_p_int swig_types[15]
225#define SWIGTYPE_p_wxSize swig_types[16]
226#define SWIGTYPE_p_wxClipboard swig_types[17]
227#define SWIGTYPE_p_wxStopWatch swig_types[18]
228#define SWIGTYPE_p_wxDC swig_types[19]
229#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230#define SWIGTYPE_p_wxIcon swig_types[21]
231#define SWIGTYPE_p_wxLogStderr swig_types[22]
232#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233#define SWIGTYPE_p_wxTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxBusyCursor swig_types[25]
235#define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
236#define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
237#define SWIGTYPE_p_wxTextDataObject swig_types[28]
238#define SWIGTYPE_p_wxDataObject swig_types[29]
239#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
240#define SWIGTYPE_p_wxFileDataObject swig_types[31]
241#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242#define SWIGTYPE_p_wxURLDataObject swig_types[33]
243#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244#define SWIGTYPE_p_wxSound swig_types[35]
d14a1e28
RD
245#define SWIGTYPE_p_wxTimerRunner swig_types[36]
246#define SWIGTYPE_p_wxLogWindow swig_types[37]
247#define SWIGTYPE_p_wxTimeSpan swig_types[38]
248#define SWIGTYPE_p_wxArrayString swig_types[39]
249#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250#define SWIGTYPE_p_wxToolTip swig_types[41]
251#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252#define SWIGTYPE_p_wxFileConfig swig_types[43]
253#define SWIGTYPE_p_wxSystemSettings swig_types[44]
254#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
255#define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
256#define SWIGTYPE_p_wxEvtHandler swig_types[47]
257#define SWIGTYPE_p_wxRect swig_types[48]
8edf1c75
RD
258#define SWIGTYPE_p_char swig_types[49]
259#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
260#define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
261#define SWIGTYPE_p_wxFrame swig_types[52]
262#define SWIGTYPE_p_wxTimer swig_types[53]
263#define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
264#define SWIGTYPE_p_wxPyArtProvider swig_types[55]
265#define SWIGTYPE_p_wxPyTipProvider swig_types[56]
266#define SWIGTYPE_p_wxTipProvider swig_types[57]
267#define SWIGTYPE_p_wxJoystick swig_types[58]
268#define SWIGTYPE_p_wxSystemOptions swig_types[59]
269#define SWIGTYPE_p_wxPoint swig_types[60]
270#define SWIGTYPE_p_wxJoystickEvent swig_types[61]
271#define SWIGTYPE_p_wxCursor swig_types[62]
272#define SWIGTYPE_p_wxObject swig_types[63]
273#define SWIGTYPE_p_wxOutputStream swig_types[64]
274#define SWIGTYPE_p_wxDateTime swig_types[65]
275#define SWIGTYPE_p_wxPyDropSource swig_types[66]
276#define SWIGTYPE_p_wxWindow swig_types[67]
277#define SWIGTYPE_p_wxString swig_types[68]
278#define SWIGTYPE_p_wxPyProcess swig_types[69]
279#define SWIGTYPE_p_wxBitmap swig_types[70]
280#define SWIGTYPE_p_wxConfig swig_types[71]
281#define SWIGTYPE_p_wxChar swig_types[72]
282#define SWIGTYPE_p_wxBusyInfo swig_types[73]
283#define SWIGTYPE_p_wxPyDropTarget swig_types[74]
284#define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
285#define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
286#define SWIGTYPE_p_wxProcessEvent swig_types[77]
287#define SWIGTYPE_p_wxPyLog swig_types[78]
288#define SWIGTYPE_p_wxLogNull swig_types[79]
289#define SWIGTYPE_p_wxColour swig_types[80]
02a34c4c
RD
290#define SWIGTYPE_p_wxByte swig_types[81]
291#define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292#define SWIGTYPE_p_wxPyTimer swig_types[83]
293#define SWIGTYPE_p_wxDateSpan swig_types[84]
294static swig_type_info *swig_types[86];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _misc.so
301 ------------------------------------------------*/
302#define SWIG_init init_misc
303
304#define SWIG_name "_misc"
305
2f4c0a16 306/* Auxiliar swig macros */
8edf1c75 307
8edf1c75 308#ifdef __cplusplus
2f4c0a16 309#define SWIGSTATICINLINE(a) static inline a
8edf1c75 310#define SWIGSTATIC(a) static a
2f4c0a16
RD
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 316
8edf1c75 317#ifdef HAVE_NUMERIC_CAST
2f4c0a16 318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 319#else
2f4c0a16 320#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
321#endif
322
2f4c0a16
RD
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
8edf1c75
RD
335
336
2f4c0a16
RD
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
347
348
d14a1e28
RD
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351#include "wx/wxPython/pyistream.h"
352
d14a1e28 353
cbd72d4f 354 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
355
356
8edf1c75 357
2f4c0a16
RD
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382}
383
384
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
387{
388 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
389}
390
391
392#if INT_MAX != LONG_MAX
393SWIGSTATICINLINE(int)
394SWIG_AsInt(PyObject *obj)
8edf1c75 395{
2f4c0a16
RD
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj),
398 "int", INT_MIN, INT_MAX));
399}
400#else
401#define SWIG_AsInt SWIG_AsLong
402#endif
403
404
405SWIGSTATICINLINE(int)
406SWIG_CheckInt(PyObject* obj)
407{
408 SWIG_AsInt(obj);
409 if (PyErr_Occurred()) {
410 PyErr_Clear();
411 return 0;
412 } else {
413 return 1;
414 }
8edf1c75
RD
415}
416
cbd72d4f
RD
417 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
418 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
419 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 420
2f4c0a16
RD
421SWIGSTATICINLINE(int)
422SWIG_CheckLong(PyObject* obj)
8edf1c75 423{
2f4c0a16
RD
424 SWIG_AsLong(obj);
425 if (PyErr_Occurred()) {
426 PyErr_Clear();
427 return 0;
428 } else {
429 return 1;
430 }
8edf1c75
RD
431}
432
433
2f4c0a16
RD
434SWIGSTATICINLINE(bool)
435SWIG_AsBool(PyObject *obj)
8edf1c75
RD
436{
437 return PyObject_IsTrue(obj) ? true : false;
438}
439
440
2f4c0a16
RD
441SWIGSTATICINLINE(int)
442SWIG_CheckBool(PyObject* obj)
443{
444 SWIG_AsBool(obj);
445 if (PyErr_Occurred()) {
446 PyErr_Clear();
447 return 0;
448 } else {
449 return 1;
450 }
451}
452
453
d14a1e28
RD
454static PyObject* t_output_helper(PyObject* target, PyObject* o) {
455 PyObject* o2;
456 PyObject* o3;
457
458 if (!target) {
459 target = o;
460 } else if (target == Py_None) {
461 Py_DECREF(Py_None);
462 target = o;
463 } else {
464 if (!PyTuple_Check(target)) {
465 o2 = target;
466 target = PyTuple_New(1);
467 PyTuple_SetItem(target, 0, o2);
468 }
469 o3 = PyTuple_New(1);
470 PyTuple_SetItem(o3, 0, o);
471
472 o2 = target;
473 target = PySequence_Concat(o2, o3);
474 Py_DECREF(o2);
475 Py_DECREF(o3);
476 }
477 return target;
478}
479
480
2f4c0a16
RD
481SWIGSTATICINLINE(unsigned long)
482SWIG_AsUnsignedLong(PyObject * obj)
483{
484 if (PyLong_Check(obj)) {
485 return PyLong_AsUnsignedLong(obj);
486 } else {
487 long i = PyInt_AsLong(obj);
488 if ( !PyErr_Occurred() && (i < 0)) {
489 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
490 }
491 return i;
492 }
493}
494
495
496SWIGSTATICINLINE(int)
497SWIG_CheckUnsignedLong(PyObject* obj)
498{
499 SWIG_AsUnsignedLong(obj);
500 if (PyErr_Occurred()) {
501 PyErr_Clear();
502 return 0;
503 } else {
504 return 1;
505 }
506}
507
508
509SWIGSTATICINLINE(PyObject* )
510SWIG_FromUnsignedLong(unsigned long value)
8edf1c75 511{
2f4c0a16
RD
512 return (value > LONG_MAX) ?
513 PyLong_FromUnsignedLong(value)
514 : PyInt_FromLong(swig_numeric_cast(long,value));
8edf1c75
RD
515}
516
517
d14a1e28
RD
518 bool wxThread_IsMain() {
519#ifdef WXP_WITH_THREAD
520 return wxThread::IsMain();
521#else
423f194a 522 return True;
d14a1e28
RD
523#endif
524 }
525
526
527 int wxCaret_GetBlinkTime() {
528 return wxCaret::GetBlinkTime();
529 }
530
531 void wxCaret_SetBlinkTime(int milliseconds) {
532 wxCaret::SetBlinkTime(milliseconds);
533 }
534
535
536#include <wx/snglinst.h>
537
538
539#ifdef __WXMSW__
540#include <wx/msw/private.h>
541#include <wx/dynload.h>
542#endif
543
544
545
546void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
547{
548#ifdef __WXMSW__
549
550 switch (method)
551 {
552 case 1:
553 // This one only partially works. Appears to be an undocumented
554 // "standard" convention that not all widgets adhear to. For
555 // example, for some widgets backgrounds or non-client areas may
556 // not be painted.
557 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
558 break;
559
560 case 2:
561 // This one works much better, except for on XP. On Win2k nearly
562 // all widgets and their children are captured correctly[**]. On
563 // XP with Themes activated most native widgets draw only
564 // partially, if at all. Without themes it works just like on
565 // Win2k.
566 //
567 // ** For example the radio buttons in a wxRadioBox are not its
568 // children by default, but you can capture it via the panel
569 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
570 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
571 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
572 PRF_ERASEBKGND | PRF_OWNED );
573 break;
574
575 case 3:
576 // This one is only defined in the latest SDK and is only
577 // available on XP. MSDN says it is similar to sending WM_PRINT
578 // so I expect that it will work similar to the above. Since it
579 // is avaialble only on XP, it can't be compiled like this and
580 // will have to be loaded dynamically.
581 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
582
583 // fall through
584
585 case 4:
586 // Use PrintWindow if available, or fallback to WM_PRINT
587 // otherwise. Unfortunately using PrintWindow is even worse than
588 // WM_PRINT. For most native widgets nothing is drawn to the dc
589 // at all, with or without Themes.
590 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 591 static bool s_triedToLoad = False;
d14a1e28
RD
592 static PrintWindow_t pfnPrintWindow = NULL;
593 if ( !s_triedToLoad )
594 {
595
423f194a 596 s_triedToLoad = True;
d14a1e28
RD
597 wxDynamicLibrary dllUser32(_T("user32.dll"));
598 if ( dllUser32.IsLoaded() )
599 {
600 wxLogNull nolog; // Don't report errors here
601 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
602 }
603 }
604 if (pfnPrintWindow)
605 {
606 printf("Using PrintWindow\n");
607 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
608 }
609 else
610 {
611 printf("Using WM_PRINT\n");
612 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
613 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
614 }
615 }
616#endif
617}
618
619
620
621#include <wx/tipdlg.h>
622
623
624class wxPyTipProvider : public wxTipProvider {
625public:
626 wxPyTipProvider(size_t currentTip)
627 : wxTipProvider(currentTip) {}
628
629 DEC_PYCALLBACK_STRING__pure(GetTip);
630 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
631 PYPRIVATE;
632};
633
634IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
635IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
636
637
638IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
639
8edf1c75 640
2f4c0a16
RD
641SWIGSTATICINLINE(PyObject *)
642SWIG_FromCharPtr(const char* cptr)
643{
644 size_t size = cptr ? strlen(cptr) : 0;
645 if (cptr) {
646 if (size > INT_MAX) {
647 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
648 SWIG_TypeQuery("char *"), 0);
649 } else {
650 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
651 }
652 } else {
653 Py_INCREF(Py_None);
654 return Py_None;
655 }
656}
657
658
659SWIGSTATICINLINE(unsigned long)
660SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
661 unsigned long max_value)
662{
663 if (!PyErr_Occurred()) {
664 if (value > max_value) {
665 PyObject *err =
666 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
667 value, type, max_value);
668 PyErr_SetObject(PyExc_OverflowError, err);
669 Py_DECREF(err);
670 }
671 }
672 return value;
673}
674
675
676#if UINT_MAX != ULONG_MAX
677SWIGSTATICINLINE(unsigned int)
678SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 679{
2f4c0a16
RD
680 return swig_numeric_cast(unsigned int,
681 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
682 "unsigned int", UINT_MAX));
683}
684#else
685#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
686#endif
687
688
689SWIGSTATICINLINE(int)
690SWIG_CheckUnsignedInt(PyObject* obj)
691{
692 SWIG_AsUnsignedInt(obj);
693 if (PyErr_Occurred()) {
694 PyErr_Clear();
695 return 0;
696 } else {
697 return 1;
698 }
8edf1c75
RD
699}
700
d14a1e28
RD
701wxString Log_TimeStamp(){
702 wxString msg;
703 wxLog::TimeStamp(&msg);
704 return msg;
705 }
706void wxLog_Destroy(wxLog *self){ delete self; }
707
708// A wxLog class that can be derived from in wxPython
709class wxPyLog : public wxLog {
710public:
711 wxPyLog() : wxLog() {}
712
713 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
714 bool found;
715 wxPyBeginBlockThreads();
716 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
717 PyObject* s = wx2PyString(szString);
718 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
719 Py_DECREF(s);
720 }
721 wxPyEndBlockThreads();
722 if (! found)
723 wxLog::DoLog(level, szString, t);
724 }
725
726 virtual void DoLogString(const wxChar *szString, time_t t) {
727 bool found;
728 wxPyBeginBlockThreads();
729 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
730 PyObject* s = wx2PyString(szString);
731 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
732 Py_DECREF(s);
733 }
734 wxPyEndBlockThreads();
735 if (! found)
736 wxLog::DoLogString(szString, t);
737 }
738
739 PYPRIVATE;
740};
741
742
743
744
745IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
746
747
748#include <wx/joystick.h>
749
750
751#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
752// A C++ stub class for wxJoystick for platforms that don't have it.
753class wxJoystick : public wxObject {
754public:
755 wxJoystick(int joystick = wxJOYSTICK1) {
756 wxPyBeginBlockThreads();
cbd72d4f
RD
757 PyErr_SetString(PyExc_NotImplementedError,
758 "wxJoystick is not available on this platform.");
d14a1e28
RD
759 wxPyEndBlockThreads();
760 }
761 wxPoint GetPosition() { return wxPoint(-1,-1); }
762 int GetZPosition() { return -1; }
763 int GetButtonState() { return -1; }
764 int GetPOVPosition() { return -1; }
765 int GetPOVCTSPosition() { return -1; }
766 int GetRudderPosition() { return -1; }
767 int GetUPosition() { return -1; }
768 int GetVPosition() { return -1; }
769 int GetMovementThreshold() { return -1; }
770 void SetMovementThreshold(int threshold) {}
771
423f194a 772 bool IsOk(void) { return False; }
d14a1e28
RD
773 int GetNumberJoysticks() { return -1; }
774 int GetManufacturerId() { return -1; }
775 int GetProductId() { return -1; }
776 wxString GetProductName() { return ""; }
777 int GetXMin() { return -1; }
778 int GetYMin() { return -1; }
779 int GetZMin() { return -1; }
780 int GetXMax() { return -1; }
781 int GetYMax() { return -1; }
782 int GetZMax() { return -1; }
783 int GetNumberButtons() { return -1; }
784 int GetNumberAxes() { return -1; }
785 int GetMaxButtons() { return -1; }
786 int GetMaxAxes() { return -1; }
787 int GetPollingMin() { return -1; }
788 int GetPollingMax() { return -1; }
789 int GetRudderMin() { return -1; }
790 int GetRudderMax() { return -1; }
791 int GetUMin() { return -1; }
792 int GetUMax() { return -1; }
793 int GetVMin() { return -1; }
794 int GetVMax() { return -1; }
795
423f194a
RD
796 bool HasRudder() { return False; }
797 bool HasZ() { return False; }
798 bool HasU() { return False; }
799 bool HasV() { return False; }
800 bool HasPOV() { return False; }
801 bool HasPOV4Dir() { return False; }
802 bool HasPOVCTS() { return False; }
d14a1e28 803
423f194a
RD
804 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
805 bool ReleaseCapture() { return False; }
d14a1e28
RD
806};
807#endif
808
809
02a34c4c 810#include <wx/sound.h>
d14a1e28
RD
811
812
dff1fa9b 813#if !wxUSE_SOUND
d14a1e28 814// A C++ stub class for wxWave for platforms that don't have it.
02a34c4c 815class wxSound : public wxObject
d14a1e28
RD
816{
817public:
02a34c4c 818 wxSound() {
d14a1e28 819 wxPyBeginBlockThreads();
cbd72d4f 820 PyErr_SetString(PyExc_NotImplementedError,
02a34c4c 821 "wxSound is not available on this platform.");
d14a1e28
RD
822 wxPyEndBlockThreads();
823 }
02a34c4c 824 wxSound(const wxString&, bool) {
d14a1e28 825 wxPyBeginBlockThreads();
cbd72d4f 826 PyErr_SetString(PyExc_NotImplementedError,
02a34c4c 827 "wxSound is not available on this platform.");
d14a1e28
RD
828 wxPyEndBlockThreads();
829 }
02a34c4c
RD
830 wxSound(int, const wxByte*) {
831 wxPyBeginBlockThreads();
832 PyErr_SetString(PyExc_NotImplementedError,
833 "wxSound is not available on this platform.");
834 wxPyEndBlockThreads();
835 }
836
837 ~wxSound() {};
d14a1e28 838
02a34c4c
RD
839 bool Create(const wxString&, bool) { return false; }
840 bool Create(int, const wxByte*) { return false; };
841 bool IsOk() { return false; };
842 bool Play(unsigned) const { return false; }
843 static bool Play(const wxString&, unsigned) { return false; }
844 static void Stop() {}
d14a1e28
RD
845};
846
847#endif
848
02a34c4c
RD
849bool wxSound_Create__SWIG_1(wxSound *self,int size,wxByte const *data){
850 wxPyBeginBlockThreads();
851 PyErr_SetString(PyExc_NotImplementedError,
852 "Create from data is not available on this platform.");
853 wxPyEndBlockThreads();
b409bb30 854 return False;
d14a1e28 855 }
02a34c4c 856void Sound_Stop(){}
d14a1e28
RD
857
858#include <wx/mimetype.h>
859
860PyObject *wxFileType_GetMimeType(wxFileType *self){
861 wxString str;
862 if (self->GetMimeType(&str))
863 return wx2PyString(str);
864 else
865 RETURN_NONE();
866 }
867PyObject *wxFileType_GetMimeTypes(wxFileType *self){
868 wxArrayString arr;
869 if (self->GetMimeTypes(arr))
870 return wxArrayString2PyList_helper(arr);
871 else
872 RETURN_NONE();
873 }
874PyObject *wxFileType_GetExtensions(wxFileType *self){
875 wxArrayString arr;
876 if (self->GetExtensions(arr))
877 return wxArrayString2PyList_helper(arr);
878 else
879 RETURN_NONE();
880 }
881wxIcon *wxFileType_GetIcon(wxFileType *self){
882 wxIconLocation loc;
883 if (self->GetIcon(&loc))
884 return new wxIcon(loc);
885 else
886 return NULL;
887 }
888PyObject *wxFileType_GetIconInfo(wxFileType *self){
889 wxIconLocation loc;
890 if (self->GetIcon(&loc)) {
891 wxString iconFile = loc.GetFileName();
892 int iconIndex = -1;
893
894
895
896 // Make a tuple and put the values in it
897 wxPyBeginBlockThreads();
898 PyObject* tuple = PyTuple_New(3);
899 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
423f194a 900 wxT("wxIcon"), True));
d14a1e28
RD
901 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
902 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
903 wxPyEndBlockThreads();
904 return tuple;
905 }
906 else
907 RETURN_NONE();
908 }
909PyObject *wxFileType_GetDescription(wxFileType *self){
910 wxString str;
911 if (self->GetDescription(&str))
912 return wx2PyString(str);
913 else
914 RETURN_NONE();
915 }
916PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
917 wxString str;
918 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
919 return wx2PyString(str);
920 else
921 RETURN_NONE();
922 }
923PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
924 wxString str;
925 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
926 return wx2PyString(str);
927 else
928 RETURN_NONE();
929 }
930PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
931 wxArrayString verbs;
932 wxArrayString commands;
933 if (self->GetAllCommands(&verbs, &commands,
934 wxFileType::MessageParameters(filename, mimetype))) {
935 wxPyBeginBlockThreads();
936 PyObject* tuple = PyTuple_New(2);
937 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
938 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
939 wxPyEndBlockThreads();
940 return tuple;
941 }
942 else
943 RETURN_NONE();
944 }
945wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
946 return wxFileType::ExpandCommand(command,
947 wxFileType::MessageParameters(filename, mimetype));
948 }
949PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
950 wxArrayString arr;
951 self->EnumAllFileTypes(arr);
952 return wxArrayString2PyList_helper(arr);
953 }
954
955#include <wx/artprov.h>
956
957 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
958 static const wxString wxPyART_MENU(wxART_MENU);
959 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
960 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
961 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
962 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
963 static const wxString wxPyART_OTHER(wxART_OTHER);
964 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
965 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
966 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
967 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
968 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
969 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
970 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
971 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
972 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
973 static const wxString wxPyART_GO_UP(wxART_GO_UP);
974 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
975 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
976 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
977 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
978 static const wxString wxPyART_PRINT(wxART_PRINT);
979 static const wxString wxPyART_HELP(wxART_HELP);
980 static const wxString wxPyART_TIP(wxART_TIP);
981 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
982 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
983 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
984 static const wxString wxPyART_FOLDER(wxART_FOLDER);
985 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
986 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
987 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
988 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
989 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
990 static const wxString wxPyART_ERROR(wxART_ERROR);
991 static const wxString wxPyART_QUESTION(wxART_QUESTION);
992 static const wxString wxPyART_WARNING(wxART_WARNING);
993 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
994 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
995 // Python aware wxArtProvider
996class wxPyArtProvider : public wxArtProvider {
997public:
998
999 virtual wxBitmap CreateBitmap(const wxArtID& id,
1000 const wxArtClient& client,
1001 const wxSize& size) {
1002 wxBitmap rval = wxNullBitmap;
1003 wxPyBeginBlockThreads();
1004 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1005 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1006 PyObject* ro;
1007 wxBitmap* ptr;
1008 PyObject* s1, *s2;
1009 s1 = wx2PyString(id);
1010 s2 = wx2PyString(client);
1011 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1012 Py_DECREF(so);
1013 Py_DECREF(s1);
1014 Py_DECREF(s2);
1015 if (ro) {
1016 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1017 rval = *ptr;
1018 Py_DECREF(ro);
1019 }
1020 }
1021 wxPyEndBlockThreads();
1022 return rval;
1023 }
1024
1025 PYPRIVATE;
1026};
1027
41f1cec7 1028void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
1029
1030
1031
1032 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1033 PyObject* ret = PyTuple_New(3);
1034 if (ret) {
1035 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1036 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1037 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1038 }
1039 return ret;
1040 }
1041
1042PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1043 bool cont;
1044 long index = 0;
1045 wxString value;
1046
1047 cont = self->GetFirstGroup(value, index);
1048 return __EnumerationHelper(cont, value, index);
1049 }
1050PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1051 bool cont;
1052 wxString value;
1053
1054 cont = self->GetNextGroup(value, index);
1055 return __EnumerationHelper(cont, value, index);
1056 }
1057PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1058 bool cont;
1059 long index = 0;
1060 wxString value;
1061
1062 cont = self->GetFirstEntry(value, index);
1063 return __EnumerationHelper(cont, value, index);
1064 }
1065PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1066 bool cont;
1067 wxString value;
1068
1069 cont = self->GetNextEntry(value, index);
1070 return __EnumerationHelper(cont, value, index);
1071 }
1072long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1073 long rv;
1074 self->Read(key, &rv, defaultVal);
1075 return rv;
1076 }
8edf1c75 1077
2f4c0a16
RD
1078SWIGSTATICINLINE(double)
1079SWIG_AsDouble(PyObject *obj)
8edf1c75 1080{
2f4c0a16 1081 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 1082#if HAVE_LONG_LONG
2f4c0a16 1083 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 1084#else
2f4c0a16 1085 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
1086#endif
1087 if (PyErr_Occurred()) {
1088 PyErr_Clear();
1089 PyErr_SetString(PyExc_TypeError, "a double is expected");
1090 }
2f4c0a16
RD
1091 return val;
1092}
1093
1094
1095SWIGSTATICINLINE(int)
1096SWIG_CheckDouble(PyObject* obj)
1097{
1098 SWIG_AsDouble(obj);
1099 if (PyErr_Occurred()) {
1100 PyErr_Clear();
1101 return 0;
1102 } else {
1103 return 1;
1104 }
8edf1c75
RD
1105}
1106
d14a1e28
RD
1107double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1108 double rv;
1109 self->Read(key, &rv, defaultVal);
1110 return rv;
1111 }
1112bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1113 bool rv;
1114 self->Read(key, &rv, defaultVal);
1115 return rv;
1116 }
1117
1118#include <wx/datetime.h>
1119
d14a1e28 1120
32958cea
RD
1121 static const wxString wxPyDateFormatStr(wxT("%c"));
1122 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
1123
1124#define LOCAL_TZ wxDateTime::Local
1125
8edf1c75 1126
2f4c0a16
RD
1127#if UINT_MAX < LONG_MAX
1128#define SWIG_FromUnsignedInt SWIG_FromLong
1129#else
1130#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1131#endif
8edf1c75 1132
d14a1e28
RD
1133wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1134wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1135wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1136wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1137wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
38f59159
RD
1138bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1139bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1140bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1141bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1142bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1143bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1144int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1145 const wxChar* rv;
1146 const wxChar* _date = date;
1147 rv = self->ParseRfc822Date(_date);
1148 if (rv == NULL) return -1;
1149 return rv - _date;
1150 }
1151int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1152 const wxChar* rv;
1153 const wxChar* _date = date;
1154 rv = self->ParseFormat(_date, format, dateDef);
1155 if (rv == NULL) return -1;
1156 return rv - _date;
1157 }
1158int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1159 const wxChar* rv;
1160 const wxChar* _datetime = datetime;
1161 rv = self->ParseDateTime(_datetime);
1162 if (rv == NULL) return -1;
1163 return rv - _datetime;
1164 }
1165int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1166 const wxChar* rv;
1167 const wxChar* _date = date;
1168 rv = self->ParseDate(_date);
1169 if (rv == NULL) return -1;
1170 return rv - _date;
1171 }
1172int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1173 const wxChar* rv;
1174 const wxChar* _time = time;
1175 rv = self->ParseTime(_time);
1176 if (rv == NULL) return -1;
1177 return rv - _time;
1178 }
1179wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1180wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1181wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1182wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
38f59159
RD
1183bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1184bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1185bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1186bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1187bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1188bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1189wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1190wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1191wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1192wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
38f59159
RD
1193bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1194bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1195
1196#include <wx/dataobj.h>
1197
1198 // Create a new class for wxPython to use
1199class wxPyDataObjectSimple : public wxDataObjectSimple {
1200public:
1201 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1202 : wxDataObjectSimple(format) {}
1203
1204 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1205 bool GetDataHere(void *buf) const;
1206 bool SetData(size_t len, const void *buf) const;
1207 PYPRIVATE;
1208};
1209
1210IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1211
1212bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1213 // We need to get the data for this object and write it to buf. I think
1214 // the best way to do this for wxPython is to have the Python method
1215 // return either a string or None and then act appropriately with the
1216 // C++ version.
1217
423f194a 1218 bool rval = False;
d14a1e28
RD
1219 wxPyBeginBlockThreads();
1220 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1221 PyObject* ro;
1222 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1223 if (ro) {
1224 rval = (ro != Py_None && PyString_Check(ro));
1225 if (rval)
1226 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1227 Py_DECREF(ro);
1228 }
1229 }
1230 wxPyEndBlockThreads();
1231 return rval;
1232}
1233
1234bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1235 // For this one we simply need to make a string from buf and len
1236 // and send it to the Python method.
423f194a 1237 bool rval = False;
d14a1e28
RD
1238 wxPyBeginBlockThreads();
1239 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1240 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1241 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1242 Py_DECREF(data);
1243 }
1244 wxPyEndBlockThreads();
1245 return rval;
1246}
1247
1248 // Create a new class for wxPython to use
1249class wxPyTextDataObject : public wxTextDataObject {
1250public:
1251 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1252 : wxTextDataObject(text) {}
1253
1254 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1255 DEC_PYCALLBACK_STRING__const(GetText);
1256 DEC_PYCALLBACK__STRING(SetText);
1257 PYPRIVATE;
1258};
1259
1260IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1261IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1262IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1263
1264
1265 // Create a new class for wxPython to use
1266class wxPyBitmapDataObject : public wxBitmapDataObject {
1267public:
1268 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1269 : wxBitmapDataObject(bitmap) {}
1270
1271 wxBitmap GetBitmap() const;
1272 void SetBitmap(const wxBitmap& bitmap);
1273 PYPRIVATE;
1274};
1275
1276wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1277 wxBitmap* rval = &wxNullBitmap;
1278 wxPyBeginBlockThreads();
1279 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1280 PyObject* ro;
1281 wxBitmap* ptr;
1282 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1283 if (ro) {
1284 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1285 rval = ptr;
1286 Py_DECREF(ro);
1287 }
1288 }
1289 wxPyEndBlockThreads();
1290 return *rval;
1291}
1292
1293void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1294 wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1296 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1297 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1298 Py_DECREF(bo);
1299 }
1300 wxPyEndBlockThreads();
1301}
1302
1303void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1304 if (PyString_Check(data)) {
1305 // for Python we just call SetData here since we always need it to make a copy.
1306 self->SetData(PyString_Size(data), PyString_AsString(data));
1307 }
1308 else {
1309 // raise a TypeError if not a string
1310 PyErr_SetString(PyExc_TypeError, "String expected.");
1311 }
1312 }
1313bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1314 if (PyString_Check(data)) {
1315 return self->SetData(PyString_Size(data), PyString_AsString(data));
1316 }
1317 else {
1318 // raise a TypeError if not a string
1319 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1320 return False;
d14a1e28
RD
1321 }
1322 }
1323PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1324 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1325 }
1326
1327#include <wx/metafile.h>
1328
1329
d14a1e28
RD
1330IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1331
1332
d14a1e28
RD
1333IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1334IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1335IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1336IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1337IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1338
1339
d14a1e28
RD
1340class wxPyTextDropTarget : public wxTextDropTarget {
1341public:
1342 wxPyTextDropTarget() {}
1343
1344 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1345
1346 DEC_PYCALLBACK__(OnLeave);
1347 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1348 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1349 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1350 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1351
1352 PYPRIVATE;
1353};
1354
1355IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1356IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1357IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1358IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1359IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1360IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1361
1362
1363
1364class wxPyFileDropTarget : public wxFileDropTarget {
1365public:
1366 wxPyFileDropTarget() {}
1367
1368 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1369
1370 DEC_PYCALLBACK__(OnLeave);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1372 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1373 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1374 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1375
1376 PYPRIVATE;
1377};
1378
1379bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1380 const wxArrayString& filenames) {
423f194a 1381 bool rval = False;
d14a1e28
RD
1382 wxPyBeginBlockThreads();
1383 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1384 PyObject* list = wxArrayString2PyList_helper(filenames);
1385 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1386 Py_DECREF(list);
1387 }
1388 wxPyEndBlockThreads();
1389 return rval;
1390}
1391
1392
1393
1394IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1395IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1396IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1397IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1398IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1399
1400
1401
1402
1403bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1404#ifdef __cplusplus
1405extern "C" {
1406#endif
2f4c0a16 1407static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1408 PyObject *resultobj;
1409 int arg1 ;
1410 wxColour result;
8edf1c75 1411 PyObject * obj0 = 0 ;
d14a1e28
RD
1412 char *kwnames[] = {
1413 (char *) "index", NULL
1414 };
1415
8edf1c75 1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1417 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 {
1427 wxColour * resultptr;
1428 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1430 }
1431 return resultobj;
1432 fail:
1433 return NULL;
1434}
1435
1436
2f4c0a16 1437static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1438 PyObject *resultobj;
1439 int arg1 ;
1440 wxFont result;
8edf1c75 1441 PyObject * obj0 = 0 ;
d14a1e28
RD
1442 char *kwnames[] = {
1443 (char *) "index", NULL
1444 };
1445
8edf1c75 1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1447 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 {
1457 wxFont * resultptr;
1458 resultptr = new wxFont((wxFont &) result);
2f4c0a16 1459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
1460 }
1461 return resultobj;
1462 fail:
1463 return NULL;
1464}
1465
1466
2f4c0a16 1467static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1468 PyObject *resultobj;
1469 int arg1 ;
1470 int result;
8edf1c75 1471 PyObject * obj0 = 0 ;
d14a1e28
RD
1472 char *kwnames[] = {
1473 (char *) "index", NULL
1474 };
1475
8edf1c75 1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1477 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1479 {
1480 PyThreadState* __tstate = wxPyBeginAllowThreads();
1481 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1482
1483 wxPyEndAllowThreads(__tstate);
1484 if (PyErr_Occurred()) SWIG_fail;
1485 }
2f4c0a16 1486 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1487 return resultobj;
1488 fail:
1489 return NULL;
1490}
1491
1492
2f4c0a16 1493static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1494 PyObject *resultobj;
1495 int arg1 ;
1496 bool result;
8edf1c75 1497 PyObject * obj0 = 0 ;
d14a1e28
RD
1498 char *kwnames[] = {
1499 (char *) "index", NULL
1500 };
1501
8edf1c75 1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1503 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1505 {
1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
1507 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1508
1509 wxPyEndAllowThreads(__tstate);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
02a34c4c 1512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1513 return resultobj;
1514 fail:
1515 return NULL;
1516}
1517
1518
2f4c0a16 1519static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1520 PyObject *resultobj;
1521 int result;
1522 char *kwnames[] = {
1523 NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1527 {
1528 PyThreadState* __tstate = wxPyBeginAllowThreads();
1529 result = (int)wxSystemSettings::GetScreenType();
1530
1531 wxPyEndAllowThreads(__tstate);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
2f4c0a16 1534 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1535 return resultobj;
1536 fail:
1537 return NULL;
1538}
1539
1540
2f4c0a16 1541static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1542 PyObject *resultobj;
1543 int arg1 ;
8edf1c75 1544 PyObject * obj0 = 0 ;
d14a1e28
RD
1545 char *kwnames[] = {
1546 (char *) "screen", NULL
1547 };
1548
8edf1c75 1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1550 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1552 {
1553 PyThreadState* __tstate = wxPyBeginAllowThreads();
1554 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1555
1556 wxPyEndAllowThreads(__tstate);
1557 if (PyErr_Occurred()) SWIG_fail;
1558 }
1559 Py_INCREF(Py_None); resultobj = Py_None;
1560 return resultobj;
1561 fail:
1562 return NULL;
1563}
1564
1565
2f4c0a16 1566static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1567 PyObject *obj;
1568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1569 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1570 Py_INCREF(obj);
1571 return Py_BuildValue((char *)"");
1572}
2f4c0a16 1573static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1574 PyObject *resultobj;
1575 wxSystemOptions *result;
1576 char *kwnames[] = {
1577 NULL
1578 };
1579
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 result = (wxSystemOptions *)new wxSystemOptions();
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
2f4c0a16 1588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
1589 return resultobj;
1590 fail:
1591 return NULL;
1592}
1593
1594
2f4c0a16 1595static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1596 PyObject *resultobj;
1597 wxString *arg1 = 0 ;
1598 wxString *arg2 = 0 ;
423f194a
RD
1599 bool temp1 = False ;
1600 bool temp2 = False ;
d14a1e28
RD
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603 char *kwnames[] = {
1604 (char *) "name",(char *) "value", NULL
1605 };
1606
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1608 {
1609 arg1 = wxString_in_helper(obj0);
1610 if (arg1 == NULL) SWIG_fail;
423f194a 1611 temp1 = True;
d14a1e28
RD
1612 }
1613 {
1614 arg2 = wxString_in_helper(obj1);
1615 if (arg2 == NULL) SWIG_fail;
423f194a 1616 temp2 = True;
d14a1e28
RD
1617 }
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 Py_INCREF(Py_None); resultobj = Py_None;
1626 {
1627 if (temp1)
1628 delete arg1;
1629 }
1630 {
1631 if (temp2)
1632 delete arg2;
1633 }
1634 return resultobj;
1635 fail:
1636 {
1637 if (temp1)
1638 delete arg1;
1639 }
1640 {
1641 if (temp2)
1642 delete arg2;
1643 }
1644 return NULL;
1645}
1646
1647
2f4c0a16 1648static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1649 PyObject *resultobj;
1650 wxString *arg1 = 0 ;
1651 int arg2 ;
423f194a 1652 bool temp1 = False ;
d14a1e28 1653 PyObject * obj0 = 0 ;
8edf1c75 1654 PyObject * obj1 = 0 ;
d14a1e28
RD
1655 char *kwnames[] = {
1656 (char *) "name",(char *) "value", NULL
1657 };
1658
8edf1c75 1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1660 {
1661 arg1 = wxString_in_helper(obj0);
1662 if (arg1 == NULL) SWIG_fail;
423f194a 1663 temp1 = True;
d14a1e28 1664 }
2f4c0a16
RD
1665 arg2 = (int) SWIG_AsInt(obj1);
1666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 Py_INCREF(Py_None); resultobj = Py_None;
1675 {
1676 if (temp1)
1677 delete arg1;
1678 }
1679 return resultobj;
1680 fail:
1681 {
1682 if (temp1)
1683 delete arg1;
1684 }
1685 return NULL;
1686}
1687
1688
2f4c0a16 1689static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1690 PyObject *resultobj;
1691 wxString *arg1 = 0 ;
1692 wxString result;
423f194a 1693 bool temp1 = False ;
d14a1e28
RD
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "name", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1700 {
1701 arg1 = wxString_in_helper(obj0);
1702 if (arg1 == NULL) SWIG_fail;
423f194a 1703 temp1 = True;
d14a1e28
RD
1704 }
1705 {
1706 PyThreadState* __tstate = wxPyBeginAllowThreads();
1707 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1708
1709 wxPyEndAllowThreads(__tstate);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 {
1713#if wxUSE_UNICODE
1714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1715#else
1716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1717#endif
1718 }
1719 {
1720 if (temp1)
1721 delete arg1;
1722 }
1723 return resultobj;
1724 fail:
1725 {
1726 if (temp1)
1727 delete arg1;
1728 }
1729 return NULL;
1730}
1731
1732
2f4c0a16 1733static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1734 PyObject *resultobj;
1735 wxString *arg1 = 0 ;
1736 int result;
423f194a 1737 bool temp1 = False ;
d14a1e28
RD
1738 PyObject * obj0 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "name", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1744 {
1745 arg1 = wxString_in_helper(obj0);
1746 if (arg1 == NULL) SWIG_fail;
423f194a 1747 temp1 = True;
d14a1e28
RD
1748 }
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
2f4c0a16 1756 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1757 {
1758 if (temp1)
1759 delete arg1;
1760 }
1761 return resultobj;
1762 fail:
1763 {
1764 if (temp1)
1765 delete arg1;
1766 }
1767 return NULL;
1768}
1769
1770
2f4c0a16 1771static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1772 PyObject *resultobj;
1773 wxString *arg1 = 0 ;
1774 bool result;
423f194a 1775 bool temp1 = False ;
d14a1e28
RD
1776 PyObject * obj0 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "name", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1782 {
1783 arg1 = wxString_in_helper(obj0);
1784 if (arg1 == NULL) SWIG_fail;
423f194a 1785 temp1 = True;
d14a1e28
RD
1786 }
1787 {
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
02a34c4c 1794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1795 {
1796 if (temp1)
1797 delete arg1;
1798 }
1799 return resultobj;
1800 fail:
1801 {
1802 if (temp1)
1803 delete arg1;
1804 }
1805 return NULL;
1806}
1807
1808
2f4c0a16 1809static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1810 PyObject *obj;
1811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1812 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1813 Py_INCREF(obj);
1814 return Py_BuildValue((char *)"");
1815}
8edf1c75 1816static int _wrap_FileSelectorPromptStr_set(PyObject *) {
cbd72d4f
RD
1817 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1818 return 1;
1819}
1820
1821
1822static PyObject *_wrap_FileSelectorPromptStr_get() {
1823 PyObject *pyobj;
1824
1825 {
1826#if wxUSE_UNICODE
1827 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1828#else
1829 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1830#endif
1831 }
1832 return pyobj;
1833}
1834
1835
8edf1c75 1836static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
cbd72d4f
RD
1837 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1838 return 1;
1839}
1840
1841
1842static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1843 PyObject *pyobj;
1844
1845 {
1846#if wxUSE_UNICODE
1847 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1848#else
1849 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1850#endif
1851 }
1852 return pyobj;
1853}
1854
1855
8edf1c75 1856static int _wrap_DirSelectorPromptStr_set(PyObject *) {
cbd72d4f
RD
1857 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1858 return 1;
1859}
1860
1861
1862static PyObject *_wrap_DirSelectorPromptStr_get() {
1863 PyObject *pyobj;
1864
1865 {
1866#if wxUSE_UNICODE
1867 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1868#else
1869 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1870#endif
1871 }
1872 return pyobj;
1873}
1874
1875
2f4c0a16 1876static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1877 PyObject *resultobj;
1878 long result;
1879 char *kwnames[] = {
1880 NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (long)wxNewId();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
2f4c0a16 1891 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1892 return resultobj;
1893 fail:
1894 return NULL;
1895}
1896
1897
2f4c0a16 1898static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1899 PyObject *resultobj;
1900 long arg1 ;
8edf1c75 1901 PyObject * obj0 = 0 ;
d14a1e28
RD
1902 char *kwnames[] = {
1903 (char *) "id", NULL
1904 };
1905
8edf1c75 1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1907 arg1 = (long) SWIG_AsLong(obj0);
1908 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 wxRegisterId(arg1);
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 Py_INCREF(Py_None); resultobj = Py_None;
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
2f4c0a16 1923static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1924 PyObject *resultobj;
1925 long result;
1926 char *kwnames[] = {
1927 NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (long)wxGetCurrentId();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
2f4c0a16 1938 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
2f4c0a16 1945static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1946 PyObject *resultobj;
1947 char *kwnames[] = {
1948 NULL
1949 };
1950
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 wxBell();
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) SWIG_fail;
1958 }
1959 Py_INCREF(Py_None); resultobj = Py_None;
1960 return resultobj;
1961 fail:
1962 return NULL;
1963}
1964
1965
2f4c0a16 1966static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1967 PyObject *resultobj;
1968 char *kwnames[] = {
1969 NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 wxEndBusyCursor();
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 Py_INCREF(Py_None); resultobj = Py_None;
1981 return resultobj;
1982 fail:
1983 return NULL;
1984}
1985
1986
2f4c0a16 1987static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1988 PyObject *resultobj;
423f194a 1989 bool arg1 = (bool) True ;
d14a1e28
RD
1990 long result;
1991 PyObject * obj0 = 0 ;
1992 char *kwnames[] = {
1993 (char *) "resetTimer", NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1997 if (obj0) {
2f4c0a16
RD
1998 arg1 = (bool) SWIG_AsBool(obj0);
1999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 result = (long)wxGetElapsedTime(arg1);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2f4c0a16 2008 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2009 return resultobj;
2010 fail:
2011 return NULL;
2012}
2013
2014
2f4c0a16 2015static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2016 PyObject *resultobj;
2017 int *arg1 = (int *) 0 ;
2018 int *arg2 = (int *) 0 ;
2019 int temp1 ;
2020 int temp2 ;
2021 char *kwnames[] = {
2022 NULL
2023 };
2024
2025 arg1 = &temp1;
2026 arg2 = &temp2;
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2028 {
2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
2030 wxGetMousePosition(arg1,arg2);
2031
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 }
2035 Py_INCREF(Py_None); resultobj = Py_None;
2036 {
2037 PyObject *o = PyInt_FromLong((long) (*arg1));
2038 resultobj = t_output_helper(resultobj,o);
2039 }
2040 {
2041 PyObject *o = PyInt_FromLong((long) (*arg2));
2042 resultobj = t_output_helper(resultobj,o);
2043 }
2044 return resultobj;
2045 fail:
2046 return NULL;
2047}
2048
2049
2f4c0a16 2050static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2051 PyObject *resultobj;
2052 bool result;
2053 char *kwnames[] = {
2054 NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 result = (bool)wxIsBusy();
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
02a34c4c 2065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2066 return resultobj;
2067 fail:
2068 return NULL;
2069}
2070
2071
2f4c0a16 2072static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2073 PyObject *resultobj;
2074 wxString result;
2075 char *kwnames[] = {
2076 NULL
2077 };
2078
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = wxNow();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 {
2088#if wxUSE_UNICODE
2089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2090#else
2091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2092#endif
2093 }
2094 return resultobj;
2095 fail:
2096 return NULL;
2097}
2098
2099
2f4c0a16 2100static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2101 PyObject *resultobj;
2102 wxString const &arg1_defvalue = wxPyEmptyString ;
2103 wxString *arg1 = (wxString *) &arg1_defvalue ;
2104 bool result;
423f194a 2105 bool temp1 = False ;
d14a1e28
RD
2106 PyObject * obj0 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "command", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2112 if (obj0) {
2113 {
2114 arg1 = wxString_in_helper(obj0);
2115 if (arg1 == NULL) SWIG_fail;
423f194a 2116 temp1 = True;
d14a1e28
RD
2117 }
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (bool)wxShell((wxString const &)*arg1);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
02a34c4c 2126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2127 {
2128 if (temp1)
2129 delete arg1;
2130 }
2131 return resultobj;
2132 fail:
2133 {
2134 if (temp1)
2135 delete arg1;
2136 }
2137 return NULL;
2138}
2139
2140
2f4c0a16 2141static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2142 PyObject *resultobj;
2143 char *kwnames[] = {
2144 NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2148 {
2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
2150 wxStartTimer();
2151
2152 wxPyEndAllowThreads(__tstate);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 }
2155 Py_INCREF(Py_None); resultobj = Py_None;
2156 return resultobj;
2157 fail:
2158 return NULL;
2159}
2160
2161
2f4c0a16 2162static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2163 PyObject *resultobj;
2164 int *arg1 = (int *) 0 ;
2165 int *arg2 = (int *) 0 ;
2166 int result;
2167 int temp1 ;
2168 int temp2 ;
2169 char *kwnames[] = {
2170 NULL
2171 };
2172
2173 arg1 = &temp1;
2174 arg2 = &temp2;
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 result = (int)wxGetOsVersion(arg1,arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2f4c0a16 2183 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2184 {
2185 PyObject *o = PyInt_FromLong((long) (*arg1));
2186 resultobj = t_output_helper(resultobj,o);
2187 }
2188 {
2189 PyObject *o = PyInt_FromLong((long) (*arg2));
2190 resultobj = t_output_helper(resultobj,o);
2191 }
2192 return resultobj;
2193 fail:
2194 return NULL;
2195}
2196
2197
2f4c0a16 2198static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2199 PyObject *resultobj;
2200 wxString result;
2201 char *kwnames[] = {
2202 NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = wxGetOsDescription();
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214#if wxUSE_UNICODE
2215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2216#else
2217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2218#endif
2219 }
2220 return resultobj;
2221 fail:
2222 return NULL;
2223}
2224
2225
2f4c0a16 2226static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2227 PyObject *resultobj;
2228 long result;
2229 char *kwnames[] = {
2230 NULL
2231 };
2232
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (long)wxGetFreeMemory();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2f4c0a16 2241 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2242 return resultobj;
2243 fail:
2244 return NULL;
2245}
2246
2247
2f4c0a16 2248static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2249 PyObject *resultobj;
2250 int arg1 ;
2251 bool result;
8edf1c75 2252 PyObject * obj0 = 0 ;
d14a1e28
RD
2253 char *kwnames[] = {
2254 (char *) "wFlags", NULL
2255 };
2256
8edf1c75 2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2258 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2260 {
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 }
02a34c4c 2267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2f4c0a16 2274static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2275 PyObject *resultobj;
2276 int arg1 ;
8edf1c75 2277 PyObject * obj0 = 0 ;
d14a1e28
RD
2278 char *kwnames[] = {
2279 (char *) "secs", NULL
2280 };
2281
8edf1c75 2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2283 arg1 = (int) SWIG_AsInt(obj0);
2284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 wxSleep(arg1);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296}
2297
2298
2f4c0a16 2299static PyObject *_wrap_Usleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2300 PyObject *resultobj;
2301 unsigned long arg1 ;
2302 PyObject * obj0 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "milliseconds", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2308 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 wxUsleep(arg1);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 Py_INCREF(Py_None); resultobj = Py_None;
2318 return resultobj;
2319 fail:
2320 return NULL;
2321}
2322
2323
2f4c0a16 2324static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2325 PyObject *resultobj;
2326 bool arg1 ;
2327 PyObject * obj0 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "enable", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2333 arg1 = (bool) SWIG_AsBool(obj0);
2334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 wxEnableTopLevelWindows(arg1);
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 Py_INCREF(Py_None); resultobj = Py_None;
2343 return resultobj;
2344 fail:
2345 return NULL;
2346}
2347
2348
2f4c0a16 2349static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2350 PyObject *resultobj;
2351 wxString *arg1 = 0 ;
2352 wxString result;
423f194a 2353 bool temp1 = False ;
d14a1e28
RD
2354 PyObject * obj0 = 0 ;
2355 char *kwnames[] = {
2356 (char *) "in", NULL
2357 };
2358
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2360 {
2361 arg1 = wxString_in_helper(obj0);
2362 if (arg1 == NULL) SWIG_fail;
423f194a 2363 temp1 = True;
d14a1e28
RD
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = wxStripMenuCodes((wxString const &)*arg1);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 {
2373#if wxUSE_UNICODE
2374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2375#else
2376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2377#endif
2378 }
2379 {
2380 if (temp1)
2381 delete arg1;
2382 }
2383 return resultobj;
2384 fail:
2385 {
2386 if (temp1)
2387 delete arg1;
2388 }
2389 return NULL;
2390}
2391
2392
2f4c0a16 2393static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2394 PyObject *resultobj;
2395 wxString result;
2396 char *kwnames[] = {
2397 NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 result = wxGetEmailAddress();
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 {
2409#if wxUSE_UNICODE
2410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2411#else
2412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2413#endif
2414 }
2415 return resultobj;
2416 fail:
2417 return NULL;
2418}
2419
2420
2f4c0a16 2421static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2422 PyObject *resultobj;
2423 wxString result;
2424 char *kwnames[] = {
2425 NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 result = wxGetHostName();
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437#if wxUSE_UNICODE
2438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2439#else
2440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2441#endif
2442 }
2443 return resultobj;
2444 fail:
2445 return NULL;
2446}
2447
2448
2f4c0a16 2449static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2450 PyObject *resultobj;
2451 wxString result;
2452 char *kwnames[] = {
2453 NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2457 {
2458 PyThreadState* __tstate = wxPyBeginAllowThreads();
2459 result = wxGetFullHostName();
2460
2461 wxPyEndAllowThreads(__tstate);
2462 if (PyErr_Occurred()) SWIG_fail;
2463 }
2464 {
2465#if wxUSE_UNICODE
2466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2467#else
2468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2469#endif
2470 }
2471 return resultobj;
2472 fail:
2473 return NULL;
2474}
2475
2476
2f4c0a16 2477static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2478 PyObject *resultobj;
2479 wxString result;
2480 char *kwnames[] = {
2481 NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = wxGetUserId();
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493#if wxUSE_UNICODE
2494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2495#else
2496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2497#endif
2498 }
2499 return resultobj;
2500 fail:
2501 return NULL;
2502}
2503
2504
2f4c0a16 2505static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2506 PyObject *resultobj;
2507 wxString result;
2508 char *kwnames[] = {
2509 NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = wxGetUserName();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521#if wxUSE_UNICODE
2522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2523#else
2524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2525#endif
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530}
2531
2532
2f4c0a16 2533static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2534 PyObject *resultobj;
2535 wxString result;
2536 char *kwnames[] = {
2537 NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 result = wxGetHomeDir();
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 {
2549#if wxUSE_UNICODE
2550 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2551#else
2552 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2553#endif
2554 }
2555 return resultobj;
2556 fail:
2557 return NULL;
2558}
2559
2560
2f4c0a16 2561static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2562 PyObject *resultobj;
2563 wxString const &arg1_defvalue = wxPyEmptyString ;
2564 wxString *arg1 = (wxString *) &arg1_defvalue ;
2565 wxString result;
423f194a 2566 bool temp1 = False ;
d14a1e28
RD
2567 PyObject * obj0 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "user", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2573 if (obj0) {
2574 {
2575 arg1 = wxString_in_helper(obj0);
2576 if (arg1 == NULL) SWIG_fail;
423f194a 2577 temp1 = True;
d14a1e28
RD
2578 }
2579 }
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = wxGetUserHome((wxString const &)*arg1);
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2587 {
2588#if wxUSE_UNICODE
2589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2590#else
2591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2592#endif
2593 }
2594 {
2595 if (temp1)
2596 delete arg1;
2597 }
2598 return resultobj;
2599 fail:
2600 {
2601 if (temp1)
2602 delete arg1;
2603 }
2604 return NULL;
2605}
2606
2607
2f4c0a16 2608static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2609 PyObject *resultobj;
2610 unsigned long result;
2611 char *kwnames[] = {
2612 NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = (unsigned long)wxGetProcessId();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2f4c0a16 2623 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2624 return resultobj;
2625 fail:
2626 return NULL;
2627}
2628
2629
2f4c0a16 2630static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2631 PyObject *resultobj;
2632 char *kwnames[] = {
2633 NULL
2634 };
2635
2636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 wxTrap();
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 Py_INCREF(Py_None); resultobj = Py_None;
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
2f4c0a16 2651static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2652 PyObject *resultobj;
2653 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2654 wxString *arg1 = (wxString *) &arg1_defvalue ;
2655 wxString const &arg2_defvalue = wxPyEmptyString ;
2656 wxString *arg2 = (wxString *) &arg2_defvalue ;
2657 wxString const &arg3_defvalue = wxPyEmptyString ;
2658 wxString *arg3 = (wxString *) &arg3_defvalue ;
2659 wxString const &arg4_defvalue = wxPyEmptyString ;
2660 wxString *arg4 = (wxString *) &arg4_defvalue ;
2661 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2662 wxString *arg5 = (wxString *) &arg5_defvalue ;
2663 int arg6 = (int) 0 ;
2664 wxWindow *arg7 = (wxWindow *) NULL ;
2665 int arg8 = (int) -1 ;
2666 int arg9 = (int) -1 ;
2667 wxString result;
423f194a
RD
2668 bool temp1 = False ;
2669 bool temp2 = False ;
2670 bool temp3 = False ;
2671 bool temp4 = False ;
2672 bool temp5 = False ;
d14a1e28
RD
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 PyObject * obj2 = 0 ;
2676 PyObject * obj3 = 0 ;
2677 PyObject * obj4 = 0 ;
8edf1c75 2678 PyObject * obj5 = 0 ;
d14a1e28 2679 PyObject * obj6 = 0 ;
8edf1c75
RD
2680 PyObject * obj7 = 0 ;
2681 PyObject * obj8 = 0 ;
d14a1e28
RD
2682 char *kwnames[] = {
2683 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2684 };
2685
8edf1c75 2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2687 if (obj0) {
2688 {
2689 arg1 = wxString_in_helper(obj0);
2690 if (arg1 == NULL) SWIG_fail;
423f194a 2691 temp1 = True;
d14a1e28
RD
2692 }
2693 }
2694 if (obj1) {
2695 {
2696 arg2 = wxString_in_helper(obj1);
2697 if (arg2 == NULL) SWIG_fail;
423f194a 2698 temp2 = True;
d14a1e28
RD
2699 }
2700 }
2701 if (obj2) {
2702 {
2703 arg3 = wxString_in_helper(obj2);
2704 if (arg3 == NULL) SWIG_fail;
423f194a 2705 temp3 = True;
d14a1e28
RD
2706 }
2707 }
2708 if (obj3) {
2709 {
2710 arg4 = wxString_in_helper(obj3);
2711 if (arg4 == NULL) SWIG_fail;
423f194a 2712 temp4 = True;
d14a1e28
RD
2713 }
2714 }
2715 if (obj4) {
2716 {
2717 arg5 = wxString_in_helper(obj4);
2718 if (arg5 == NULL) SWIG_fail;
423f194a 2719 temp5 = True;
d14a1e28
RD
2720 }
2721 }
8edf1c75 2722 if (obj5) {
2f4c0a16
RD
2723 arg6 = (int) SWIG_AsInt(obj5);
2724 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2725 }
d14a1e28 2726 if (obj6) {
2f4c0a16
RD
2727 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2729 }
8edf1c75 2730 if (obj7) {
2f4c0a16
RD
2731 arg8 = (int) SWIG_AsInt(obj7);
2732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2733 }
2734 if (obj8) {
2f4c0a16
RD
2735 arg9 = (int) SWIG_AsInt(obj8);
2736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2737 }
d14a1e28
RD
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 {
2746#if wxUSE_UNICODE
2747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2748#else
2749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2750#endif
2751 }
2752 {
2753 if (temp1)
2754 delete arg1;
2755 }
2756 {
2757 if (temp2)
2758 delete arg2;
2759 }
2760 {
2761 if (temp3)
2762 delete arg3;
2763 }
2764 {
2765 if (temp4)
2766 delete arg4;
2767 }
2768 {
2769 if (temp5)
2770 delete arg5;
2771 }
2772 return resultobj;
2773 fail:
2774 {
2775 if (temp1)
2776 delete arg1;
2777 }
2778 {
2779 if (temp2)
2780 delete arg2;
2781 }
2782 {
2783 if (temp3)
2784 delete arg3;
2785 }
2786 {
2787 if (temp4)
2788 delete arg4;
2789 }
2790 {
2791 if (temp5)
2792 delete arg5;
2793 }
2794 return NULL;
2795}
2796
2797
2f4c0a16 2798static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2799 PyObject *resultobj;
2800 wxString *arg1 = 0 ;
2801 wxString *arg2 = 0 ;
2802 wxString const &arg3_defvalue = wxPyEmptyString ;
2803 wxString *arg3 = (wxString *) &arg3_defvalue ;
2804 wxWindow *arg4 = (wxWindow *) NULL ;
2805 wxString result;
423f194a
RD
2806 bool temp1 = False ;
2807 bool temp2 = False ;
2808 bool temp3 = False ;
d14a1e28
RD
2809 PyObject * obj0 = 0 ;
2810 PyObject * obj1 = 0 ;
2811 PyObject * obj2 = 0 ;
2812 PyObject * obj3 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2818 {
2819 arg1 = wxString_in_helper(obj0);
2820 if (arg1 == NULL) SWIG_fail;
423f194a 2821 temp1 = True;
d14a1e28
RD
2822 }
2823 {
2824 arg2 = wxString_in_helper(obj1);
2825 if (arg2 == NULL) SWIG_fail;
423f194a 2826 temp2 = True;
d14a1e28
RD
2827 }
2828 if (obj2) {
2829 {
2830 arg3 = wxString_in_helper(obj2);
2831 if (arg3 == NULL) SWIG_fail;
423f194a 2832 temp3 = True;
d14a1e28
RD
2833 }
2834 }
2835 if (obj3) {
2f4c0a16
RD
2836 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2838 }
2839 {
2840 PyThreadState* __tstate = wxPyBeginAllowThreads();
2841 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2842
2843 wxPyEndAllowThreads(__tstate);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 {
2847#if wxUSE_UNICODE
2848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2849#else
2850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2851#endif
2852 }
2853 {
2854 if (temp1)
2855 delete arg1;
2856 }
2857 {
2858 if (temp2)
2859 delete arg2;
2860 }
2861 {
2862 if (temp3)
2863 delete arg3;
2864 }
2865 return resultobj;
2866 fail:
2867 {
2868 if (temp1)
2869 delete arg1;
2870 }
2871 {
2872 if (temp2)
2873 delete arg2;
2874 }
2875 {
2876 if (temp3)
2877 delete arg3;
2878 }
2879 return NULL;
2880}
2881
2882
2f4c0a16 2883static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2884 PyObject *resultobj;
2885 wxString *arg1 = 0 ;
2886 wxString *arg2 = 0 ;
2887 wxString const &arg3_defvalue = wxPyEmptyString ;
2888 wxString *arg3 = (wxString *) &arg3_defvalue ;
2889 wxWindow *arg4 = (wxWindow *) NULL ;
2890 wxString result;
423f194a
RD
2891 bool temp1 = False ;
2892 bool temp2 = False ;
2893 bool temp3 = False ;
d14a1e28
RD
2894 PyObject * obj0 = 0 ;
2895 PyObject * obj1 = 0 ;
2896 PyObject * obj2 = 0 ;
2897 PyObject * obj3 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2903 {
2904 arg1 = wxString_in_helper(obj0);
2905 if (arg1 == NULL) SWIG_fail;
423f194a 2906 temp1 = True;
d14a1e28
RD
2907 }
2908 {
2909 arg2 = wxString_in_helper(obj1);
2910 if (arg2 == NULL) SWIG_fail;
423f194a 2911 temp2 = True;
d14a1e28
RD
2912 }
2913 if (obj2) {
2914 {
2915 arg3 = wxString_in_helper(obj2);
2916 if (arg3 == NULL) SWIG_fail;
423f194a 2917 temp3 = True;
d14a1e28
RD
2918 }
2919 }
2920 if (obj3) {
2f4c0a16
RD
2921 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2923 }
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932#if wxUSE_UNICODE
2933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2934#else
2935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2936#endif
2937 }
2938 {
2939 if (temp1)
2940 delete arg1;
2941 }
2942 {
2943 if (temp2)
2944 delete arg2;
2945 }
2946 {
2947 if (temp3)
2948 delete arg3;
2949 }
2950 return resultobj;
2951 fail:
2952 {
2953 if (temp1)
2954 delete arg1;
2955 }
2956 {
2957 if (temp2)
2958 delete arg2;
2959 }
2960 {
2961 if (temp3)
2962 delete arg3;
2963 }
2964 return NULL;
2965}
2966
2967
2f4c0a16 2968static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2969 PyObject *resultobj;
2970 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2971 wxString *arg1 = (wxString *) &arg1_defvalue ;
2972 wxString const &arg2_defvalue = wxPyEmptyString ;
2973 wxString *arg2 = (wxString *) &arg2_defvalue ;
2974 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2977 wxWindow *arg5 = (wxWindow *) NULL ;
2978 wxString result;
423f194a
RD
2979 bool temp1 = False ;
2980 bool temp2 = False ;
d14a1e28
RD
2981 wxPoint temp4 ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
8edf1c75 2984 PyObject * obj2 = 0 ;
d14a1e28
RD
2985 PyObject * obj3 = 0 ;
2986 PyObject * obj4 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2989 };
2990
8edf1c75 2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
2992 if (obj0) {
2993 {
2994 arg1 = wxString_in_helper(obj0);
2995 if (arg1 == NULL) SWIG_fail;
423f194a 2996 temp1 = True;
d14a1e28
RD
2997 }
2998 }
2999 if (obj1) {
3000 {
3001 arg2 = wxString_in_helper(obj1);
3002 if (arg2 == NULL) SWIG_fail;
423f194a 3003 temp2 = True;
d14a1e28
RD
3004 }
3005 }
8edf1c75 3006 if (obj2) {
2f4c0a16
RD
3007 arg3 = (long) SWIG_AsLong(obj2);
3008 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3009 }
d14a1e28
RD
3010 if (obj3) {
3011 {
3012 arg4 = &temp4;
3013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3014 }
3015 }
3016 if (obj4) {
2f4c0a16
RD
3017 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028#if wxUSE_UNICODE
3029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3030#else
3031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3032#endif
3033 }
3034 {
3035 if (temp1)
3036 delete arg1;
3037 }
3038 {
3039 if (temp2)
3040 delete arg2;
3041 }
3042 return resultobj;
3043 fail:
3044 {
3045 if (temp1)
3046 delete arg1;
3047 }
3048 {
3049 if (temp2)
3050 delete arg2;
3051 }
3052 return NULL;
3053}
3054
3055
2f4c0a16 3056static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3057 PyObject *resultobj;
3058 wxString *arg1 = 0 ;
3059 wxString const &arg2_defvalue = wxPyEmptyString ;
3060 wxString *arg2 = (wxString *) &arg2_defvalue ;
3061 wxString const &arg3_defvalue = wxPyEmptyString ;
3062 wxString *arg3 = (wxString *) &arg3_defvalue ;
3063 wxWindow *arg4 = (wxWindow *) NULL ;
3064 int arg5 = (int) -1 ;
3065 int arg6 = (int) -1 ;
423f194a 3066 bool arg7 = (bool) True ;
d14a1e28 3067 wxString result;
423f194a
RD
3068 bool temp1 = False ;
3069 bool temp2 = False ;
3070 bool temp3 = False ;
d14a1e28
RD
3071 PyObject * obj0 = 0 ;
3072 PyObject * obj1 = 0 ;
3073 PyObject * obj2 = 0 ;
3074 PyObject * obj3 = 0 ;
8edf1c75
RD
3075 PyObject * obj4 = 0 ;
3076 PyObject * obj5 = 0 ;
d14a1e28
RD
3077 PyObject * obj6 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3080 };
3081
8edf1c75 3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
3083 {
3084 arg1 = wxString_in_helper(obj0);
3085 if (arg1 == NULL) SWIG_fail;
423f194a 3086 temp1 = True;
d14a1e28
RD
3087 }
3088 if (obj1) {
3089 {
3090 arg2 = wxString_in_helper(obj1);
3091 if (arg2 == NULL) SWIG_fail;
423f194a 3092 temp2 = True;
d14a1e28
RD
3093 }
3094 }
3095 if (obj2) {
3096 {
3097 arg3 = wxString_in_helper(obj2);
3098 if (arg3 == NULL) SWIG_fail;
423f194a 3099 temp3 = True;
d14a1e28
RD
3100 }
3101 }
3102 if (obj3) {
2f4c0a16
RD
3103 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3105 }
8edf1c75 3106 if (obj4) {
2f4c0a16
RD
3107 arg5 = (int) SWIG_AsInt(obj4);
3108 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3109 }
3110 if (obj5) {
2f4c0a16
RD
3111 arg6 = (int) SWIG_AsInt(obj5);
3112 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3113 }
d14a1e28 3114 if (obj6) {
2f4c0a16
RD
3115 arg7 = (bool) SWIG_AsBool(obj6);
3116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3117 }
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 {
3126#if wxUSE_UNICODE
3127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3128#else
3129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3130#endif
3131 }
3132 {
3133 if (temp1)
3134 delete arg1;
3135 }
3136 {
3137 if (temp2)
3138 delete arg2;
3139 }
3140 {
3141 if (temp3)
3142 delete arg3;
3143 }
3144 return resultobj;
3145 fail:
3146 {
3147 if (temp1)
3148 delete arg1;
3149 }
3150 {
3151 if (temp2)
3152 delete arg2;
3153 }
3154 {
3155 if (temp3)
3156 delete arg3;
3157 }
3158 return NULL;
3159}
3160
3161
2f4c0a16 3162static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3163 PyObject *resultobj;
3164 wxString *arg1 = 0 ;
3165 wxString const &arg2_defvalue = wxPyEmptyString ;
3166 wxString *arg2 = (wxString *) &arg2_defvalue ;
3167 wxString const &arg3_defvalue = wxPyEmptyString ;
3168 wxString *arg3 = (wxString *) &arg3_defvalue ;
3169 wxWindow *arg4 = (wxWindow *) NULL ;
3170 wxString result;
423f194a
RD
3171 bool temp1 = False ;
3172 bool temp2 = False ;
3173 bool temp3 = False ;
d14a1e28
RD
3174 PyObject * obj0 = 0 ;
3175 PyObject * obj1 = 0 ;
3176 PyObject * obj2 = 0 ;
3177 PyObject * obj3 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3183 {
3184 arg1 = wxString_in_helper(obj0);
3185 if (arg1 == NULL) SWIG_fail;
423f194a 3186 temp1 = True;
d14a1e28
RD
3187 }
3188 if (obj1) {
3189 {
3190 arg2 = wxString_in_helper(obj1);
3191 if (arg2 == NULL) SWIG_fail;
423f194a 3192 temp2 = True;
d14a1e28
RD
3193 }
3194 }
3195 if (obj2) {
3196 {
3197 arg3 = wxString_in_helper(obj2);
3198 if (arg3 == NULL) SWIG_fail;
423f194a 3199 temp3 = True;
d14a1e28
RD
3200 }
3201 }
3202 if (obj3) {
2f4c0a16
RD
3203 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3205 }
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 {
3214#if wxUSE_UNICODE
3215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3216#else
3217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3218#endif
3219 }
3220 {
3221 if (temp1)
3222 delete arg1;
3223 }
3224 {
3225 if (temp2)
3226 delete arg2;
3227 }
3228 {
3229 if (temp3)
3230 delete arg3;
3231 }
3232 return resultobj;
3233 fail:
3234 {
3235 if (temp1)
3236 delete arg1;
3237 }
3238 {
3239 if (temp2)
3240 delete arg2;
3241 }
3242 {
3243 if (temp3)
3244 delete arg3;
3245 }
3246 return NULL;
3247}
3248
3249
2f4c0a16 3250static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3251 PyObject *resultobj;
3252 wxString *arg1 = 0 ;
3253 wxString *arg2 = 0 ;
3254 int arg3 ;
3255 wxString *arg4 = (wxString *) 0 ;
3256 wxWindow *arg5 = (wxWindow *) NULL ;
3257 int arg6 = (int) -1 ;
3258 int arg7 = (int) -1 ;
423f194a 3259 bool arg8 = (bool) True ;
d14a1e28
RD
3260 int arg9 = (int) 150 ;
3261 int arg10 = (int) 200 ;
3262 wxString result;
423f194a
RD
3263 bool temp1 = False ;
3264 bool temp2 = False ;
d14a1e28
RD
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 PyObject * obj2 = 0 ;
3268 PyObject * obj3 = 0 ;
8edf1c75
RD
3269 PyObject * obj4 = 0 ;
3270 PyObject * obj5 = 0 ;
d14a1e28 3271 PyObject * obj6 = 0 ;
8edf1c75
RD
3272 PyObject * obj7 = 0 ;
3273 PyObject * obj8 = 0 ;
d14a1e28
RD
3274 char *kwnames[] = {
3275 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3276 };
3277
8edf1c75 3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3279 {
3280 arg1 = wxString_in_helper(obj0);
3281 if (arg1 == NULL) SWIG_fail;
423f194a 3282 temp1 = True;
d14a1e28
RD
3283 }
3284 {
3285 arg2 = wxString_in_helper(obj1);
3286 if (arg2 == NULL) SWIG_fail;
423f194a 3287 temp2 = True;
d14a1e28
RD
3288 }
3289 {
3290 arg3 = PyList_Size(obj2);
3291 arg4 = wxString_LIST_helper(obj2);
3292 if (arg4 == NULL) SWIG_fail;
3293 }
3294 if (obj3) {
2f4c0a16
RD
3295 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3297 }
8edf1c75 3298 if (obj4) {
2f4c0a16
RD
3299 arg6 = (int) SWIG_AsInt(obj4);
3300 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3301 }
3302 if (obj5) {
2f4c0a16
RD
3303 arg7 = (int) SWIG_AsInt(obj5);
3304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3305 }
d14a1e28 3306 if (obj6) {
2f4c0a16
RD
3307 arg8 = (bool) SWIG_AsBool(obj6);
3308 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3309 }
3310 if (obj7) {
2f4c0a16
RD
3311 arg9 = (int) SWIG_AsInt(obj7);
3312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3313 }
3314 if (obj8) {
2f4c0a16
RD
3315 arg10 = (int) SWIG_AsInt(obj8);
3316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326#if wxUSE_UNICODE
3327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3328#else
3329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3330#endif
3331 }
3332 {
3333 if (temp1)
3334 delete arg1;
3335 }
3336 {
3337 if (temp2)
3338 delete arg2;
3339 }
3340 {
3341 if (arg4) delete [] arg4;
3342 }
3343 return resultobj;
3344 fail:
3345 {
3346 if (temp1)
3347 delete arg1;
3348 }
3349 {
3350 if (temp2)
3351 delete arg2;
3352 }
3353 {
3354 if (arg4) delete [] arg4;
3355 }
3356 return NULL;
3357}
3358
3359
2f4c0a16 3360static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3361 PyObject *resultobj;
3362 wxString *arg1 = 0 ;
3363 wxString *arg2 = 0 ;
3364 int arg3 ;
3365 wxString *arg4 = (wxString *) 0 ;
3366 wxWindow *arg5 = (wxWindow *) NULL ;
3367 int arg6 = (int) -1 ;
3368 int arg7 = (int) -1 ;
423f194a 3369 bool arg8 = (bool) True ;
d14a1e28
RD
3370 int arg9 = (int) 150 ;
3371 int arg10 = (int) 200 ;
3372 int result;
423f194a
RD
3373 bool temp1 = False ;
3374 bool temp2 = False ;
d14a1e28
RD
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377 PyObject * obj2 = 0 ;
3378 PyObject * obj3 = 0 ;
8edf1c75
RD
3379 PyObject * obj4 = 0 ;
3380 PyObject * obj5 = 0 ;
d14a1e28 3381 PyObject * obj6 = 0 ;
8edf1c75
RD
3382 PyObject * obj7 = 0 ;
3383 PyObject * obj8 = 0 ;
d14a1e28
RD
3384 char *kwnames[] = {
3385 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3386 };
3387
8edf1c75 3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3389 {
3390 arg1 = wxString_in_helper(obj0);
3391 if (arg1 == NULL) SWIG_fail;
423f194a 3392 temp1 = True;
d14a1e28
RD
3393 }
3394 {
3395 arg2 = wxString_in_helper(obj1);
3396 if (arg2 == NULL) SWIG_fail;
423f194a 3397 temp2 = True;
d14a1e28
RD
3398 }
3399 {
3400 arg3 = PyList_Size(obj2);
3401 arg4 = wxString_LIST_helper(obj2);
3402 if (arg4 == NULL) SWIG_fail;
3403 }
3404 if (obj3) {
2f4c0a16
RD
3405 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3407 }
8edf1c75 3408 if (obj4) {
2f4c0a16
RD
3409 arg6 = (int) SWIG_AsInt(obj4);
3410 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3411 }
3412 if (obj5) {
2f4c0a16
RD
3413 arg7 = (int) SWIG_AsInt(obj5);
3414 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3415 }
d14a1e28 3416 if (obj6) {
2f4c0a16
RD
3417 arg8 = (bool) SWIG_AsBool(obj6);
3418 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3419 }
3420 if (obj7) {
2f4c0a16
RD
3421 arg9 = (int) SWIG_AsInt(obj7);
3422 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3423 }
3424 if (obj8) {
2f4c0a16
RD
3425 arg10 = (int) SWIG_AsInt(obj8);
3426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3427 }
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
2f4c0a16 3435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3436 {
3437 if (temp1)
3438 delete arg1;
3439 }
3440 {
3441 if (temp2)
3442 delete arg2;
3443 }
3444 {
3445 if (arg4) delete [] arg4;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp1)
3451 delete arg1;
3452 }
3453 {
3454 if (temp2)
3455 delete arg2;
3456 }
3457 {
3458 if (arg4) delete [] arg4;
3459 }
3460 return NULL;
3461}
3462
3463
2f4c0a16 3464static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3465 PyObject *resultobj;
3466 wxString *arg1 = 0 ;
3467 wxString const &arg2_defvalue = wxPyEmptyString ;
3468 wxString *arg2 = (wxString *) &arg2_defvalue ;
3469 int arg3 = (int) wxOK|wxCENTRE ;
3470 wxWindow *arg4 = (wxWindow *) NULL ;
3471 int arg5 = (int) -1 ;
3472 int arg6 = (int) -1 ;
3473 int result;
423f194a
RD
3474 bool temp1 = False ;
3475 bool temp2 = False ;
d14a1e28
RD
3476 PyObject * obj0 = 0 ;
3477 PyObject * obj1 = 0 ;
8edf1c75 3478 PyObject * obj2 = 0 ;
d14a1e28 3479 PyObject * obj3 = 0 ;
8edf1c75
RD
3480 PyObject * obj4 = 0 ;
3481 PyObject * obj5 = 0 ;
d14a1e28
RD
3482 char *kwnames[] = {
3483 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3484 };
3485
8edf1c75 3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3487 {
3488 arg1 = wxString_in_helper(obj0);
3489 if (arg1 == NULL) SWIG_fail;
423f194a 3490 temp1 = True;
d14a1e28
RD
3491 }
3492 if (obj1) {
3493 {
3494 arg2 = wxString_in_helper(obj1);
3495 if (arg2 == NULL) SWIG_fail;
423f194a 3496 temp2 = True;
d14a1e28
RD
3497 }
3498 }
8edf1c75 3499 if (obj2) {
2f4c0a16
RD
3500 arg3 = (int) SWIG_AsInt(obj2);
3501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3502 }
d14a1e28 3503 if (obj3) {
2f4c0a16
RD
3504 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3506 }
8edf1c75 3507 if (obj4) {
2f4c0a16
RD
3508 arg5 = (int) SWIG_AsInt(obj4);
3509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3510 }
3511 if (obj5) {
2f4c0a16
RD
3512 arg6 = (int) SWIG_AsInt(obj5);
3513 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3514 }
d14a1e28
RD
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
2f4c0a16 3522 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3523 {
3524 if (temp1)
3525 delete arg1;
3526 }
3527 {
3528 if (temp2)
3529 delete arg2;
3530 }
3531 return resultobj;
3532 fail:
3533 {
3534 if (temp1)
3535 delete arg1;
3536 }
3537 {
3538 if (temp2)
3539 delete arg2;
3540 }
3541 return NULL;
3542}
3543
3544
2f4c0a16 3545static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3546 PyObject *resultobj;
3547 wxString *arg1 = 0 ;
3548 wxString *arg2 = 0 ;
3549 wxString *arg3 = 0 ;
3550 long arg4 ;
3551 long arg5 = (long) 0 ;
3552 long arg6 = (long) 100 ;
3553 wxWindow *arg7 = (wxWindow *) NULL ;
3554 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3555 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3556 long result;
423f194a
RD
3557 bool temp1 = False ;
3558 bool temp2 = False ;
3559 bool temp3 = False ;
d14a1e28
RD
3560 wxPoint temp8 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 PyObject * obj2 = 0 ;
8edf1c75
RD
3564 PyObject * obj3 = 0 ;
3565 PyObject * obj4 = 0 ;
3566 PyObject * obj5 = 0 ;
3567 PyObject * obj6 = 0 ;
d14a1e28
RD
3568 PyObject * obj7 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3571 };
3572
8edf1c75 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3574 {
3575 arg1 = wxString_in_helper(obj0);
3576 if (arg1 == NULL) SWIG_fail;
423f194a 3577 temp1 = True;
d14a1e28
RD
3578 }
3579 {
3580 arg2 = wxString_in_helper(obj1);
3581 if (arg2 == NULL) SWIG_fail;
423f194a 3582 temp2 = True;
d14a1e28
RD
3583 }
3584 {
3585 arg3 = wxString_in_helper(obj2);
3586 if (arg3 == NULL) SWIG_fail;
423f194a 3587 temp3 = True;
d14a1e28 3588 }
2f4c0a16
RD
3589 arg4 = (long) SWIG_AsLong(obj3);
3590 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3591 if (obj4) {
2f4c0a16
RD
3592 arg5 = (long) SWIG_AsLong(obj4);
3593 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3594 }
3595 if (obj5) {
2f4c0a16
RD
3596 arg6 = (long) SWIG_AsLong(obj5);
3597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3598 }
d14a1e28 3599 if (obj6) {
2f4c0a16
RD
3600 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3602 }
3603 if (obj7) {
3604 {
3605 arg8 = &temp8;
3606 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3607 }
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
2f4c0a16 3616 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3617 {
3618 if (temp1)
3619 delete arg1;
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 {
3626 if (temp3)
3627 delete arg3;
3628 }
3629 return resultobj;
3630 fail:
3631 {
3632 if (temp1)
3633 delete arg1;
3634 }
3635 {
3636 if (temp2)
3637 delete arg2;
3638 }
3639 {
3640 if (temp3)
3641 delete arg3;
3642 }
3643 return NULL;
3644}
3645
3646
2f4c0a16 3647static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3648 PyObject *resultobj;
3649 bool result;
3650 char *kwnames[] = {
3651 NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)wxColourDisplay();
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
02a34c4c 3662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3663 return resultobj;
3664 fail:
3665 return NULL;
3666}
3667
3668
2f4c0a16 3669static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3670 PyObject *resultobj;
3671 int result;
3672 char *kwnames[] = {
3673 NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (int)wxDisplayDepth();
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
2f4c0a16 3684 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3685 return resultobj;
3686 fail:
3687 return NULL;
3688}
3689
3690
2f4c0a16 3691static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3692 PyObject *resultobj;
3693 int result;
3694 char *kwnames[] = {
3695 NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = (int)wxGetDisplayDepth();
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
2f4c0a16 3706 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
2f4c0a16 3713static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3714 PyObject *resultobj;
3715 int *arg1 = (int *) 0 ;
3716 int *arg2 = (int *) 0 ;
3717 int temp1 ;
3718 int temp2 ;
3719 char *kwnames[] = {
3720 NULL
3721 };
3722
3723 arg1 = &temp1;
3724 arg2 = &temp2;
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 wxDisplaySize(arg1,arg2);
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 Py_INCREF(Py_None); resultobj = Py_None;
3734 {
3735 PyObject *o = PyInt_FromLong((long) (*arg1));
3736 resultobj = t_output_helper(resultobj,o);
3737 }
3738 {
3739 PyObject *o = PyInt_FromLong((long) (*arg2));
3740 resultobj = t_output_helper(resultobj,o);
3741 }
3742 return resultobj;
3743 fail:
3744 return NULL;
3745}
3746
3747
2f4c0a16 3748static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3749 PyObject *resultobj;
3750 wxSize result;
3751 char *kwnames[] = {
3752 NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 result = wxGetDisplaySize();
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 {
3764 wxSize * resultptr;
3765 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3767 }
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
2f4c0a16 3774static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3775 PyObject *resultobj;
3776 int *arg1 = (int *) 0 ;
3777 int *arg2 = (int *) 0 ;
3778 int temp1 ;
3779 int temp2 ;
3780 char *kwnames[] = {
3781 NULL
3782 };
3783
3784 arg1 = &temp1;
3785 arg2 = &temp2;
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 wxDisplaySizeMM(arg1,arg2);
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 Py_INCREF(Py_None); resultobj = Py_None;
3795 {
3796 PyObject *o = PyInt_FromLong((long) (*arg1));
3797 resultobj = t_output_helper(resultobj,o);
3798 }
3799 {
3800 PyObject *o = PyInt_FromLong((long) (*arg2));
3801 resultobj = t_output_helper(resultobj,o);
3802 }
3803 return resultobj;
3804 fail:
3805 return NULL;
3806}
3807
3808
2f4c0a16 3809static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3810 PyObject *resultobj;
3811 wxSize result;
3812 char *kwnames[] = {
3813 NULL
3814 };
3815
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = wxGetDisplaySizeMM();
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 {
3825 wxSize * resultptr;
3826 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3828 }
3829 return resultobj;
3830 fail:
3831 return NULL;
3832}
3833
3834
2f4c0a16 3835static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3836 PyObject *resultobj;
3837 int *arg1 = (int *) 0 ;
3838 int *arg2 = (int *) 0 ;
3839 int *arg3 = (int *) 0 ;
3840 int *arg4 = (int *) 0 ;
3841 int temp1 ;
3842 int temp2 ;
3843 int temp3 ;
3844 int temp4 ;
3845 char *kwnames[] = {
3846 NULL
3847 };
3848
3849 arg1 = &temp1;
3850 arg2 = &temp2;
3851 arg3 = &temp3;
3852 arg4 = &temp4;
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 Py_INCREF(Py_None); resultobj = Py_None;
3862 {
3863 PyObject *o = PyInt_FromLong((long) (*arg1));
3864 resultobj = t_output_helper(resultobj,o);
3865 }
3866 {
3867 PyObject *o = PyInt_FromLong((long) (*arg2));
3868 resultobj = t_output_helper(resultobj,o);
3869 }
3870 {
3871 PyObject *o = PyInt_FromLong((long) (*arg3));
3872 resultobj = t_output_helper(resultobj,o);
3873 }
3874 {
3875 PyObject *o = PyInt_FromLong((long) (*arg4));
3876 resultobj = t_output_helper(resultobj,o);
3877 }
3878 return resultobj;
3879 fail:
3880 return NULL;
3881}
3882
3883
2f4c0a16 3884static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3885 PyObject *resultobj;
3886 wxRect result;
3887 char *kwnames[] = {
3888 NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = wxGetClientDisplayRect();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 {
3900 wxRect * resultptr;
3901 resultptr = new wxRect((wxRect &) result);
2f4c0a16 3902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3903 }
3904 return resultobj;
3905 fail:
3906 return NULL;
3907}
3908
3909
2f4c0a16 3910static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3911 PyObject *resultobj;
3912 wxCursor *arg1 = 0 ;
3913 PyObject * obj0 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "cursor", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3920 SWIG_POINTER_EXCEPTION | 0)) == -1)
3921 SWIG_fail;
d14a1e28 3922 if (arg1 == NULL) {
2f4c0a16
RD
3923 PyErr_SetString(PyExc_TypeError,"null reference");
3924 SWIG_fail;
d14a1e28
RD
3925 }
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 wxSetCursor(*arg1);
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 Py_INCREF(Py_None); resultobj = Py_None;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937}
3938
3939
2f4c0a16 3940static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3941 PyObject *resultobj;
3942 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "cursor", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3949 if (obj0) {
2f4c0a16
RD
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3952 }
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 wxBeginBusyCursor(arg1);
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
3960 Py_INCREF(Py_None); resultobj = Py_None;
3961 return resultobj;
3962 fail:
3963 return NULL;
3964}
3965
3966
2f4c0a16 3967static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3968 PyObject *resultobj;
3969 wxWindow *result;
3970 char *kwnames[] = {
3971 NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (wxWindow *)wxGetActiveWindow();
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 {
3983 resultobj = wxPyMake_wxObject(result);
3984 }
3985 return resultobj;
3986 fail:
3987 return NULL;
3988}
3989
3990
2f4c0a16 3991static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3992 PyObject *resultobj;
3993 wxPoint *arg1 = 0 ;
3994 wxWindow *result;
3995 wxPoint temp1 ;
3996 PyObject * obj0 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "pt", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4002 {
4003 arg1 = &temp1;
4004 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 {
4014 resultobj = wxPyMake_wxObject(result);
4015 }
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
2f4c0a16 4022static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4023 PyObject *resultobj;
4024 wxPoint *arg1 = 0 ;
4025 wxWindow *result;
4026 wxPoint temp1 ;
4027 PyObject * obj0 = 0 ;
4028 char *kwnames[] = {
4029 (char *) "pt", NULL
4030 };
4031
4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4033 {
4034 arg1 = &temp1;
4035 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4036 }
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 {
4045 resultobj = wxPyMake_wxObject(result);
4046 }
4047 return resultobj;
4048 fail:
4049 return NULL;
4050}
4051
4052
2f4c0a16 4053static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4054 PyObject *resultobj;
4055 wxWindow *arg1 = (wxWindow *) 0 ;
4056 wxWindow *result;
4057 PyObject * obj0 = 0 ;
4058 char *kwnames[] = {
4059 (char *) "win", NULL
4060 };
4061
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = (wxWindow *)wxGetTopLevelParent(arg1);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 {
4073 resultobj = wxPyMake_wxObject(result);
4074 }
4075 return resultobj;
4076 fail:
4077 return NULL;
4078}
4079
4080
2f4c0a16 4081static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4082 PyObject *resultobj;
4083 int arg1 ;
4084 bool result;
8edf1c75 4085 PyObject * obj0 = 0 ;
cbd72d4f
RD
4086 char *kwnames[] = {
4087 (char *) "key", NULL
4088 };
4089
8edf1c75 4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4091 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4092 if (PyErr_Occurred()) SWIG_fail;
cbd72d4f
RD
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
02a34c4c 4100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
cbd72d4f
RD
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
2f4c0a16 4107static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4108 PyObject *resultobj;
4109 char *kwnames[] = {
4110 NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 wxWakeUpMainThread();
4117
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125}
4126
4127
2f4c0a16 4128static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4129 PyObject *resultobj;
4130 char *kwnames[] = {
4131 NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 wxMutexGuiEnter();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 Py_INCREF(Py_None); resultobj = Py_None;
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
2f4c0a16 4149static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4150 PyObject *resultobj;
4151 char *kwnames[] = {
4152 NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 wxMutexGuiLeave();
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 Py_INCREF(Py_None); resultobj = Py_None;
4164 return resultobj;
4165 fail:
4166 return NULL;
4167}
4168
4169
2f4c0a16 4170static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4171 PyObject *resultobj;
4172 wxMutexGuiLocker *result;
4173 char *kwnames[] = {
4174 NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
2f4c0a16 4185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
4186 return resultobj;
4187 fail:
4188 return NULL;
4189}
4190
4191
2f4c0a16 4192static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4193 PyObject *resultobj;
4194 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4195 PyObject * obj0 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 delete arg1;
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 Py_INCREF(Py_None); resultobj = Py_None;
4211 return resultobj;
4212 fail:
4213 return NULL;
4214}
4215
4216
2f4c0a16 4217static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4218 PyObject *obj;
4219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4220 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4221 Py_INCREF(obj);
4222 return Py_BuildValue((char *)"");
4223}
2f4c0a16 4224static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4225 PyObject *resultobj;
4226 bool result;
4227 char *kwnames[] = {
4228 NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (bool)wxThread_IsMain();
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
02a34c4c 4239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4240 return resultobj;
4241 fail:
4242 return NULL;
4243}
4244
4245
2f4c0a16 4246static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4247 PyObject *resultobj;
4248 wxString *arg1 = 0 ;
4249 wxToolTip *result;
423f194a 4250 bool temp1 = False ;
d14a1e28
RD
4251 PyObject * obj0 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "tip", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4257 {
4258 arg1 = wxString_in_helper(obj0);
4259 if (arg1 == NULL) SWIG_fail;
423f194a 4260 temp1 = True;
d14a1e28
RD
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 {
4270 resultobj = wxPyMake_wxObject(result);
4271 }
4272 {
4273 if (temp1)
4274 delete arg1;
4275 }
4276 return resultobj;
4277 fail:
4278 {
4279 if (temp1)
4280 delete arg1;
4281 }
4282 return NULL;
4283}
4284
4285
2f4c0a16 4286static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4287 PyObject *resultobj;
4288 wxToolTip *arg1 = (wxToolTip *) 0 ;
4289 wxString *arg2 = 0 ;
423f194a 4290 bool temp2 = False ;
d14a1e28
RD
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self",(char *) "tip", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4300 {
4301 arg2 = wxString_in_helper(obj1);
4302 if (arg2 == NULL) SWIG_fail;
423f194a 4303 temp2 = True;
d14a1e28
RD
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->SetTip((wxString const &)*arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 {
4314 if (temp2)
4315 delete arg2;
4316 }
4317 return resultobj;
4318 fail:
4319 {
4320 if (temp2)
4321 delete arg2;
4322 }
4323 return NULL;
4324}
4325
4326
2f4c0a16 4327static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4328 PyObject *resultobj;
4329 wxToolTip *arg1 = (wxToolTip *) 0 ;
4330 wxString result;
4331 PyObject * obj0 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (arg1)->GetTip();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 {
4347#if wxUSE_UNICODE
4348 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4349#else
4350 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4351#endif
4352 }
4353 return resultobj;
4354 fail:
4355 return NULL;
4356}
4357
4358
2f4c0a16 4359static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4360 PyObject *resultobj;
4361 wxToolTip *arg1 = (wxToolTip *) 0 ;
4362 wxWindow *result;
4363 PyObject * obj0 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "self", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxWindow *)(arg1)->GetWindow();
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 {
4379 resultobj = wxPyMake_wxObject(result);
4380 }
4381 return resultobj;
4382 fail:
4383 return NULL;
4384}
4385
4386
2f4c0a16 4387static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4388 PyObject *resultobj;
4389 bool arg1 ;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "flag", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4396 arg1 = (bool) SWIG_AsBool(obj0);
4397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4398 {
4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
4400 wxToolTip::Enable(arg1);
4401
4402 wxPyEndAllowThreads(__tstate);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 Py_INCREF(Py_None); resultobj = Py_None;
4406 return resultobj;
4407 fail:
4408 return NULL;
4409}
4410
4411
2f4c0a16 4412static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4413 PyObject *resultobj;
4414 long arg1 ;
8edf1c75 4415 PyObject * obj0 = 0 ;
d14a1e28
RD
4416 char *kwnames[] = {
4417 (char *) "milliseconds", NULL
4418 };
4419
8edf1c75 4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4421 arg1 = (long) SWIG_AsLong(obj0);
4422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 wxToolTip::SetDelay(arg1);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 Py_INCREF(Py_None); resultobj = Py_None;
4431 return resultobj;
4432 fail:
4433 return NULL;
4434}
4435
4436
2f4c0a16 4437static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4438 PyObject *obj;
4439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4440 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4441 Py_INCREF(obj);
4442 return Py_BuildValue((char *)"");
4443}
2f4c0a16 4444static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4445 PyObject *resultobj;
4446 wxWindow *arg1 = (wxWindow *) 0 ;
4447 wxSize *arg2 = 0 ;
4448 wxCaret *result;
4449 wxSize temp2 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 char *kwnames[] = {
4453 (char *) "window",(char *) "size", NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4459 {
4460 arg2 = &temp2;
4461 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4462 }
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
2f4c0a16 4470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
4471 return resultobj;
4472 fail:
4473 return NULL;
4474}
4475
4476
2f4c0a16 4477static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4478 PyObject *resultobj;
4479 wxCaret *arg1 = (wxCaret *) 0 ;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 delete arg1;
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 Py_INCREF(Py_None); resultobj = Py_None;
4496 return resultobj;
4497 fail:
4498 return NULL;
4499}
4500
4501
2f4c0a16 4502static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4503 PyObject *resultobj;
4504 wxCaret *arg1 = (wxCaret *) 0 ;
4505 bool result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (bool)(arg1)->IsOk();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
02a34c4c 4521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4522 return resultobj;
4523 fail:
4524 return NULL;
4525}
4526
4527
2f4c0a16 4528static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4529 PyObject *resultobj;
4530 wxCaret *arg1 = (wxCaret *) 0 ;
4531 bool result;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 result = (bool)(arg1)->IsVisible();
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
02a34c4c 4547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
2f4c0a16 4554static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4555 PyObject *resultobj;
4556 wxCaret *arg1 = (wxCaret *) 0 ;
4557 wxPoint result;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 result = (arg1)->GetPosition();
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 {
4574 wxPoint * resultptr;
4575 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 4576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
44127b65
RD
4577 }
4578 return resultobj;
4579 fail:
4580 return NULL;
4581}
4582
4583
2f4c0a16 4584static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4585 PyObject *resultobj;
4586 wxCaret *arg1 = (wxCaret *) 0 ;
4587 int *arg2 = (int *) 0 ;
4588 int *arg3 = (int *) 0 ;
4589 int temp2 ;
4590 int temp3 ;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 arg2 = &temp2;
4597 arg3 = &temp3;
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 (arg1)->GetPosition(arg2,arg3);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 Py_INCREF(Py_None); resultobj = Py_None;
4609 {
4610 PyObject *o = PyInt_FromLong((long) (*arg2));
4611 resultobj = t_output_helper(resultobj,o);
4612 }
4613 {
4614 PyObject *o = PyInt_FromLong((long) (*arg3));
4615 resultobj = t_output_helper(resultobj,o);
4616 }
4617 return resultobj;
4618 fail:
4619 return NULL;
4620}
4621
4622
2f4c0a16 4623static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4624 PyObject *resultobj;
4625 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4626 wxSize result;
d14a1e28
RD
4627 PyObject * obj0 = 0 ;
4628 char *kwnames[] = {
4629 (char *) "self", NULL
4630 };
4631
44127b65 4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4637 result = (arg1)->GetSize();
d14a1e28
RD
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 {
44127b65
RD
4643 wxSize * resultptr;
4644 resultptr = new wxSize((wxSize &) result);
2f4c0a16 4645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4646 }
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
2f4c0a16 4653static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4654 PyObject *resultobj;
4655 wxCaret *arg1 = (wxCaret *) 0 ;
4656 int *arg2 = (int *) 0 ;
4657 int *arg3 = (int *) 0 ;
4658 int temp2 ;
4659 int temp3 ;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 arg2 = &temp2;
4666 arg3 = &temp3;
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 (arg1)->GetSize(arg2,arg3);
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 Py_INCREF(Py_None); resultobj = Py_None;
4678 {
4679 PyObject *o = PyInt_FromLong((long) (*arg2));
4680 resultobj = t_output_helper(resultobj,o);
4681 }
4682 {
4683 PyObject *o = PyInt_FromLong((long) (*arg3));
4684 resultobj = t_output_helper(resultobj,o);
4685 }
4686 return resultobj;
4687 fail:
4688 return NULL;
4689}
4690
4691
2f4c0a16 4692static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4693 PyObject *resultobj;
4694 wxCaret *arg1 = (wxCaret *) 0 ;
4695 wxWindow *result;
4696 PyObject * obj0 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 result = (wxWindow *)(arg1)->GetWindow();
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 {
4712 resultobj = wxPyMake_wxObject(result);
4713 }
4714 return resultobj;
4715 fail:
4716 return NULL;
4717}
4718
4719
2f4c0a16 4720static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4721 PyObject *resultobj;
4722 wxCaret *arg1 = (wxCaret *) 0 ;
4723 int arg2 ;
4724 int arg3 ;
4725 PyObject * obj0 = 0 ;
8edf1c75
RD
4726 PyObject * obj1 = 0 ;
4727 PyObject * obj2 = 0 ;
d14a1e28
RD
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "x",(char *) "y", NULL
4730 };
4731
8edf1c75 4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4735 arg2 = (int) SWIG_AsInt(obj1);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 arg3 = (int) SWIG_AsInt(obj2);
4738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->Move(arg2,arg3);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750}
4751
4752
2f4c0a16 4753static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4754 PyObject *resultobj;
4755 wxCaret *arg1 = (wxCaret *) 0 ;
4756 wxPoint *arg2 = 0 ;
4757 wxPoint temp2 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self",(char *) "pt", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4767 {
4768 arg2 = &temp2;
4769 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4770 }
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 (arg1)->Move((wxPoint const &)*arg2);
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 Py_INCREF(Py_None); resultobj = Py_None;
4779 return resultobj;
4780 fail:
4781 return NULL;
4782}
4783
4784
2f4c0a16 4785static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4786 PyObject *resultobj;
4787 wxCaret *arg1 = (wxCaret *) 0 ;
4788 int arg2 ;
4789 int arg3 ;
4790 PyObject * obj0 = 0 ;
8edf1c75
RD
4791 PyObject * obj1 = 0 ;
4792 PyObject * obj2 = 0 ;
d14a1e28
RD
4793 char *kwnames[] = {
4794 (char *) "self",(char *) "width",(char *) "height", NULL
4795 };
4796
8edf1c75 4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4800 arg2 = (int) SWIG_AsInt(obj1);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 arg3 = (int) SWIG_AsInt(obj2);
4803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 (arg1)->SetSize(arg2,arg3);
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 Py_INCREF(Py_None); resultobj = Py_None;
4812 return resultobj;
4813 fail:
4814 return NULL;
4815}
4816
4817
2f4c0a16 4818static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4819 PyObject *resultobj;
4820 wxCaret *arg1 = (wxCaret *) 0 ;
4821 wxSize *arg2 = 0 ;
4822 wxSize temp2 ;
4823 PyObject * obj0 = 0 ;
4824 PyObject * obj1 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self",(char *) "size", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4832 {
4833 arg2 = &temp2;
4834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4835 }
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 (arg1)->SetSize((wxSize const &)*arg2);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 Py_INCREF(Py_None); resultobj = Py_None;
4844 return resultobj;
4845 fail:
4846 return NULL;
4847}
4848
4849
2f4c0a16 4850static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4851 PyObject *resultobj;
4852 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4853 int arg2 = (int) True ;
d14a1e28 4854 PyObject * obj0 = 0 ;
8edf1c75 4855 PyObject * obj1 = 0 ;
d14a1e28
RD
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "show", NULL
4858 };
4859
8edf1c75 4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4863 if (obj1) {
2f4c0a16
RD
4864 arg2 = (int) SWIG_AsInt(obj1);
4865 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4866 }
d14a1e28
RD
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 (arg1)->Show(arg2);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 Py_INCREF(Py_None); resultobj = Py_None;
4875 return resultobj;
4876 fail:
4877 return NULL;
4878}
4879
4880
2f4c0a16 4881static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4882 PyObject *resultobj;
4883 wxCaret *arg1 = (wxCaret *) 0 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->Hide();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 Py_INCREF(Py_None); resultobj = Py_None;
4900 return resultobj;
4901 fail:
4902 return NULL;
4903}
4904
4905
2f4c0a16 4906static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4907 PyObject *obj;
4908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4909 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4910 Py_INCREF(obj);
4911 return Py_BuildValue((char *)"");
4912}
2f4c0a16 4913static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4914 PyObject *resultobj;
4915 int result;
4916 char *kwnames[] = {
4917 NULL
4918 };
4919
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (int)wxCaret_GetBlinkTime();
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
2f4c0a16 4928 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
2f4c0a16 4935static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4936 PyObject *resultobj;
4937 int arg1 ;
8edf1c75 4938 PyObject * obj0 = 0 ;
d14a1e28
RD
4939 char *kwnames[] = {
4940 (char *) "milliseconds", NULL
4941 };
4942
8edf1c75 4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4944 arg1 = (int) SWIG_AsInt(obj0);
4945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 wxCaret_SetBlinkTime(arg1);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
2f4c0a16 4960static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4961 PyObject *resultobj;
4962 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4963 wxBusyCursor *result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "cursor", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4970 if (obj0) {
2f4c0a16
RD
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4973 }
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
2f4c0a16 4981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
4982 return resultobj;
4983 fail:
4984 return NULL;
4985}
4986
4987
2f4c0a16 4988static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4989 PyObject *resultobj;
4990 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
4998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 delete arg1;
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010}
5011
5012
2f4c0a16 5013static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5014 PyObject *obj;
5015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5016 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5017 Py_INCREF(obj);
5018 return Py_BuildValue((char *)"");
5019}
2f4c0a16 5020static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5021 PyObject *resultobj;
5022 wxWindow *arg1 = (wxWindow *) NULL ;
5023 wxWindowDisabler *result;
5024 PyObject * obj0 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "winToSkip", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5030 if (obj0) {
2f4c0a16
RD
5031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
2f4c0a16 5041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
5042 return resultobj;
5043 fail:
5044 return NULL;
5045}
5046
5047
2f4c0a16 5048static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5049 PyObject *resultobj;
5050 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5051 PyObject * obj0 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 delete arg1;
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070}
5071
5072
2f4c0a16 5073static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5074 PyObject *obj;
5075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5076 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5077 Py_INCREF(obj);
5078 return Py_BuildValue((char *)"");
5079}
2f4c0a16 5080static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5081 PyObject *resultobj;
5082 wxString *arg1 = 0 ;
5083 wxBusyInfo *result;
423f194a 5084 bool temp1 = False ;
d14a1e28
RD
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "message", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5091 {
5092 arg1 = wxString_in_helper(obj0);
5093 if (arg1 == NULL) SWIG_fail;
423f194a 5094 temp1 = True;
d14a1e28
RD
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
2f4c0a16 5103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
5104 {
5105 if (temp1)
5106 delete arg1;
5107 }
5108 return resultobj;
5109 fail:
5110 {
5111 if (temp1)
5112 delete arg1;
5113 }
5114 return NULL;
5115}
5116
5117
2f4c0a16 5118static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5119 PyObject *resultobj;
5120 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5121 PyObject * obj0 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 delete arg1;
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 Py_INCREF(Py_None); resultobj = Py_None;
5137 return resultobj;
5138 fail:
5139 return NULL;
5140}
5141
5142
2f4c0a16 5143static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5144 PyObject *obj;
5145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5146 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5147 Py_INCREF(obj);
5148 return Py_BuildValue((char *)"");
5149}
2f4c0a16 5150static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5151 PyObject *resultobj;
5152 wxStopWatch *result;
5153 char *kwnames[] = {
5154 NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxStopWatch *)new wxStopWatch();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
2f4c0a16 5165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
5166 return resultobj;
5167 fail:
5168 return NULL;
5169}
5170
5171
2f4c0a16 5172static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5173 PyObject *resultobj;
5174 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5175 long arg2 = (long) 0 ;
5176 PyObject * obj0 = 0 ;
8edf1c75 5177 PyObject * obj1 = 0 ;
d14a1e28
RD
5178 char *kwnames[] = {
5179 (char *) "self",(char *) "t0", NULL
5180 };
5181
8edf1c75 5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5185 if (obj1) {
2f4c0a16
RD
5186 arg2 = (long) SWIG_AsLong(obj1);
5187 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5188 }
d14a1e28
RD
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 (arg1)->Start(arg2);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 Py_INCREF(Py_None); resultobj = Py_None;
5197 return resultobj;
5198 fail:
5199 return NULL;
5200}
5201
5202
2f4c0a16 5203static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5204 PyObject *resultobj;
5205 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 (arg1)->Pause();
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 Py_INCREF(Py_None); resultobj = Py_None;
5222 return resultobj;
5223 fail:
5224 return NULL;
5225}
5226
5227
2f4c0a16 5228static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5229 PyObject *resultobj;
5230 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5231 PyObject * obj0 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->Resume();
5242
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 Py_INCREF(Py_None); resultobj = Py_None;
5247 return resultobj;
5248 fail:
5249 return NULL;
5250}
5251
5252
2f4c0a16 5253static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5254 PyObject *resultobj;
5255 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5256 long result;
5257 PyObject * obj0 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (long)((wxStopWatch const *)arg1)->Time();
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
2f4c0a16 5272 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5273 return resultobj;
5274 fail:
5275 return NULL;
5276}
5277
5278
2f4c0a16 5279static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5280 PyObject *obj;
5281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5283 Py_INCREF(obj);
5284 return Py_BuildValue((char *)"");
5285}
2f4c0a16 5286static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5287 PyObject *resultobj;
5288 int arg1 = (int) 9 ;
5289 wxFileHistory *result;
8edf1c75 5290 PyObject * obj0 = 0 ;
d14a1e28
RD
5291 char *kwnames[] = {
5292 (char *) "maxFiles", NULL
5293 };
5294
8edf1c75
RD
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5296 if (obj0) {
2f4c0a16
RD
5297 arg1 = (int) SWIG_AsInt(obj0);
5298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5299 }
d14a1e28
RD
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (wxFileHistory *)new wxFileHistory(arg1);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
2f4c0a16 5307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
2f4c0a16 5314static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5315 PyObject *resultobj;
5316 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5317 PyObject * obj0 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "self", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 delete arg1;
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 Py_INCREF(Py_None); resultobj = Py_None;
5333 return resultobj;
5334 fail:
5335 return NULL;
5336}
5337
5338
2f4c0a16 5339static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5340 PyObject *resultobj;
5341 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5342 wxString *arg2 = 0 ;
423f194a 5343 bool temp2 = False ;
d14a1e28
RD
5344 PyObject * obj0 = 0 ;
5345 PyObject * obj1 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "file", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5353 {
5354 arg2 = wxString_in_helper(obj1);
5355 if (arg2 == NULL) SWIG_fail;
423f194a 5356 temp2 = True;
d14a1e28
RD
5357 }
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->AddFileToHistory((wxString const &)*arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 Py_INCREF(Py_None); resultobj = Py_None;
5366 {
5367 if (temp2)
5368 delete arg2;
5369 }
5370 return resultobj;
5371 fail:
5372 {
5373 if (temp2)
5374 delete arg2;
5375 }
5376 return NULL;
5377}
5378
5379
2f4c0a16 5380static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5381 PyObject *resultobj;
5382 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5383 int arg2 ;
5384 PyObject * obj0 = 0 ;
8edf1c75 5385 PyObject * obj1 = 0 ;
d14a1e28
RD
5386 char *kwnames[] = {
5387 (char *) "self",(char *) "i", NULL
5388 };
5389
8edf1c75 5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5393 arg2 = (int) SWIG_AsInt(obj1);
5394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->RemoveFileFromHistory(arg2);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 Py_INCREF(Py_None); resultobj = Py_None;
5403 return resultobj;
5404 fail:
5405 return NULL;
5406}
5407
5408
2f4c0a16 5409static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5410 PyObject *resultobj;
5411 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5412 int result;
5413 PyObject * obj0 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
2f4c0a16 5428 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
2f4c0a16 5435static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5436 PyObject *resultobj;
5437 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5438 wxMenu *arg2 = (wxMenu *) 0 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "menu", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->UseMenu(arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461}
5462
5463
2f4c0a16 5464static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5465 PyObject *resultobj;
5466 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5467 wxMenu *arg2 = (wxMenu *) 0 ;
5468 PyObject * obj0 = 0 ;
5469 PyObject * obj1 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "menu", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->RemoveMenu(arg2);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490}
5491
5492
2f4c0a16 5493static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5494 PyObject *resultobj;
5495 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5496 wxConfigBase *arg2 = 0 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "config", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1)
5508 SWIG_fail;
d14a1e28 5509 if (arg2 == NULL) {
2f4c0a16
RD
5510 PyErr_SetString(PyExc_TypeError,"null reference");
5511 SWIG_fail;
d14a1e28
RD
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->Load(*arg2);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 return resultobj;
5522 fail:
5523 return NULL;
5524}
5525
5526
2f4c0a16 5527static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5528 PyObject *resultobj;
5529 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5530 wxConfigBase *arg2 = 0 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "config", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1)
5542 SWIG_fail;
d14a1e28 5543 if (arg2 == NULL) {
2f4c0a16
RD
5544 PyErr_SetString(PyExc_TypeError,"null reference");
5545 SWIG_fail;
d14a1e28
RD
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->Save(*arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
2f4c0a16 5561static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5562 PyObject *resultobj;
5563 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->AddFilesToMenu();
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 Py_INCREF(Py_None); resultobj = Py_None;
5580 return resultobj;
5581 fail:
5582 return NULL;
5583}
5584
5585
2f4c0a16 5586static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5587 PyObject *resultobj;
5588 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5589 wxMenu *arg2 = (wxMenu *) 0 ;
5590 PyObject * obj0 = 0 ;
5591 PyObject * obj1 = 0 ;
5592 char *kwnames[] = {
5593 (char *) "self",(char *) "menu", NULL
5594 };
5595
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->AddFilesToMenu(arg2);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 return resultobj;
5610 fail:
5611 return NULL;
5612}
5613
5614
2f4c0a16 5615static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5616 PyObject *resultobj;
5617 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5618 int arg2 ;
5619 wxString result;
5620 PyObject * obj0 = 0 ;
8edf1c75 5621 PyObject * obj1 = 0 ;
d14a1e28
RD
5622 char *kwnames[] = {
5623 (char *) "self",(char *) "i", NULL
5624 };
5625
8edf1c75 5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5629 arg2 = (int) SWIG_AsInt(obj1);
5630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 {
5639#if wxUSE_UNICODE
5640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5641#else
5642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5643#endif
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
2f4c0a16 5651static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5652 PyObject *resultobj;
5653 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5654 int result;
5655 PyObject * obj0 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (int)((wxFileHistory const *)arg1)->GetCount();
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
2f4c0a16 5670 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5671 return resultobj;
5672 fail:
5673 return NULL;
5674}
5675
5676
2f4c0a16 5677static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5678 PyObject *obj;
5679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5680 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5681 Py_INCREF(obj);
5682 return Py_BuildValue((char *)"");
5683}
2f4c0a16 5684static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5685 PyObject *resultobj;
5686 wxString *arg1 = 0 ;
5687 wxString const &arg2_defvalue = wxPyEmptyString ;
5688 wxString *arg2 = (wxString *) &arg2_defvalue ;
5689 wxSingleInstanceChecker *result;
423f194a
RD
5690 bool temp1 = False ;
5691 bool temp2 = False ;
d14a1e28
RD
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "name",(char *) "path", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5699 {
5700 arg1 = wxString_in_helper(obj0);
5701 if (arg1 == NULL) SWIG_fail;
423f194a 5702 temp1 = True;
d14a1e28
RD
5703 }
5704 if (obj1) {
5705 {
5706 arg2 = wxString_in_helper(obj1);
5707 if (arg2 == NULL) SWIG_fail;
423f194a 5708 temp2 = True;
d14a1e28
RD
5709 }
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
2f4c0a16 5718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5719 {
5720 if (temp1)
5721 delete arg1;
5722 }
5723 {
5724 if (temp2)
5725 delete arg2;
5726 }
5727 return resultobj;
5728 fail:
5729 {
5730 if (temp1)
5731 delete arg1;
5732 }
5733 {
5734 if (temp2)
5735 delete arg2;
5736 }
5737 return NULL;
5738}
5739
5740
2f4c0a16 5741static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5742 PyObject *resultobj;
5743 wxSingleInstanceChecker *result;
5744 char *kwnames[] = {
5745 NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
2f4c0a16 5756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5757 return resultobj;
5758 fail:
5759 return NULL;
5760}
5761
5762
2f4c0a16 5763static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5764 PyObject *resultobj;
5765 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5766 PyObject * obj0 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 delete arg1;
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 Py_INCREF(Py_None); resultobj = Py_None;
5782 return resultobj;
5783 fail:
5784 return NULL;
5785}
5786
5787
2f4c0a16 5788static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5789 PyObject *resultobj;
5790 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5791 wxString *arg2 = 0 ;
5792 wxString const &arg3_defvalue = wxPyEmptyString ;
5793 wxString *arg3 = (wxString *) &arg3_defvalue ;
5794 bool result;
423f194a
RD
5795 bool temp2 = False ;
5796 bool temp3 = False ;
d14a1e28
RD
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 PyObject * obj2 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self",(char *) "name",(char *) "path", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5807 {
5808 arg2 = wxString_in_helper(obj1);
5809 if (arg2 == NULL) SWIG_fail;
423f194a 5810 temp2 = True;
d14a1e28
RD
5811 }
5812 if (obj2) {
5813 {
5814 arg3 = wxString_in_helper(obj2);
5815 if (arg3 == NULL) SWIG_fail;
423f194a 5816 temp3 = True;
d14a1e28
RD
5817 }
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
02a34c4c 5826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5827 {
5828 if (temp2)
5829 delete arg2;
5830 }
5831 {
5832 if (temp3)
5833 delete arg3;
5834 }
5835 return resultobj;
5836 fail:
5837 {
5838 if (temp2)
5839 delete arg2;
5840 }
5841 {
5842 if (temp3)
5843 delete arg3;
5844 }
5845 return NULL;
5846}
5847
5848
2f4c0a16 5849static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5850 PyObject *resultobj;
5851 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5852 bool result;
5853 PyObject * obj0 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
02a34c4c 5868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5869 return resultobj;
5870 fail:
5871 return NULL;
5872}
5873
5874
2f4c0a16 5875static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5876 PyObject *obj;
5877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5878 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5879 Py_INCREF(obj);
5880 return Py_BuildValue((char *)"");
5881}
2f4c0a16 5882static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5883 PyObject *resultobj;
5884 wxWindow *arg1 = (wxWindow *) 0 ;
5885 wxDC *arg2 = 0 ;
5886 int arg3 ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
8edf1c75 5889 PyObject * obj2 = 0 ;
d14a1e28
RD
5890 char *kwnames[] = {
5891 (char *) "window",(char *) "dc",(char *) "method", NULL
5892 };
5893
8edf1c75 5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5898 SWIG_POINTER_EXCEPTION | 0)) == -1)
5899 SWIG_fail;
d14a1e28 5900 if (arg2 == NULL) {
2f4c0a16
RD
5901 PyErr_SetString(PyExc_TypeError,"null reference");
5902 SWIG_fail;
8edf1c75 5903 }
2f4c0a16
RD
5904 arg3 = (int) SWIG_AsInt(obj2);
5905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 Py_INCREF(Py_None); resultobj = Py_None;
5914 return resultobj;
5915 fail:
5916 return NULL;
5917}
5918
5919
2f4c0a16 5920static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5921 PyObject *resultobj;
5922 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 delete arg1;
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 Py_INCREF(Py_None); resultobj = Py_None;
5939 return resultobj;
5940 fail:
5941 return NULL;
5942}
5943
5944
2f4c0a16 5945static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5946 PyObject *resultobj;
5947 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5948 wxString result;
5949 PyObject * obj0 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 result = (arg1)->GetTip();
5960
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 {
5965#if wxUSE_UNICODE
5966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5967#else
5968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5969#endif
5970 }
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
2f4c0a16 5977static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5978 PyObject *resultobj;
5979 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5980 size_t result;
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (size_t)(arg1)->GetCurrentTip();
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
2f4c0a16 5996 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
2f4c0a16 6003static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6004 PyObject *resultobj;
6005 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6006 wxString *arg2 = 0 ;
6007 wxString result;
423f194a 6008 bool temp2 = False ;
d14a1e28
RD
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "tip", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6018 {
6019 arg2 = wxString_in_helper(obj1);
6020 if (arg2 == NULL) SWIG_fail;
423f194a 6021 temp2 = True;
d14a1e28
RD
6022 }
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 {
6031#if wxUSE_UNICODE
6032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6033#else
6034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6035#endif
6036 }
6037 {
6038 if (temp2)
6039 delete arg2;
6040 }
6041 return resultobj;
6042 fail:
6043 {
6044 if (temp2)
6045 delete arg2;
6046 }
6047 return NULL;
6048}
6049
6050
2f4c0a16 6051static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6052 PyObject *obj;
6053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6054 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6055 Py_INCREF(obj);
6056 return Py_BuildValue((char *)"");
6057}
2f4c0a16 6058static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6059 PyObject *resultobj;
6060 size_t arg1 ;
6061 wxPyTipProvider *result;
6062 PyObject * obj0 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "currentTip", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6068 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
2f4c0a16 6077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
6078 return resultobj;
6079 fail:
6080 return NULL;
6081}
6082
6083
2f4c0a16 6084static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6085 PyObject *resultobj;
6086 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6087 PyObject *arg2 = (PyObject *) 0 ;
6088 PyObject *arg3 = (PyObject *) 0 ;
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 PyObject * obj2 = 0 ;
6092 char *kwnames[] = {
6093 (char *) "self",(char *) "self",(char *) "_class", NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6099 arg2 = obj1;
6100 arg3 = obj2;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 (arg1)->_setCallbackInfo(arg2,arg3);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 Py_INCREF(Py_None); resultobj = Py_None;
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
2f4c0a16 6115static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6116 PyObject *obj;
6117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6118 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6119 Py_INCREF(obj);
6120 return Py_BuildValue((char *)"");
6121}
2f4c0a16 6122static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6123 PyObject *resultobj;
6124 wxWindow *arg1 = (wxWindow *) 0 ;
6125 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 6126 bool arg3 = (bool) True ;
d14a1e28
RD
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6140 if (obj2) {
2f4c0a16
RD
6141 arg3 = (bool) SWIG_AsBool(obj2);
6142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (bool)wxShowTip(arg1,arg2,arg3);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
02a34c4c 6151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
2f4c0a16 6158static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6159 PyObject *resultobj;
6160 wxString *arg1 = 0 ;
6161 size_t arg2 ;
6162 wxTipProvider *result;
423f194a 6163 bool temp1 = False ;
d14a1e28
RD
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "filename",(char *) "currentTip", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6171 {
6172 arg1 = wxString_in_helper(obj0);
6173 if (arg1 == NULL) SWIG_fail;
423f194a 6174 temp1 = True;
d14a1e28 6175 }
2f4c0a16
RD
6176 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6177 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6181
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
2f4c0a16 6185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
6186 {
6187 if (temp1)
6188 delete arg1;
6189 }
6190 return resultobj;
6191 fail:
6192 {
6193 if (temp1)
6194 delete arg1;
6195 }
6196 return NULL;
6197}
6198
6199
2f4c0a16 6200static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6201 PyObject *resultobj;
6202 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6203 int arg2 = (int) -1 ;
6204 wxPyTimer *result;
6205 PyObject * obj0 = 0 ;
8edf1c75 6206 PyObject * obj1 = 0 ;
d14a1e28
RD
6207 char *kwnames[] = {
6208 (char *) "owner",(char *) "id", NULL
6209 };
6210
8edf1c75 6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6212 if (obj0) {
2f4c0a16
RD
6213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6215 }
8edf1c75 6216 if (obj1) {
2f4c0a16
RD
6217 arg2 = (int) SWIG_AsInt(obj1);
6218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6219 }
d14a1e28
RD
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
2f4c0a16 6227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
2f4c0a16 6234static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6235 PyObject *resultobj;
6236 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 delete arg1;
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 Py_INCREF(Py_None); resultobj = Py_None;
6253 return resultobj;
6254 fail:
6255 return NULL;
6256}
6257
6258
2f4c0a16 6259static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6260 PyObject *resultobj;
6261 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6262 PyObject *arg2 = (PyObject *) 0 ;
6263 PyObject *arg3 = (PyObject *) 0 ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 PyObject * obj2 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self",(char *) "self",(char *) "_class", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6274 arg2 = obj1;
6275 arg3 = obj2;
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 (arg1)->_setCallbackInfo(arg2,arg3);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 Py_INCREF(Py_None); resultobj = Py_None;
6284 return resultobj;
6285 fail:
6286 return NULL;
6287}
6288
6289
2f4c0a16 6290static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6291 PyObject *resultobj;
6292 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6293 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6294 int arg3 = (int) -1 ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
8edf1c75 6297 PyObject * obj2 = 0 ;
d14a1e28
RD
6298 char *kwnames[] = {
6299 (char *) "self",(char *) "owner",(char *) "id", NULL
6300 };
6301
8edf1c75 6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6307 if (obj2) {
2f4c0a16
RD
6308 arg3 = (int) SWIG_AsInt(obj2);
6309 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6310 }
d14a1e28
RD
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 (arg1)->SetOwner(arg2,arg3);
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 Py_INCREF(Py_None); resultobj = Py_None;
6319 return resultobj;
6320 fail:
6321 return NULL;
6322}
6323
6324
2f4c0a16 6325static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6326 PyObject *resultobj;
6327 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6328 int arg2 = (int) -1 ;
423f194a 6329 bool arg3 = (bool) False ;
d14a1e28
RD
6330 bool result;
6331 PyObject * obj0 = 0 ;
8edf1c75 6332 PyObject * obj1 = 0 ;
d14a1e28
RD
6333 PyObject * obj2 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6336 };
6337
8edf1c75 6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6341 if (obj1) {
2f4c0a16
RD
6342 arg2 = (int) SWIG_AsInt(obj1);
6343 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6344 }
d14a1e28 6345 if (obj2) {
2f4c0a16
RD
6346 arg3 = (bool) SWIG_AsBool(obj2);
6347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6348 }
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (bool)(arg1)->Start(arg2,arg3);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
02a34c4c 6356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6357 return resultobj;
6358 fail:
6359 return NULL;
6360}
6361
6362
2f4c0a16 6363static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6364 PyObject *resultobj;
6365 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6366 PyObject * obj0 = 0 ;
6367 char *kwnames[] = {
6368 (char *) "self", NULL
6369 };
6370
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->Stop();
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
2f4c0a16 6388static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6389 PyObject *resultobj;
6390 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6391 bool result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
02a34c4c 6407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
2f4c0a16 6414static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6415 PyObject *resultobj;
6416 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6417 int result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
2f4c0a16 6433 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
2f4c0a16 6440static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6441 PyObject *resultobj;
6442 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6443 bool result;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
02a34c4c 6459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6460 return resultobj;
6461 fail:
6462 return NULL;
6463}
6464
6465
2f4c0a16 6466static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
0f774bef
RD
6467 PyObject *resultobj;
6468 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6469 int result;
6470 PyObject * obj0 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0f774bef
RD
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 result = (int)((wxPyTimer const *)arg1)->GetId();
6481
6482 wxPyEndAllowThreads(__tstate);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 }
2f4c0a16 6485 resultobj = SWIG_FromInt((int)result);
0f774bef
RD
6486 return resultobj;
6487 fail:
6488 return NULL;
6489}
6490
6491
2f4c0a16 6492static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6493 PyObject *obj;
6494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6495 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6496 Py_INCREF(obj);
6497 return Py_BuildValue((char *)"");
6498}
2f4c0a16 6499static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6500 PyObject *resultobj;
6501 int arg1 = (int) 0 ;
6502 int arg2 = (int) 0 ;
6503 wxTimerEvent *result;
8edf1c75
RD
6504 PyObject * obj0 = 0 ;
6505 PyObject * obj1 = 0 ;
d14a1e28
RD
6506 char *kwnames[] = {
6507 (char *) "timerid",(char *) "interval", NULL
6508 };
6509
8edf1c75
RD
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6511 if (obj0) {
2f4c0a16
RD
6512 arg1 = (int) SWIG_AsInt(obj0);
6513 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6514 }
6515 if (obj1) {
2f4c0a16
RD
6516 arg2 = (int) SWIG_AsInt(obj1);
6517 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6518 }
d14a1e28
RD
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
2f4c0a16 6526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
2f4c0a16 6533static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6534 PyObject *resultobj;
6535 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6536 int result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
2f4c0a16 6552 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6553 return resultobj;
6554 fail:
6555 return NULL;
6556}
6557
6558
2f4c0a16 6559static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6560 PyObject *obj;
6561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6562 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6563 Py_INCREF(obj);
6564 return Py_BuildValue((char *)"");
6565}
2f4c0a16 6566static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
6567 PyObject *resultobj;
6568 wxTimer *arg1 = 0 ;
6569 wxTimerRunner *result;
6570 PyObject * obj0 = 0 ;
6571
6572 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
2f4c0a16
RD
6573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6574 SWIG_POINTER_EXCEPTION | 0)) == -1)
6575 SWIG_fail;
d14a1e28 6576 if (arg1 == NULL) {
2f4c0a16
RD
6577 PyErr_SetString(PyExc_TypeError,"null reference");
6578 SWIG_fail;
d14a1e28
RD
6579 }
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
2f4c0a16 6587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6588 return resultobj;
6589 fail:
6590 return NULL;
6591}
6592
6593
2f4c0a16 6594static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
6595 PyObject *resultobj;
6596 wxTimer *arg1 = 0 ;
6597 int arg2 ;
423f194a 6598 bool arg3 = (bool) False ;
d14a1e28
RD
6599 wxTimerRunner *result;
6600 PyObject * obj0 = 0 ;
8edf1c75 6601 PyObject * obj1 = 0 ;
d14a1e28
RD
6602 PyObject * obj2 = 0 ;
6603
8edf1c75 6604 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6606 SWIG_POINTER_EXCEPTION | 0)) == -1)
6607 SWIG_fail;
d14a1e28 6608 if (arg1 == NULL) {
2f4c0a16
RD
6609 PyErr_SetString(PyExc_TypeError,"null reference");
6610 SWIG_fail;
8edf1c75 6611 }
2f4c0a16
RD
6612 arg2 = (int) SWIG_AsInt(obj1);
6613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6614 if (obj2) {
2f4c0a16
RD
6615 arg3 = (bool) SWIG_AsBool(obj2);
6616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6617 }
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
2f4c0a16 6625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6626 return resultobj;
6627 fail:
6628 return NULL;
6629}
6630
6631
6632static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6633 int argc;
6634 PyObject *argv[4];
6635 int ii;
6636
6637 argc = PyObject_Length(args);
6638 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6639 argv[ii] = PyTuple_GetItem(args,ii);
6640 }
6641 if (argc == 1) {
6642 int _v;
6643 {
6644 void *ptr;
2f4c0a16 6645 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6646 _v = 0;
6647 PyErr_Clear();
6648 } else {
6649 _v = 1;
6650 }
6651 }
6652 if (_v) {
6653 return _wrap_new_TimerRunner__SWIG_0(self,args);
6654 }
6655 }
6656 if ((argc >= 2) && (argc <= 3)) {
6657 int _v;
6658 {
6659 void *ptr;
2f4c0a16 6660 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6661 _v = 0;
6662 PyErr_Clear();
6663 } else {
6664 _v = 1;
6665 }
6666 }
6667 if (_v) {
2f4c0a16 6668 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
6669 if (_v) {
6670 if (argc <= 2) {
6671 return _wrap_new_TimerRunner__SWIG_1(self,args);
6672 }
2f4c0a16 6673 _v = SWIG_CheckBool(argv[2]);
d14a1e28
RD
6674 if (_v) {
6675 return _wrap_new_TimerRunner__SWIG_1(self,args);
6676 }
6677 }
6678 }
6679 }
6680
6681 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6682 return NULL;
6683}
6684
6685
2f4c0a16 6686static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6687 PyObject *resultobj;
6688 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6689 PyObject * obj0 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 delete arg1;
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 Py_INCREF(Py_None); resultobj = Py_None;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
2f4c0a16 6711static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6712 PyObject *resultobj;
6713 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6714 int arg2 ;
423f194a 6715 bool arg3 = (bool) False ;
d14a1e28 6716 PyObject * obj0 = 0 ;
8edf1c75 6717 PyObject * obj1 = 0 ;
d14a1e28
RD
6718 PyObject * obj2 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6721 };
6722
8edf1c75 6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 arg2 = (int) SWIG_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6728 if (obj2) {
2f4c0a16
RD
6729 arg3 = (bool) SWIG_AsBool(obj2);
6730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6731 }
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 (arg1)->Start(arg2,arg3);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 Py_INCREF(Py_None); resultobj = Py_None;
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
2f4c0a16 6746static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6747 PyObject *obj;
6748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6749 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6750 Py_INCREF(obj);
6751 return Py_BuildValue((char *)"");
6752}
2f4c0a16 6753static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6754 PyObject *resultobj;
6755 wxLog *result;
6756 char *kwnames[] = {
6757 NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (wxLog *)new wxLog();
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
2f4c0a16 6768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
6769 return resultobj;
6770 fail:
6771 return NULL;
6772}
6773
6774
2f4c0a16 6775static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6776 PyObject *resultobj;
6777 bool result;
6778 char *kwnames[] = {
6779 NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (bool)wxLog::IsEnabled();
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
02a34c4c 6790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
2f4c0a16 6797static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 6798 PyObject *resultobj;
423f194a 6799 bool arg1 = (bool) True ;
d14a1e28
RD
6800 bool result;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "doIt", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6807 if (obj0) {
2f4c0a16
RD
6808 arg1 = (bool) SWIG_AsBool(obj0);
6809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 result = (bool)wxLog::EnableLogging(arg1);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
02a34c4c 6818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6819 return resultobj;
6820 fail:
6821 return NULL;
6822}
6823
6824
2f4c0a16 6825static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6826 PyObject *resultobj;
6827 wxLogLevel arg1 ;
6828 wxChar *arg2 = (wxChar *) 0 ;
6829 time_t arg3 ;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 PyObject * obj2 = 0 ;
6833 char *kwnames[] = {
6834 (char *) "level",(char *) "szString",(char *) "t", NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6838 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
2f4c0a16 6858static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6859 PyObject *resultobj;
6860 wxLog *arg1 = (wxLog *) 0 ;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 (arg1)->Flush();
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 Py_INCREF(Py_None); resultobj = Py_None;
6877 return resultobj;
6878 fail:
6879 return NULL;
6880}
6881
6882
2f4c0a16 6883static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6884 PyObject *resultobj;
6885 char *kwnames[] = {
6886 NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 wxLog::FlushActive();
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 Py_INCREF(Py_None); resultobj = Py_None;
6898 return resultobj;
6899 fail:
6900 return NULL;
6901}
6902
6903
2f4c0a16 6904static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6905 PyObject *resultobj;
6906 wxLog *result;
6907 char *kwnames[] = {
6908 NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (wxLog *)wxLog::GetActiveTarget();
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
2f4c0a16 6919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
6920 return resultobj;
6921 fail:
6922 return NULL;
6923}
6924
6925
2f4c0a16 6926static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6927 PyObject *resultobj;
6928 wxLog *arg1 = (wxLog *) 0 ;
6929 wxLog *result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "pLogger", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
2f4c0a16 6945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
6946 return resultobj;
6947 fail:
6948 return NULL;
6949}
6950
6951
2f4c0a16 6952static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6953 PyObject *resultobj;
6954 char *kwnames[] = {
6955 NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 wxLog::Suspend();
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 Py_INCREF(Py_None); resultobj = Py_None;
6967 return resultobj;
6968 fail:
6969 return NULL;
6970}
6971
6972
2f4c0a16 6973static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6974 PyObject *resultobj;
6975 char *kwnames[] = {
6976 NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 wxLog::Resume();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
2f4c0a16 6994static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 6995 PyObject *resultobj;
423f194a 6996 bool arg1 = (bool) True ;
d14a1e28
RD
6997 PyObject * obj0 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "bVerbose", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7003 if (obj0) {
2f4c0a16
RD
7004 arg1 = (bool) SWIG_AsBool(obj0);
7005 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 wxLog::SetVerbose(arg1);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 Py_INCREF(Py_None); resultobj = Py_None;
7015 return resultobj;
7016 fail:
7017 return NULL;
7018}
7019
7020
2f4c0a16 7021static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7022 PyObject *resultobj;
7023 wxLogLevel arg1 ;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "logLevel", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7030 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 wxLog::SetLogLevel(arg1);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 Py_INCREF(Py_None); resultobj = Py_None;
7040 return resultobj;
7041 fail:
7042 return NULL;
7043}
7044
7045
2f4c0a16 7046static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7047 PyObject *resultobj;
7048 char *kwnames[] = {
7049 NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 wxLog::DontCreateOnDemand();
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 Py_INCREF(Py_None); resultobj = Py_None;
7061 return resultobj;
7062 fail:
7063 return NULL;
7064}
7065
7066
2f4c0a16 7067static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7068 PyObject *resultobj;
7069 wxTraceMask arg1 ;
7070 PyObject * obj0 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "ulMask", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7076 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7077 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 wxLog::SetTraceMask(arg1);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 Py_INCREF(Py_None); resultobj = Py_None;
7086 return resultobj;
7087 fail:
7088 return NULL;
7089}
7090
7091
2f4c0a16 7092static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7093 PyObject *resultobj;
7094 wxString *arg1 = 0 ;
423f194a 7095 bool temp1 = False ;
d14a1e28
RD
7096 PyObject * obj0 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "str", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7102 {
7103 arg1 = wxString_in_helper(obj0);
7104 if (arg1 == NULL) SWIG_fail;
423f194a 7105 temp1 = True;
d14a1e28
RD
7106 }
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 wxLog::AddTraceMask((wxString const &)*arg1);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 {
7116 if (temp1)
7117 delete arg1;
7118 }
7119 return resultobj;
7120 fail:
7121 {
7122 if (temp1)
7123 delete arg1;
7124 }
7125 return NULL;
7126}
7127
7128
2f4c0a16 7129static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7130 PyObject *resultobj;
7131 wxString *arg1 = 0 ;
423f194a 7132 bool temp1 = False ;
d14a1e28
RD
7133 PyObject * obj0 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "str", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7139 {
7140 arg1 = wxString_in_helper(obj0);
7141 if (arg1 == NULL) SWIG_fail;
423f194a 7142 temp1 = True;
d14a1e28
RD
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 wxLog::RemoveTraceMask((wxString const &)*arg1);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 Py_INCREF(Py_None); resultobj = Py_None;
7152 {
7153 if (temp1)
7154 delete arg1;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp1)
7160 delete arg1;
7161 }
7162 return NULL;
7163}
7164
7165
2f4c0a16 7166static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7167 PyObject *resultobj;
7168 char *kwnames[] = {
7169 NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 wxLog::ClearTraceMasks();
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 Py_INCREF(Py_None); resultobj = Py_None;
7181 return resultobj;
7182 fail:
7183 return NULL;
7184}
7185
7186
2f4c0a16 7187static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7188 PyObject *resultobj;
7189 wxArrayString *result;
7190 char *kwnames[] = {
7191 NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 {
7198 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7199 result = (wxArrayString *) &_result_ref;
7200 }
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 resultobj = wxArrayString2PyList_helper(*result);
7207 }
7208 return resultobj;
7209 fail:
7210 return NULL;
7211}
7212
7213
2f4c0a16 7214static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7215 PyObject *resultobj;
7216 wxChar *arg1 = (wxChar *) 0 ;
7217 PyObject * obj0 = 0 ;
7218 char *kwnames[] = {
7219 (char *) "ts", NULL
7220 };
7221
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 wxLog::SetTimestamp((wxChar const *)arg1);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 Py_INCREF(Py_None); resultobj = Py_None;
7233 return resultobj;
7234 fail:
7235 return NULL;
7236}
7237
7238
2f4c0a16 7239static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7240 PyObject *resultobj;
7241 bool result;
7242 char *kwnames[] = {
7243 NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 result = (bool)wxLog::GetVerbose();
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
02a34c4c 7254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7255 return resultobj;
7256 fail:
7257 return NULL;
7258}
7259
7260
2f4c0a16 7261static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7262 PyObject *resultobj;
7263 wxTraceMask result;
7264 char *kwnames[] = {
7265 NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (wxTraceMask)wxLog::GetTraceMask();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
2f4c0a16 7276 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7277 return resultobj;
7278 fail:
7279 return NULL;
7280}
7281
7282
2f4c0a16 7283static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7284 PyObject *resultobj;
7285 wxChar *arg1 = (wxChar *) 0 ;
7286 bool result;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "mask", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
02a34c4c 7302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
2f4c0a16 7309static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7310 PyObject *resultobj;
7311 wxLogLevel result;
7312 char *kwnames[] = {
7313 NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 result = (wxLogLevel)wxLog::GetLogLevel();
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
2f4c0a16 7324 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
2f4c0a16 7331static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7332 PyObject *resultobj;
7333 wxChar *result;
7334 char *kwnames[] = {
7335 NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (wxChar *)wxLog::GetTimestamp();
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
2f4c0a16 7346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
7347 return resultobj;
7348 fail:
7349 return NULL;
7350}
7351
7352
2f4c0a16 7353static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7354 PyObject *resultobj;
7355 wxString result;
7356 char *kwnames[] = {
7357 NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = Log_TimeStamp();
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 {
7369#if wxUSE_UNICODE
7370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7371#else
7372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7373#endif
7374 }
7375 return resultobj;
7376 fail:
7377 return NULL;
7378}
7379
7380
2f4c0a16 7381static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7382 PyObject *resultobj;
7383 wxLog *arg1 = (wxLog *) 0 ;
7384 PyObject * obj0 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 wxLog_Destroy(arg1);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 Py_INCREF(Py_None); resultobj = Py_None;
7400 return resultobj;
7401 fail:
7402 return NULL;
7403}
7404
7405
2f4c0a16 7406static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7407 PyObject *obj;
7408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7409 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7410 Py_INCREF(obj);
7411 return Py_BuildValue((char *)"");
7412}
2f4c0a16 7413static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7414 PyObject *resultobj;
7415 wxLogStderr *result;
7416 char *kwnames[] = {
7417 NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 result = (wxLogStderr *)new wxLogStderr();
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
2f4c0a16 7428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
2f4c0a16 7435static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7436 PyObject *obj;
7437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7438 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7439 Py_INCREF(obj);
7440 return Py_BuildValue((char *)"");
7441}
2f4c0a16 7442static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7443 PyObject *resultobj;
7444 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7445 wxLogTextCtrl *result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "pTextCtrl", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
2f4c0a16 7461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
7462 return resultobj;
7463 fail:
7464 return NULL;
7465}
7466
7467
2f4c0a16 7468static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7469 PyObject *obj;
7470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7471 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7472 Py_INCREF(obj);
7473 return Py_BuildValue((char *)"");
7474}
2f4c0a16 7475static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7476 PyObject *resultobj;
7477 wxLogGui *result;
7478 char *kwnames[] = {
7479 NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (wxLogGui *)new wxLogGui();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
2f4c0a16 7490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
2f4c0a16 7497static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7498 PyObject *obj;
7499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7500 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7501 Py_INCREF(obj);
7502 return Py_BuildValue((char *)"");
7503}
2f4c0a16 7504static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7505 PyObject *resultobj;
7506 wxFrame *arg1 = (wxFrame *) 0 ;
7507 wxString *arg2 = 0 ;
423f194a
RD
7508 bool arg3 = (bool) True ;
7509 bool arg4 = (bool) True ;
d14a1e28 7510 wxLogWindow *result;
423f194a 7511 bool temp2 = False ;
d14a1e28
RD
7512 PyObject * obj0 = 0 ;
7513 PyObject * obj1 = 0 ;
7514 PyObject * obj2 = 0 ;
7515 PyObject * obj3 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7523 {
7524 arg2 = wxString_in_helper(obj1);
7525 if (arg2 == NULL) SWIG_fail;
423f194a 7526 temp2 = True;
d14a1e28
RD
7527 }
7528 if (obj2) {
2f4c0a16
RD
7529 arg3 = (bool) SWIG_AsBool(obj2);
7530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7531 }
7532 if (obj3) {
2f4c0a16
RD
7533 arg4 = (bool) SWIG_AsBool(obj3);
7534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
2f4c0a16 7543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return resultobj;
7549 fail:
7550 {
7551 if (temp2)
7552 delete arg2;
7553 }
7554 return NULL;
7555}
7556
7557
2f4c0a16 7558static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7559 PyObject *resultobj;
7560 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 7561 bool arg2 = (bool) True ;
d14a1e28
RD
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "bShow", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7571 if (obj1) {
2f4c0a16
RD
7572 arg2 = (bool) SWIG_AsBool(obj1);
7573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7574 }
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 (arg1)->Show(arg2);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 Py_INCREF(Py_None); resultobj = Py_None;
7583 return resultobj;
7584 fail:
7585 return NULL;
7586}
7587
7588
2f4c0a16 7589static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7590 PyObject *resultobj;
7591 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7592 wxFrame *result;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 {
7609 resultobj = wxPyMake_wxObject(result);
7610 }
7611 return resultobj;
7612 fail:
7613 return NULL;
7614}
7615
7616
2f4c0a16 7617static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7618 PyObject *resultobj;
7619 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7620 wxLog *result;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
2f4c0a16 7636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7637 return resultobj;
7638 fail:
7639 return NULL;
7640}
7641
7642
2f4c0a16 7643static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7644 PyObject *resultobj;
7645 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7646 bool result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
02a34c4c 7662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
2f4c0a16 7669static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7670 PyObject *resultobj;
7671 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7672 bool arg2 ;
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "bDoPass", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 arg2 = (bool) SWIG_AsBool(obj1);
7683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->PassMessages(arg2);
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 Py_INCREF(Py_None); resultobj = Py_None;
7692 return resultobj;
7693 fail:
7694 return NULL;
7695}
7696
7697
2f4c0a16 7698static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7699 PyObject *obj;
7700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7702 Py_INCREF(obj);
7703 return Py_BuildValue((char *)"");
7704}
2f4c0a16 7705static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7706 PyObject *resultobj;
7707 wxLog *arg1 = (wxLog *) 0 ;
7708 wxLogChain *result;
7709 PyObject * obj0 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "logger", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 result = (wxLogChain *)new wxLogChain(arg1);
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
2f4c0a16 7724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
7725 return resultobj;
7726 fail:
7727 return NULL;
7728}
7729
7730
2f4c0a16 7731static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7732 PyObject *resultobj;
7733 wxLogChain *arg1 = (wxLogChain *) 0 ;
7734 wxLog *arg2 = (wxLog *) 0 ;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self",(char *) "logger", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->SetLog(arg2);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 Py_INCREF(Py_None); resultobj = Py_None;
7754 return resultobj;
7755 fail:
7756 return NULL;
7757}
7758
7759
2f4c0a16 7760static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7761 PyObject *resultobj;
7762 wxLogChain *arg1 = (wxLogChain *) 0 ;
7763 bool arg2 ;
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self",(char *) "bDoPass", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7773 arg2 = (bool) SWIG_AsBool(obj1);
7774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 (arg1)->PassMessages(arg2);
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
2f4c0a16 7789static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7790 PyObject *resultobj;
7791 wxLogChain *arg1 = (wxLogChain *) 0 ;
7792 bool result;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = (bool)(arg1)->IsPassingMessages();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
02a34c4c 7808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
2f4c0a16 7815static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7816 PyObject *resultobj;
7817 wxLogChain *arg1 = (wxLogChain *) 0 ;
7818 wxLog *result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (wxLog *)(arg1)->GetOldLog();
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
2f4c0a16 7834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7835 return resultobj;
7836 fail:
7837 return NULL;
7838}
7839
7840
2f4c0a16 7841static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7842 PyObject *obj;
7843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7844 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7845 Py_INCREF(obj);
7846 return Py_BuildValue((char *)"");
7847}
2f4c0a16 7848static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7849 PyObject *resultobj;
7850 unsigned long result;
7851 char *kwnames[] = {
7852 NULL
7853 };
7854
7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (unsigned long)wxSysErrorCode();
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
2f4c0a16 7863 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7864 return resultobj;
7865 fail:
7866 return NULL;
7867}
7868
7869
2f4c0a16 7870static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7871 PyObject *resultobj;
7872 unsigned long arg1 = (unsigned long) 0 ;
7873 wxString result;
7874 PyObject * obj0 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "nErrCode", NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7880 if (obj0) {
2f4c0a16
RD
7881 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7883 }
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = wxSysErrorMsg(arg1);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 {
7892#if wxUSE_UNICODE
7893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7894#else
7895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7896#endif
7897 }
7898 return resultobj;
7899 fail:
7900 return NULL;
7901}
7902
7903
2f4c0a16 7904static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7905 PyObject *resultobj;
7906 wxString *arg1 = 0 ;
423f194a 7907 bool temp1 = False ;
d14a1e28
RD
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "msg", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7914 {
7915 arg1 = wxString_in_helper(obj0);
7916 if (arg1 == NULL) SWIG_fail;
423f194a 7917 temp1 = True;
d14a1e28
RD
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 wxLogFatalError((wxString const &)*arg1);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 Py_INCREF(Py_None); resultobj = Py_None;
7927 {
7928 if (temp1)
7929 delete arg1;
7930 }
7931 return resultobj;
7932 fail:
7933 {
7934 if (temp1)
7935 delete arg1;
7936 }
7937 return NULL;
7938}
7939
7940
2f4c0a16 7941static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7942 PyObject *resultobj;
7943 wxString *arg1 = 0 ;
423f194a 7944 bool temp1 = False ;
d14a1e28
RD
7945 PyObject * obj0 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "msg", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7951 {
7952 arg1 = wxString_in_helper(obj0);
7953 if (arg1 == NULL) SWIG_fail;
423f194a 7954 temp1 = True;
d14a1e28
RD
7955 }
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 wxLogError((wxString const &)*arg1);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 {
7965 if (temp1)
7966 delete arg1;
7967 }
7968 return resultobj;
7969 fail:
7970 {
7971 if (temp1)
7972 delete arg1;
7973 }
7974 return NULL;
7975}
7976
7977
2f4c0a16 7978static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7979 PyObject *resultobj;
7980 wxString *arg1 = 0 ;
423f194a 7981 bool temp1 = False ;
d14a1e28
RD
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "msg", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7988 {
7989 arg1 = wxString_in_helper(obj0);
7990 if (arg1 == NULL) SWIG_fail;
423f194a 7991 temp1 = True;
d14a1e28
RD
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 wxLogWarning((wxString const &)*arg1);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 {
8002 if (temp1)
8003 delete arg1;
8004 }
8005 return resultobj;
8006 fail:
8007 {
8008 if (temp1)
8009 delete arg1;
8010 }
8011 return NULL;
8012}
8013
8014
2f4c0a16 8015static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8016 PyObject *resultobj;
8017 wxString *arg1 = 0 ;
423f194a 8018 bool temp1 = False ;
d14a1e28
RD
8019 PyObject * obj0 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "msg", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8025 {
8026 arg1 = wxString_in_helper(obj0);
8027 if (arg1 == NULL) SWIG_fail;
423f194a 8028 temp1 = True;
d14a1e28
RD
8029 }
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 wxLogMessage((wxString const &)*arg1);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 Py_INCREF(Py_None); resultobj = Py_None;
8038 {
8039 if (temp1)
8040 delete arg1;
8041 }
8042 return resultobj;
8043 fail:
8044 {
8045 if (temp1)
8046 delete arg1;
8047 }
8048 return NULL;
8049}
8050
8051
2f4c0a16 8052static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8053 PyObject *resultobj;
8054 wxString *arg1 = 0 ;
423f194a 8055 bool temp1 = False ;
d14a1e28
RD
8056 PyObject * obj0 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "msg", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8062 {
8063 arg1 = wxString_in_helper(obj0);
8064 if (arg1 == NULL) SWIG_fail;
423f194a 8065 temp1 = True;
d14a1e28
RD
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 wxLogInfo((wxString const &)*arg1);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 {
8076 if (temp1)
8077 delete arg1;
8078 }
8079 return resultobj;
8080 fail:
8081 {
8082 if (temp1)
8083 delete arg1;
8084 }
8085 return NULL;
8086}
8087
8088
2f4c0a16 8089static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8090 PyObject *resultobj;
8091 wxString *arg1 = 0 ;
423f194a 8092 bool temp1 = False ;
d14a1e28
RD
8093 PyObject * obj0 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "msg", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8099 {
8100 arg1 = wxString_in_helper(obj0);
8101 if (arg1 == NULL) SWIG_fail;
423f194a 8102 temp1 = True;
d14a1e28
RD
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 wxLogDebug((wxString const &)*arg1);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 {
8113 if (temp1)
8114 delete arg1;
8115 }
8116 return resultobj;
8117 fail:
8118 {
8119 if (temp1)
8120 delete arg1;
8121 }
8122 return NULL;
8123}
8124
8125
2f4c0a16 8126static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8127 PyObject *resultobj;
8128 wxString *arg1 = 0 ;
423f194a 8129 bool temp1 = False ;
d14a1e28
RD
8130 PyObject * obj0 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "msg", NULL
8133 };
8134
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8136 {
8137 arg1 = wxString_in_helper(obj0);
8138 if (arg1 == NULL) SWIG_fail;
423f194a 8139 temp1 = True;
d14a1e28
RD
8140 }
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 wxLogVerbose((wxString const &)*arg1);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 {
8150 if (temp1)
8151 delete arg1;
8152 }
8153 return resultobj;
8154 fail:
8155 {
8156 if (temp1)
8157 delete arg1;
8158 }
8159 return NULL;
8160}
8161
8162
2f4c0a16 8163static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8164 PyObject *resultobj;
8165 wxString *arg1 = 0 ;
423f194a 8166 bool temp1 = False ;
d14a1e28
RD
8167 PyObject * obj0 = 0 ;
8168 char *kwnames[] = {
8169 (char *) "msg", NULL
8170 };
8171
8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8173 {
8174 arg1 = wxString_in_helper(obj0);
8175 if (arg1 == NULL) SWIG_fail;
423f194a 8176 temp1 = True;
d14a1e28
RD
8177 }
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 wxLogStatus((wxString const &)*arg1);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 Py_INCREF(Py_None); resultobj = Py_None;
8186 {
8187 if (temp1)
8188 delete arg1;
8189 }
8190 return resultobj;
8191 fail:
8192 {
8193 if (temp1)
8194 delete arg1;
8195 }
8196 return NULL;
8197}
8198
8199
2f4c0a16 8200static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8201 PyObject *resultobj;
8202 wxFrame *arg1 = (wxFrame *) 0 ;
8203 wxString *arg2 = 0 ;
423f194a 8204 bool temp2 = False ;
d14a1e28
RD
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "pFrame",(char *) "msg", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8214 {
8215 arg2 = wxString_in_helper(obj1);
8216 if (arg2 == NULL) SWIG_fail;
423f194a 8217 temp2 = True;
d14a1e28
RD
8218 }
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 wxLogStatus(arg1,(wxString const &)*arg2);
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 {
8228 if (temp2)
8229 delete arg2;
8230 }
8231 return resultobj;
8232 fail:
8233 {
8234 if (temp2)
8235 delete arg2;
8236 }
8237 return NULL;
8238}
8239
8240
2f4c0a16 8241static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8242 PyObject *resultobj;
8243 wxString *arg1 = 0 ;
423f194a 8244 bool temp1 = False ;
d14a1e28
RD
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "msg", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8251 {
8252 arg1 = wxString_in_helper(obj0);
8253 if (arg1 == NULL) SWIG_fail;
423f194a 8254 temp1 = True;
d14a1e28
RD
8255 }
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 wxLogSysError((wxString const &)*arg1);
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 Py_INCREF(Py_None); resultobj = Py_None;
8264 {
8265 if (temp1)
8266 delete arg1;
8267 }
8268 return resultobj;
8269 fail:
8270 {
8271 if (temp1)
8272 delete arg1;
8273 }
8274 return NULL;
8275}
8276
8277
2f4c0a16 8278static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 8279 PyObject *resultobj;
0f774bef
RD
8280 unsigned long arg1 ;
8281 wxString *arg2 = 0 ;
8282 bool temp2 = False ;
d14a1e28 8283 PyObject * obj0 = 0 ;
0f774bef 8284 PyObject * obj1 = 0 ;
d14a1e28 8285
0f774bef 8286 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
2f4c0a16
RD
8287 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8289 {
0f774bef
RD
8290 arg2 = wxString_in_helper(obj1);
8291 if (arg2 == NULL) SWIG_fail;
8292 temp2 = True;
d14a1e28
RD
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
0f774bef 8296 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 {
0f774bef
RD
8303 if (temp2)
8304 delete arg2;
d14a1e28
RD
8305 }
8306 return resultobj;
8307 fail:
8308 {
0f774bef
RD
8309 if (temp2)
8310 delete arg2;
d14a1e28
RD
8311 }
8312 return NULL;
8313}
8314
8315
2f4c0a16 8316static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
8317 PyObject *resultobj;
8318 wxString *arg1 = 0 ;
8319 wxString *arg2 = 0 ;
423f194a
RD
8320 bool temp1 = False ;
8321 bool temp2 = False ;
d14a1e28
RD
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
d14a1e28 8324
0f774bef 8325 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8326 {
8327 arg1 = wxString_in_helper(obj0);
8328 if (arg1 == NULL) SWIG_fail;
423f194a 8329 temp1 = True;
d14a1e28
RD
8330 }
8331 {
8332 arg2 = wxString_in_helper(obj1);
8333 if (arg2 == NULL) SWIG_fail;
423f194a 8334 temp2 = True;
d14a1e28
RD
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 {
8345 if (temp1)
8346 delete arg1;
8347 }
8348 {
8349 if (temp2)
8350 delete arg2;
8351 }
8352 return resultobj;
8353 fail:
8354 {
8355 if (temp1)
8356 delete arg1;
8357 }
8358 {
8359 if (temp2)
8360 delete arg2;
8361 }
8362 return NULL;
8363}
8364
8365
0f774bef
RD
8366static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8367 int argc;
8368 PyObject *argv[3];
8369 int ii;
8370
8371 argc = PyObject_Length(args);
8372 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8373 argv[ii] = PyTuple_GetItem(args,ii);
8374 }
8375 if (argc == 2) {
8376 int _v;
8377 {
02a34c4c 8378 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
0f774bef
RD
8379 }
8380 if (_v) {
8381 {
02a34c4c 8382 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
0f774bef
RD
8383 }
8384 if (_v) {
8385 return _wrap_LogTrace__SWIG_1(self,args);
8386 }
8387 }
8388 }
8389 if (argc == 2) {
8390 int _v;
2f4c0a16 8391 _v = SWIG_CheckUnsignedLong(argv[0]);
0f774bef
RD
8392 if (_v) {
8393 {
02a34c4c 8394 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
0f774bef
RD
8395 }
8396 if (_v) {
8397 return _wrap_LogTrace__SWIG_0(self,args);
8398 }
8399 }
8400 }
8401
8402 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8403 return NULL;
8404}
8405
8406
2f4c0a16 8407static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8408 PyObject *resultobj;
8409 unsigned long arg1 ;
8410 wxString *arg2 = 0 ;
423f194a 8411 bool temp2 = False ;
d14a1e28
RD
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "level",(char *) "msg", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8419 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8421 {
8422 arg2 = wxString_in_helper(obj1);
8423 if (arg2 == NULL) SWIG_fail;
423f194a 8424 temp2 = True;
d14a1e28
RD
8425 }
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 wxLogGeneric(arg1,(wxString const &)*arg2);
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 Py_INCREF(Py_None); resultobj = Py_None;
8434 {
8435 if (temp2)
8436 delete arg2;
8437 }
8438 return resultobj;
8439 fail:
8440 {
8441 if (temp2)
8442 delete arg2;
8443 }
8444 return NULL;
8445}
8446
8447
2f4c0a16 8448static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8449 PyObject *resultobj;
8450 wxString *arg1 = 0 ;
8451 wxString *arg2 = 0 ;
423f194a
RD
8452 bool temp1 = False ;
8453 bool temp2 = False ;
d14a1e28
RD
8454 PyObject * obj0 = 0 ;
8455 PyObject * obj1 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "title",(char *) "text", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8461 {
8462 arg1 = wxString_in_helper(obj0);
8463 if (arg1 == NULL) SWIG_fail;
423f194a 8464 temp1 = True;
d14a1e28
RD
8465 }
8466 {
8467 arg2 = wxString_in_helper(obj1);
8468 if (arg2 == NULL) SWIG_fail;
423f194a 8469 temp2 = True;
d14a1e28
RD
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 {
8480 if (temp1)
8481 delete arg1;
8482 }
8483 {
8484 if (temp2)
8485 delete arg2;
8486 }
8487 return resultobj;
8488 fail:
8489 {
8490 if (temp1)
8491 delete arg1;
8492 }
8493 {
8494 if (temp2)
8495 delete arg2;
8496 }
8497 return NULL;
8498}
8499
8500
2f4c0a16 8501static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8502 PyObject *resultobj;
8503 wxLogNull *result;
8504 char *kwnames[] = {
8505 NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxLogNull *)new wxLogNull();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
2f4c0a16 8516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
2f4c0a16 8523static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8524 PyObject *resultobj;
8525 wxLogNull *arg1 = (wxLogNull *) 0 ;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 delete arg1;
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
2f4c0a16 8548static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8549 PyObject *obj;
8550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8552 Py_INCREF(obj);
8553 return Py_BuildValue((char *)"");
8554}
2f4c0a16 8555static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8556 PyObject *resultobj;
8557 wxPyLog *result;
8558 char *kwnames[] = {
8559 NULL
8560 };
8561
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (wxPyLog *)new wxPyLog();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
2f4c0a16 8570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
8571 return resultobj;
8572 fail:
8573 return NULL;
8574}
8575
8576
2f4c0a16 8577static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8578 PyObject *resultobj;
8579 wxPyLog *arg1 = (wxPyLog *) 0 ;
8580 PyObject *arg2 = (PyObject *) 0 ;
8581 PyObject *arg3 = (PyObject *) 0 ;
8582 PyObject * obj0 = 0 ;
8583 PyObject * obj1 = 0 ;
8584 PyObject * obj2 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self",(char *) "self",(char *) "_class", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8592 arg2 = obj1;
8593 arg3 = obj2;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->_setCallbackInfo(arg2,arg3);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605}
8606
8607
2f4c0a16 8608static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8609 PyObject *obj;
8610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8611 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8612 Py_INCREF(obj);
8613 return Py_BuildValue((char *)"");
8614}
2f4c0a16 8615static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8616 PyObject *resultobj;
8617 int arg1 ;
8618 int arg2 = (int) wxSIGTERM ;
8619 int result;
8edf1c75
RD
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
d14a1e28
RD
8622 char *kwnames[] = {
8623 (char *) "pid",(char *) "sig", NULL
8624 };
8625
8edf1c75 8626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8627 arg1 = (int) SWIG_AsInt(obj0);
8628 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8629 if (obj1) {
2f4c0a16
RD
8630 arg2 = (wxSignal) SWIG_AsInt(obj1);
8631 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8632 }
d14a1e28
RD
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
2f4c0a16 8640 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8641 return resultobj;
8642 fail:
8643 return NULL;
8644}
8645
8646
2f4c0a16 8647static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8648 PyObject *resultobj;
8649 int arg1 ;
8650 bool result;
8edf1c75 8651 PyObject * obj0 = 0 ;
d14a1e28
RD
8652 char *kwnames[] = {
8653 (char *) "pid", NULL
8654 };
8655
8edf1c75 8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8657 arg1 = (int) SWIG_AsInt(obj0);
8658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (bool)wxPyProcess::Exists(arg1);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
02a34c4c 8666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8667 return resultobj;
8668 fail:
8669 return NULL;
8670}
8671
8672
2f4c0a16 8673static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8674 PyObject *resultobj;
8675 wxString *arg1 = 0 ;
8676 int arg2 = (int) wxEXEC_ASYNC ;
8677 wxPyProcess *result;
423f194a 8678 bool temp1 = False ;
d14a1e28 8679 PyObject * obj0 = 0 ;
8edf1c75 8680 PyObject * obj1 = 0 ;
d14a1e28
RD
8681 char *kwnames[] = {
8682 (char *) "cmd",(char *) "flags", NULL
8683 };
8684
8edf1c75 8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8686 {
8687 arg1 = wxString_in_helper(obj0);
8688 if (arg1 == NULL) SWIG_fail;
423f194a 8689 temp1 = True;
d14a1e28 8690 }
8edf1c75 8691 if (obj1) {
2f4c0a16
RD
8692 arg2 = (int) SWIG_AsInt(obj1);
8693 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8694 }
d14a1e28
RD
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
2f4c0a16 8702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
8703 {
8704 if (temp1)
8705 delete arg1;
8706 }
8707 return resultobj;
8708 fail:
8709 {
8710 if (temp1)
8711 delete arg1;
8712 }
8713 return NULL;
8714}
8715
8716
2f4c0a16 8717static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8718 PyObject *resultobj;
8719 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8720 int arg2 = (int) -1 ;
8721 wxPyProcess *result;
8722 PyObject * obj0 = 0 ;
8edf1c75 8723 PyObject * obj1 = 0 ;
d14a1e28
RD
8724 char *kwnames[] = {
8725 (char *) "parent",(char *) "id", NULL
8726 };
8727
8edf1c75 8728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8729 if (obj0) {
2f4c0a16
RD
8730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8732 }
8edf1c75 8733 if (obj1) {
2f4c0a16
RD
8734 arg2 = (int) SWIG_AsInt(obj1);
8735 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8736 }
d14a1e28
RD
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
2f4c0a16 8744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
2f4c0a16 8751static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8752 PyObject *resultobj;
8753 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8754 PyObject *arg2 = (PyObject *) 0 ;
8755 PyObject *arg3 = (PyObject *) 0 ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "self",(char *) "_class", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8766 arg2 = obj1;
8767 arg3 = obj2;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->_setCallbackInfo(arg2,arg3);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 Py_INCREF(Py_None); resultobj = Py_None;
8776 return resultobj;
8777 fail:
8778 return NULL;
8779}
8780
8781
2f4c0a16 8782static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8783 PyObject *resultobj;
8784 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8785 int arg2 ;
8786 int arg3 ;
8787 PyObject * obj0 = 0 ;
8edf1c75
RD
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
d14a1e28
RD
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "pid",(char *) "status", NULL
8792 };
8793
8edf1c75 8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8797 arg2 = (int) SWIG_AsInt(obj1);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 arg3 = (int) SWIG_AsInt(obj2);
8800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->base_OnTerminate(arg2,arg3);
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 Py_INCREF(Py_None); resultobj = Py_None;
8809 return resultobj;
8810 fail:
8811 return NULL;
8812}
8813
8814
2f4c0a16 8815static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8816 PyObject *resultobj;
8817 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->Redirect();
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837}
8838
8839
2f4c0a16 8840static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8841 PyObject *resultobj;
8842 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8843 bool result;
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (bool)(arg1)->IsRedirected();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
02a34c4c 8859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8860 return resultobj;
8861 fail:
8862 return NULL;
8863}
8864
8865
2f4c0a16 8866static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8867 PyObject *resultobj;
8868 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8869 PyObject * obj0 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 (arg1)->Detach();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 Py_INCREF(Py_None); resultobj = Py_None;
8885 return resultobj;
8886 fail:
8887 return NULL;
8888}
8889
8890
2f4c0a16 8891static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8892 PyObject *resultobj;
8893 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8894 wxInputStream *result;
8895 PyObject * obj0 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (wxInputStream *)(arg1)->GetInputStream();
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 {
8911 wxPyInputStream * _ptr = NULL;
8912
8913 if (result) {
8914 _ptr = new wxPyInputStream(result);
8915 }
423f194a 8916 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8917 }
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
2f4c0a16 8924static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8925 PyObject *resultobj;
8926 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8927 wxInputStream *result;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (wxInputStream *)(arg1)->GetErrorStream();
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 {
8944 wxPyInputStream * _ptr = NULL;
8945
8946 if (result) {
8947 _ptr = new wxPyInputStream(result);
8948 }
423f194a 8949 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8950 }
8951 return resultobj;
8952 fail:
8953 return NULL;
8954}
8955
8956
2f4c0a16 8957static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8958 PyObject *resultobj;
8959 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8960 wxOutputStream *result;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (wxOutputStream *)(arg1)->GetOutputStream();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
2f4c0a16 8976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
8977 return resultobj;
8978 fail:
8979 return NULL;
8980}
8981
8982
2f4c0a16 8983static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8984 PyObject *resultobj;
8985 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->CloseOutput();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005}
9006
9007
2f4c0a16 9008static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9009 PyObject *resultobj;
9010 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9011 bool result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
02a34c4c 9027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9028 return resultobj;
9029 fail:
9030 return NULL;
9031}
9032
9033
2f4c0a16 9034static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9035 PyObject *resultobj;
9036 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9037 bool result;
9038 PyObject * obj0 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
02a34c4c 9053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9054 return resultobj;
9055 fail:
9056 return NULL;
9057}
9058
9059
2f4c0a16 9060static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9061 PyObject *resultobj;
9062 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9063 bool result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
02a34c4c 9079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9080 return resultobj;
9081 fail:
9082 return NULL;
9083}
9084
9085
2f4c0a16 9086static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9087 PyObject *obj;
9088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9089 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9090 Py_INCREF(obj);
9091 return Py_BuildValue((char *)"");
9092}
2f4c0a16 9093static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9094 PyObject *resultobj;
9095 int arg1 = (int) 0 ;
9096 int arg2 = (int) 0 ;
9097 int arg3 = (int) 0 ;
9098 wxProcessEvent *result;
8edf1c75
RD
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 PyObject * obj2 = 0 ;
d14a1e28
RD
9102 char *kwnames[] = {
9103 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9104 };
9105
8edf1c75
RD
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9107 if (obj0) {
2f4c0a16
RD
9108 arg1 = (int) SWIG_AsInt(obj0);
9109 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9110 }
9111 if (obj1) {
2f4c0a16
RD
9112 arg2 = (int) SWIG_AsInt(obj1);
9113 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9114 }
9115 if (obj2) {
2f4c0a16
RD
9116 arg3 = (int) SWIG_AsInt(obj2);
9117 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9118 }
d14a1e28
RD
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
2f4c0a16 9126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
9127 return resultobj;
9128 fail:
9129 return NULL;
9130}
9131
9132
2f4c0a16 9133static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9134 PyObject *resultobj;
9135 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9136 int result;
9137 PyObject * obj0 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (int)(arg1)->GetPid();
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
2f4c0a16 9152 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9153 return resultobj;
9154 fail:
9155 return NULL;
9156}
9157
9158
2f4c0a16 9159static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9160 PyObject *resultobj;
9161 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (int)(arg1)->GetExitCode();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
2f4c0a16 9178 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9179 return resultobj;
9180 fail:
9181 return NULL;
9182}
9183
9184
2f4c0a16 9185static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9186 PyObject *resultobj;
9187 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9188 int arg2 ;
9189 PyObject * obj0 = 0 ;
8edf1c75 9190 PyObject * obj1 = 0 ;
d14a1e28
RD
9191 char *kwnames[] = {
9192 (char *) "self",(char *) "m_pid", NULL
9193 };
9194
8edf1c75 9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 arg2 = (int) SWIG_AsInt(obj1);
9199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9200 if (arg1) (arg1)->m_pid = arg2;
9201
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206}
9207
9208
2f4c0a16 9209static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9210 PyObject *resultobj;
9211 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9212 int result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9221 result = (int) ((arg1)->m_pid);
9222
2f4c0a16 9223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9224 return resultobj;
9225 fail:
9226 return NULL;
9227}
9228
9229
2f4c0a16 9230static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9231 PyObject *resultobj;
9232 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9233 int arg2 ;
9234 PyObject * obj0 = 0 ;
8edf1c75 9235 PyObject * obj1 = 0 ;
d14a1e28
RD
9236 char *kwnames[] = {
9237 (char *) "self",(char *) "m_exitcode", NULL
9238 };
9239
8edf1c75 9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9243 arg2 = (int) SWIG_AsInt(obj1);
9244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9245 if (arg1) (arg1)->m_exitcode = arg2;
9246
9247 Py_INCREF(Py_None); resultobj = Py_None;
9248 return resultobj;
9249 fail:
9250 return NULL;
9251}
9252
9253
2f4c0a16 9254static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9255 PyObject *resultobj;
9256 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9257 int result;
9258 PyObject * obj0 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9266 result = (int) ((arg1)->m_exitcode);
9267
2f4c0a16 9268 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9269 return resultobj;
9270 fail:
9271 return NULL;
9272}
9273
9274
2f4c0a16 9275static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9276 PyObject *obj;
9277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9279 Py_INCREF(obj);
9280 return Py_BuildValue((char *)"");
9281}
2f4c0a16 9282static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9283 PyObject *resultobj;
9284 wxString *arg1 = 0 ;
9285 int arg2 = (int) wxEXEC_ASYNC ;
9286 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9287 long result;
423f194a 9288 bool temp1 = False ;
d14a1e28 9289 PyObject * obj0 = 0 ;
8edf1c75 9290 PyObject * obj1 = 0 ;
d14a1e28
RD
9291 PyObject * obj2 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "command",(char *) "flags",(char *) "process", NULL
9294 };
9295
8edf1c75 9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9297 {
9298 arg1 = wxString_in_helper(obj0);
9299 if (arg1 == NULL) SWIG_fail;
423f194a 9300 temp1 = True;
d14a1e28 9301 }
8edf1c75 9302 if (obj1) {
2f4c0a16
RD
9303 arg2 = (int) SWIG_AsInt(obj1);
9304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9305 }
d14a1e28 9306 if (obj2) {
2f4c0a16
RD
9307 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9309 }
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
2f4c0a16 9317 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9318 {
9319 if (temp1)
9320 delete arg1;
9321 }
9322 return resultobj;
9323 fail:
9324 {
9325 if (temp1)
9326 delete arg1;
9327 }
9328 return NULL;
9329}
9330
9331
2f4c0a16 9332static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9333 PyObject *resultobj;
9334 int arg1 = (int) wxJOYSTICK1 ;
9335 wxJoystick *result;
8edf1c75 9336 PyObject * obj0 = 0 ;
d14a1e28
RD
9337 char *kwnames[] = {
9338 (char *) "joystick", NULL
9339 };
9340
8edf1c75
RD
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9342 if (obj0) {
2f4c0a16
RD
9343 arg1 = (int) SWIG_AsInt(obj0);
9344 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9345 }
d14a1e28
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (wxJoystick *)new wxJoystick(arg1);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
2f4c0a16 9353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
9354 return resultobj;
9355 fail:
9356 return NULL;
9357}
9358
9359
2f4c0a16 9360static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9361 PyObject *resultobj;
9362 wxJoystick *arg1 = (wxJoystick *) 0 ;
9363 PyObject * obj0 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "self", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 delete arg1;
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 Py_INCREF(Py_None); resultobj = Py_None;
9379 return resultobj;
9380 fail:
9381 return NULL;
9382}
9383
9384
2f4c0a16 9385static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9386 PyObject *resultobj;
9387 wxJoystick *arg1 = (wxJoystick *) 0 ;
9388 wxPoint result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = (arg1)->GetPosition();
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 {
9405 wxPoint * resultptr;
9406 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 9407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
9408 }
9409 return resultobj;
9410 fail:
9411 return NULL;
9412}
9413
9414
2f4c0a16 9415static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9416 PyObject *resultobj;
9417 wxJoystick *arg1 = (wxJoystick *) 0 ;
9418 int result;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (int)(arg1)->GetZPosition();
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
2f4c0a16 9434 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9435 return resultobj;
9436 fail:
9437 return NULL;
9438}
9439
9440
2f4c0a16 9441static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9442 PyObject *resultobj;
9443 wxJoystick *arg1 = (wxJoystick *) 0 ;
9444 int result;
9445 PyObject * obj0 = 0 ;
9446 char *kwnames[] = {
9447 (char *) "self", NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (int)(arg1)->GetButtonState();
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
2f4c0a16 9460 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
2f4c0a16 9467static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9468 PyObject *resultobj;
9469 wxJoystick *arg1 = (wxJoystick *) 0 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (int)(arg1)->GetPOVPosition();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
2f4c0a16 9486 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
2f4c0a16 9493static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9494 PyObject *resultobj;
9495 wxJoystick *arg1 = (wxJoystick *) 0 ;
9496 int result;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)(arg1)->GetPOVCTSPosition();
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
2f4c0a16 9512 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9513 return resultobj;
9514 fail:
9515 return NULL;
9516}
9517
9518
2f4c0a16 9519static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9520 PyObject *resultobj;
9521 wxJoystick *arg1 = (wxJoystick *) 0 ;
9522 int result;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (int)(arg1)->GetRudderPosition();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
2f4c0a16 9538 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9539 return resultobj;
9540 fail:
9541 return NULL;
9542}
9543
9544
2f4c0a16 9545static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9546 PyObject *resultobj;
9547 wxJoystick *arg1 = (wxJoystick *) 0 ;
9548 int result;
9549 PyObject * obj0 = 0 ;
9550 char *kwnames[] = {
9551 (char *) "self", NULL
9552 };
9553
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (int)(arg1)->GetUPosition();
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
2f4c0a16 9564 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
2f4c0a16 9571static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9572 PyObject *resultobj;
9573 wxJoystick *arg1 = (wxJoystick *) 0 ;
9574 int result;
9575 PyObject * obj0 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (int)(arg1)->GetVPosition();
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
2f4c0a16 9590 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
2f4c0a16 9597static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9598 PyObject *resultobj;
9599 wxJoystick *arg1 = (wxJoystick *) 0 ;
9600 int result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (int)(arg1)->GetMovementThreshold();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
2f4c0a16 9616 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9617 return resultobj;
9618 fail:
9619 return NULL;
9620}
9621
9622
2f4c0a16 9623static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9624 PyObject *resultobj;
9625 wxJoystick *arg1 = (wxJoystick *) 0 ;
9626 int arg2 ;
9627 PyObject * obj0 = 0 ;
8edf1c75 9628 PyObject * obj1 = 0 ;
d14a1e28
RD
9629 char *kwnames[] = {
9630 (char *) "self",(char *) "threshold", NULL
9631 };
9632
8edf1c75 9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 arg2 = (int) SWIG_AsInt(obj1);
9637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 (arg1)->SetMovementThreshold(arg2);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 Py_INCREF(Py_None); resultobj = Py_None;
9646 return resultobj;
9647 fail:
9648 return NULL;
9649}
9650
9651
2f4c0a16 9652static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9653 PyObject *resultobj;
9654 wxJoystick *arg1 = (wxJoystick *) 0 ;
9655 bool result;
9656 PyObject * obj0 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "self", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (bool)(arg1)->IsOk();
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
02a34c4c 9671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9672 return resultobj;
9673 fail:
9674 return NULL;
9675}
9676
9677
2f4c0a16 9678static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9679 PyObject *resultobj;
9680 wxJoystick *arg1 = (wxJoystick *) 0 ;
9681 int result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 result = (int)(arg1)->GetNumberJoysticks();
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
2f4c0a16 9697 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9698 return resultobj;
9699 fail:
9700 return NULL;
9701}
9702
9703
2f4c0a16 9704static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9705 PyObject *resultobj;
9706 wxJoystick *arg1 = (wxJoystick *) 0 ;
9707 int result;
9708 PyObject * obj0 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = (int)(arg1)->GetManufacturerId();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
2f4c0a16 9723 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9724 return resultobj;
9725 fail:
9726 return NULL;
9727}
9728
9729
2f4c0a16 9730static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9731 PyObject *resultobj;
9732 wxJoystick *arg1 = (wxJoystick *) 0 ;
9733 int result;
9734 PyObject * obj0 = 0 ;
9735 char *kwnames[] = {
9736 (char *) "self", NULL
9737 };
9738
9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (int)(arg1)->GetProductId();
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
2f4c0a16 9749 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9750 return resultobj;
9751 fail:
9752 return NULL;
9753}
9754
9755
2f4c0a16 9756static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9757 PyObject *resultobj;
9758 wxJoystick *arg1 = (wxJoystick *) 0 ;
9759 wxString result;
9760 PyObject * obj0 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (arg1)->GetProductName();
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 {
9776#if wxUSE_UNICODE
9777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9778#else
9779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9780#endif
9781 }
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
2f4c0a16 9788static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9789 PyObject *resultobj;
9790 wxJoystick *arg1 = (wxJoystick *) 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (int)(arg1)->GetXMin();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
2f4c0a16 9807 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
2f4c0a16 9814static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9815 PyObject *resultobj;
9816 wxJoystick *arg1 = (wxJoystick *) 0 ;
9817 int result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (int)(arg1)->GetYMin();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
2f4c0a16 9833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
2f4c0a16 9840static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9841 PyObject *resultobj;
9842 wxJoystick *arg1 = (wxJoystick *) 0 ;
9843 int result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (int)(arg1)->GetZMin();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
2f4c0a16 9859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
2f4c0a16 9866static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9867 PyObject *resultobj;
9868 wxJoystick *arg1 = (wxJoystick *) 0 ;
9869 int result;
9870 PyObject * obj0 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (int)(arg1)->GetXMax();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
2f4c0a16 9885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9886 return resultobj;
9887 fail:
9888 return NULL;
9889}
9890
9891
2f4c0a16 9892static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9893 PyObject *resultobj;
9894 wxJoystick *arg1 = (wxJoystick *) 0 ;
9895 int result;
9896 PyObject * obj0 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 result = (int)(arg1)->GetYMax();
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
2f4c0a16 9911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9912 return resultobj;
9913 fail:
9914 return NULL;
9915}
9916
9917
2f4c0a16 9918static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9919 PyObject *resultobj;
9920 wxJoystick *arg1 = (wxJoystick *) 0 ;
9921 int result;
9922 PyObject * obj0 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 result = (int)(arg1)->GetZMax();
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
2f4c0a16 9937 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9938 return resultobj;
9939 fail:
9940 return NULL;
9941}
9942
9943
2f4c0a16 9944static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9945 PyObject *resultobj;
9946 wxJoystick *arg1 = (wxJoystick *) 0 ;
9947 int result;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (int)(arg1)->GetNumberButtons();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
2f4c0a16 9963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9964 return resultobj;
9965 fail:
9966 return NULL;
9967}
9968
9969
2f4c0a16 9970static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9971 PyObject *resultobj;
9972 wxJoystick *arg1 = (wxJoystick *) 0 ;
9973 int result;
9974 PyObject * obj0 = 0 ;
9975 char *kwnames[] = {
9976 (char *) "self", NULL
9977 };
9978
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 result = (int)(arg1)->GetNumberAxes();
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
2f4c0a16 9989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9990 return resultobj;
9991 fail:
9992 return NULL;
9993}
9994
9995
2f4c0a16 9996static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9997 PyObject *resultobj;
9998 wxJoystick *arg1 = (wxJoystick *) 0 ;
9999 int result;
10000 PyObject * obj0 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (int)(arg1)->GetMaxButtons();
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
2f4c0a16 10015 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10016 return resultobj;
10017 fail:
10018 return NULL;
10019}
10020
10021
2f4c0a16 10022static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10023 PyObject *resultobj;
10024 wxJoystick *arg1 = (wxJoystick *) 0 ;
10025 int result;
10026 PyObject * obj0 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 result = (int)(arg1)->GetMaxAxes();
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
2f4c0a16 10041 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10042 return resultobj;
10043 fail:
10044 return NULL;
10045}
10046
10047
2f4c0a16 10048static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10049 PyObject *resultobj;
10050 wxJoystick *arg1 = (wxJoystick *) 0 ;
10051 int result;
10052 PyObject * obj0 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (int)(arg1)->GetPollingMin();
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
2f4c0a16 10067 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10068 return resultobj;
10069 fail:
10070 return NULL;
10071}
10072
10073
2f4c0a16 10074static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10075 PyObject *resultobj;
10076 wxJoystick *arg1 = (wxJoystick *) 0 ;
10077 int result;
10078 PyObject * obj0 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "self", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 result = (int)(arg1)->GetPollingMax();
10089
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
2f4c0a16 10093 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10094 return resultobj;
10095 fail:
10096 return NULL;
10097}
10098
10099
2f4c0a16 10100static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10101 PyObject *resultobj;
10102 wxJoystick *arg1 = (wxJoystick *) 0 ;
10103 int result;
10104 PyObject * obj0 = 0 ;
10105 char *kwnames[] = {
10106 (char *) "self", NULL
10107 };
10108
10109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (int)(arg1)->GetRudderMin();
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
2f4c0a16 10119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10120 return resultobj;
10121 fail:
10122 return NULL;
10123}
10124
10125
2f4c0a16 10126static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10127 PyObject *resultobj;
10128 wxJoystick *arg1 = (wxJoystick *) 0 ;
10129 int result;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (int)(arg1)->GetRudderMax();
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
2f4c0a16 10145 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10146 return resultobj;
10147 fail:
10148 return NULL;
10149}
10150
10151
2f4c0a16 10152static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10153 PyObject *resultobj;
10154 wxJoystick *arg1 = (wxJoystick *) 0 ;
10155 int result;
10156 PyObject * obj0 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (int)(arg1)->GetUMin();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
2f4c0a16 10171 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
2f4c0a16 10178static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10179 PyObject *resultobj;
10180 wxJoystick *arg1 = (wxJoystick *) 0 ;
10181 int result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (int)(arg1)->GetUMax();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
2f4c0a16 10197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
2f4c0a16 10204static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10205 PyObject *resultobj;
10206 wxJoystick *arg1 = (wxJoystick *) 0 ;
10207 int result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 result = (int)(arg1)->GetVMin();
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
2f4c0a16 10223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
2f4c0a16 10230static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10231 PyObject *resultobj;
10232 wxJoystick *arg1 = (wxJoystick *) 0 ;
10233 int result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (int)(arg1)->GetVMax();
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
2f4c0a16 10249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10250 return resultobj;
10251 fail:
10252 return NULL;
10253}
10254
10255
2f4c0a16 10256static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10257 PyObject *resultobj;
10258 wxJoystick *arg1 = (wxJoystick *) 0 ;
10259 bool result;
10260 PyObject * obj0 = 0 ;
10261 char *kwnames[] = {
10262 (char *) "self", NULL
10263 };
10264
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (bool)(arg1)->HasRudder();
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
02a34c4c 10275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10276 return resultobj;
10277 fail:
10278 return NULL;
10279}
10280
10281
2f4c0a16 10282static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10283 PyObject *resultobj;
10284 wxJoystick *arg1 = (wxJoystick *) 0 ;
10285 bool result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (bool)(arg1)->HasZ();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
02a34c4c 10301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10302 return resultobj;
10303 fail:
10304 return NULL;
10305}
10306
10307
2f4c0a16 10308static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10309 PyObject *resultobj;
10310 wxJoystick *arg1 = (wxJoystick *) 0 ;
10311 bool result;
10312 PyObject * obj0 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 result = (bool)(arg1)->HasU();
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
02a34c4c 10327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10328 return resultobj;
10329 fail:
10330 return NULL;
10331}
10332
10333
2f4c0a16 10334static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10335 PyObject *resultobj;
10336 wxJoystick *arg1 = (wxJoystick *) 0 ;
10337 bool result;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (bool)(arg1)->HasV();
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
02a34c4c 10353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
2f4c0a16 10360static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10361 PyObject *resultobj;
10362 wxJoystick *arg1 = (wxJoystick *) 0 ;
10363 bool result;
10364 PyObject * obj0 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "self", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (bool)(arg1)->HasPOV();
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
02a34c4c 10379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
2f4c0a16 10386static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10387 PyObject *resultobj;
10388 wxJoystick *arg1 = (wxJoystick *) 0 ;
10389 bool result;
10390 PyObject * obj0 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)(arg1)->HasPOV4Dir();
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
02a34c4c 10405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10406 return resultobj;
10407 fail:
10408 return NULL;
10409}
10410
10411
2f4c0a16 10412static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10413 PyObject *resultobj;
10414 wxJoystick *arg1 = (wxJoystick *) 0 ;
10415 bool result;
10416 PyObject * obj0 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = (bool)(arg1)->HasPOVCTS();
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
02a34c4c 10431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10432 return resultobj;
10433 fail:
10434 return NULL;
10435}
10436
10437
2f4c0a16 10438static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10439 PyObject *resultobj;
10440 wxJoystick *arg1 = (wxJoystick *) 0 ;
10441 wxWindow *arg2 = (wxWindow *) 0 ;
10442 int arg3 = (int) 0 ;
10443 bool result;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
8edf1c75 10446 PyObject * obj2 = 0 ;
d14a1e28
RD
10447 char *kwnames[] = {
10448 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10449 };
10450
8edf1c75 10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10456 if (obj2) {
2f4c0a16
RD
10457 arg3 = (int) SWIG_AsInt(obj2);
10458 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10459 }
d14a1e28
RD
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)(arg1)->SetCapture(arg2,arg3);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
02a34c4c 10467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
2f4c0a16 10474static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10475 PyObject *resultobj;
10476 wxJoystick *arg1 = (wxJoystick *) 0 ;
10477 bool result;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (bool)(arg1)->ReleaseCapture();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
02a34c4c 10493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
2f4c0a16 10500static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10501 PyObject *obj;
10502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10503 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10504 Py_INCREF(obj);
10505 return Py_BuildValue((char *)"");
10506}
2f4c0a16 10507static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10508 PyObject *resultobj;
10509 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10510 wxPoint *arg2 = (wxPoint *) 0 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "m_pos", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10522 if (arg1) (arg1)->m_pos = *arg2;
10523
10524 Py_INCREF(Py_None); resultobj = Py_None;
10525 return resultobj;
10526 fail:
10527 return NULL;
10528}
10529
10530
2f4c0a16 10531static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10532 PyObject *resultobj;
10533 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10534 wxPoint *result;
10535 PyObject * obj0 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10543 result = (wxPoint *)& ((arg1)->m_pos);
10544
2f4c0a16 10545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
10546 return resultobj;
10547 fail:
10548 return NULL;
10549}
10550
10551
2f4c0a16 10552static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10553 PyObject *resultobj;
10554 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10555 int arg2 ;
10556 PyObject * obj0 = 0 ;
8edf1c75 10557 PyObject * obj1 = 0 ;
d14a1e28
RD
10558 char *kwnames[] = {
10559 (char *) "self",(char *) "m_zPosition", NULL
10560 };
10561
8edf1c75 10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10565 arg2 = (int) SWIG_AsInt(obj1);
10566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10567 if (arg1) (arg1)->m_zPosition = arg2;
10568
10569 Py_INCREF(Py_None); resultobj = Py_None;
10570 return resultobj;
10571 fail:
10572 return NULL;
10573}
10574
10575
2f4c0a16 10576static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10577 PyObject *resultobj;
10578 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10579 int result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10588 result = (int) ((arg1)->m_zPosition);
10589
2f4c0a16 10590 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10591 return resultobj;
10592 fail:
10593 return NULL;
10594}
10595
10596
2f4c0a16 10597static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10598 PyObject *resultobj;
10599 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10600 int arg2 ;
10601 PyObject * obj0 = 0 ;
8edf1c75 10602 PyObject * obj1 = 0 ;
d14a1e28
RD
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "m_buttonChange", NULL
10605 };
10606
8edf1c75 10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10610 arg2 = (int) SWIG_AsInt(obj1);
10611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10612 if (arg1) (arg1)->m_buttonChange = arg2;
10613
10614 Py_INCREF(Py_None); resultobj = Py_None;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
2f4c0a16 10621static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10622 PyObject *resultobj;
10623 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10624 int result;
10625 PyObject * obj0 = 0 ;
10626 char *kwnames[] = {
10627 (char *) "self", NULL
10628 };
10629
10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10633 result = (int) ((arg1)->m_buttonChange);
10634
2f4c0a16 10635 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
2f4c0a16 10642static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10643 PyObject *resultobj;
10644 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10645 int arg2 ;
10646 PyObject * obj0 = 0 ;
8edf1c75 10647 PyObject * obj1 = 0 ;
d14a1e28
RD
10648 char *kwnames[] = {
10649 (char *) "self",(char *) "m_buttonState", NULL
10650 };
10651
8edf1c75 10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 arg2 = (int) SWIG_AsInt(obj1);
10656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10657 if (arg1) (arg1)->m_buttonState = arg2;
10658
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663}
10664
10665
2f4c0a16 10666static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10667 PyObject *resultobj;
10668 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10669 int result;
10670 PyObject * obj0 = 0 ;
10671 char *kwnames[] = {
10672 (char *) "self", NULL
10673 };
10674
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10678 result = (int) ((arg1)->m_buttonState);
10679
2f4c0a16 10680 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10681 return resultobj;
10682 fail:
10683 return NULL;
10684}
10685
10686
2f4c0a16 10687static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10688 PyObject *resultobj;
10689 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10690 int arg2 ;
10691 PyObject * obj0 = 0 ;
8edf1c75 10692 PyObject * obj1 = 0 ;
d14a1e28
RD
10693 char *kwnames[] = {
10694 (char *) "self",(char *) "m_joyStick", NULL
10695 };
10696
8edf1c75 10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10700 arg2 = (int) SWIG_AsInt(obj1);
10701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10702 if (arg1) (arg1)->m_joyStick = arg2;
10703
10704 Py_INCREF(Py_None); resultobj = Py_None;
10705 return resultobj;
10706 fail:
10707 return NULL;
10708}
10709
10710
2f4c0a16 10711static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10712 PyObject *resultobj;
10713 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10714 int result;
10715 PyObject * obj0 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10723 result = (int) ((arg1)->m_joyStick);
10724
2f4c0a16 10725 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10726 return resultobj;
10727 fail:
10728 return NULL;
10729}
10730
10731
2f4c0a16 10732static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10733 PyObject *resultobj;
10734 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10735 int arg2 = (int) 0 ;
10736 int arg3 = (int) wxJOYSTICK1 ;
10737 int arg4 = (int) 0 ;
10738 wxJoystickEvent *result;
8edf1c75
RD
10739 PyObject * obj0 = 0 ;
10740 PyObject * obj1 = 0 ;
10741 PyObject * obj2 = 0 ;
10742 PyObject * obj3 = 0 ;
d14a1e28
RD
10743 char *kwnames[] = {
10744 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10745 };
10746
8edf1c75
RD
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10748 if (obj0) {
2f4c0a16
RD
10749 arg1 = (wxEventType) SWIG_AsInt(obj0);
10750 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10751 }
10752 if (obj1) {
2f4c0a16
RD
10753 arg2 = (int) SWIG_AsInt(obj1);
10754 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10755 }
10756 if (obj2) {
2f4c0a16
RD
10757 arg3 = (int) SWIG_AsInt(obj2);
10758 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10759 }
10760 if (obj3) {
2f4c0a16
RD
10761 arg4 = (int) SWIG_AsInt(obj3);
10762 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10763 }
d14a1e28
RD
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
2f4c0a16 10771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
2f4c0a16 10778static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10779 PyObject *resultobj;
10780 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10781 wxPoint result;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 {
10798 wxPoint * resultptr;
10799 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 10800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10801 }
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
2f4c0a16 10808static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10809 PyObject *resultobj;
10810 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10811 int result;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
2f4c0a16 10827 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10828 return resultobj;
10829 fail:
10830 return NULL;
10831}
10832
10833
2f4c0a16 10834static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10835 PyObject *resultobj;
10836 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10837 int result;
10838 PyObject * obj0 = 0 ;
10839 char *kwnames[] = {
10840 (char *) "self", NULL
10841 };
10842
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
2f4c0a16 10853 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10854 return resultobj;
10855 fail:
10856 return NULL;
10857}
10858
10859
2f4c0a16 10860static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10861 PyObject *resultobj;
10862 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10863 int result;
10864 PyObject * obj0 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "self", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
2f4c0a16 10879 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
2f4c0a16 10886static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10887 PyObject *resultobj;
10888 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10889 int result;
10890 PyObject * obj0 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
2f4c0a16 10905 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
2f4c0a16 10912static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10913 PyObject *resultobj;
10914 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10915 int arg2 ;
10916 PyObject * obj0 = 0 ;
8edf1c75 10917 PyObject * obj1 = 0 ;
d14a1e28
RD
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "stick", NULL
10920 };
10921
8edf1c75 10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10925 arg2 = (int) SWIG_AsInt(obj1);
10926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetJoystick(arg2);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938}
10939
10940
2f4c0a16 10941static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10942 PyObject *resultobj;
10943 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10944 int arg2 ;
10945 PyObject * obj0 = 0 ;
8edf1c75 10946 PyObject * obj1 = 0 ;
d14a1e28
RD
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "state", NULL
10949 };
10950
8edf1c75 10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10954 arg2 = (int) SWIG_AsInt(obj1);
10955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 (arg1)->SetButtonState(arg2);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 Py_INCREF(Py_None); resultobj = Py_None;
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
2f4c0a16 10970static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10971 PyObject *resultobj;
10972 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10973 int arg2 ;
10974 PyObject * obj0 = 0 ;
8edf1c75 10975 PyObject * obj1 = 0 ;
d14a1e28
RD
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "change", NULL
10978 };
10979
8edf1c75 10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10983 arg2 = (int) SWIG_AsInt(obj1);
10984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->SetButtonChange(arg2);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
2f4c0a16 10999static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11000 PyObject *resultobj;
11001 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11002 wxPoint *arg2 = 0 ;
11003 wxPoint temp2 ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self",(char *) "pos", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11013 {
11014 arg2 = &temp2;
11015 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 (arg1)->SetPosition((wxPoint const &)*arg2);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 Py_INCREF(Py_None); resultobj = Py_None;
11025 return resultobj;
11026 fail:
11027 return NULL;
11028}
11029
11030
2f4c0a16 11031static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11032 PyObject *resultobj;
11033 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11034 int arg2 ;
11035 PyObject * obj0 = 0 ;
8edf1c75 11036 PyObject * obj1 = 0 ;
d14a1e28
RD
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "zPos", NULL
11039 };
11040
8edf1c75 11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11044 arg2 = (int) SWIG_AsInt(obj1);
11045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 (arg1)->SetZPosition(arg2);
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 Py_INCREF(Py_None); resultobj = Py_None;
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
2f4c0a16 11060static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11061 PyObject *resultobj;
11062 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11063 bool result;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
02a34c4c 11079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11080 return resultobj;
11081 fail:
11082 return NULL;
11083}
11084
11085
2f4c0a16 11086static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11087 PyObject *resultobj;
11088 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11089 bool result;
11090 PyObject * obj0 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
02a34c4c 11105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
2f4c0a16 11112static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11113 PyObject *resultobj;
11114 wxJoystickEvent *arg1 = (wxJoystickEvent *) 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:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
02a34c4c 11131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11132 return resultobj;
11133 fail:
11134 return NULL;
11135}
11136
11137
2f4c0a16 11138static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11139 PyObject *resultobj;
11140 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11141 int arg2 = (int) wxJOY_BUTTON_ANY ;
11142 bool result;
11143 PyObject * obj0 = 0 ;
8edf1c75 11144 PyObject * obj1 = 0 ;
d14a1e28
RD
11145 char *kwnames[] = {
11146 (char *) "self",(char *) "but", NULL
11147 };
11148
8edf1c75 11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11152 if (obj1) {
2f4c0a16
RD
11153 arg2 = (int) SWIG_AsInt(obj1);
11154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11155 }
d14a1e28
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
02a34c4c 11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11164 return resultobj;
11165 fail:
11166 return NULL;
11167}
11168
11169
2f4c0a16 11170static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11171 PyObject *resultobj;
11172 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11173 int arg2 = (int) wxJOY_BUTTON_ANY ;
11174 bool result;
11175 PyObject * obj0 = 0 ;
8edf1c75 11176 PyObject * obj1 = 0 ;
d14a1e28
RD
11177 char *kwnames[] = {
11178 (char *) "self",(char *) "but", NULL
11179 };
11180
8edf1c75 11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11184 if (obj1) {
2f4c0a16
RD
11185 arg2 = (int) SWIG_AsInt(obj1);
11186 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11187 }
d14a1e28
RD
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
02a34c4c 11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11196 return resultobj;
11197 fail:
11198 return NULL;
11199}
11200
11201
2f4c0a16 11202static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11203 PyObject *resultobj;
11204 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11205 int arg2 = (int) wxJOY_BUTTON_ANY ;
11206 bool result;
11207 PyObject * obj0 = 0 ;
8edf1c75 11208 PyObject * obj1 = 0 ;
d14a1e28
RD
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "but", NULL
11211 };
11212
8edf1c75 11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11216 if (obj1) {
2f4c0a16
RD
11217 arg2 = (int) SWIG_AsInt(obj1);
11218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11219 }
d14a1e28
RD
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
02a34c4c 11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
2f4c0a16 11234static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11235 PyObject *obj;
11236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11238 Py_INCREF(obj);
11239 return Py_BuildValue((char *)"");
11240}
2f4c0a16 11241static PyObject *_wrap_new_Sound__SWIG_0(PyObject *, PyObject *args) {
02a34c4c
RD
11242 PyObject *resultobj;
11243 wxSound *result;
11244
11245 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 result = (wxSound *)new wxSound();
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
2f4c0a16 11253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
02a34c4c
RD
11254 return resultobj;
11255 fail:
11256 return NULL;
11257}
11258
11259
2f4c0a16 11260static PyObject *_wrap_new_Sound__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
11261 PyObject *resultobj;
11262 wxString *arg1 = 0 ;
02a34c4c
RD
11263 bool arg2 = (bool) false ;
11264 wxSound *result;
423f194a 11265 bool temp1 = False ;
d14a1e28
RD
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
d14a1e28 11268
02a34c4c 11269 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11270 {
11271 arg1 = wxString_in_helper(obj0);
11272 if (arg1 == NULL) SWIG_fail;
423f194a 11273 temp1 = True;
d14a1e28
RD
11274 }
11275 if (obj1) {
2f4c0a16
RD
11276 arg2 = (bool) SWIG_AsBool(obj1);
11277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11278 }
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11281 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
2f4c0a16 11286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11287 {
11288 if (temp1)
11289 delete arg1;
11290 }
11291 return resultobj;
11292 fail:
11293 {
11294 if (temp1)
11295 delete arg1;
11296 }
11297 return NULL;
11298}
11299
11300
2f4c0a16 11301static PyObject *_wrap_new_Sound__SWIG_2(PyObject *, PyObject *args) {
d14a1e28 11302 PyObject *resultobj;
02a34c4c
RD
11303 int arg1 ;
11304 wxByte *arg2 = (wxByte *) 0 ;
11305 wxSound *result;
d14a1e28 11306 PyObject * obj0 = 0 ;
02a34c4c 11307 PyObject * obj1 = 0 ;
d14a1e28 11308
02a34c4c 11309 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11310 arg1 = (int) SWIG_AsInt(obj0);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11316 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
2f4c0a16 11321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11322 return resultobj;
11323 fail:
02a34c4c
RD
11324 return NULL;
11325}
11326
11327
11328static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11329 int argc;
11330 PyObject *argv[3];
11331 int ii;
11332
11333 argc = PyObject_Length(args);
11334 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11335 argv[ii] = PyTuple_GetItem(args,ii);
11336 }
11337 if (argc == 0) {
11338 return _wrap_new_Sound__SWIG_0(self,args);
d14a1e28 11339 }
02a34c4c
RD
11340 if ((argc >= 1) && (argc <= 2)) {
11341 int _v;
11342 {
11343 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11344 }
11345 if (_v) {
11346 if (argc <= 1) {
11347 return _wrap_new_Sound__SWIG_1(self,args);
11348 }
2f4c0a16 11349 _v = SWIG_CheckBool(argv[1]);
02a34c4c
RD
11350 if (_v) {
11351 return _wrap_new_Sound__SWIG_1(self,args);
11352 }
11353 }
11354 }
11355 if (argc == 2) {
11356 int _v;
2f4c0a16 11357 _v = SWIG_CheckInt(argv[0]);
02a34c4c
RD
11358 if (_v) {
11359 {
11360 void *ptr;
2f4c0a16 11361 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
02a34c4c
RD
11362 _v = 0;
11363 PyErr_Clear();
11364 } else {
11365 _v = 1;
11366 }
11367 }
11368 if (_v) {
11369 return _wrap_new_Sound__SWIG_2(self,args);
11370 }
11371 }
11372 }
11373
11374 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11375 return NULL;
11376}
11377
11378
2f4c0a16 11379static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11380 PyObject *resultobj;
02a34c4c 11381 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11382 PyObject * obj0 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self", NULL
11385 };
11386
02a34c4c 11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 delete arg1;
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 Py_INCREF(Py_None); resultobj = Py_None;
11398 return resultobj;
11399 fail:
11400 return NULL;
11401}
11402
11403
2f4c0a16 11404static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 11405 PyObject *resultobj;
02a34c4c
RD
11406 wxSound *arg1 = (wxSound *) 0 ;
11407 wxString *arg2 = 0 ;
11408 bool arg3 = (bool) false ;
d14a1e28 11409 bool result;
02a34c4c 11410 bool temp2 = False ;
d14a1e28 11411 PyObject * obj0 = 0 ;
02a34c4c
RD
11412 PyObject * obj1 = 0 ;
11413 PyObject * obj2 = 0 ;
d14a1e28 11414
02a34c4c 11415 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11418 {
11419 arg2 = wxString_in_helper(obj1);
11420 if (arg2 == NULL) SWIG_fail;
11421 temp2 = True;
11422 }
11423 if (obj2) {
2f4c0a16
RD
11424 arg3 = (bool) SWIG_AsBool(obj2);
11425 if (PyErr_Occurred()) SWIG_fail;
02a34c4c 11426 }
d14a1e28
RD
11427 {
11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11429 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11430
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
02a34c4c
RD
11434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11435 {
11436 if (temp2)
11437 delete arg2;
11438 }
d14a1e28
RD
11439 return resultobj;
11440 fail:
02a34c4c
RD
11441 {
11442 if (temp2)
11443 delete arg2;
11444 }
d14a1e28
RD
11445 return NULL;
11446}
11447
11448
2f4c0a16 11449static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *, PyObject *args) {
d14a1e28 11450 PyObject *resultobj;
02a34c4c
RD
11451 wxSound *arg1 = (wxSound *) 0 ;
11452 int arg2 ;
11453 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11454 bool result;
11455 PyObject * obj0 = 0 ;
11456 PyObject * obj1 = 0 ;
11457 PyObject * obj2 = 0 ;
02a34c4c
RD
11458
11459 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11462 arg2 = (int) SWIG_AsInt(obj1);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 result = (bool)wxSound_Create__SWIG_1(arg1,arg2,(wxByte const *)arg3);
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
11480static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11481 int argc;
11482 PyObject *argv[4];
11483 int ii;
11484
11485 argc = PyObject_Length(args);
11486 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11487 argv[ii] = PyTuple_GetItem(args,ii);
11488 }
11489 if ((argc >= 2) && (argc <= 3)) {
11490 int _v;
11491 {
11492 void *ptr;
2f4c0a16 11493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
02a34c4c
RD
11494 _v = 0;
11495 PyErr_Clear();
11496 } else {
11497 _v = 1;
11498 }
11499 }
11500 if (_v) {
11501 {
11502 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11503 }
11504 if (_v) {
11505 if (argc <= 2) {
11506 return _wrap_Sound_Create__SWIG_0(self,args);
11507 }
2f4c0a16 11508 _v = SWIG_CheckBool(argv[2]);
02a34c4c
RD
11509 if (_v) {
11510 return _wrap_Sound_Create__SWIG_0(self,args);
11511 }
11512 }
11513 }
11514 }
11515 if (argc == 3) {
11516 int _v;
11517 {
11518 void *ptr;
2f4c0a16 11519 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
02a34c4c
RD
11520 _v = 0;
11521 PyErr_Clear();
11522 } else {
11523 _v = 1;
11524 }
11525 }
11526 if (_v) {
2f4c0a16 11527 _v = SWIG_CheckInt(argv[1]);
02a34c4c
RD
11528 if (_v) {
11529 {
11530 void *ptr;
2f4c0a16 11531 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
02a34c4c
RD
11532 _v = 0;
11533 PyErr_Clear();
11534 } else {
11535 _v = 1;
11536 }
11537 }
11538 if (_v) {
11539 return _wrap_Sound_Create__SWIG_1(self,args);
11540 }
11541 }
11542 }
11543 }
11544
11545 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11546 return NULL;
11547}
11548
11549
2f4c0a16 11550static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
02a34c4c
RD
11551 PyObject *resultobj;
11552 wxSound *arg1 = (wxSound *) 0 ;
11553 bool result;
11554 PyObject * obj0 = 0 ;
d14a1e28 11555 char *kwnames[] = {
02a34c4c 11556 (char *) "self", NULL
d14a1e28
RD
11557 };
11558
02a34c4c 11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 result = (bool)(arg1)->IsOk();
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
2f4c0a16 11576static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args) {
02a34c4c
RD
11577 PyObject *resultobj;
11578 wxSound *arg1 = (wxSound *) 0 ;
11579 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11580 bool result;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583
11584 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11587 if (obj1) {
2f4c0a16
RD
11588 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11590 }
02a34c4c
RD
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 result = (bool)((wxSound const *)arg1)->Play(arg2);
11594
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11599 return resultobj;
11600 fail:
11601 return NULL;
11602}
11603
11604
2f4c0a16 11605static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args) {
02a34c4c
RD
11606 PyObject *resultobj;
11607 wxString *arg1 = 0 ;
11608 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11609 bool result;
11610 bool temp1 = False ;
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613
11614 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11615 {
11616 arg1 = wxString_in_helper(obj0);
11617 if (arg1 == NULL) SWIG_fail;
11618 temp1 = True;
11619 }
11620 if (obj1) {
2f4c0a16
RD
11621 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11623 }
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11626 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
02a34c4c
RD
11631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11632 {
11633 if (temp1)
11634 delete arg1;
11635 }
d14a1e28
RD
11636 return resultobj;
11637 fail:
02a34c4c
RD
11638 {
11639 if (temp1)
11640 delete arg1;
11641 }
d14a1e28
RD
11642 return NULL;
11643}
11644
11645
2f4c0a16 11646static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
02a34c4c
RD
11647 PyObject *resultobj;
11648 char *kwnames[] = {
11649 NULL
11650 };
11651
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 Sound_Stop();
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 Py_INCREF(Py_None); resultobj = Py_None;
11661 return resultobj;
11662 fail:
11663 return NULL;
11664}
11665
11666
2f4c0a16 11667static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11668 PyObject *obj;
11669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
02a34c4c 11670 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11671 Py_INCREF(obj);
11672 return Py_BuildValue((char *)"");
11673}
2f4c0a16 11674static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11675 PyObject *resultobj;
11676 wxString *arg1 = 0 ;
11677 wxString *arg2 = 0 ;
11678 wxString *arg3 = 0 ;
11679 wxString *arg4 = 0 ;
11680 wxFileTypeInfo *result;
423f194a
RD
11681 bool temp1 = False ;
11682 bool temp2 = False ;
11683 bool temp3 = False ;
11684 bool temp4 = False ;
d14a1e28
RD
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11694 {
11695 arg1 = wxString_in_helper(obj0);
11696 if (arg1 == NULL) SWIG_fail;
423f194a 11697 temp1 = True;
d14a1e28
RD
11698 }
11699 {
11700 arg2 = wxString_in_helper(obj1);
11701 if (arg2 == NULL) SWIG_fail;
423f194a 11702 temp2 = True;
d14a1e28
RD
11703 }
11704 {
11705 arg3 = wxString_in_helper(obj2);
11706 if (arg3 == NULL) SWIG_fail;
423f194a 11707 temp3 = True;
d14a1e28
RD
11708 }
11709 {
11710 arg4 = wxString_in_helper(obj3);
11711 if (arg4 == NULL) SWIG_fail;
423f194a 11712 temp4 = True;
d14a1e28
RD
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
2f4c0a16 11721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11722 {
11723 if (temp1)
11724 delete arg1;
11725 }
11726 {
11727 if (temp2)
11728 delete arg2;
11729 }
11730 {
11731 if (temp3)
11732 delete arg3;
11733 }
11734 {
11735 if (temp4)
11736 delete arg4;
11737 }
11738 return resultobj;
11739 fail:
11740 {
11741 if (temp1)
11742 delete arg1;
11743 }
11744 {
11745 if (temp2)
11746 delete arg2;
11747 }
11748 {
11749 if (temp3)
11750 delete arg3;
11751 }
11752 {
11753 if (temp4)
11754 delete arg4;
11755 }
11756 return NULL;
11757}
11758
11759
2f4c0a16 11760static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11761 PyObject *resultobj;
11762 wxArrayString *arg1 = 0 ;
11763 wxFileTypeInfo *result;
0ffb2aa6 11764 bool temp1 = False ;
d14a1e28
RD
11765 PyObject * obj0 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "sArray", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11771 {
11772 if (! PySequence_Check(obj0)) {
11773 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11774 SWIG_fail;
11775 }
11776 arg1 = new wxArrayString;
0ffb2aa6 11777 temp1 = True;
d14a1e28
RD
11778 int i, len=PySequence_Length(obj0);
11779 for (i=0; i<len; i++) {
11780 PyObject* item = PySequence_GetItem(obj0, i);
11781#if wxUSE_UNICODE
11782 PyObject* str = PyObject_Unicode(item);
11783#else
11784 PyObject* str = PyObject_Str(item);
11785#endif
11786 arg1->Add(Py2wxString(str));
11787 Py_DECREF(item);
11788 Py_DECREF(str);
11789 }
11790 }
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
2f4c0a16 11798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 11799 {
0ffb2aa6 11800 if (temp1) delete arg1;
d14a1e28
RD
11801 }
11802 return resultobj;
11803 fail:
11804 {
0ffb2aa6 11805 if (temp1) delete arg1;
d14a1e28
RD
11806 }
11807 return NULL;
11808}
11809
11810
2f4c0a16 11811static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11812 PyObject *resultobj;
11813 wxFileTypeInfo *result;
11814 char *kwnames[] = {
11815 NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
2f4c0a16 11826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
2f4c0a16 11833static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11834 PyObject *resultobj;
11835 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11836 bool result;
11837 PyObject * obj0 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11848
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
02a34c4c 11852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11853 return resultobj;
11854 fail:
11855 return NULL;
11856}
11857
11858
2f4c0a16 11859static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11860 PyObject *resultobj;
11861 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11862 wxString *arg2 = 0 ;
11863 int arg3 = (int) 0 ;
423f194a 11864 bool temp2 = False ;
d14a1e28
RD
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
8edf1c75 11867 PyObject * obj2 = 0 ;
d14a1e28
RD
11868 char *kwnames[] = {
11869 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11870 };
11871
8edf1c75 11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11875 {
11876 arg2 = wxString_in_helper(obj1);
11877 if (arg2 == NULL) SWIG_fail;
423f194a 11878 temp2 = True;
d14a1e28 11879 }
8edf1c75 11880 if (obj2) {
2f4c0a16
RD
11881 arg3 = (int) SWIG_AsInt(obj2);
11882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11883 }
d14a1e28
RD
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 Py_INCREF(Py_None); resultobj = Py_None;
11892 {
11893 if (temp2)
11894 delete arg2;
11895 }
11896 return resultobj;
11897 fail:
11898 {
11899 if (temp2)
11900 delete arg2;
11901 }
11902 return NULL;
11903}
11904
11905
2f4c0a16 11906static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11907 PyObject *resultobj;
11908 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11909 wxString *arg2 = 0 ;
423f194a 11910 bool temp2 = False ;
d14a1e28
RD
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "shortDesc", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11920 {
11921 arg2 = wxString_in_helper(obj1);
11922 if (arg2 == NULL) SWIG_fail;
423f194a 11923 temp2 = True;
d14a1e28
RD
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetShortDesc((wxString const &)*arg2);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 Py_INCREF(Py_None); resultobj = Py_None;
11933 {
11934 if (temp2)
11935 delete arg2;
11936 }
11937 return resultobj;
11938 fail:
11939 {
11940 if (temp2)
11941 delete arg2;
11942 }
11943 return NULL;
11944}
11945
11946
2f4c0a16 11947static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11948 PyObject *resultobj;
11949 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11950 wxString *result;
11951 PyObject * obj0 = 0 ;
11952 char *kwnames[] = {
11953 (char *) "self", NULL
11954 };
11955
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 {
11962 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11963 result = (wxString *) &_result_ref;
11964 }
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
0f774bef
RD
11969 {
11970#if wxUSE_UNICODE
11971 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11972#else
11973 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11974#endif
11975 }
d14a1e28
RD
11976 return resultobj;
11977 fail:
11978 return NULL;
11979}
11980
11981
2f4c0a16 11982static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11983 PyObject *resultobj;
11984 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11985 wxString *result;
11986 PyObject * obj0 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self", NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 {
11997 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11998 result = (wxString *) &_result_ref;
11999 }
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
0f774bef
RD
12004 {
12005#if wxUSE_UNICODE
12006 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12007#else
12008 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12009#endif
12010 }
d14a1e28
RD
12011 return resultobj;
12012 fail:
12013 return NULL;
12014}
12015
12016
2f4c0a16 12017static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12018 PyObject *resultobj;
12019 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12020 wxString *result;
12021 PyObject * obj0 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "self", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 {
12032 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12033 result = (wxString *) &_result_ref;
12034 }
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
0f774bef
RD
12039 {
12040#if wxUSE_UNICODE
12041 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12042#else
12043 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12044#endif
12045 }
d14a1e28
RD
12046 return resultobj;
12047 fail:
12048 return NULL;
12049}
12050
12051
2f4c0a16 12052static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12053 PyObject *resultobj;
12054 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12055 wxString *result;
12056 PyObject * obj0 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 {
12067 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12068 result = (wxString *) &_result_ref;
12069 }
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
0f774bef
RD
12074 {
12075#if wxUSE_UNICODE
12076 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12077#else
12078 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12079#endif
12080 }
d14a1e28
RD
12081 return resultobj;
12082 fail:
12083 return NULL;
12084}
12085
12086
2f4c0a16 12087static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12088 PyObject *resultobj;
12089 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12090 wxString *result;
12091 PyObject * obj0 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 {
12102 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12103 result = (wxString *) &_result_ref;
12104 }
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
0f774bef
RD
12109 {
12110#if wxUSE_UNICODE
12111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12112#else
12113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12114#endif
12115 }
d14a1e28
RD
12116 return resultobj;
12117 fail:
12118 return NULL;
12119}
12120
12121
2f4c0a16 12122static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12123 PyObject *resultobj;
12124 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12125 wxArrayString *result;
12126 PyObject * obj0 = 0 ;
12127 char *kwnames[] = {
12128 (char *) "self", NULL
12129 };
12130
12131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 {
12137 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12138 result = (wxArrayString *) &_result_ref;
12139 }
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 {
12145 resultobj = wxArrayString2PyList_helper(*result);
12146 }
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
2f4c0a16 12153static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12154 PyObject *resultobj;
12155 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12156 int result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
2f4c0a16 12172 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12173 return resultobj;
12174 fail:
12175 return NULL;
12176}
12177
12178
2f4c0a16 12179static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12180 PyObject *resultobj;
12181 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12182 wxString *result;
12183 PyObject * obj0 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "self", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 {
12194 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12195 result = (wxString *) &_result_ref;
12196 }
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
0f774bef
RD
12201 {
12202#if wxUSE_UNICODE
12203 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12204#else
12205 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12206#endif
12207 }
d14a1e28
RD
12208 return resultobj;
12209 fail:
12210 return NULL;
12211}
12212
12213
2f4c0a16 12214static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12215 PyObject *resultobj;
12216 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12217 int result;
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
2f4c0a16 12233 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12234 return resultobj;
12235 fail:
12236 return NULL;
12237}
12238
12239
2f4c0a16 12240static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12241 PyObject *obj;
12242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12243 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12244 Py_INCREF(obj);
12245 return Py_BuildValue((char *)"");
12246}
2f4c0a16 12247static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12248 PyObject *resultobj;
12249 wxFileTypeInfo *arg1 = 0 ;
12250 wxFileType *result;
12251 PyObject * obj0 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "ftInfo", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12258 SWIG_POINTER_EXCEPTION | 0)) == -1)
12259 SWIG_fail;
d14a1e28 12260 if (arg1 == NULL) {
2f4c0a16
RD
12261 PyErr_SetString(PyExc_TypeError,"null reference");
12262 SWIG_fail;
d14a1e28
RD
12263 }
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
2f4c0a16 12271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
12272 return resultobj;
12273 fail:
12274 return NULL;
12275}
12276
12277
2f4c0a16 12278static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12279 PyObject *resultobj;
12280 wxFileType *arg1 = (wxFileType *) 0 ;
12281 PyObject * obj0 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 delete arg1;
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 Py_INCREF(Py_None); resultobj = Py_None;
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
2f4c0a16 12303static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12304 PyObject *resultobj;
12305 wxFileType *arg1 = (wxFileType *) 0 ;
12306 PyObject *result;
12307 PyObject * obj0 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (PyObject *)wxFileType_GetMimeType(arg1);
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = result;
12323 return resultobj;
12324 fail:
12325 return NULL;
12326}
12327
12328
2f4c0a16 12329static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12330 PyObject *resultobj;
12331 wxFileType *arg1 = (wxFileType *) 0 ;
12332 PyObject *result;
12333 PyObject * obj0 = 0 ;
12334 char *kwnames[] = {
12335 (char *) "self", NULL
12336 };
12337
12338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 resultobj = result;
12349 return resultobj;
12350 fail:
12351 return NULL;
12352}
12353
12354
2f4c0a16 12355static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12356 PyObject *resultobj;
12357 wxFileType *arg1 = (wxFileType *) 0 ;
12358 PyObject *result;
12359 PyObject * obj0 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (PyObject *)wxFileType_GetExtensions(arg1);
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 resultobj = result;
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
2f4c0a16 12381static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12382 PyObject *resultobj;
12383 wxFileType *arg1 = (wxFileType *) 0 ;
12384 wxIcon *result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (wxIcon *)wxFileType_GetIcon(arg1);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
2f4c0a16 12400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
12401 return resultobj;
12402 fail:
12403 return NULL;
12404}
12405
12406
2f4c0a16 12407static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12408 PyObject *resultobj;
12409 wxFileType *arg1 = (wxFileType *) 0 ;
12410 PyObject *result;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = result;
12427 return resultobj;
12428 fail:
12429 return NULL;
12430}
12431
12432
2f4c0a16 12433static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12434 PyObject *resultobj;
12435 wxFileType *arg1 = (wxFileType *) 0 ;
12436 PyObject *result;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = (PyObject *)wxFileType_GetDescription(arg1);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = result;
12453 return resultobj;
12454 fail:
12455 return NULL;
12456}
12457
12458
2f4c0a16 12459static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12460 PyObject *resultobj;
12461 wxFileType *arg1 = (wxFileType *) 0 ;
12462 wxString *arg2 = 0 ;
12463 wxString const &arg3_defvalue = wxPyEmptyString ;
12464 wxString *arg3 = (wxString *) &arg3_defvalue ;
12465 PyObject *result;
423f194a
RD
12466 bool temp2 = False ;
12467 bool temp3 = False ;
d14a1e28
RD
12468 PyObject * obj0 = 0 ;
12469 PyObject * obj1 = 0 ;
12470 PyObject * obj2 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12478 {
12479 arg2 = wxString_in_helper(obj1);
12480 if (arg2 == NULL) SWIG_fail;
423f194a 12481 temp2 = True;
d14a1e28
RD
12482 }
12483 if (obj2) {
12484 {
12485 arg3 = wxString_in_helper(obj2);
12486 if (arg3 == NULL) SWIG_fail;
423f194a 12487 temp3 = True;
d14a1e28
RD
12488 }
12489 }
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 resultobj = result;
12498 {
12499 if (temp2)
12500 delete arg2;
12501 }
12502 {
12503 if (temp3)
12504 delete arg3;
12505 }
12506 return resultobj;
12507 fail:
12508 {
12509 if (temp2)
12510 delete arg2;
12511 }
12512 {
12513 if (temp3)
12514 delete arg3;
12515 }
12516 return NULL;
12517}
12518
12519
2f4c0a16 12520static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12521 PyObject *resultobj;
12522 wxFileType *arg1 = (wxFileType *) 0 ;
12523 wxString *arg2 = 0 ;
12524 wxString const &arg3_defvalue = wxPyEmptyString ;
12525 wxString *arg3 = (wxString *) &arg3_defvalue ;
12526 PyObject *result;
423f194a
RD
12527 bool temp2 = False ;
12528 bool temp3 = False ;
d14a1e28
RD
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 PyObject * obj2 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12539 {
12540 arg2 = wxString_in_helper(obj1);
12541 if (arg2 == NULL) SWIG_fail;
423f194a 12542 temp2 = True;
d14a1e28
RD
12543 }
12544 if (obj2) {
12545 {
12546 arg3 = wxString_in_helper(obj2);
12547 if (arg3 == NULL) SWIG_fail;
423f194a 12548 temp3 = True;
d14a1e28
RD
12549 }
12550 }
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = result;
12559 {
12560 if (temp2)
12561 delete arg2;
12562 }
12563 {
12564 if (temp3)
12565 delete arg3;
12566 }
12567 return resultobj;
12568 fail:
12569 {
12570 if (temp2)
12571 delete arg2;
12572 }
12573 {
12574 if (temp3)
12575 delete arg3;
12576 }
12577 return NULL;
12578}
12579
12580
2f4c0a16 12581static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12582 PyObject *resultobj;
12583 wxFileType *arg1 = (wxFileType *) 0 ;
12584 wxString *arg2 = 0 ;
12585 wxString const &arg3_defvalue = wxPyEmptyString ;
12586 wxString *arg3 = (wxString *) &arg3_defvalue ;
12587 PyObject *result;
423f194a
RD
12588 bool temp2 = False ;
12589 bool temp3 = False ;
d14a1e28
RD
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 PyObject * obj2 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12600 {
12601 arg2 = wxString_in_helper(obj1);
12602 if (arg2 == NULL) SWIG_fail;
423f194a 12603 temp2 = True;
d14a1e28
RD
12604 }
12605 if (obj2) {
12606 {
12607 arg3 = wxString_in_helper(obj2);
12608 if (arg3 == NULL) SWIG_fail;
423f194a 12609 temp3 = True;
d14a1e28
RD
12610 }
12611 }
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 resultobj = result;
12620 {
12621 if (temp2)
12622 delete arg2;
12623 }
12624 {
12625 if (temp3)
12626 delete arg3;
12627 }
12628 return resultobj;
12629 fail:
12630 {
12631 if (temp2)
12632 delete arg2;
12633 }
12634 {
12635 if (temp3)
12636 delete arg3;
12637 }
12638 return NULL;
12639}
12640
12641
2f4c0a16 12642static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12643 PyObject *resultobj;
12644 wxFileType *arg1 = (wxFileType *) 0 ;
12645 wxString *arg2 = 0 ;
12646 wxString *arg3 = 0 ;
423f194a 12647 bool arg4 = (bool) True ;
d14a1e28 12648 bool result;
423f194a
RD
12649 bool temp2 = False ;
12650 bool temp3 = False ;
d14a1e28
RD
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 PyObject * obj2 = 0 ;
12654 PyObject * obj3 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12662 {
12663 arg2 = wxString_in_helper(obj1);
12664 if (arg2 == NULL) SWIG_fail;
423f194a 12665 temp2 = True;
d14a1e28
RD
12666 }
12667 {
12668 arg3 = wxString_in_helper(obj2);
12669 if (arg3 == NULL) SWIG_fail;
423f194a 12670 temp3 = True;
d14a1e28
RD
12671 }
12672 if (obj3) {
2f4c0a16
RD
12673 arg4 = (bool) SWIG_AsBool(obj3);
12674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12675 }
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
02a34c4c 12683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12684 {
12685 if (temp2)
12686 delete arg2;
12687 }
12688 {
12689 if (temp3)
12690 delete arg3;
12691 }
12692 return resultobj;
12693 fail:
12694 {
12695 if (temp2)
12696 delete arg2;
12697 }
12698 {
12699 if (temp3)
12700 delete arg3;
12701 }
12702 return NULL;
12703}
12704
12705
2f4c0a16 12706static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12707 PyObject *resultobj;
12708 wxFileType *arg1 = (wxFileType *) 0 ;
12709 wxString const &arg2_defvalue = wxPyEmptyString ;
12710 wxString *arg2 = (wxString *) &arg2_defvalue ;
12711 int arg3 = (int) 0 ;
12712 bool result;
423f194a 12713 bool temp2 = False ;
d14a1e28
RD
12714 PyObject * obj0 = 0 ;
12715 PyObject * obj1 = 0 ;
8edf1c75 12716 PyObject * obj2 = 0 ;
d14a1e28
RD
12717 char *kwnames[] = {
12718 (char *) "self",(char *) "cmd",(char *) "index", NULL
12719 };
12720
8edf1c75 12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12724 if (obj1) {
12725 {
12726 arg2 = wxString_in_helper(obj1);
12727 if (arg2 == NULL) SWIG_fail;
423f194a 12728 temp2 = True;
d14a1e28
RD
12729 }
12730 }
8edf1c75 12731 if (obj2) {
2f4c0a16
RD
12732 arg3 = (int) SWIG_AsInt(obj2);
12733 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12734 }
d14a1e28
RD
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
02a34c4c 12742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12743 {
12744 if (temp2)
12745 delete arg2;
12746 }
12747 return resultobj;
12748 fail:
12749 {
12750 if (temp2)
12751 delete arg2;
12752 }
12753 return NULL;
12754}
12755
12756
2f4c0a16 12757static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12758 PyObject *resultobj;
12759 wxFileType *arg1 = (wxFileType *) 0 ;
12760 bool result;
12761 PyObject * obj0 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (bool)(arg1)->Unassociate();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
02a34c4c 12776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12777 return resultobj;
12778 fail:
12779 return NULL;
12780}
12781
12782
2f4c0a16 12783static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12784 PyObject *resultobj;
12785 wxString *arg1 = 0 ;
12786 wxString *arg2 = 0 ;
12787 wxString const &arg3_defvalue = wxPyEmptyString ;
12788 wxString *arg3 = (wxString *) &arg3_defvalue ;
12789 wxString result;
423f194a
RD
12790 bool temp1 = False ;
12791 bool temp2 = False ;
12792 bool temp3 = False ;
d14a1e28
RD
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 PyObject * obj2 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12801 {
12802 arg1 = wxString_in_helper(obj0);
12803 if (arg1 == NULL) SWIG_fail;
423f194a 12804 temp1 = True;
d14a1e28
RD
12805 }
12806 {
12807 arg2 = wxString_in_helper(obj1);
12808 if (arg2 == NULL) SWIG_fail;
423f194a 12809 temp2 = True;
d14a1e28
RD
12810 }
12811 if (obj2) {
12812 {
12813 arg3 = wxString_in_helper(obj2);
12814 if (arg3 == NULL) SWIG_fail;
423f194a 12815 temp3 = True;
d14a1e28
RD
12816 }
12817 }
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 {
12826#if wxUSE_UNICODE
12827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12828#else
12829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12830#endif
12831 }
12832 {
12833 if (temp1)
12834 delete arg1;
12835 }
12836 {
12837 if (temp2)
12838 delete arg2;
12839 }
12840 {
12841 if (temp3)
12842 delete arg3;
12843 }
12844 return resultobj;
12845 fail:
12846 {
12847 if (temp1)
12848 delete arg1;
12849 }
12850 {
12851 if (temp2)
12852 delete arg2;
12853 }
12854 {
12855 if (temp3)
12856 delete arg3;
12857 }
12858 return NULL;
12859}
12860
12861
2f4c0a16 12862static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12863 PyObject *obj;
12864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12865 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12866 Py_INCREF(obj);
12867 return Py_BuildValue((char *)"");
12868}
8edf1c75 12869static int _wrap_TheMimeTypesManager_set(PyObject *) {
d14a1e28
RD
12870 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12871 return 1;
12872}
12873
12874
12875static PyObject *_wrap_TheMimeTypesManager_get() {
12876 PyObject *pyobj;
12877
2f4c0a16 12878 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
12879 return pyobj;
12880}
12881
12882
2f4c0a16 12883static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12884 PyObject *resultobj;
12885 wxString *arg1 = 0 ;
12886 wxString *arg2 = 0 ;
12887 bool result;
423f194a
RD
12888 bool temp1 = False ;
12889 bool temp2 = False ;
d14a1e28
RD
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "mimeType",(char *) "wildcard", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12897 {
12898 arg1 = wxString_in_helper(obj0);
12899 if (arg1 == NULL) SWIG_fail;
423f194a 12900 temp1 = True;
d14a1e28
RD
12901 }
12902 {
12903 arg2 = wxString_in_helper(obj1);
12904 if (arg2 == NULL) SWIG_fail;
423f194a 12905 temp2 = True;
d14a1e28
RD
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
02a34c4c 12914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12915 {
12916 if (temp1)
12917 delete arg1;
12918 }
12919 {
12920 if (temp2)
12921 delete arg2;
12922 }
12923 return resultobj;
12924 fail:
12925 {
12926 if (temp1)
12927 delete arg1;
12928 }
12929 {
12930 if (temp2)
12931 delete arg2;
12932 }
12933 return NULL;
12934}
12935
12936
2f4c0a16 12937static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12938 PyObject *resultobj;
12939 wxMimeTypesManager *result;
12940 char *kwnames[] = {
12941 NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
2f4c0a16 12952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
12953 return resultobj;
12954 fail:
12955 return NULL;
12956}
12957
12958
2f4c0a16 12959static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12960 PyObject *resultobj;
12961 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12962 int arg2 = (int) wxMAILCAP_ALL ;
12963 wxString const &arg3_defvalue = wxPyEmptyString ;
12964 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 12965 bool temp3 = False ;
d14a1e28 12966 PyObject * obj0 = 0 ;
8edf1c75 12967 PyObject * obj1 = 0 ;
d14a1e28
RD
12968 PyObject * obj2 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12971 };
12972
8edf1c75 12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 12976 if (obj1) {
2f4c0a16
RD
12977 arg2 = (int) SWIG_AsInt(obj1);
12978 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12979 }
d14a1e28
RD
12980 if (obj2) {
12981 {
12982 arg3 = wxString_in_helper(obj2);
12983 if (arg3 == NULL) SWIG_fail;
423f194a 12984 temp3 = True;
d14a1e28
RD
12985 }
12986 }
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 Py_INCREF(Py_None); resultobj = Py_None;
12995 {
12996 if (temp3)
12997 delete arg3;
12998 }
12999 return resultobj;
13000 fail:
13001 {
13002 if (temp3)
13003 delete arg3;
13004 }
13005 return NULL;
13006}
13007
13008
2f4c0a16 13009static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13010 PyObject *resultobj;
13011 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13012 PyObject * obj0 = 0 ;
13013 char *kwnames[] = {
13014 (char *) "self", NULL
13015 };
13016
13017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 (arg1)->ClearData();
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 Py_INCREF(Py_None); resultobj = Py_None;
13028 return resultobj;
13029 fail:
13030 return NULL;
13031}
13032
13033
2f4c0a16 13034static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13035 PyObject *resultobj;
13036 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13037 wxString *arg2 = 0 ;
13038 wxFileType *result;
423f194a 13039 bool temp2 = False ;
d14a1e28
RD
13040 PyObject * obj0 = 0 ;
13041 PyObject * obj1 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self",(char *) "ext", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13049 {
13050 arg2 = wxString_in_helper(obj1);
13051 if (arg2 == NULL) SWIG_fail;
423f194a 13052 temp2 = True;
d14a1e28
RD
13053 }
13054 {
13055 PyThreadState* __tstate = wxPyBeginAllowThreads();
13056 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13057
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
2f4c0a16 13061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13062 {
13063 if (temp2)
13064 delete arg2;
13065 }
13066 return resultobj;
13067 fail:
13068 {
13069 if (temp2)
13070 delete arg2;
13071 }
13072 return NULL;
13073}
13074
13075
2f4c0a16 13076static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13077 PyObject *resultobj;
13078 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13079 wxString *arg2 = 0 ;
13080 wxFileType *result;
423f194a 13081 bool temp2 = False ;
d14a1e28
RD
13082 PyObject * obj0 = 0 ;
13083 PyObject * obj1 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self",(char *) "mimeType", NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13091 {
13092 arg2 = wxString_in_helper(obj1);
13093 if (arg2 == NULL) SWIG_fail;
423f194a 13094 temp2 = True;
d14a1e28
RD
13095 }
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
2f4c0a16 13103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13104 {
13105 if (temp2)
13106 delete arg2;
13107 }
13108 return resultobj;
13109 fail:
13110 {
13111 if (temp2)
13112 delete arg2;
13113 }
13114 return NULL;
13115}
13116
13117
2f4c0a16 13118static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13119 PyObject *resultobj;
13120 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13121 wxString *arg2 = 0 ;
423f194a 13122 bool arg3 = (bool) False ;
d14a1e28 13123 bool result;
423f194a 13124 bool temp2 = False ;
d14a1e28
RD
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 PyObject * obj2 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13135 {
13136 arg2 = wxString_in_helper(obj1);
13137 if (arg2 == NULL) SWIG_fail;
423f194a 13138 temp2 = True;
d14a1e28
RD
13139 }
13140 if (obj2) {
2f4c0a16
RD
13141 arg3 = (bool) SWIG_AsBool(obj2);
13142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13143 }
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
02a34c4c 13151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13152 {
13153 if (temp2)
13154 delete arg2;
13155 }
13156 return resultobj;
13157 fail:
13158 {
13159 if (temp2)
13160 delete arg2;
13161 }
13162 return NULL;
13163}
13164
13165
2f4c0a16 13166static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13167 PyObject *resultobj;
13168 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13169 wxString *arg2 = 0 ;
13170 bool result;
423f194a 13171 bool temp2 = False ;
d14a1e28
RD
13172 PyObject * obj0 = 0 ;
13173 PyObject * obj1 = 0 ;
13174 char *kwnames[] = {
13175 (char *) "self",(char *) "filename", NULL
13176 };
13177
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13181 {
13182 arg2 = wxString_in_helper(obj1);
13183 if (arg2 == NULL) SWIG_fail;
423f194a 13184 temp2 = True;
d14a1e28
RD
13185 }
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
02a34c4c 13193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return resultobj;
13199 fail:
13200 {
13201 if (temp2)
13202 delete arg2;
13203 }
13204 return NULL;
13205}
13206
13207
2f4c0a16 13208static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13209 PyObject *resultobj;
13210 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13211 PyObject *result;
13212 PyObject * obj0 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 resultobj = result;
13228 return resultobj;
13229 fail:
13230 return NULL;
13231}
13232
13233
2f4c0a16 13234static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13235 PyObject *resultobj;
13236 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13237 wxFileTypeInfo *arg2 = 0 ;
13238 PyObject * obj0 = 0 ;
13239 PyObject * obj1 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "self",(char *) "ft", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13248 SWIG_POINTER_EXCEPTION | 0)) == -1)
13249 SWIG_fail;
d14a1e28 13250 if (arg2 == NULL) {
2f4c0a16
RD
13251 PyErr_SetString(PyExc_TypeError,"null reference");
13252 SWIG_fail;
d14a1e28
RD
13253 }
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 Py_INCREF(Py_None); resultobj = Py_None;
13262 return resultobj;
13263 fail:
13264 return NULL;
13265}
13266
13267
2f4c0a16 13268static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13269 PyObject *resultobj;
13270 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13271 wxFileTypeInfo *arg2 = 0 ;
13272 wxFileType *result;
13273 PyObject * obj0 = 0 ;
13274 PyObject * obj1 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "self",(char *) "ftInfo", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1)
13284 SWIG_fail;
d14a1e28 13285 if (arg2 == NULL) {
2f4c0a16
RD
13286 PyErr_SetString(PyExc_TypeError,"null reference");
13287 SWIG_fail;
d14a1e28
RD
13288 }
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
2f4c0a16 13296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
2f4c0a16 13303static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13304 PyObject *resultobj;
13305 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13306 wxFileType *arg2 = (wxFileType *) 0 ;
13307 bool result;
13308 PyObject * obj0 = 0 ;
13309 PyObject * obj1 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self",(char *) "ft", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 result = (bool)(arg1)->Unassociate(arg2);
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
02a34c4c 13326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13327 return resultobj;
13328 fail:
13329 return NULL;
13330}
13331
13332
2f4c0a16 13333static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13334 PyObject *resultobj;
13335 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13336 PyObject * obj0 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 delete arg1;
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 Py_INCREF(Py_None); resultobj = Py_None;
13352 return resultobj;
13353 fail:
13354 return NULL;
13355}
13356
13357
2f4c0a16 13358static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13359 PyObject *obj;
13360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13361 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13362 Py_INCREF(obj);
13363 return Py_BuildValue((char *)"");
13364}
8edf1c75 13365static int _wrap_ART_TOOLBAR_set(PyObject *) {
d14a1e28
RD
13366 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13367 return 1;
13368}
13369
13370
13371static PyObject *_wrap_ART_TOOLBAR_get() {
13372 PyObject *pyobj;
13373
13374 {
13375#if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13377#else
13378 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13379#endif
13380 }
13381 return pyobj;
13382}
13383
13384
8edf1c75 13385static int _wrap_ART_MENU_set(PyObject *) {
d14a1e28
RD
13386 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13387 return 1;
13388}
13389
13390
13391static PyObject *_wrap_ART_MENU_get() {
13392 PyObject *pyobj;
13393
13394 {
13395#if wxUSE_UNICODE
13396 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13397#else
13398 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13399#endif
13400 }
13401 return pyobj;
13402}
13403
13404
8edf1c75 13405static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d14a1e28
RD
13406 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13407 return 1;
13408}
13409
13410
13411static PyObject *_wrap_ART_FRAME_ICON_get() {
13412 PyObject *pyobj;
13413
13414 {
13415#if wxUSE_UNICODE
13416 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13417#else
13418 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13419#endif
13420 }
13421 return pyobj;
13422}
13423
13424
8edf1c75 13425static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d14a1e28
RD
13426 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13427 return 1;
13428}
13429
13430
13431static PyObject *_wrap_ART_CMN_DIALOG_get() {
13432 PyObject *pyobj;
13433
13434 {
13435#if wxUSE_UNICODE
13436 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13437#else
13438 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13439#endif
13440 }
13441 return pyobj;
13442}
13443
13444
8edf1c75 13445static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d14a1e28
RD
13446 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13447 return 1;
13448}
13449
13450
13451static PyObject *_wrap_ART_HELP_BROWSER_get() {
13452 PyObject *pyobj;
13453
13454 {
13455#if wxUSE_UNICODE
13456 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13457#else
13458 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13459#endif
13460 }
13461 return pyobj;
13462}
13463
13464
8edf1c75 13465static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d14a1e28
RD
13466 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13467 return 1;
13468}
13469
13470
13471static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13472 PyObject *pyobj;
13473
13474 {
13475#if wxUSE_UNICODE
13476 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13477#else
13478 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13479#endif
13480 }
13481 return pyobj;
13482}
13483
13484
8edf1c75 13485static int _wrap_ART_OTHER_set(PyObject *) {
d14a1e28
RD
13486 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13487 return 1;
13488}
13489
13490
13491static PyObject *_wrap_ART_OTHER_get() {
13492 PyObject *pyobj;
13493
13494 {
13495#if wxUSE_UNICODE
13496 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13497#else
13498 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13499#endif
13500 }
13501 return pyobj;
13502}
13503
13504
8edf1c75 13505static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13506 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13507 return 1;
13508}
13509
13510
13511static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13512 PyObject *pyobj;
13513
13514 {
13515#if wxUSE_UNICODE
13516 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13517#else
13518 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13519#endif
13520 }
13521 return pyobj;
13522}
13523
13524
8edf1c75 13525static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13526 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13527 return 1;
13528}
13529
13530
13531static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13532 PyObject *pyobj;
13533
13534 {
13535#if wxUSE_UNICODE
13536 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13537#else
13538 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13539#endif
13540 }
13541 return pyobj;
13542}
13543
13544
8edf1c75 13545static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d14a1e28
RD
13546 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13547 return 1;
13548}
13549
13550
13551static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13552 PyObject *pyobj;
13553
13554 {
13555#if wxUSE_UNICODE
13556 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13557#else
13558 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13559#endif
13560 }
13561 return pyobj;
13562}
13563
13564
8edf1c75 13565static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d14a1e28
RD
13566 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13567 return 1;
13568}
13569
13570
13571static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13572 PyObject *pyobj;
13573
13574 {
13575#if wxUSE_UNICODE
13576 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13577#else
13578 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13579#endif
13580 }
13581 return pyobj;
13582}
13583
13584
8edf1c75 13585static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d14a1e28
RD
13586 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13587 return 1;
13588}
13589
13590
13591static PyObject *_wrap_ART_HELP_BOOK_get() {
13592 PyObject *pyobj;
13593
13594 {
13595#if wxUSE_UNICODE
13596 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13597#else
13598 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13599#endif
13600 }
13601 return pyobj;
13602}
13603
13604
8edf1c75 13605static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d14a1e28
RD
13606 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13607 return 1;
13608}
13609
13610
13611static PyObject *_wrap_ART_HELP_FOLDER_get() {
13612 PyObject *pyobj;
13613
13614 {
13615#if wxUSE_UNICODE
13616 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13617#else
13618 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13619#endif
13620 }
13621 return pyobj;
13622}
13623
13624
8edf1c75 13625static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d14a1e28
RD
13626 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13627 return 1;
13628}
13629
13630
13631static PyObject *_wrap_ART_HELP_PAGE_get() {
13632 PyObject *pyobj;
13633
13634 {
13635#if wxUSE_UNICODE
13636 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13637#else
13638 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13639#endif
13640 }
13641 return pyobj;
13642}
13643
13644
8edf1c75 13645static int _wrap_ART_GO_BACK_set(PyObject *) {
d14a1e28
RD
13646 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13647 return 1;
13648}
13649
13650
13651static PyObject *_wrap_ART_GO_BACK_get() {
13652 PyObject *pyobj;
13653
13654 {
13655#if wxUSE_UNICODE
13656 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13657#else
13658 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13659#endif
13660 }
13661 return pyobj;
13662}
13663
13664
8edf1c75 13665static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d14a1e28
RD
13666 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13667 return 1;
13668}
13669
13670
13671static PyObject *_wrap_ART_GO_FORWARD_get() {
13672 PyObject *pyobj;
13673
13674 {
13675#if wxUSE_UNICODE
13676 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13677#else
13678 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13679#endif
13680 }
13681 return pyobj;
13682}
13683
13684
8edf1c75 13685static int _wrap_ART_GO_UP_set(PyObject *) {
d14a1e28
RD
13686 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13687 return 1;
13688}
13689
13690
13691static PyObject *_wrap_ART_GO_UP_get() {
13692 PyObject *pyobj;
13693
13694 {
13695#if wxUSE_UNICODE
13696 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13697#else
13698 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13699#endif
13700 }
13701 return pyobj;
13702}
13703
13704
8edf1c75 13705static int _wrap_ART_GO_DOWN_set(PyObject *) {
d14a1e28
RD
13706 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13707 return 1;
13708}
13709
13710
13711static PyObject *_wrap_ART_GO_DOWN_get() {
13712 PyObject *pyobj;
13713
13714 {
13715#if wxUSE_UNICODE
13716 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13717#else
13718 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13719#endif
13720 }
13721 return pyobj;
13722}
13723
13724
8edf1c75 13725static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d14a1e28
RD
13726 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13727 return 1;
13728}
13729
13730
13731static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13732 PyObject *pyobj;
13733
13734 {
13735#if wxUSE_UNICODE
13736 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13737#else
13738 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13739#endif
13740 }
13741 return pyobj;
13742}
13743
13744
8edf1c75 13745static int _wrap_ART_GO_HOME_set(PyObject *) {
d14a1e28
RD
13746 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13747 return 1;
13748}
13749
13750
13751static PyObject *_wrap_ART_GO_HOME_get() {
13752 PyObject *pyobj;
13753
13754 {
13755#if wxUSE_UNICODE
13756 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13757#else
13758 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13759#endif
13760 }
13761 return pyobj;
13762}
13763
13764
8edf1c75 13765static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d14a1e28
RD
13766 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13767 return 1;
13768}
13769
13770
13771static PyObject *_wrap_ART_FILE_OPEN_get() {
13772 PyObject *pyobj;
13773
13774 {
13775#if wxUSE_UNICODE
13776 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13777#else
13778 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13779#endif
13780 }
13781 return pyobj;
13782}
13783
13784
8edf1c75 13785static int _wrap_ART_PRINT_set(PyObject *) {
d14a1e28
RD
13786 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13787 return 1;
13788}
13789
13790
13791static PyObject *_wrap_ART_PRINT_get() {
13792 PyObject *pyobj;
13793
13794 {
13795#if wxUSE_UNICODE
13796 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13797#else
13798 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13799#endif
13800 }
13801 return pyobj;
13802}
13803
13804
8edf1c75 13805static int _wrap_ART_HELP_set(PyObject *) {
d14a1e28
RD
13806 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13807 return 1;
13808}
13809
13810
13811static PyObject *_wrap_ART_HELP_get() {
13812 PyObject *pyobj;
13813
13814 {
13815#if wxUSE_UNICODE
13816 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13817#else
13818 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13819#endif
13820 }
13821 return pyobj;
13822}
13823
13824
8edf1c75 13825static int _wrap_ART_TIP_set(PyObject *) {
d14a1e28
RD
13826 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13827 return 1;
13828}
13829
13830
13831static PyObject *_wrap_ART_TIP_get() {
13832 PyObject *pyobj;
13833
13834 {
13835#if wxUSE_UNICODE
13836 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13837#else
13838 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13839#endif
13840 }
13841 return pyobj;
13842}
13843
13844
8edf1c75 13845static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d14a1e28
RD
13846 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13847 return 1;
13848}
13849
13850
13851static PyObject *_wrap_ART_REPORT_VIEW_get() {
13852 PyObject *pyobj;
13853
13854 {
13855#if wxUSE_UNICODE
13856 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13857#else
13858 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13859#endif
13860 }
13861 return pyobj;
13862}
13863
13864
8edf1c75 13865static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d14a1e28
RD
13866 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13867 return 1;
13868}
13869
13870
13871static PyObject *_wrap_ART_LIST_VIEW_get() {
13872 PyObject *pyobj;
13873
13874 {
13875#if wxUSE_UNICODE
13876 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13877#else
13878 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13879#endif
13880 }
13881 return pyobj;
13882}
13883
13884
8edf1c75 13885static int _wrap_ART_NEW_DIR_set(PyObject *) {
d14a1e28
RD
13886 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13887 return 1;
13888}
13889
13890
13891static PyObject *_wrap_ART_NEW_DIR_get() {
13892 PyObject *pyobj;
13893
13894 {
13895#if wxUSE_UNICODE
13896 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13897#else
13898 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13899#endif
13900 }
13901 return pyobj;
13902}
13903
13904
8edf1c75 13905static int _wrap_ART_FOLDER_set(PyObject *) {
d14a1e28
RD
13906 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13907 return 1;
13908}
13909
13910
13911static PyObject *_wrap_ART_FOLDER_get() {
13912 PyObject *pyobj;
13913
13914 {
13915#if wxUSE_UNICODE
13916 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13917#else
13918 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13919#endif
13920 }
13921 return pyobj;
13922}
13923
13924
8edf1c75 13925static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d14a1e28
RD
13926 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13927 return 1;
13928}
13929
13930
13931static PyObject *_wrap_ART_GO_DIR_UP_get() {
13932 PyObject *pyobj;
13933
13934 {
13935#if wxUSE_UNICODE
13936 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13937#else
13938 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13939#endif
13940 }
13941 return pyobj;
13942}
13943
13944
8edf1c75 13945static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d14a1e28
RD
13946 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13947 return 1;
13948}
13949
13950
13951static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13952 PyObject *pyobj;
13953
13954 {
13955#if wxUSE_UNICODE
13956 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13957#else
13958 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13959#endif
13960 }
13961 return pyobj;
13962}
13963
13964
8edf1c75 13965static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d14a1e28
RD
13966 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13967 return 1;
13968}
13969
13970
13971static PyObject *_wrap_ART_NORMAL_FILE_get() {
13972 PyObject *pyobj;
13973
13974 {
13975#if wxUSE_UNICODE
13976 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13977#else
13978 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13979#endif
13980 }
13981 return pyobj;
13982}
13983
13984
8edf1c75 13985static int _wrap_ART_TICK_MARK_set(PyObject *) {
d14a1e28
RD
13986 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13987 return 1;
13988}
13989
13990
13991static PyObject *_wrap_ART_TICK_MARK_get() {
13992 PyObject *pyobj;
13993
13994 {
13995#if wxUSE_UNICODE
13996 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13997#else
13998 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13999#endif
14000 }
14001 return pyobj;
14002}
14003
14004
8edf1c75 14005static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d14a1e28
RD
14006 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14007 return 1;
14008}
14009
14010
14011static PyObject *_wrap_ART_CROSS_MARK_get() {
14012 PyObject *pyobj;
14013
14014 {
14015#if wxUSE_UNICODE
14016 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14017#else
14018 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14019#endif
14020 }
14021 return pyobj;
14022}
14023
14024
8edf1c75 14025static int _wrap_ART_ERROR_set(PyObject *) {
d14a1e28
RD
14026 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14027 return 1;
14028}
14029
14030
14031static PyObject *_wrap_ART_ERROR_get() {
14032 PyObject *pyobj;
14033
14034 {
14035#if wxUSE_UNICODE
14036 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14037#else
14038 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14039#endif
14040 }
14041 return pyobj;
14042}
14043
14044
8edf1c75 14045static int _wrap_ART_QUESTION_set(PyObject *) {
d14a1e28
RD
14046 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14047 return 1;
14048}
14049
14050
14051static PyObject *_wrap_ART_QUESTION_get() {
14052 PyObject *pyobj;
14053
14054 {
14055#if wxUSE_UNICODE
14056 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14057#else
14058 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14059#endif
14060 }
14061 return pyobj;
14062}
14063
14064
8edf1c75 14065static int _wrap_ART_WARNING_set(PyObject *) {
d14a1e28
RD
14066 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14067 return 1;
14068}
14069
14070
14071static PyObject *_wrap_ART_WARNING_get() {
14072 PyObject *pyobj;
14073
14074 {
14075#if wxUSE_UNICODE
14076 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14077#else
14078 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14079#endif
14080 }
14081 return pyobj;
14082}
14083
14084
8edf1c75 14085static int _wrap_ART_INFORMATION_set(PyObject *) {
d14a1e28
RD
14086 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14087 return 1;
14088}
14089
14090
14091static PyObject *_wrap_ART_INFORMATION_get() {
14092 PyObject *pyobj;
14093
14094 {
14095#if wxUSE_UNICODE
14096 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14097#else
14098 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14099#endif
14100 }
14101 return pyobj;
14102}
14103
14104
8edf1c75 14105static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d14a1e28
RD
14106 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14107 return 1;
14108}
14109
14110
14111static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14112 PyObject *pyobj;
14113
14114 {
14115#if wxUSE_UNICODE
14116 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14117#else
14118 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14119#endif
14120 }
14121 return pyobj;
14122}
14123
14124
2f4c0a16 14125static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14126 PyObject *resultobj;
14127 wxPyArtProvider *result;
14128 char *kwnames[] = {
14129 NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = (wxPyArtProvider *)new wxPyArtProvider();
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
2f4c0a16 14140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
14141 return resultobj;
14142 fail:
14143 return NULL;
14144}
14145
14146
2f4c0a16 14147static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14148 PyObject *resultobj;
14149 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14150 PyObject *arg2 = (PyObject *) 0 ;
14151 PyObject *arg3 = (PyObject *) 0 ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj1 = 0 ;
14154 PyObject * obj2 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self",(char *) "self",(char *) "_class", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14162 arg2 = obj1;
14163 arg3 = obj2;
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 (arg1)->_setCallbackInfo(arg2,arg3);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 return resultobj;
14173 fail:
14174 return NULL;
14175}
14176
14177
2f4c0a16 14178static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14179 PyObject *resultobj;
14180 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "provider", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 wxPyArtProvider::PushProvider(arg1);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 return resultobj;
14198 fail:
14199 return NULL;
14200}
14201
14202
2f4c0a16 14203static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14204 PyObject *resultobj;
14205 bool result;
14206 char *kwnames[] = {
14207 NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 result = (bool)wxPyArtProvider::PopProvider();
14214
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
02a34c4c 14218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14219 return resultobj;
14220 fail:
14221 return NULL;
14222}
14223
14224
2f4c0a16 14225static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14226 PyObject *resultobj;
14227 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14228 bool result;
14229 PyObject * obj0 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "provider", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
02a34c4c 14244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14245 return resultobj;
14246 fail:
14247 return NULL;
14248}
14249
14250
2f4c0a16 14251static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14252 PyObject *resultobj;
14253 wxString *arg1 = 0 ;
14254 wxString const &arg2_defvalue = wxPyART_OTHER ;
14255 wxString *arg2 = (wxString *) &arg2_defvalue ;
14256 wxSize const &arg3_defvalue = wxDefaultSize ;
14257 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14258 wxBitmap result;
423f194a
RD
14259 bool temp1 = False ;
14260 bool temp2 = False ;
d14a1e28
RD
14261 wxSize temp3 ;
14262 PyObject * obj0 = 0 ;
14263 PyObject * obj1 = 0 ;
14264 PyObject * obj2 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "id",(char *) "client",(char *) "size", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14270 {
14271 arg1 = wxString_in_helper(obj0);
14272 if (arg1 == NULL) SWIG_fail;
423f194a 14273 temp1 = True;
d14a1e28
RD
14274 }
14275 if (obj1) {
14276 {
14277 arg2 = wxString_in_helper(obj1);
14278 if (arg2 == NULL) SWIG_fail;
423f194a 14279 temp2 = True;
d14a1e28
RD
14280 }
14281 }
14282 if (obj2) {
14283 {
14284 arg3 = &temp3;
14285 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14286 }
14287 }
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 {
14296 wxBitmap * resultptr;
14297 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 14298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14299 }
14300 {
14301 if (temp1)
14302 delete arg1;
14303 }
14304 {
14305 if (temp2)
14306 delete arg2;
14307 }
14308 return resultobj;
14309 fail:
14310 {
14311 if (temp1)
14312 delete arg1;
14313 }
14314 {
14315 if (temp2)
14316 delete arg2;
14317 }
14318 return NULL;
14319}
14320
14321
2f4c0a16 14322static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14323 PyObject *resultobj;
14324 wxString *arg1 = 0 ;
14325 wxString const &arg2_defvalue = wxPyART_OTHER ;
14326 wxString *arg2 = (wxString *) &arg2_defvalue ;
14327 wxSize const &arg3_defvalue = wxDefaultSize ;
14328 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14329 wxIcon result;
423f194a
RD
14330 bool temp1 = False ;
14331 bool temp2 = False ;
d14a1e28
RD
14332 wxSize temp3 ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 PyObject * obj2 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "id",(char *) "client",(char *) "size", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14341 {
14342 arg1 = wxString_in_helper(obj0);
14343 if (arg1 == NULL) SWIG_fail;
423f194a 14344 temp1 = True;
d14a1e28
RD
14345 }
14346 if (obj1) {
14347 {
14348 arg2 = wxString_in_helper(obj1);
14349 if (arg2 == NULL) SWIG_fail;
423f194a 14350 temp2 = True;
d14a1e28
RD
14351 }
14352 }
14353 if (obj2) {
14354 {
14355 arg3 = &temp3;
14356 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14357 }
14358 }
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14362
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
14366 {
14367 wxIcon * resultptr;
14368 resultptr = new wxIcon((wxIcon &) result);
2f4c0a16 14369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
14370 }
14371 {
14372 if (temp1)
14373 delete arg1;
14374 }
14375 {
14376 if (temp2)
14377 delete arg2;
14378 }
14379 return resultobj;
14380 fail:
14381 {
14382 if (temp1)
14383 delete arg1;
14384 }
14385 {
14386 if (temp2)
14387 delete arg2;
14388 }
14389 return NULL;
14390}
14391
14392
2f4c0a16 14393static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
14394 PyObject *resultobj;
14395 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14396 PyObject * obj0 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 wxPyArtProvider_Destroy(arg1);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 Py_INCREF(Py_None); resultobj = Py_None;
14412 return resultobj;
14413 fail:
14414 return NULL;
14415}
14416
14417
2f4c0a16 14418static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14419 PyObject *obj;
14420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14421 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14422 Py_INCREF(obj);
14423 return Py_BuildValue((char *)"");
14424}
2f4c0a16 14425static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14426 PyObject *resultobj;
14427 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 delete arg1;
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
2f4c0a16 14450static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14451 PyObject *resultobj;
14452 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14453 wxConfigBase *result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
38f59159 14456 (char *) "config", NULL
d14a1e28
RD
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
2f4c0a16 14469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
2f4c0a16 14476static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14477 PyObject *resultobj;
423f194a 14478 bool arg1 = (bool) True ;
d14a1e28
RD
14479 wxConfigBase *result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "createOnDemand", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14486 if (obj0) {
2f4c0a16
RD
14487 arg1 = (bool) SWIG_AsBool(obj0);
14488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14489 }
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
2f4c0a16 14497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14498 return resultobj;
14499 fail:
14500 return NULL;
14501}
14502
14503
2f4c0a16 14504static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14505 PyObject *resultobj;
14506 wxConfigBase *result;
14507 char *kwnames[] = {
14508 NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 result = (wxConfigBase *)wxConfigBase::Create();
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
2f4c0a16 14519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14520 return resultobj;
14521 fail:
14522 return NULL;
14523}
14524
14525
2f4c0a16 14526static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14527 PyObject *resultobj;
14528 char *kwnames[] = {
14529 NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 wxConfigBase::DontCreateOnDemand();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 Py_INCREF(Py_None); resultobj = Py_None;
14541 return resultobj;
14542 fail:
14543 return NULL;
14544}
14545
14546
2f4c0a16 14547static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14548 PyObject *resultobj;
14549 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14550 wxString *arg2 = 0 ;
423f194a 14551 bool temp2 = False ;
d14a1e28
RD
14552 PyObject * obj0 = 0 ;
14553 PyObject * obj1 = 0 ;
14554 char *kwnames[] = {
38f59159 14555 (char *) "self",(char *) "path", NULL
d14a1e28
RD
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14561 {
14562 arg2 = wxString_in_helper(obj1);
14563 if (arg2 == NULL) SWIG_fail;
423f194a 14564 temp2 = True;
d14a1e28
RD
14565 }
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 (arg1)->SetPath((wxString const &)*arg2);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 Py_INCREF(Py_None); resultobj = Py_None;
14574 {
14575 if (temp2)
14576 delete arg2;
14577 }
14578 return resultobj;
14579 fail:
14580 {
14581 if (temp2)
14582 delete arg2;
14583 }
14584 return NULL;
14585}
14586
14587
2f4c0a16 14588static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14589 PyObject *resultobj;
14590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14591 wxString *result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 {
14603 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14604 result = (wxString *) &_result_ref;
14605 }
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
0f774bef
RD
14610 {
14611#if wxUSE_UNICODE
14612 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14613#else
14614 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14615#endif
14616 }
d14a1e28
RD
14617 return resultobj;
14618 fail:
14619 return NULL;
14620}
14621
14622
2f4c0a16 14623static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14624 PyObject *resultobj;
14625 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14626 PyObject *result;
14627 PyObject * obj0 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 resultobj = result;
14643 return resultobj;
14644 fail:
14645 return NULL;
14646}
14647
14648
2f4c0a16 14649static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14650 PyObject *resultobj;
14651 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14652 long arg2 ;
14653 PyObject *result;
14654 PyObject * obj0 = 0 ;
8edf1c75 14655 PyObject * obj1 = 0 ;
d14a1e28
RD
14656 char *kwnames[] = {
14657 (char *) "self",(char *) "index", NULL
14658 };
14659
8edf1c75 14660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14663 arg2 = (long) SWIG_AsLong(obj1);
14664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 resultobj = result;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676}
14677
14678
2f4c0a16 14679static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14680 PyObject *resultobj;
14681 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14682 PyObject *result;
14683 PyObject * obj0 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14694
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 resultobj = result;
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
2f4c0a16 14705static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14706 PyObject *resultobj;
14707 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14708 long arg2 ;
14709 PyObject *result;
14710 PyObject * obj0 = 0 ;
8edf1c75 14711 PyObject * obj1 = 0 ;
d14a1e28
RD
14712 char *kwnames[] = {
14713 (char *) "self",(char *) "index", NULL
14714 };
14715
8edf1c75 14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14719 arg2 = (long) SWIG_AsLong(obj1);
14720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14724
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 resultobj = result;
14729 return resultobj;
14730 fail:
14731 return NULL;
14732}
14733
14734
2f4c0a16 14735static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14736 PyObject *resultobj;
14737 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14738 bool arg2 = (bool) False ;
d14a1e28
RD
14739 size_t result;
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 char *kwnames[] = {
38f59159 14743 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14744 };
14745
14746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14749 if (obj1) {
2f4c0a16
RD
14750 arg2 = (bool) SWIG_AsBool(obj1);
14751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14752 }
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14756
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
2f4c0a16 14760 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14761 return resultobj;
14762 fail:
14763 return NULL;
14764}
14765
14766
2f4c0a16 14767static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14768 PyObject *resultobj;
14769 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14770 bool arg2 = (bool) False ;
d14a1e28
RD
14771 size_t result;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 char *kwnames[] = {
38f59159 14775 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14776 };
14777
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14781 if (obj1) {
2f4c0a16
RD
14782 arg2 = (bool) SWIG_AsBool(obj1);
14783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14784 }
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
2f4c0a16 14792 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14793 return resultobj;
14794 fail:
14795 return NULL;
14796}
14797
14798
2f4c0a16 14799static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14800 PyObject *resultobj;
14801 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14802 wxString *arg2 = 0 ;
14803 bool result;
423f194a 14804 bool temp2 = False ;
d14a1e28
RD
14805 PyObject * obj0 = 0 ;
14806 PyObject * obj1 = 0 ;
14807 char *kwnames[] = {
38f59159 14808 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14814 {
14815 arg2 = wxString_in_helper(obj1);
14816 if (arg2 == NULL) SWIG_fail;
423f194a 14817 temp2 = True;
d14a1e28
RD
14818 }
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
02a34c4c 14826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14827 {
14828 if (temp2)
14829 delete arg2;
14830 }
14831 return resultobj;
14832 fail:
14833 {
14834 if (temp2)
14835 delete arg2;
14836 }
14837 return NULL;
14838}
14839
14840
2f4c0a16 14841static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14842 PyObject *resultobj;
14843 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14844 wxString *arg2 = 0 ;
14845 bool result;
423f194a 14846 bool temp2 = False ;
d14a1e28
RD
14847 PyObject * obj0 = 0 ;
14848 PyObject * obj1 = 0 ;
14849 char *kwnames[] = {
38f59159 14850 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14856 {
14857 arg2 = wxString_in_helper(obj1);
14858 if (arg2 == NULL) SWIG_fail;
423f194a 14859 temp2 = True;
d14a1e28
RD
14860 }
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
02a34c4c 14868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14869 {
14870 if (temp2)
14871 delete arg2;
14872 }
14873 return resultobj;
14874 fail:
14875 {
14876 if (temp2)
14877 delete arg2;
14878 }
14879 return NULL;
14880}
14881
14882
2f4c0a16 14883static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14884 PyObject *resultobj;
14885 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14886 wxString *arg2 = 0 ;
14887 bool result;
423f194a 14888 bool temp2 = False ;
d14a1e28
RD
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 char *kwnames[] = {
38f59159 14892 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14898 {
14899 arg2 = wxString_in_helper(obj1);
14900 if (arg2 == NULL) SWIG_fail;
423f194a 14901 temp2 = True;
d14a1e28
RD
14902 }
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
02a34c4c 14910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14911 {
14912 if (temp2)
14913 delete arg2;
14914 }
14915 return resultobj;
14916 fail:
14917 {
14918 if (temp2)
14919 delete arg2;
14920 }
14921 return NULL;
14922}
14923
14924
2f4c0a16 14925static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14926 PyObject *resultobj;
14927 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14928 wxString *arg2 = 0 ;
14929 int result;
423f194a 14930 bool temp2 = False ;
d14a1e28
RD
14931 PyObject * obj0 = 0 ;
14932 PyObject * obj1 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self",(char *) "name", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14940 {
14941 arg2 = wxString_in_helper(obj1);
14942 if (arg2 == NULL) SWIG_fail;
423f194a 14943 temp2 = True;
d14a1e28
RD
14944 }
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
2f4c0a16 14952 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14953 {
14954 if (temp2)
14955 delete arg2;
14956 }
14957 return resultobj;
14958 fail:
14959 {
14960 if (temp2)
14961 delete arg2;
14962 }
14963 return NULL;
14964}
14965
14966
2f4c0a16 14967static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14968 PyObject *resultobj;
14969 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14970 wxString *arg2 = 0 ;
14971 wxString const &arg3_defvalue = wxPyEmptyString ;
14972 wxString *arg3 = (wxString *) &arg3_defvalue ;
14973 wxString result;
423f194a
RD
14974 bool temp2 = False ;
14975 bool temp3 = False ;
d14a1e28
RD
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 PyObject * obj2 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14986 {
14987 arg2 = wxString_in_helper(obj1);
14988 if (arg2 == NULL) SWIG_fail;
423f194a 14989 temp2 = True;
d14a1e28
RD
14990 }
14991 if (obj2) {
14992 {
14993 arg3 = wxString_in_helper(obj2);
14994 if (arg3 == NULL) SWIG_fail;
423f194a 14995 temp3 = True;
d14a1e28
RD
14996 }
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006#if wxUSE_UNICODE
15007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15008#else
15009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15010#endif
15011 }
15012 {
15013 if (temp2)
15014 delete arg2;
15015 }
15016 {
15017 if (temp3)
15018 delete arg3;
15019 }
15020 return resultobj;
15021 fail:
15022 {
15023 if (temp2)
15024 delete arg2;
15025 }
15026 {
15027 if (temp3)
15028 delete arg3;
15029 }
15030 return NULL;
15031}
15032
15033
2f4c0a16 15034static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15035 PyObject *resultobj;
15036 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15037 wxString *arg2 = 0 ;
15038 long arg3 = (long) 0 ;
15039 long result;
423f194a 15040 bool temp2 = False ;
d14a1e28
RD
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
8edf1c75 15043 PyObject * obj2 = 0 ;
d14a1e28
RD
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15046 };
15047
8edf1c75 15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15051 {
15052 arg2 = wxString_in_helper(obj1);
15053 if (arg2 == NULL) SWIG_fail;
423f194a 15054 temp2 = True;
d14a1e28 15055 }
8edf1c75 15056 if (obj2) {
2f4c0a16
RD
15057 arg3 = (long) SWIG_AsLong(obj2);
15058 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15059 }
d14a1e28
RD
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15063
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
2f4c0a16 15067 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15068 {
15069 if (temp2)
15070 delete arg2;
15071 }
15072 return resultobj;
15073 fail:
15074 {
15075 if (temp2)
15076 delete arg2;
15077 }
15078 return NULL;
15079}
15080
15081
2f4c0a16 15082static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15083 PyObject *resultobj;
15084 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15085 wxString *arg2 = 0 ;
15086 double arg3 = (double) 0.0 ;
15087 double result;
423f194a 15088 bool temp2 = False ;
d14a1e28
RD
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
8edf1c75 15091 PyObject * obj2 = 0 ;
d14a1e28
RD
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15094 };
15095
8edf1c75 15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15099 {
15100 arg2 = wxString_in_helper(obj1);
15101 if (arg2 == NULL) SWIG_fail;
423f194a 15102 temp2 = True;
d14a1e28 15103 }
8edf1c75 15104 if (obj2) {
2f4c0a16
RD
15105 arg3 = (double) SWIG_AsDouble(obj2);
15106 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15107 }
d14a1e28
RD
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
2f4c0a16 15115 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
15116 {
15117 if (temp2)
15118 delete arg2;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 return NULL;
15127}
15128
15129
2f4c0a16 15130static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15131 PyObject *resultobj;
15132 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15133 wxString *arg2 = 0 ;
423f194a 15134 bool arg3 = (bool) False ;
d14a1e28 15135 bool result;
423f194a 15136 bool temp2 = False ;
d14a1e28
RD
15137 PyObject * obj0 = 0 ;
15138 PyObject * obj1 = 0 ;
15139 PyObject * obj2 = 0 ;
15140 char *kwnames[] = {
15141 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15142 };
15143
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15147 {
15148 arg2 = wxString_in_helper(obj1);
15149 if (arg2 == NULL) SWIG_fail;
423f194a 15150 temp2 = True;
d14a1e28
RD
15151 }
15152 if (obj2) {
2f4c0a16
RD
15153 arg3 = (bool) SWIG_AsBool(obj2);
15154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15155 }
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
02a34c4c 15163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15164 {
15165 if (temp2)
15166 delete arg2;
15167 }
15168 return resultobj;
15169 fail:
15170 {
15171 if (temp2)
15172 delete arg2;
15173 }
15174 return NULL;
15175}
15176
15177
2f4c0a16 15178static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15179 PyObject *resultobj;
15180 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15181 wxString *arg2 = 0 ;
15182 wxString *arg3 = 0 ;
15183 bool result;
423f194a
RD
15184 bool temp2 = False ;
15185 bool temp3 = False ;
d14a1e28
RD
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 PyObject * obj2 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self",(char *) "key",(char *) "value", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15196 {
15197 arg2 = wxString_in_helper(obj1);
15198 if (arg2 == NULL) SWIG_fail;
423f194a 15199 temp2 = True;
d14a1e28
RD
15200 }
15201 {
15202 arg3 = wxString_in_helper(obj2);
15203 if (arg3 == NULL) SWIG_fail;
423f194a 15204 temp3 = True;
d14a1e28
RD
15205 }
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
02a34c4c 15213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15214 {
15215 if (temp2)
15216 delete arg2;
15217 }
15218 {
15219 if (temp3)
15220 delete arg3;
15221 }
15222 return resultobj;
15223 fail:
15224 {
15225 if (temp2)
15226 delete arg2;
15227 }
15228 {
15229 if (temp3)
15230 delete arg3;
15231 }
15232 return NULL;
15233}
15234
15235
2f4c0a16 15236static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15237 PyObject *resultobj;
15238 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15239 wxString *arg2 = 0 ;
15240 long arg3 ;
15241 bool result;
423f194a 15242 bool temp2 = False ;
d14a1e28
RD
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
8edf1c75 15245 PyObject * obj2 = 0 ;
d14a1e28
RD
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "key",(char *) "value", NULL
15248 };
15249
8edf1c75 15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15253 {
15254 arg2 = wxString_in_helper(obj1);
15255 if (arg2 == NULL) SWIG_fail;
423f194a 15256 temp2 = True;
d14a1e28 15257 }
2f4c0a16
RD
15258 arg3 = (long) SWIG_AsLong(obj2);
15259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
02a34c4c 15267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15268 {
15269 if (temp2)
15270 delete arg2;
15271 }
15272 return resultobj;
15273 fail:
15274 {
15275 if (temp2)
15276 delete arg2;
15277 }
15278 return NULL;
15279}
15280
15281
2f4c0a16 15282static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15283 PyObject *resultobj;
15284 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15285 wxString *arg2 = 0 ;
15286 double arg3 ;
15287 bool result;
423f194a 15288 bool temp2 = False ;
d14a1e28
RD
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
8edf1c75 15291 PyObject * obj2 = 0 ;
d14a1e28
RD
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "key",(char *) "value", NULL
15294 };
15295
8edf1c75 15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15299 {
15300 arg2 = wxString_in_helper(obj1);
15301 if (arg2 == NULL) SWIG_fail;
423f194a 15302 temp2 = True;
d14a1e28 15303 }
2f4c0a16
RD
15304 arg3 = (double) SWIG_AsDouble(obj2);
15305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
02a34c4c 15313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15314 {
15315 if (temp2)
15316 delete arg2;
15317 }
15318 return resultobj;
15319 fail:
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 return NULL;
15325}
15326
15327
2f4c0a16 15328static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15329 PyObject *resultobj;
15330 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15331 wxString *arg2 = 0 ;
15332 bool arg3 ;
15333 bool result;
423f194a 15334 bool temp2 = False ;
d14a1e28
RD
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
15337 PyObject * obj2 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "key",(char *) "value", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15345 {
15346 arg2 = wxString_in_helper(obj1);
15347 if (arg2 == NULL) SWIG_fail;
423f194a 15348 temp2 = True;
d14a1e28 15349 }
2f4c0a16
RD
15350 arg3 = (bool) SWIG_AsBool(obj2);
15351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
02a34c4c 15359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15360 {
15361 if (temp2)
15362 delete arg2;
15363 }
15364 return resultobj;
15365 fail:
15366 {
15367 if (temp2)
15368 delete arg2;
15369 }
15370 return NULL;
15371}
15372
15373
2f4c0a16 15374static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15375 PyObject *resultobj;
15376 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15377 bool arg2 = (bool) False ;
d14a1e28
RD
15378 bool result;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 char *kwnames[] = {
38f59159 15382 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15388 if (obj1) {
2f4c0a16
RD
15389 arg2 = (bool) SWIG_AsBool(obj1);
15390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15391 }
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 result = (bool)(arg1)->Flush(arg2);
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
02a34c4c 15399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15400 return resultobj;
15401 fail:
15402 return NULL;
15403}
15404
15405
2f4c0a16 15406static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15407 PyObject *resultobj;
15408 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15409 wxString *arg2 = 0 ;
15410 wxString *arg3 = 0 ;
15411 bool result;
423f194a
RD
15412 bool temp2 = False ;
15413 bool temp3 = False ;
d14a1e28
RD
15414 PyObject * obj0 = 0 ;
15415 PyObject * obj1 = 0 ;
15416 PyObject * obj2 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15424 {
15425 arg2 = wxString_in_helper(obj1);
15426 if (arg2 == NULL) SWIG_fail;
423f194a 15427 temp2 = True;
d14a1e28
RD
15428 }
15429 {
15430 arg3 = wxString_in_helper(obj2);
15431 if (arg3 == NULL) SWIG_fail;
423f194a 15432 temp3 = True;
d14a1e28
RD
15433 }
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
02a34c4c 15441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15442 {
15443 if (temp2)
15444 delete arg2;
15445 }
15446 {
15447 if (temp3)
15448 delete arg3;
15449 }
15450 return resultobj;
15451 fail:
15452 {
15453 if (temp2)
15454 delete arg2;
15455 }
15456 {
15457 if (temp3)
15458 delete arg3;
15459 }
15460 return NULL;
15461}
15462
15463
2f4c0a16 15464static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15465 PyObject *resultobj;
15466 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15467 wxString *arg2 = 0 ;
15468 wxString *arg3 = 0 ;
15469 bool result;
423f194a
RD
15470 bool temp2 = False ;
15471 bool temp3 = False ;
d14a1e28
RD
15472 PyObject * obj0 = 0 ;
15473 PyObject * obj1 = 0 ;
15474 PyObject * obj2 = 0 ;
15475 char *kwnames[] = {
15476 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15477 };
15478
15479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15482 {
15483 arg2 = wxString_in_helper(obj1);
15484 if (arg2 == NULL) SWIG_fail;
423f194a 15485 temp2 = True;
d14a1e28
RD
15486 }
15487 {
15488 arg3 = wxString_in_helper(obj2);
15489 if (arg3 == NULL) SWIG_fail;
423f194a 15490 temp3 = True;
d14a1e28
RD
15491 }
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
02a34c4c 15499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15500 {
15501 if (temp2)
15502 delete arg2;
15503 }
15504 {
15505 if (temp3)
15506 delete arg3;
15507 }
15508 return resultobj;
15509 fail:
15510 {
15511 if (temp2)
15512 delete arg2;
15513 }
15514 {
15515 if (temp3)
15516 delete arg3;
15517 }
15518 return NULL;
15519}
15520
15521
2f4c0a16 15522static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15523 PyObject *resultobj;
15524 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15525 wxString *arg2 = 0 ;
423f194a 15526 bool arg3 = (bool) True ;
d14a1e28 15527 bool result;
423f194a 15528 bool temp2 = False ;
d14a1e28
RD
15529 PyObject * obj0 = 0 ;
15530 PyObject * obj1 = 0 ;
15531 PyObject * obj2 = 0 ;
15532 char *kwnames[] = {
38f59159 15533 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15539 {
15540 arg2 = wxString_in_helper(obj1);
15541 if (arg2 == NULL) SWIG_fail;
423f194a 15542 temp2 = True;
d14a1e28
RD
15543 }
15544 if (obj2) {
2f4c0a16
RD
15545 arg3 = (bool) SWIG_AsBool(obj2);
15546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15547 }
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
02a34c4c 15555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15556 {
15557 if (temp2)
15558 delete arg2;
15559 }
15560 return resultobj;
15561 fail:
15562 {
15563 if (temp2)
15564 delete arg2;
15565 }
15566 return NULL;
15567}
15568
15569
2f4c0a16 15570static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15571 PyObject *resultobj;
15572 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15573 wxString *arg2 = 0 ;
15574 bool result;
423f194a 15575 bool temp2 = False ;
d14a1e28
RD
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 char *kwnames[] = {
15579 (char *) "self",(char *) "key", NULL
15580 };
15581
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15585 {
15586 arg2 = wxString_in_helper(obj1);
15587 if (arg2 == NULL) SWIG_fail;
423f194a 15588 temp2 = True;
d14a1e28
RD
15589 }
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
02a34c4c 15597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15598 {
15599 if (temp2)
15600 delete arg2;
15601 }
15602 return resultobj;
15603 fail:
15604 {
15605 if (temp2)
15606 delete arg2;
15607 }
15608 return NULL;
15609}
15610
15611
2f4c0a16 15612static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15613 PyObject *resultobj;
15614 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15615 bool result;
15616 PyObject * obj0 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (bool)(arg1)->DeleteAll();
15627
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
02a34c4c 15631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15632 return resultobj;
15633 fail:
15634 return NULL;
15635}
15636
15637
2f4c0a16 15638static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15639 PyObject *resultobj;
15640 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
38f59159 15641 bool arg2 = (bool) True ;
d14a1e28 15642 PyObject * obj0 = 0 ;
38f59159 15643 PyObject * obj1 = 0 ;
d14a1e28 15644 char *kwnames[] = {
38f59159 15645 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15646 };
15647
38f59159 15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159 15651 if (obj1) {
2f4c0a16
RD
15652 arg2 = (bool) SWIG_AsBool(obj1);
15653 if (PyErr_Occurred()) SWIG_fail;
38f59159 15654 }
d14a1e28
RD
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15657 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
38f59159 15662 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15663 return resultobj;
15664 fail:
15665 return NULL;
15666}
15667
15668
2f4c0a16 15669static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15670 PyObject *resultobj;
15671 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
38f59159 15672 bool result;
d14a1e28 15673 PyObject * obj0 = 0 ;
d14a1e28 15674 char *kwnames[] = {
38f59159 15675 (char *) "self", NULL
d14a1e28
RD
15676 };
15677
38f59159 15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15683 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
38f59159 15688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15689 return resultobj;
15690 fail:
15691 return NULL;
15692}
15693
15694
2f4c0a16 15695static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15696 PyObject *resultobj;
15697 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15698 bool arg2 = (bool) True ;
d14a1e28
RD
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701 char *kwnames[] = {
38f59159 15702 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15703 };
15704
15705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15708 if (obj1) {
2f4c0a16
RD
15709 arg2 = (bool) SWIG_AsBool(obj1);
15710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15711 }
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 (arg1)->SetRecordDefaults(arg2);
15715
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 Py_INCREF(Py_None); resultobj = Py_None;
15720 return resultobj;
15721 fail:
15722 return NULL;
15723}
15724
15725
2f4c0a16 15726static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15727 PyObject *resultobj;
15728 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15729 bool result;
15730 PyObject * obj0 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15738 {
15739 PyThreadState* __tstate = wxPyBeginAllowThreads();
15740 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15741
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
02a34c4c 15745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15746 return resultobj;
15747 fail:
15748 return NULL;
15749}
15750
15751
2f4c0a16 15752static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15753 PyObject *resultobj;
15754 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15755 wxString *arg2 = 0 ;
15756 wxString result;
423f194a 15757 bool temp2 = False ;
d14a1e28
RD
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self",(char *) "str", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15767 {
15768 arg2 = wxString_in_helper(obj1);
15769 if (arg2 == NULL) SWIG_fail;
423f194a 15770 temp2 = True;
d14a1e28
RD
15771 }
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780#if wxUSE_UNICODE
15781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15782#else
15783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15784#endif
15785 }
15786 {
15787 if (temp2)
15788 delete arg2;
15789 }
15790 return resultobj;
15791 fail:
15792 {
15793 if (temp2)
15794 delete arg2;
15795 }
15796 return NULL;
15797}
15798
15799
2f4c0a16 15800static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15801 PyObject *resultobj;
15802 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15803 wxString result;
15804 PyObject * obj0 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "self", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = ((wxConfigBase const *)arg1)->GetAppName();
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 {
15820#if wxUSE_UNICODE
15821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15822#else
15823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15824#endif
15825 }
15826 return resultobj;
15827 fail:
15828 return NULL;
15829}
15830
15831
2f4c0a16 15832static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15833 PyObject *resultobj;
15834 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15835 wxString result;
15836 PyObject * obj0 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15844 {
15845 PyThreadState* __tstate = wxPyBeginAllowThreads();
15846 result = ((wxConfigBase const *)arg1)->GetVendorName();
15847
15848 wxPyEndAllowThreads(__tstate);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
15851 {
15852#if wxUSE_UNICODE
15853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15854#else
15855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15856#endif
15857 }
15858 return resultobj;
15859 fail:
15860 return NULL;
15861}
15862
15863
2f4c0a16 15864static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15865 PyObject *resultobj;
15866 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15867 wxString *arg2 = 0 ;
423f194a 15868 bool temp2 = False ;
d14a1e28
RD
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "appName", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15878 {
15879 arg2 = wxString_in_helper(obj1);
15880 if (arg2 == NULL) SWIG_fail;
423f194a 15881 temp2 = True;
d14a1e28
RD
15882 }
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 (arg1)->SetAppName((wxString const &)*arg2);
15886
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 Py_INCREF(Py_None); resultobj = Py_None;
15891 {
15892 if (temp2)
15893 delete arg2;
15894 }
15895 return resultobj;
15896 fail:
15897 {
15898 if (temp2)
15899 delete arg2;
15900 }
15901 return NULL;
15902}
15903
15904
2f4c0a16 15905static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15906 PyObject *resultobj;
15907 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15908 wxString *arg2 = 0 ;
423f194a 15909 bool temp2 = False ;
d14a1e28
RD
15910 PyObject * obj0 = 0 ;
15911 PyObject * obj1 = 0 ;
15912 char *kwnames[] = {
15913 (char *) "self",(char *) "vendorName", NULL
15914 };
15915
15916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15919 {
15920 arg2 = wxString_in_helper(obj1);
15921 if (arg2 == NULL) SWIG_fail;
423f194a 15922 temp2 = True;
d14a1e28
RD
15923 }
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->SetVendorName((wxString const &)*arg2);
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 {
15933 if (temp2)
15934 delete arg2;
15935 }
15936 return resultobj;
15937 fail:
15938 {
15939 if (temp2)
15940 delete arg2;
15941 }
15942 return NULL;
15943}
15944
15945
2f4c0a16 15946static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15947 PyObject *resultobj;
15948 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15949 long arg2 ;
15950 PyObject * obj0 = 0 ;
8edf1c75 15951 PyObject * obj1 = 0 ;
d14a1e28
RD
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "style", NULL
15954 };
15955
8edf1c75 15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 arg2 = (long) SWIG_AsLong(obj1);
15960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 (arg1)->SetStyle(arg2);
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972}
15973
15974
2f4c0a16 15975static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15976 PyObject *resultobj;
15977 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15978 long result;
15979 PyObject * obj0 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
2f4c0a16 15994 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15995 return resultobj;
15996 fail:
15997 return NULL;
15998}
15999
16000
2f4c0a16 16001static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16002 PyObject *obj;
16003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16004 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16005 Py_INCREF(obj);
16006 return Py_BuildValue((char *)"");
16007}
2f4c0a16 16008static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16009 PyObject *resultobj;
16010 wxString const &arg1_defvalue = wxPyEmptyString ;
16011 wxString *arg1 = (wxString *) &arg1_defvalue ;
16012 wxString const &arg2_defvalue = wxPyEmptyString ;
16013 wxString *arg2 = (wxString *) &arg2_defvalue ;
16014 wxString const &arg3_defvalue = wxPyEmptyString ;
16015 wxString *arg3 = (wxString *) &arg3_defvalue ;
16016 wxString const &arg4_defvalue = wxPyEmptyString ;
16017 wxString *arg4 = (wxString *) &arg4_defvalue ;
16018 long arg5 = (long) 0 ;
16019 wxConfig *result;
423f194a
RD
16020 bool temp1 = False ;
16021 bool temp2 = False ;
16022 bool temp3 = False ;
16023 bool temp4 = False ;
d14a1e28
RD
16024 PyObject * obj0 = 0 ;
16025 PyObject * obj1 = 0 ;
16026 PyObject * obj2 = 0 ;
16027 PyObject * obj3 = 0 ;
8edf1c75 16028 PyObject * obj4 = 0 ;
d14a1e28
RD
16029 char *kwnames[] = {
16030 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16031 };
16032
8edf1c75 16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16034 if (obj0) {
16035 {
16036 arg1 = wxString_in_helper(obj0);
16037 if (arg1 == NULL) SWIG_fail;
423f194a 16038 temp1 = True;
d14a1e28
RD
16039 }
16040 }
16041 if (obj1) {
16042 {
16043 arg2 = wxString_in_helper(obj1);
16044 if (arg2 == NULL) SWIG_fail;
423f194a 16045 temp2 = True;
d14a1e28
RD
16046 }
16047 }
16048 if (obj2) {
16049 {
16050 arg3 = wxString_in_helper(obj2);
16051 if (arg3 == NULL) SWIG_fail;
423f194a 16052 temp3 = True;
d14a1e28
RD
16053 }
16054 }
16055 if (obj3) {
16056 {
16057 arg4 = wxString_in_helper(obj3);
16058 if (arg4 == NULL) SWIG_fail;
423f194a 16059 temp4 = True;
d14a1e28
RD
16060 }
16061 }
8edf1c75 16062 if (obj4) {
2f4c0a16
RD
16063 arg5 = (long) SWIG_AsLong(obj4);
16064 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16065 }
d14a1e28
RD
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
2f4c0a16 16073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
16074 {
16075 if (temp1)
16076 delete arg1;
16077 }
16078 {
16079 if (temp2)
16080 delete arg2;
16081 }
16082 {
16083 if (temp3)
16084 delete arg3;
16085 }
16086 {
16087 if (temp4)
16088 delete arg4;
16089 }
16090 return resultobj;
16091 fail:
16092 {
16093 if (temp1)
16094 delete arg1;
16095 }
16096 {
16097 if (temp2)
16098 delete arg2;
16099 }
16100 {
16101 if (temp3)
16102 delete arg3;
16103 }
16104 {
16105 if (temp4)
16106 delete arg4;
16107 }
16108 return NULL;
16109}
16110
16111
2f4c0a16 16112static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16113 PyObject *resultobj;
16114 wxConfig *arg1 = (wxConfig *) 0 ;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 delete arg1;
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 Py_INCREF(Py_None); resultobj = Py_None;
16131 return resultobj;
16132 fail:
16133 return NULL;
16134}
16135
16136
2f4c0a16 16137static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16138 PyObject *obj;
16139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16140 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16141 Py_INCREF(obj);
16142 return Py_BuildValue((char *)"");
16143}
2f4c0a16 16144static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16145 PyObject *resultobj;
16146 wxString const &arg1_defvalue = wxPyEmptyString ;
16147 wxString *arg1 = (wxString *) &arg1_defvalue ;
16148 wxString const &arg2_defvalue = wxPyEmptyString ;
16149 wxString *arg2 = (wxString *) &arg2_defvalue ;
16150 wxString const &arg3_defvalue = wxPyEmptyString ;
16151 wxString *arg3 = (wxString *) &arg3_defvalue ;
16152 wxString const &arg4_defvalue = wxPyEmptyString ;
16153 wxString *arg4 = (wxString *) &arg4_defvalue ;
16154 long arg5 = (long) 0 ;
16155 wxFileConfig *result;
423f194a
RD
16156 bool temp1 = False ;
16157 bool temp2 = False ;
16158 bool temp3 = False ;
16159 bool temp4 = False ;
d14a1e28
RD
16160 PyObject * obj0 = 0 ;
16161 PyObject * obj1 = 0 ;
16162 PyObject * obj2 = 0 ;
16163 PyObject * obj3 = 0 ;
8edf1c75 16164 PyObject * obj4 = 0 ;
d14a1e28
RD
16165 char *kwnames[] = {
16166 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16167 };
16168
8edf1c75 16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16170 if (obj0) {
16171 {
16172 arg1 = wxString_in_helper(obj0);
16173 if (arg1 == NULL) SWIG_fail;
423f194a 16174 temp1 = True;
d14a1e28
RD
16175 }
16176 }
16177 if (obj1) {
16178 {
16179 arg2 = wxString_in_helper(obj1);
16180 if (arg2 == NULL) SWIG_fail;
423f194a 16181 temp2 = True;
d14a1e28
RD
16182 }
16183 }
16184 if (obj2) {
16185 {
16186 arg3 = wxString_in_helper(obj2);
16187 if (arg3 == NULL) SWIG_fail;
423f194a 16188 temp3 = True;
d14a1e28
RD
16189 }
16190 }
16191 if (obj3) {
16192 {
16193 arg4 = wxString_in_helper(obj3);
16194 if (arg4 == NULL) SWIG_fail;
423f194a 16195 temp4 = True;
d14a1e28
RD
16196 }
16197 }
8edf1c75 16198 if (obj4) {
2f4c0a16
RD
16199 arg5 = (long) SWIG_AsLong(obj4);
16200 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16201 }
d14a1e28
RD
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
2f4c0a16 16209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
16210 {
16211 if (temp1)
16212 delete arg1;
16213 }
16214 {
16215 if (temp2)
16216 delete arg2;
16217 }
16218 {
16219 if (temp3)
16220 delete arg3;
16221 }
16222 {
16223 if (temp4)
16224 delete arg4;
16225 }
16226 return resultobj;
16227 fail:
16228 {
16229 if (temp1)
16230 delete arg1;
16231 }
16232 {
16233 if (temp2)
16234 delete arg2;
16235 }
16236 {
16237 if (temp3)
16238 delete arg3;
16239 }
16240 {
16241 if (temp4)
16242 delete arg4;
16243 }
16244 return NULL;
16245}
16246
16247
2f4c0a16 16248static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16249 PyObject *resultobj;
16250 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 delete arg1;
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 Py_INCREF(Py_None); resultobj = Py_None;
16267 return resultobj;
16268 fail:
16269 return NULL;
16270}
16271
16272
2f4c0a16 16273static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16274 PyObject *obj;
16275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16276 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16277 Py_INCREF(obj);
16278 return Py_BuildValue((char *)"");
16279}
2f4c0a16 16280static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16281 PyObject *resultobj;
16282 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16283 wxString *arg2 = 0 ;
16284 wxConfigPathChanger *result;
16285 bool temp2 = False ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "config",(char *) "entry", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16295 {
16296 arg2 = wxString_in_helper(obj1);
16297 if (arg2 == NULL) SWIG_fail;
16298 temp2 = True;
16299 }
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
2f4c0a16 16307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
38f59159
RD
16308 {
16309 if (temp2)
16310 delete arg2;
16311 }
16312 return resultobj;
16313 fail:
16314 {
16315 if (temp2)
16316 delete arg2;
16317 }
16318 return NULL;
16319}
16320
16321
2f4c0a16 16322static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16323 PyObject *resultobj;
16324 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16325 PyObject * obj0 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self", NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 delete arg1;
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 Py_INCREF(Py_None); resultobj = Py_None;
16341 return resultobj;
16342 fail:
16343 return NULL;
16344}
16345
16346
2f4c0a16 16347static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16348 PyObject *resultobj;
16349 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16350 wxString *result;
16351 PyObject * obj0 = 0 ;
16352 char *kwnames[] = {
16353 (char *) "self", NULL
16354 };
16355
16356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 {
16362 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16363 result = (wxString *) &_result_ref;
16364 }
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
16370#if wxUSE_UNICODE
16371 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16372#else
16373 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16374#endif
16375 }
16376 return resultobj;
16377 fail:
16378 return NULL;
16379}
16380
16381
2f4c0a16 16382static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
38f59159
RD
16383 PyObject *obj;
16384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16386 Py_INCREF(obj);
16387 return Py_BuildValue((char *)"");
16388}
2f4c0a16 16389static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16390 PyObject *resultobj;
16391 wxString *arg1 = 0 ;
16392 wxString result;
423f194a 16393 bool temp1 = False ;
d14a1e28
RD
16394 PyObject * obj0 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "sz", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16400 {
16401 arg1 = wxString_in_helper(obj0);
16402 if (arg1 == NULL) SWIG_fail;
423f194a 16403 temp1 = True;
d14a1e28
RD
16404 }
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = wxExpandEnvVars((wxString const &)*arg1);
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 {
16413#if wxUSE_UNICODE
16414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16415#else
16416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16417#endif
16418 }
16419 {
16420 if (temp1)
16421 delete arg1;
16422 }
16423 return resultobj;
16424 fail:
16425 {
16426 if (temp1)
16427 delete arg1;
16428 }
16429 return NULL;
16430}
16431
16432
8edf1c75 16433static int _wrap_DateFormatStr_set(PyObject *) {
cbd72d4f
RD
16434 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16435 return 1;
16436}
16437
16438
16439static PyObject *_wrap_DateFormatStr_get() {
16440 PyObject *pyobj;
16441
16442 {
16443#if wxUSE_UNICODE
16444 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16445#else
16446 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16447#endif
16448 }
16449 return pyobj;
16450}
16451
16452
8edf1c75 16453static int _wrap_TimeSpanFormatStr_set(PyObject *) {
cbd72d4f
RD
16454 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16455 return 1;
16456}
16457
16458
16459static PyObject *_wrap_TimeSpanFormatStr_get() {
16460 PyObject *pyobj;
16461
16462 {
16463#if wxUSE_UNICODE
16464 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16465#else
16466 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16467#endif
16468 }
16469 return pyobj;
16470}
16471
16472
2f4c0a16 16473static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16474 PyObject *resultobj;
16475 int arg1 ;
8edf1c75 16476 PyObject * obj0 = 0 ;
d14a1e28
RD
16477 char *kwnames[] = {
16478 (char *) "country", NULL
16479 };
16480
8edf1c75 16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16482 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 return resultobj;
16493 fail:
16494 return NULL;
16495}
16496
16497
2f4c0a16 16498static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16499 PyObject *resultobj;
16500 int result;
16501 char *kwnames[] = {
16502 NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (int)wxDateTime::GetCountry();
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
2f4c0a16 16513 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16514 return resultobj;
16515 fail:
16516 return NULL;
16517}
16518
16519
2f4c0a16 16520static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16521 PyObject *resultobj;
16522 int arg1 = (int) wxDateTime::Country_Default ;
16523 bool result;
8edf1c75 16524 PyObject * obj0 = 0 ;
d14a1e28
RD
16525 char *kwnames[] = {
16526 (char *) "country", NULL
16527 };
16528
8edf1c75
RD
16529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16530 if (obj0) {
2f4c0a16
RD
16531 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16532 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16533 }
d14a1e28
RD
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
02a34c4c 16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
2f4c0a16 16548static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16549 PyObject *resultobj;
16550 int arg1 = (int) wxDateTime::Gregorian ;
16551 int result;
8edf1c75 16552 PyObject * obj0 = 0 ;
d14a1e28
RD
16553 char *kwnames[] = {
16554 (char *) "cal", NULL
16555 };
16556
8edf1c75
RD
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16558 if (obj0) {
2f4c0a16
RD
16559 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16560 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16561 }
d14a1e28
RD
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
2f4c0a16 16569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16570 return resultobj;
16571 fail:
16572 return NULL;
16573}
16574
16575
2f4c0a16 16576static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16577 PyObject *resultobj;
16578 int arg1 ;
16579 int result;
8edf1c75 16580 PyObject * obj0 = 0 ;
d14a1e28
RD
16581 char *kwnames[] = {
16582 (char *) "year", NULL
16583 };
16584
8edf1c75 16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16586 arg1 = (int) SWIG_AsInt(obj0);
16587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 result = (int)wxDateTime::ConvertYearToBC(arg1);
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
2f4c0a16 16595 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16596 return resultobj;
16597 fail:
16598 return NULL;
16599}
16600
16601
2f4c0a16 16602static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16603 PyObject *resultobj;
16604 int arg1 = (int) wxDateTime::Gregorian ;
16605 int result;
8edf1c75 16606 PyObject * obj0 = 0 ;
d14a1e28
RD
16607 char *kwnames[] = {
16608 (char *) "cal", NULL
16609 };
16610
8edf1c75
RD
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16612 if (obj0) {
2f4c0a16
RD
16613 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16615 }
d14a1e28
RD
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
2f4c0a16 16623 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16624 return resultobj;
16625 fail:
16626 return NULL;
16627}
16628
16629
2f4c0a16 16630static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16631 PyObject *resultobj;
16632 int arg1 = (int) wxDateTime::Inv_Year ;
16633 int arg2 = (int) wxDateTime::Gregorian ;
16634 bool result;
8edf1c75
RD
16635 PyObject * obj0 = 0 ;
16636 PyObject * obj1 = 0 ;
d14a1e28
RD
16637 char *kwnames[] = {
16638 (char *) "year",(char *) "cal", NULL
16639 };
16640
8edf1c75
RD
16641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16642 if (obj0) {
2f4c0a16
RD
16643 arg1 = (int) SWIG_AsInt(obj0);
16644 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16645 }
16646 if (obj1) {
2f4c0a16
RD
16647 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16648 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16649 }
d14a1e28
RD
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
02a34c4c 16657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16658 return resultobj;
16659 fail:
16660 return NULL;
16661}
16662
16663
2f4c0a16 16664static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16665 PyObject *resultobj;
16666 int arg1 = (int) wxDateTime::Inv_Year ;
16667 int result;
8edf1c75 16668 PyObject * obj0 = 0 ;
d14a1e28
RD
16669 char *kwnames[] = {
16670 (char *) "year", NULL
16671 };
16672
8edf1c75
RD
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16674 if (obj0) {
2f4c0a16
RD
16675 arg1 = (int) SWIG_AsInt(obj0);
16676 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16677 }
d14a1e28
RD
16678 {
16679 PyThreadState* __tstate = wxPyBeginAllowThreads();
16680 result = (int)wxDateTime::GetCentury(arg1);
16681
16682 wxPyEndAllowThreads(__tstate);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 }
2f4c0a16 16685 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16686 return resultobj;
16687 fail:
16688 return NULL;
16689}
16690
16691
2f4c0a16 16692static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16693 PyObject *resultobj;
16694 int arg1 ;
16695 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 16696 int result;
8edf1c75
RD
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
d14a1e28
RD
16699 char *kwnames[] = {
16700 (char *) "year",(char *) "cal", NULL
16701 };
16702
8edf1c75 16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16704 arg1 = (int) SWIG_AsInt(obj0);
16705 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16706 if (obj1) {
2f4c0a16
RD
16707 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16709 }
d14a1e28
RD
16710 {
16711 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16712 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16713
16714 wxPyEndAllowThreads(__tstate);
16715 if (PyErr_Occurred()) SWIG_fail;
16716 }
2f4c0a16 16717 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16718 return resultobj;
16719 fail:
16720 return NULL;
16721}
16722
16723
2f4c0a16 16724static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16725 PyObject *resultobj;
16726 int arg1 ;
16727 int arg2 = (int) wxDateTime::Inv_Year ;
16728 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 16729 int result;
8edf1c75
RD
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 PyObject * obj2 = 0 ;
d14a1e28
RD
16733 char *kwnames[] = {
16734 (char *) "month",(char *) "year",(char *) "cal", NULL
16735 };
16736
8edf1c75 16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16738 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16740 if (obj1) {
2f4c0a16
RD
16741 arg2 = (int) SWIG_AsInt(obj1);
16742 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16743 }
16744 if (obj2) {
2f4c0a16
RD
16745 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16746 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16747 }
d14a1e28
RD
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16750 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
2f4c0a16 16755 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16756 return resultobj;
16757 fail:
16758 return NULL;
16759}
16760
16761
2f4c0a16 16762static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16763 PyObject *resultobj;
16764 int arg1 ;
16765 int arg2 = (int) wxDateTime::Name_Full ;
16766 wxString result;
8edf1c75
RD
16767 PyObject * obj0 = 0 ;
16768 PyObject * obj1 = 0 ;
d14a1e28
RD
16769 char *kwnames[] = {
16770 (char *) "month",(char *) "flags", NULL
16771 };
16772
8edf1c75 16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16774 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16776 if (obj1) {
2f4c0a16
RD
16777 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16778 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16779 }
d14a1e28
RD
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 {
16788#if wxUSE_UNICODE
16789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16790#else
16791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16792#endif
16793 }
16794 return resultobj;
16795 fail:
16796 return NULL;
16797}
16798
16799
2f4c0a16 16800static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16801 PyObject *resultobj;
16802 int arg1 ;
16803 int arg2 = (int) wxDateTime::Name_Full ;
16804 wxString result;
8edf1c75
RD
16805 PyObject * obj0 = 0 ;
16806 PyObject * obj1 = 0 ;
d14a1e28
RD
16807 char *kwnames[] = {
16808 (char *) "weekday",(char *) "flags", NULL
16809 };
16810
8edf1c75 16811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16812 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
16813 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16814 if (obj1) {
2f4c0a16
RD
16815 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16817 }
d14a1e28
RD
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 {
16826#if wxUSE_UNICODE
16827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16828#else
16829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16830#endif
16831 }
16832 return resultobj;
16833 fail:
16834 return NULL;
16835}
16836
16837
2f4c0a16 16838static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16839 PyObject *resultobj;
16840 wxString *arg1 = (wxString *) 0 ;
16841 wxString *arg2 = (wxString *) 0 ;
dae0faa6
RD
16842 bool temp1 = False ;
16843 bool temp2 = False ;
d14a1e28
RD
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
dae0faa6
RD
16851 {
16852 arg1 = wxString_in_helper(obj0);
16853 if (arg1 == NULL) SWIG_fail;
16854 temp1 = True;
16855 }
16856 {
16857 arg2 = wxString_in_helper(obj1);
16858 if (arg2 == NULL) SWIG_fail;
16859 temp2 = True;
16860 }
d14a1e28
RD
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 wxDateTime::GetAmPmStrings(arg1,arg2);
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 Py_INCREF(Py_None); resultobj = Py_None;
dae0faa6
RD
16869 {
16870 if (temp1)
16871 delete arg1;
16872 }
16873 {
16874 if (temp2)
16875 delete arg2;
16876 }
d14a1e28
RD
16877 return resultobj;
16878 fail:
dae0faa6
RD
16879 {
16880 if (temp1)
16881 delete arg1;
16882 }
16883 {
16884 if (temp2)
16885 delete arg2;
16886 }
d14a1e28
RD
16887 return NULL;
16888}
16889
16890
2f4c0a16 16891static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16892 PyObject *resultobj;
16893 int arg1 = (int) wxDateTime::Inv_Year ;
16894 int arg2 = (int) wxDateTime::Country_Default ;
16895 bool result;
8edf1c75
RD
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
d14a1e28
RD
16898 char *kwnames[] = {
16899 (char *) "year",(char *) "country", NULL
16900 };
16901
8edf1c75
RD
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16903 if (obj0) {
2f4c0a16
RD
16904 arg1 = (int) SWIG_AsInt(obj0);
16905 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16906 }
16907 if (obj1) {
2f4c0a16
RD
16908 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
16909 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16910 }
d14a1e28
RD
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
02a34c4c 16918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16919 return resultobj;
16920 fail:
16921 return NULL;
16922}
16923
16924
2f4c0a16 16925static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16926 PyObject *resultobj;
16927 int arg1 = (int) wxDateTime::Inv_Year ;
16928 int arg2 = (int) wxDateTime::Country_Default ;
16929 wxDateTime result;
8edf1c75
RD
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
d14a1e28
RD
16932 char *kwnames[] = {
16933 (char *) "year",(char *) "country", NULL
16934 };
16935
8edf1c75
RD
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16937 if (obj0) {
2f4c0a16
RD
16938 arg1 = (int) SWIG_AsInt(obj0);
16939 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16940 }
16941 if (obj1) {
2f4c0a16
RD
16942 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
16943 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16944 }
d14a1e28
RD
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16948
16949 wxPyEndAllowThreads(__tstate);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
16952 {
16953 wxDateTime * resultptr;
16954 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 16955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
16956 }
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
2f4c0a16 16963static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16964 PyObject *resultobj;
16965 int arg1 = (int) wxDateTime::Inv_Year ;
16966 int arg2 = (int) wxDateTime::Country_Default ;
16967 wxDateTime result;
8edf1c75
RD
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
d14a1e28
RD
16970 char *kwnames[] = {
16971 (char *) "year",(char *) "country", NULL
16972 };
16973
8edf1c75
RD
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16975 if (obj0) {
2f4c0a16
RD
16976 arg1 = (int) SWIG_AsInt(obj0);
16977 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16978 }
16979 if (obj1) {
2f4c0a16
RD
16980 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
16981 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16982 }
d14a1e28
RD
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 {
16991 wxDateTime * resultptr;
16992 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 16993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
16994 }
16995 return resultobj;
16996 fail:
16997 return NULL;
16998}
16999
17000
2f4c0a16 17001static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17002 PyObject *resultobj;
17003 wxDateTime result;
17004 char *kwnames[] = {
17005 NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = wxDateTime::Now();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 wxDateTime * resultptr;
17018 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024}
17025
17026
2f4c0a16 17027static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17028 PyObject *resultobj;
17029 wxDateTime result;
17030 char *kwnames[] = {
17031 NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = wxDateTime::UNow();
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 {
17043 wxDateTime * resultptr;
17044 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17046 }
17047 return resultobj;
17048 fail:
17049 return NULL;
17050}
17051
17052
2f4c0a16 17053static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17054 PyObject *resultobj;
17055 wxDateTime result;
17056 char *kwnames[] = {
17057 NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = wxDateTime::Today();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 {
17069 wxDateTime * resultptr;
17070 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076}
17077
17078
2f4c0a16 17079static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17080 PyObject *resultobj;
17081 wxDateTime *result;
17082 char *kwnames[] = {
17083 NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (wxDateTime *)new wxDateTime();
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
2f4c0a16 17094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17095 return resultobj;
17096 fail:
17097 return NULL;
17098}
17099
17100
2f4c0a16 17101static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17102 PyObject *resultobj;
17103 time_t arg1 ;
17104 wxDateTime *result;
17105 PyObject * obj0 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "timet", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17111 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (wxDateTime *)new wxDateTime(arg1);
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
2f4c0a16 17120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17121 return resultobj;
17122 fail:
17123 return NULL;
17124}
17125
17126
2f4c0a16 17127static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17128 PyObject *resultobj;
17129 double arg1 ;
17130 wxDateTime *result;
8edf1c75 17131 PyObject * obj0 = 0 ;
d14a1e28
RD
17132 char *kwnames[] = {
17133 (char *) "jdn", NULL
17134 };
17135
8edf1c75 17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17137 arg1 = (double) SWIG_AsDouble(obj0);
17138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 result = (wxDateTime *)new wxDateTime(arg1);
17142
17143 wxPyEndAllowThreads(__tstate);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
2f4c0a16 17146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17147 return resultobj;
17148 fail:
17149 return NULL;
17150}
17151
17152
2f4c0a16 17153static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17154 PyObject *resultobj;
44127b65
RD
17155 int arg1 ;
17156 int arg2 = (int) 0 ;
17157 int arg3 = (int) 0 ;
17158 int arg4 = (int) 0 ;
d14a1e28 17159 wxDateTime *result;
8edf1c75
RD
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
17162 PyObject * obj2 = 0 ;
17163 PyObject * obj3 = 0 ;
d14a1e28
RD
17164 char *kwnames[] = {
17165 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17166 };
17167
8edf1c75 17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17169 arg1 = (int) SWIG_AsInt(obj0);
17170 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17171 if (obj1) {
2f4c0a16
RD
17172 arg2 = (int) SWIG_AsInt(obj1);
17173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17174 }
17175 if (obj2) {
2f4c0a16
RD
17176 arg3 = (int) SWIG_AsInt(obj2);
17177 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17178 }
17179 if (obj3) {
2f4c0a16
RD
17180 arg4 = (int) SWIG_AsInt(obj3);
17181 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17182 }
d14a1e28
RD
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
2f4c0a16 17190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17191 return resultobj;
17192 fail:
17193 return NULL;
17194}
17195
17196
2f4c0a16 17197static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17198 PyObject *resultobj;
44127b65 17199 int arg1 ;
d14a1e28
RD
17200 int arg2 = (int) wxDateTime::Inv_Month ;
17201 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17202 int arg4 = (int) 0 ;
17203 int arg5 = (int) 0 ;
17204 int arg6 = (int) 0 ;
17205 int arg7 = (int) 0 ;
d14a1e28 17206 wxDateTime *result;
8edf1c75
RD
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 PyObject * obj2 = 0 ;
17210 PyObject * obj3 = 0 ;
17211 PyObject * obj4 = 0 ;
17212 PyObject * obj5 = 0 ;
17213 PyObject * obj6 = 0 ;
d14a1e28
RD
17214 char *kwnames[] = {
17215 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17216 };
17217
8edf1c75 17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
17219 arg1 = (int) SWIG_AsInt(obj0);
17220 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17221 if (obj1) {
2f4c0a16
RD
17222 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17223 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17224 }
17225 if (obj2) {
2f4c0a16
RD
17226 arg3 = (int) SWIG_AsInt(obj2);
17227 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17228 }
17229 if (obj3) {
2f4c0a16
RD
17230 arg4 = (int) SWIG_AsInt(obj3);
17231 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17232 }
17233 if (obj4) {
2f4c0a16
RD
17234 arg5 = (int) SWIG_AsInt(obj4);
17235 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17236 }
17237 if (obj5) {
2f4c0a16
RD
17238 arg6 = (int) SWIG_AsInt(obj5);
17239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17240 }
17241 if (obj6) {
2f4c0a16
RD
17242 arg7 = (int) SWIG_AsInt(obj6);
17243 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17244 }
d14a1e28
RD
17245 {
17246 PyThreadState* __tstate = wxPyBeginAllowThreads();
17247 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17248
17249 wxPyEndAllowThreads(__tstate);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
2f4c0a16 17252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17253 return resultobj;
17254 fail:
17255 return NULL;
17256}
17257
17258
2f4c0a16 17259static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17260 PyObject *resultobj;
17261 wxDateTime *arg1 = (wxDateTime *) 0 ;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 delete arg1;
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 Py_INCREF(Py_None); resultobj = Py_None;
17278 return resultobj;
17279 fail:
17280 return NULL;
17281}
17282
17283
2f4c0a16 17284static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17285 PyObject *resultobj;
17286 wxDateTime *arg1 = (wxDateTime *) 0 ;
17287 wxDateTime *result;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 {
17299 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17300 result = (wxDateTime *) &_result_ref;
17301 }
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
2f4c0a16 17306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
2f4c0a16 17313static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17314 PyObject *resultobj;
17315 wxDateTime *arg1 = (wxDateTime *) 0 ;
17316 time_t arg2 ;
17317 wxDateTime *result;
17318 PyObject * obj0 = 0 ;
17319 PyObject * obj1 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "timet", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17327 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 {
17332 wxDateTime &_result_ref = (arg1)->Set(arg2);
17333 result = (wxDateTime *) &_result_ref;
17334 }
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
2f4c0a16 17339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17340 return resultobj;
17341 fail:
17342 return NULL;
17343}
17344
17345
2f4c0a16 17346static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17347 PyObject *resultobj;
17348 wxDateTime *arg1 = (wxDateTime *) 0 ;
17349 double arg2 ;
17350 wxDateTime *result;
17351 PyObject * obj0 = 0 ;
8edf1c75 17352 PyObject * obj1 = 0 ;
d14a1e28
RD
17353 char *kwnames[] = {
17354 (char *) "self",(char *) "jdn", NULL
17355 };
17356
8edf1c75 17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17360 arg2 = (double) SWIG_AsDouble(obj1);
17361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 {
17365 wxDateTime &_result_ref = (arg1)->Set(arg2);
17366 result = (wxDateTime *) &_result_ref;
17367 }
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
2f4c0a16 17372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17373 return resultobj;
17374 fail:
17375 return NULL;
17376}
17377
17378
2f4c0a16 17379static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17380 PyObject *resultobj;
17381 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
17382 int arg2 ;
17383 int arg3 = (int) 0 ;
17384 int arg4 = (int) 0 ;
17385 int arg5 = (int) 0 ;
d14a1e28
RD
17386 wxDateTime *result;
17387 PyObject * obj0 = 0 ;
8edf1c75
RD
17388 PyObject * obj1 = 0 ;
17389 PyObject * obj2 = 0 ;
17390 PyObject * obj3 = 0 ;
17391 PyObject * obj4 = 0 ;
d14a1e28
RD
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17394 };
17395
8edf1c75 17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 arg2 = (int) SWIG_AsInt(obj1);
17400 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17401 if (obj2) {
2f4c0a16
RD
17402 arg3 = (int) SWIG_AsInt(obj2);
17403 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17404 }
17405 if (obj3) {
2f4c0a16
RD
17406 arg4 = (int) SWIG_AsInt(obj3);
17407 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17408 }
17409 if (obj4) {
2f4c0a16
RD
17410 arg5 = (int) SWIG_AsInt(obj4);
17411 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17412 }
d14a1e28
RD
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 {
17416 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17417 result = (wxDateTime *) &_result_ref;
17418 }
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
2f4c0a16 17423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17424 return resultobj;
17425 fail:
17426 return NULL;
17427}
17428
17429
2f4c0a16 17430static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17431 PyObject *resultobj;
17432 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17433 int arg2 ;
d14a1e28
RD
17434 int arg3 = (int) wxDateTime::Inv_Month ;
17435 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17436 int arg5 = (int) 0 ;
17437 int arg6 = (int) 0 ;
17438 int arg7 = (int) 0 ;
17439 int arg8 = (int) 0 ;
d14a1e28
RD
17440 wxDateTime *result;
17441 PyObject * obj0 = 0 ;
8edf1c75
RD
17442 PyObject * obj1 = 0 ;
17443 PyObject * obj2 = 0 ;
17444 PyObject * obj3 = 0 ;
17445 PyObject * obj4 = 0 ;
17446 PyObject * obj5 = 0 ;
17447 PyObject * obj6 = 0 ;
17448 PyObject * obj7 = 0 ;
d14a1e28
RD
17449 char *kwnames[] = {
17450 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17451 };
17452
8edf1c75 17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
17454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17456 arg2 = (int) SWIG_AsInt(obj1);
17457 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17458 if (obj2) {
2f4c0a16
RD
17459 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17460 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17461 }
17462 if (obj3) {
2f4c0a16
RD
17463 arg4 = (int) SWIG_AsInt(obj3);
17464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17465 }
17466 if (obj4) {
2f4c0a16
RD
17467 arg5 = (int) SWIG_AsInt(obj4);
17468 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17469 }
17470 if (obj5) {
2f4c0a16
RD
17471 arg6 = (int) SWIG_AsInt(obj5);
17472 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17473 }
17474 if (obj6) {
2f4c0a16
RD
17475 arg7 = (int) SWIG_AsInt(obj6);
17476 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17477 }
17478 if (obj7) {
2f4c0a16
RD
17479 arg8 = (int) SWIG_AsInt(obj7);
17480 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17481 }
d14a1e28
RD
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 {
17485 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17486 result = (wxDateTime *) &_result_ref;
17487 }
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
2f4c0a16 17492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
2f4c0a16 17499static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17500 PyObject *resultobj;
17501 wxDateTime *arg1 = (wxDateTime *) 0 ;
17502 wxDateTime *result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 {
17514 wxDateTime &_result_ref = (arg1)->ResetTime();
17515 result = (wxDateTime *) &_result_ref;
17516 }
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
2f4c0a16 17521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
2f4c0a16 17528static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17529 PyObject *resultobj;
17530 wxDateTime *arg1 = (wxDateTime *) 0 ;
17531 int arg2 ;
17532 wxDateTime *result;
17533 PyObject * obj0 = 0 ;
8edf1c75 17534 PyObject * obj1 = 0 ;
d14a1e28
RD
17535 char *kwnames[] = {
17536 (char *) "self",(char *) "year", NULL
17537 };
17538
8edf1c75 17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17542 arg2 = (int) SWIG_AsInt(obj1);
17543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 {
17547 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17548 result = (wxDateTime *) &_result_ref;
17549 }
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
2f4c0a16 17554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17555 return resultobj;
17556 fail:
17557 return NULL;
17558}
17559
17560
2f4c0a16 17561static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17562 PyObject *resultobj;
17563 wxDateTime *arg1 = (wxDateTime *) 0 ;
17564 int arg2 ;
17565 wxDateTime *result;
17566 PyObject * obj0 = 0 ;
8edf1c75 17567 PyObject * obj1 = 0 ;
d14a1e28
RD
17568 char *kwnames[] = {
17569 (char *) "self",(char *) "month", NULL
17570 };
17571
8edf1c75 17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17575 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 {
17580 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17581 result = (wxDateTime *) &_result_ref;
17582 }
17583
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
2f4c0a16 17587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17588 return resultobj;
17589 fail:
17590 return NULL;
17591}
17592
17593
2f4c0a16 17594static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17595 PyObject *resultobj;
17596 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17597 int arg2 ;
d14a1e28
RD
17598 wxDateTime *result;
17599 PyObject * obj0 = 0 ;
8edf1c75 17600 PyObject * obj1 = 0 ;
d14a1e28
RD
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "day", NULL
17603 };
17604
8edf1c75 17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17608 arg2 = (int) SWIG_AsInt(obj1);
17609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 {
17613 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17614 result = (wxDateTime *) &_result_ref;
17615 }
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
2f4c0a16 17620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17621 return resultobj;
17622 fail:
17623 return NULL;
17624}
17625
17626
2f4c0a16 17627static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17628 PyObject *resultobj;
17629 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17630 int arg2 ;
d14a1e28
RD
17631 wxDateTime *result;
17632 PyObject * obj0 = 0 ;
8edf1c75 17633 PyObject * obj1 = 0 ;
d14a1e28
RD
17634 char *kwnames[] = {
17635 (char *) "self",(char *) "hour", NULL
17636 };
17637
8edf1c75 17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17641 arg2 = (int) SWIG_AsInt(obj1);
17642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 {
17646 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17647 result = (wxDateTime *) &_result_ref;
17648 }
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
2f4c0a16 17653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17654 return resultobj;
17655 fail:
17656 return NULL;
17657}
17658
17659
2f4c0a16 17660static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17661 PyObject *resultobj;
17662 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17663 int arg2 ;
d14a1e28
RD
17664 wxDateTime *result;
17665 PyObject * obj0 = 0 ;
8edf1c75 17666 PyObject * obj1 = 0 ;
d14a1e28
RD
17667 char *kwnames[] = {
17668 (char *) "self",(char *) "minute", NULL
17669 };
17670
8edf1c75 17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17674 arg2 = (int) SWIG_AsInt(obj1);
17675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 {
17679 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17680 result = (wxDateTime *) &_result_ref;
17681 }
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
2f4c0a16 17686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17687 return resultobj;
17688 fail:
17689 return NULL;
17690}
17691
17692
2f4c0a16 17693static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17694 PyObject *resultobj;
17695 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17696 int arg2 ;
d14a1e28
RD
17697 wxDateTime *result;
17698 PyObject * obj0 = 0 ;
8edf1c75 17699 PyObject * obj1 = 0 ;
d14a1e28
RD
17700 char *kwnames[] = {
17701 (char *) "self",(char *) "second", NULL
17702 };
17703
8edf1c75 17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17707 arg2 = (int) SWIG_AsInt(obj1);
17708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 {
17712 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17713 result = (wxDateTime *) &_result_ref;
17714 }
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
2f4c0a16 17719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17720 return resultobj;
17721 fail:
17722 return NULL;
17723}
17724
17725
2f4c0a16 17726static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17727 PyObject *resultobj;
17728 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17729 int arg2 ;
d14a1e28
RD
17730 wxDateTime *result;
17731 PyObject * obj0 = 0 ;
8edf1c75 17732 PyObject * obj1 = 0 ;
d14a1e28
RD
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "millisecond", NULL
17735 };
17736
8edf1c75 17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17740 arg2 = (int) SWIG_AsInt(obj1);
17741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 {
17745 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17746 result = (wxDateTime *) &_result_ref;
17747 }
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
2f4c0a16 17752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17753 return resultobj;
17754 fail:
17755 return NULL;
17756}
17757
17758
2f4c0a16 17759static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17760 PyObject *resultobj;
17761 wxDateTime *arg1 = (wxDateTime *) 0 ;
17762 int arg2 ;
17763 int arg3 = (int) wxDateTime::Monday_First ;
17764 wxDateTime *result;
17765 PyObject * obj0 = 0 ;
8edf1c75
RD
17766 PyObject * obj1 = 0 ;
17767 PyObject * obj2 = 0 ;
d14a1e28
RD
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17770 };
17771
8edf1c75 17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17776 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17777 if (obj2) {
2f4c0a16
RD
17778 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17779 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17780 }
d14a1e28
RD
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 {
17784 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17785 result = (wxDateTime *) &_result_ref;
17786 }
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
2f4c0a16 17791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17792 return resultobj;
17793 fail:
17794 return NULL;
17795}
17796
17797
2f4c0a16 17798static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17799 PyObject *resultobj;
17800 wxDateTime *arg1 = (wxDateTime *) 0 ;
17801 int arg2 ;
17802 int arg3 = (int) wxDateTime::Monday_First ;
17803 wxDateTime result;
17804 PyObject * obj0 = 0 ;
8edf1c75
RD
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
d14a1e28
RD
17807 char *kwnames[] = {
17808 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17809 };
17810
8edf1c75 17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17814 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17815 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17816 if (obj2) {
2f4c0a16
RD
17817 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17818 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17819 }
d14a1e28
RD
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 wxDateTime * resultptr;
17829 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17831 }
17832 return resultobj;
17833 fail:
17834 return NULL;
17835}
17836
17837
2f4c0a16 17838static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17839 PyObject *resultobj;
17840 wxDateTime *arg1 = (wxDateTime *) 0 ;
17841 int arg2 ;
17842 wxDateTime *result;
17843 PyObject * obj0 = 0 ;
8edf1c75 17844 PyObject * obj1 = 0 ;
d14a1e28
RD
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "weekday", NULL
17847 };
17848
8edf1c75 17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 {
17857 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17858 result = (wxDateTime *) &_result_ref;
17859 }
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
2f4c0a16 17864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17865 return resultobj;
17866 fail:
17867 return NULL;
17868}
17869
17870
2f4c0a16 17871static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17872 PyObject *resultobj;
17873 wxDateTime *arg1 = (wxDateTime *) 0 ;
17874 int arg2 ;
17875 wxDateTime result;
17876 PyObject * obj0 = 0 ;
8edf1c75 17877 PyObject * obj1 = 0 ;
d14a1e28
RD
17878 char *kwnames[] = {
17879 (char *) "self",(char *) "weekday", NULL
17880 };
17881
8edf1c75 17882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17885 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 {
17895 wxDateTime * resultptr;
17896 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17898 }
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
2f4c0a16 17905static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17906 PyObject *resultobj;
17907 wxDateTime *arg1 = (wxDateTime *) 0 ;
17908 int arg2 ;
17909 wxDateTime *result;
17910 PyObject * obj0 = 0 ;
8edf1c75 17911 PyObject * obj1 = 0 ;
d14a1e28
RD
17912 char *kwnames[] = {
17913 (char *) "self",(char *) "weekday", NULL
17914 };
17915
8edf1c75 17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17919 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 {
17924 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17925 result = (wxDateTime *) &_result_ref;
17926 }
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
2f4c0a16 17931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17932 return resultobj;
17933 fail:
17934 return NULL;
17935}
17936
17937
2f4c0a16 17938static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17939 PyObject *resultobj;
17940 wxDateTime *arg1 = (wxDateTime *) 0 ;
17941 int arg2 ;
17942 wxDateTime result;
17943 PyObject * obj0 = 0 ;
8edf1c75 17944 PyObject * obj1 = 0 ;
d14a1e28
RD
17945 char *kwnames[] = {
17946 (char *) "self",(char *) "weekday", NULL
17947 };
17948
8edf1c75 17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17952 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 {
17962 wxDateTime * resultptr;
17963 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969}
17970
17971
2f4c0a16 17972static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17973 PyObject *resultobj;
17974 wxDateTime *arg1 = (wxDateTime *) 0 ;
17975 int arg2 ;
17976 int arg3 = (int) 1 ;
17977 int arg4 = (int) wxDateTime::Inv_Month ;
17978 int arg5 = (int) wxDateTime::Inv_Year ;
17979 bool result;
17980 PyObject * obj0 = 0 ;
8edf1c75
RD
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 PyObject * obj3 = 0 ;
17984 PyObject * obj4 = 0 ;
d14a1e28
RD
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17987 };
17988
8edf1c75 17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17993 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17994 if (obj2) {
2f4c0a16
RD
17995 arg3 = (int) SWIG_AsInt(obj2);
17996 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17997 }
17998 if (obj3) {
2f4c0a16
RD
17999 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18001 }
18002 if (obj4) {
2f4c0a16
RD
18003 arg5 = (int) SWIG_AsInt(obj4);
18004 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18005 }
d14a1e28
RD
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
02a34c4c 18013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
2f4c0a16 18020static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18021 PyObject *resultobj;
18022 wxDateTime *arg1 = (wxDateTime *) 0 ;
18023 int arg2 ;
18024 int arg3 = (int) wxDateTime::Inv_Month ;
18025 int arg4 = (int) wxDateTime::Inv_Year ;
18026 bool result;
18027 PyObject * obj0 = 0 ;
8edf1c75
RD
18028 PyObject * obj1 = 0 ;
18029 PyObject * obj2 = 0 ;
18030 PyObject * obj3 = 0 ;
d14a1e28
RD
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18033 };
18034
8edf1c75 18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18039 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18040 if (obj2) {
2f4c0a16
RD
18041 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18042 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18043 }
18044 if (obj3) {
2f4c0a16
RD
18045 arg4 = (int) SWIG_AsInt(obj3);
18046 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18047 }
d14a1e28
RD
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
02a34c4c 18055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18056 return resultobj;
18057 fail:
18058 return NULL;
18059}
18060
18061
2f4c0a16 18062static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18063 PyObject *resultobj;
18064 wxDateTime *arg1 = (wxDateTime *) 0 ;
18065 int arg2 ;
18066 int arg3 = (int) wxDateTime::Inv_Month ;
18067 int arg4 = (int) wxDateTime::Inv_Year ;
18068 wxDateTime result;
18069 PyObject * obj0 = 0 ;
8edf1c75
RD
18070 PyObject * obj1 = 0 ;
18071 PyObject * obj2 = 0 ;
18072 PyObject * obj3 = 0 ;
d14a1e28
RD
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18075 };
18076
8edf1c75 18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18080 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18081 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18082 if (obj2) {
2f4c0a16
RD
18083 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18084 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18085 }
18086 if (obj3) {
2f4c0a16
RD
18087 arg4 = (int) SWIG_AsInt(obj3);
18088 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18089 }
d14a1e28
RD
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 {
18098 wxDateTime * resultptr;
18099 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
2f4c0a16 18108static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18109 PyObject *resultobj;
18110 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18111 int arg2 ;
d14a1e28
RD
18112 int arg3 = (int) wxDateTime::Mon ;
18113 int arg4 = (int) wxDateTime::Monday_First ;
18114 bool result;
18115 PyObject * obj0 = 0 ;
8edf1c75
RD
18116 PyObject * obj1 = 0 ;
18117 PyObject * obj2 = 0 ;
18118 PyObject * obj3 = 0 ;
d14a1e28
RD
18119 char *kwnames[] = {
18120 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18121 };
18122
8edf1c75 18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18126 arg2 = (int) SWIG_AsInt(obj1);
18127 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18128 if (obj2) {
2f4c0a16
RD
18129 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18130 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18131 }
18132 if (obj3) {
2f4c0a16
RD
18133 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18134 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18135 }
d14a1e28
RD
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
02a34c4c 18143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18144 return resultobj;
18145 fail:
18146 return NULL;
18147}
18148
18149
2f4c0a16 18150static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18151 PyObject *resultobj;
18152 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18153 int arg2 ;
d14a1e28
RD
18154 int arg3 = (int) wxDateTime::Mon ;
18155 int arg4 = (int) wxDateTime::Monday_First ;
18156 wxDateTime result;
18157 PyObject * obj0 = 0 ;
8edf1c75
RD
18158 PyObject * obj1 = 0 ;
18159 PyObject * obj2 = 0 ;
18160 PyObject * obj3 = 0 ;
d14a1e28
RD
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18163 };
18164
8edf1c75 18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18168 arg2 = (int) SWIG_AsInt(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18170 if (obj2) {
2f4c0a16
RD
18171 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18172 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18173 }
18174 if (obj3) {
2f4c0a16
RD
18175 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18177 }
d14a1e28
RD
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 {
18186 wxDateTime * resultptr;
18187 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18189 }
18190 return resultobj;
18191 fail:
18192 return NULL;
18193}
18194
18195
2f4c0a16 18196static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18197 PyObject *resultobj;
18198 wxDateTime *arg1 = (wxDateTime *) 0 ;
18199 int arg2 = (int) wxDateTime::Inv_Month ;
18200 int arg3 = (int) wxDateTime::Inv_Year ;
18201 wxDateTime *result;
18202 PyObject * obj0 = 0 ;
8edf1c75
RD
18203 PyObject * obj1 = 0 ;
18204 PyObject * obj2 = 0 ;
d14a1e28
RD
18205 char *kwnames[] = {
18206 (char *) "self",(char *) "month",(char *) "year", NULL
18207 };
18208
8edf1c75 18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18212 if (obj1) {
2f4c0a16
RD
18213 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18214 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18215 }
18216 if (obj2) {
2f4c0a16
RD
18217 arg3 = (int) SWIG_AsInt(obj2);
18218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18219 }
d14a1e28
RD
18220 {
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 {
18223 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18224 result = (wxDateTime *) &_result_ref;
18225 }
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
2f4c0a16 18230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18231 return resultobj;
18232 fail:
18233 return NULL;
18234}
18235
18236
2f4c0a16 18237static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18238 PyObject *resultobj;
18239 wxDateTime *arg1 = (wxDateTime *) 0 ;
18240 int arg2 = (int) wxDateTime::Inv_Month ;
18241 int arg3 = (int) wxDateTime::Inv_Year ;
18242 wxDateTime result;
18243 PyObject * obj0 = 0 ;
8edf1c75
RD
18244 PyObject * obj1 = 0 ;
18245 PyObject * obj2 = 0 ;
d14a1e28
RD
18246 char *kwnames[] = {
18247 (char *) "self",(char *) "month",(char *) "year", NULL
18248 };
18249
8edf1c75 18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18253 if (obj1) {
2f4c0a16
RD
18254 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18255 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18256 }
18257 if (obj2) {
2f4c0a16
RD
18258 arg3 = (int) SWIG_AsInt(obj2);
18259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18260 }
d14a1e28
RD
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 wxDateTime * resultptr;
18270 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18272 }
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
2f4c0a16 18279static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18280 PyObject *resultobj;
18281 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18282 int arg2 ;
d14a1e28
RD
18283 wxDateTime *result;
18284 PyObject * obj0 = 0 ;
8edf1c75 18285 PyObject * obj1 = 0 ;
d14a1e28
RD
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "yday", NULL
18288 };
18289
8edf1c75 18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 arg2 = (int) SWIG_AsInt(obj1);
18294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 {
18298 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18299 result = (wxDateTime *) &_result_ref;
18300 }
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
2f4c0a16 18305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18306 return resultobj;
18307 fail:
18308 return NULL;
18309}
18310
18311
2f4c0a16 18312static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18313 PyObject *resultobj;
18314 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18315 int arg2 ;
d14a1e28
RD
18316 wxDateTime result;
18317 PyObject * obj0 = 0 ;
8edf1c75 18318 PyObject * obj1 = 0 ;
d14a1e28
RD
18319 char *kwnames[] = {
18320 (char *) "self",(char *) "yday", NULL
18321 };
18322
8edf1c75 18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18326 arg2 = (int) SWIG_AsInt(obj1);
18327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (arg1)->GetYearDay(arg2);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 {
18336 wxDateTime * resultptr;
18337 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18339 }
18340 return resultobj;
18341 fail:
18342 return NULL;
18343}
18344
18345
2f4c0a16 18346static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18347 PyObject *resultobj;
18348 wxDateTime *arg1 = (wxDateTime *) 0 ;
18349 double result;
18350 PyObject * obj0 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "self", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (double)(arg1)->GetJulianDayNumber();
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
2f4c0a16 18365 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18366 return resultobj;
18367 fail:
18368 return NULL;
18369}
18370
18371
2f4c0a16 18372static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18373 PyObject *resultobj;
18374 wxDateTime *arg1 = (wxDateTime *) 0 ;
18375 double result;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (double)(arg1)->GetJDN();
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
2f4c0a16 18391 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18392 return resultobj;
18393 fail:
18394 return NULL;
18395}
18396
18397
2f4c0a16 18398static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18399 PyObject *resultobj;
18400 wxDateTime *arg1 = (wxDateTime *) 0 ;
18401 double result;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
2f4c0a16 18417 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18418 return resultobj;
18419 fail:
18420 return NULL;
18421}
18422
18423
2f4c0a16 18424static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18425 PyObject *resultobj;
18426 wxDateTime *arg1 = (wxDateTime *) 0 ;
18427 double result;
18428 PyObject * obj0 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "self", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 result = (double)(arg1)->GetMJD();
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
2f4c0a16 18443 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
2f4c0a16 18450static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18451 PyObject *resultobj;
18452 wxDateTime *arg1 = (wxDateTime *) 0 ;
18453 double result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (double)(arg1)->GetRataDie();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
2f4c0a16 18469 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18470 return resultobj;
18471 fail:
18472 return NULL;
18473}
18474
18475
2f4c0a16 18476static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18477 PyObject *resultobj;
18478 wxDateTime *arg1 = (wxDateTime *) 0 ;
18479 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18480 bool arg3 = (bool) False ;
d14a1e28 18481 wxDateTime result;
44127b65 18482 bool temp2 = False ;
d14a1e28
RD
18483 PyObject * obj0 = 0 ;
18484 PyObject * obj1 = 0 ;
18485 PyObject * obj2 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18493 {
18494 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18495 temp2 = True;
d14a1e28
RD
18496 }
18497 if (obj2) {
2f4c0a16
RD
18498 arg3 = (bool) SWIG_AsBool(obj2);
18499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18500 }
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18504
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 {
18509 wxDateTime * resultptr;
18510 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18512 }
18513 {
44127b65 18514 if (temp2) delete arg2;
d14a1e28
RD
18515 }
18516 return resultobj;
18517 fail:
18518 {
44127b65 18519 if (temp2) delete arg2;
d14a1e28
RD
18520 }
18521 return NULL;
18522}
18523
18524
2f4c0a16 18525static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18526 PyObject *resultobj;
18527 wxDateTime *arg1 = (wxDateTime *) 0 ;
18528 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18529 bool arg3 = (bool) False ;
d14a1e28 18530 wxDateTime *result;
44127b65 18531 bool temp2 = False ;
d14a1e28
RD
18532 PyObject * obj0 = 0 ;
18533 PyObject * obj1 = 0 ;
18534 PyObject * obj2 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18542 {
18543 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18544 temp2 = True;
d14a1e28
RD
18545 }
18546 if (obj2) {
2f4c0a16
RD
18547 arg3 = (bool) SWIG_AsBool(obj2);
18548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18549 }
18550 {
18551 PyThreadState* __tstate = wxPyBeginAllowThreads();
18552 {
18553 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18554 result = (wxDateTime *) &_result_ref;
18555 }
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
2f4c0a16 18560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 18561 {
44127b65 18562 if (temp2) delete arg2;
d14a1e28
RD
18563 }
18564 return resultobj;
18565 fail:
18566 {
44127b65 18567 if (temp2) delete arg2;
d14a1e28
RD
18568 }
18569 return NULL;
18570}
18571
18572
2f4c0a16 18573static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18574 PyObject *resultobj;
18575 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18576 bool arg2 = (bool) False ;
d14a1e28
RD
18577 wxDateTime result;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "noDST", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18587 if (obj1) {
2f4c0a16
RD
18588 arg2 = (bool) SWIG_AsBool(obj1);
18589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18590 }
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (arg1)->ToGMT(arg2);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 {
18599 wxDateTime * resultptr;
18600 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18602 }
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
2f4c0a16 18609static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18610 PyObject *resultobj;
18611 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18612 bool arg2 = (bool) False ;
d14a1e28
RD
18613 wxDateTime *result;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "noDST", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18623 if (obj1) {
2f4c0a16
RD
18624 arg2 = (bool) SWIG_AsBool(obj1);
18625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18626 }
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 {
18630 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18631 result = (wxDateTime *) &_result_ref;
18632 }
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
2f4c0a16 18637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18638 return resultobj;
18639 fail:
18640 return NULL;
18641}
18642
18643
2f4c0a16 18644static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18645 PyObject *resultobj;
18646 wxDateTime *arg1 = (wxDateTime *) 0 ;
18647 int arg2 = (int) wxDateTime::Country_Default ;
18648 int result;
18649 PyObject * obj0 = 0 ;
8edf1c75 18650 PyObject * obj1 = 0 ;
d14a1e28
RD
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "country", NULL
18653 };
18654
8edf1c75 18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18658 if (obj1) {
2f4c0a16
RD
18659 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18660 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18661 }
d14a1e28
RD
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18665
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
2f4c0a16 18669 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18670 return resultobj;
18671 fail:
18672 return NULL;
18673}
18674
18675
2f4c0a16 18676static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18677 PyObject *resultobj;
18678 wxDateTime *arg1 = (wxDateTime *) 0 ;
18679 bool result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (bool)((wxDateTime const *)arg1)->IsValid();
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
02a34c4c 18695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18696 return resultobj;
18697 fail:
18698 return NULL;
18699}
18700
18701
2f4c0a16 18702static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18703 PyObject *resultobj;
18704 wxDateTime *arg1 = (wxDateTime *) 0 ;
18705 time_t result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
2f4c0a16 18721 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18722 return resultobj;
18723 fail:
18724 return NULL;
18725}
18726
18727
2f4c0a16 18728static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18729 PyObject *resultobj;
18730 wxDateTime *arg1 = (wxDateTime *) 0 ;
18731 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18732 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18733 int result;
44127b65 18734 bool temp2 = False ;
d14a1e28
RD
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self",(char *) "tz", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18744 if (obj1) {
18745 {
18746 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18747 temp2 = True;
d14a1e28
RD
18748 }
18749 }
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
2f4c0a16 18757 resultobj = SWIG_FromInt((int)result);
d14a1e28 18758 {
44127b65 18759 if (temp2) delete arg2;
d14a1e28
RD
18760 }
18761 return resultobj;
18762 fail:
18763 {
44127b65 18764 if (temp2) delete arg2;
d14a1e28
RD
18765 }
18766 return NULL;
18767}
18768
18769
2f4c0a16 18770static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18771 PyObject *resultobj;
18772 wxDateTime *arg1 = (wxDateTime *) 0 ;
18773 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18774 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18775 int result;
44127b65 18776 bool temp2 = False ;
d14a1e28
RD
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self",(char *) "tz", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18786 if (obj1) {
18787 {
18788 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18789 temp2 = True;
d14a1e28
RD
18790 }
18791 }
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
2f4c0a16 18799 resultobj = SWIG_FromInt((int)result);
d14a1e28 18800 {
44127b65 18801 if (temp2) delete arg2;
d14a1e28
RD
18802 }
18803 return resultobj;
18804 fail:
18805 {
44127b65 18806 if (temp2) delete arg2;
d14a1e28
RD
18807 }
18808 return NULL;
18809}
18810
18811
2f4c0a16 18812static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18813 PyObject *resultobj;
18814 wxDateTime *arg1 = (wxDateTime *) 0 ;
18815 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18816 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18817 int result;
18818 bool temp2 = False ;
d14a1e28
RD
18819 PyObject * obj0 = 0 ;
18820 PyObject * obj1 = 0 ;
18821 char *kwnames[] = {
18822 (char *) "self",(char *) "tz", NULL
18823 };
18824
18825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18828 if (obj1) {
18829 {
18830 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18831 temp2 = True;
d14a1e28
RD
18832 }
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18836 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
2f4c0a16 18841 resultobj = SWIG_FromInt((int)result);
d14a1e28 18842 {
44127b65 18843 if (temp2) delete arg2;
d14a1e28
RD
18844 }
18845 return resultobj;
18846 fail:
18847 {
44127b65 18848 if (temp2) delete arg2;
d14a1e28
RD
18849 }
18850 return NULL;
18851}
18852
18853
2f4c0a16 18854static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18855 PyObject *resultobj;
18856 wxDateTime *arg1 = (wxDateTime *) 0 ;
18857 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18858 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18859 int result;
44127b65 18860 bool temp2 = False ;
d14a1e28
RD
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "tz", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18870 if (obj1) {
18871 {
18872 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18873 temp2 = True;
d14a1e28
RD
18874 }
18875 }
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
2f4c0a16 18883 resultobj = SWIG_FromInt((int)result);
d14a1e28 18884 {
44127b65 18885 if (temp2) delete arg2;
d14a1e28
RD
18886 }
18887 return resultobj;
18888 fail:
18889 {
44127b65 18890 if (temp2) delete arg2;
d14a1e28
RD
18891 }
18892 return NULL;
18893}
18894
18895
2f4c0a16 18896static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18897 PyObject *resultobj;
18898 wxDateTime *arg1 = (wxDateTime *) 0 ;
18899 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18900 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18901 int result;
18902 bool temp2 = False ;
d14a1e28
RD
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self",(char *) "tz", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18912 if (obj1) {
18913 {
18914 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18915 temp2 = True;
d14a1e28
RD
18916 }
18917 }
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18920 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
2f4c0a16 18925 resultobj = SWIG_FromInt((int)result);
d14a1e28 18926 {
44127b65 18927 if (temp2) delete arg2;
d14a1e28
RD
18928 }
18929 return resultobj;
18930 fail:
18931 {
44127b65 18932 if (temp2) delete arg2;
d14a1e28
RD
18933 }
18934 return NULL;
18935}
18936
18937
2f4c0a16 18938static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18939 PyObject *resultobj;
18940 wxDateTime *arg1 = (wxDateTime *) 0 ;
18941 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18942 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18943 int result;
18944 bool temp2 = False ;
d14a1e28
RD
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "tz", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18954 if (obj1) {
18955 {
18956 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18957 temp2 = True;
d14a1e28
RD
18958 }
18959 }
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18962 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
2f4c0a16 18967 resultobj = SWIG_FromInt((int)result);
d14a1e28 18968 {
44127b65 18969 if (temp2) delete arg2;
d14a1e28
RD
18970 }
18971 return resultobj;
18972 fail:
18973 {
44127b65 18974 if (temp2) delete arg2;
d14a1e28
RD
18975 }
18976 return NULL;
18977}
18978
18979
2f4c0a16 18980static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18981 PyObject *resultobj;
18982 wxDateTime *arg1 = (wxDateTime *) 0 ;
18983 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18984 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18985 int result;
18986 bool temp2 = False ;
d14a1e28
RD
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "tz", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18996 if (obj1) {
18997 {
18998 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18999 temp2 = True;
d14a1e28
RD
19000 }
19001 }
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19004 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
2f4c0a16 19009 resultobj = SWIG_FromInt((int)result);
d14a1e28 19010 {
44127b65 19011 if (temp2) delete arg2;
d14a1e28
RD
19012 }
19013 return resultobj;
19014 fail:
19015 {
44127b65 19016 if (temp2) delete arg2;
d14a1e28
RD
19017 }
19018 return NULL;
19019}
19020
19021
2f4c0a16 19022static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19023 PyObject *resultobj;
19024 wxDateTime *arg1 = (wxDateTime *) 0 ;
19025 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19026 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19027 int result;
19028 bool temp2 = False ;
d14a1e28
RD
19029 PyObject * obj0 = 0 ;
19030 PyObject * obj1 = 0 ;
19031 char *kwnames[] = {
19032 (char *) "self",(char *) "tz", NULL
19033 };
19034
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19038 if (obj1) {
19039 {
19040 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19041 temp2 = True;
d14a1e28
RD
19042 }
19043 }
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19046 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19047
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
2f4c0a16 19051 resultobj = SWIG_FromInt((int)result);
d14a1e28 19052 {
44127b65 19053 if (temp2) delete arg2;
d14a1e28
RD
19054 }
19055 return resultobj;
19056 fail:
19057 {
44127b65 19058 if (temp2) delete arg2;
d14a1e28
RD
19059 }
19060 return NULL;
19061}
19062
19063
2f4c0a16 19064static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19065 PyObject *resultobj;
19066 wxDateTime *arg1 = (wxDateTime *) 0 ;
19067 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19068 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19069 int result;
19070 bool temp2 = False ;
d14a1e28
RD
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "tz", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19080 if (obj1) {
19081 {
19082 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19083 temp2 = True;
d14a1e28
RD
19084 }
19085 }
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19088 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19089
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
2f4c0a16 19093 resultobj = SWIG_FromInt((int)result);
d14a1e28 19094 {
44127b65 19095 if (temp2) delete arg2;
d14a1e28
RD
19096 }
19097 return resultobj;
19098 fail:
19099 {
44127b65 19100 if (temp2) delete arg2;
d14a1e28
RD
19101 }
19102 return NULL;
19103}
19104
19105
2f4c0a16 19106static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19107 PyObject *resultobj;
19108 wxDateTime *arg1 = (wxDateTime *) 0 ;
19109 int arg2 = (int) wxDateTime::Monday_First ;
19110 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19111 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19112 int result;
19113 bool temp3 = False ;
d14a1e28 19114 PyObject * obj0 = 0 ;
8edf1c75 19115 PyObject * obj1 = 0 ;
d14a1e28
RD
19116 PyObject * obj2 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "flags",(char *) "tz", NULL
19119 };
19120
8edf1c75 19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19124 if (obj1) {
2f4c0a16
RD
19125 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19127 }
d14a1e28
RD
19128 if (obj2) {
19129 {
19130 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19131 temp3 = True;
d14a1e28
RD
19132 }
19133 }
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19136 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
2f4c0a16 19141 resultobj = SWIG_FromInt((int)result);
d14a1e28 19142 {
44127b65 19143 if (temp3) delete arg3;
d14a1e28
RD
19144 }
19145 return resultobj;
19146 fail:
19147 {
44127b65 19148 if (temp3) delete arg3;
d14a1e28
RD
19149 }
19150 return NULL;
19151}
19152
19153
2f4c0a16 19154static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19155 PyObject *resultobj;
19156 wxDateTime *arg1 = (wxDateTime *) 0 ;
19157 int arg2 = (int) wxDateTime::Monday_First ;
19158 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19159 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19160 int result;
19161 bool temp3 = False ;
d14a1e28 19162 PyObject * obj0 = 0 ;
8edf1c75 19163 PyObject * obj1 = 0 ;
d14a1e28
RD
19164 PyObject * obj2 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self",(char *) "flags",(char *) "tz", NULL
19167 };
19168
8edf1c75 19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19172 if (obj1) {
2f4c0a16
RD
19173 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19174 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19175 }
d14a1e28
RD
19176 if (obj2) {
19177 {
19178 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19179 temp3 = True;
d14a1e28
RD
19180 }
19181 }
19182 {
19183 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19184 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19185
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
2f4c0a16 19189 resultobj = SWIG_FromInt((int)result);
d14a1e28 19190 {
44127b65 19191 if (temp3) delete arg3;
d14a1e28
RD
19192 }
19193 return resultobj;
19194 fail:
19195 {
44127b65 19196 if (temp3) delete arg3;
d14a1e28
RD
19197 }
19198 return NULL;
19199}
19200
19201
2f4c0a16 19202static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19203 PyObject *resultobj;
19204 wxDateTime *arg1 = (wxDateTime *) 0 ;
19205 int arg2 = (int) wxDateTime::Country_Default ;
19206 bool result;
19207 PyObject * obj0 = 0 ;
8edf1c75 19208 PyObject * obj1 = 0 ;
d14a1e28
RD
19209 char *kwnames[] = {
19210 (char *) "self",(char *) "country", NULL
19211 };
19212
8edf1c75 19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19216 if (obj1) {
2f4c0a16
RD
19217 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19219 }
d14a1e28
RD
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
02a34c4c 19227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
2f4c0a16 19234static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19235 PyObject *resultobj;
19236 wxDateTime *arg1 = (wxDateTime *) 0 ;
19237 wxDateTime *arg2 = 0 ;
19238 bool result;
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self",(char *) "datetime", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19249 SWIG_POINTER_EXCEPTION | 0)) == -1)
19250 SWIG_fail;
d14a1e28 19251 if (arg2 == NULL) {
2f4c0a16
RD
19252 PyErr_SetString(PyExc_TypeError,"null reference");
19253 SWIG_fail;
d14a1e28
RD
19254 }
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
02a34c4c 19262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19263 return resultobj;
19264 fail:
19265 return NULL;
19266}
19267
19268
2f4c0a16 19269static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19270 PyObject *resultobj;
19271 wxDateTime *arg1 = (wxDateTime *) 0 ;
19272 wxDateTime *arg2 = 0 ;
19273 bool result;
19274 PyObject * obj0 = 0 ;
19275 PyObject * obj1 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self",(char *) "datetime", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19284 SWIG_POINTER_EXCEPTION | 0)) == -1)
19285 SWIG_fail;
d14a1e28 19286 if (arg2 == NULL) {
2f4c0a16
RD
19287 PyErr_SetString(PyExc_TypeError,"null reference");
19288 SWIG_fail;
d14a1e28
RD
19289 }
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
02a34c4c 19297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19298 return resultobj;
19299 fail:
19300 return NULL;
19301}
19302
19303
2f4c0a16 19304static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19305 PyObject *resultobj;
19306 wxDateTime *arg1 = (wxDateTime *) 0 ;
19307 wxDateTime *arg2 = 0 ;
19308 bool result;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self",(char *) "datetime", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19319 SWIG_POINTER_EXCEPTION | 0)) == -1)
19320 SWIG_fail;
d14a1e28 19321 if (arg2 == NULL) {
2f4c0a16
RD
19322 PyErr_SetString(PyExc_TypeError,"null reference");
19323 SWIG_fail;
d14a1e28
RD
19324 }
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
02a34c4c 19332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19333 return resultobj;
19334 fail:
19335 return NULL;
19336}
19337
19338
2f4c0a16 19339static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19340 PyObject *resultobj;
19341 wxDateTime *arg1 = (wxDateTime *) 0 ;
19342 wxDateTime *arg2 = 0 ;
19343 wxDateTime *arg3 = 0 ;
19344 bool result;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj1 = 0 ;
19347 PyObject * obj2 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self",(char *) "t1",(char *) "t2", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19356 SWIG_POINTER_EXCEPTION | 0)) == -1)
19357 SWIG_fail;
d14a1e28 19358 if (arg2 == NULL) {
2f4c0a16
RD
19359 PyErr_SetString(PyExc_TypeError,"null reference");
19360 SWIG_fail;
d14a1e28 19361 }
2f4c0a16
RD
19362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1)
19364 SWIG_fail;
d14a1e28 19365 if (arg3 == NULL) {
2f4c0a16
RD
19366 PyErr_SetString(PyExc_TypeError,"null reference");
19367 SWIG_fail;
d14a1e28
RD
19368 }
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
02a34c4c 19376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19377 return resultobj;
19378 fail:
19379 return NULL;
19380}
19381
19382
2f4c0a16 19383static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19384 PyObject *resultobj;
19385 wxDateTime *arg1 = (wxDateTime *) 0 ;
19386 wxDateTime *arg2 = 0 ;
19387 wxDateTime *arg3 = 0 ;
19388 bool result;
19389 PyObject * obj0 = 0 ;
19390 PyObject * obj1 = 0 ;
19391 PyObject * obj2 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self",(char *) "t1",(char *) "t2", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1)
19401 SWIG_fail;
d14a1e28 19402 if (arg2 == NULL) {
2f4c0a16
RD
19403 PyErr_SetString(PyExc_TypeError,"null reference");
19404 SWIG_fail;
d14a1e28 19405 }
2f4c0a16
RD
19406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1)
19408 SWIG_fail;
d14a1e28 19409 if (arg3 == NULL) {
2f4c0a16
RD
19410 PyErr_SetString(PyExc_TypeError,"null reference");
19411 SWIG_fail;
d14a1e28
RD
19412 }
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
02a34c4c 19420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19421 return resultobj;
19422 fail:
19423 return NULL;
19424}
19425
19426
2f4c0a16 19427static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19428 PyObject *resultobj;
19429 wxDateTime *arg1 = (wxDateTime *) 0 ;
19430 wxDateTime *arg2 = 0 ;
19431 bool result;
19432 PyObject * obj0 = 0 ;
19433 PyObject * obj1 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self",(char *) "dt", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19442 SWIG_POINTER_EXCEPTION | 0)) == -1)
19443 SWIG_fail;
d14a1e28 19444 if (arg2 == NULL) {
2f4c0a16
RD
19445 PyErr_SetString(PyExc_TypeError,"null reference");
19446 SWIG_fail;
d14a1e28
RD
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
02a34c4c 19455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19456 return resultobj;
19457 fail:
19458 return NULL;
19459}
19460
19461
2f4c0a16 19462static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19463 PyObject *resultobj;
19464 wxDateTime *arg1 = (wxDateTime *) 0 ;
19465 wxDateTime *arg2 = 0 ;
19466 bool result;
19467 PyObject * obj0 = 0 ;
19468 PyObject * obj1 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self",(char *) "dt", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19477 SWIG_POINTER_EXCEPTION | 0)) == -1)
19478 SWIG_fail;
d14a1e28 19479 if (arg2 == NULL) {
2f4c0a16
RD
19480 PyErr_SetString(PyExc_TypeError,"null reference");
19481 SWIG_fail;
d14a1e28
RD
19482 }
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
02a34c4c 19490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19491 return resultobj;
19492 fail:
19493 return NULL;
19494}
19495
19496
2f4c0a16 19497static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19498 PyObject *resultobj;
19499 wxDateTime *arg1 = (wxDateTime *) 0 ;
19500 wxDateTime *arg2 = 0 ;
19501 wxTimeSpan *arg3 = 0 ;
19502 bool result;
19503 PyObject * obj0 = 0 ;
19504 PyObject * obj1 = 0 ;
19505 PyObject * obj2 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self",(char *) "dt",(char *) "ts", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1)
19515 SWIG_fail;
d14a1e28 19516 if (arg2 == NULL) {
2f4c0a16
RD
19517 PyErr_SetString(PyExc_TypeError,"null reference");
19518 SWIG_fail;
d14a1e28 19519 }
2f4c0a16
RD
19520 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19521 SWIG_POINTER_EXCEPTION | 0)) == -1)
19522 SWIG_fail;
d14a1e28 19523 if (arg3 == NULL) {
2f4c0a16
RD
19524 PyErr_SetString(PyExc_TypeError,"null reference");
19525 SWIG_fail;
d14a1e28
RD
19526 }
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
02a34c4c 19534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19535 return resultobj;
19536 fail:
19537 return NULL;
19538}
19539
19540
2f4c0a16 19541static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19542 PyObject *resultobj;
19543 wxDateTime *arg1 = (wxDateTime *) 0 ;
19544 wxTimeSpan *arg2 = 0 ;
19545 wxDateTime *result;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self",(char *) "diff", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1)
19557 SWIG_fail;
d14a1e28 19558 if (arg2 == NULL) {
2f4c0a16
RD
19559 PyErr_SetString(PyExc_TypeError,"null reference");
19560 SWIG_fail;
d14a1e28
RD
19561 }
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 {
19565 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19566 result = (wxDateTime *) &_result_ref;
19567 }
19568
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
2f4c0a16 19572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19573 return resultobj;
19574 fail:
19575 return NULL;
19576}
19577
19578
2f4c0a16 19579static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19580 PyObject *resultobj;
19581 wxDateTime *arg1 = (wxDateTime *) 0 ;
19582 wxDateSpan *arg2 = 0 ;
19583 wxDateTime *result;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self",(char *) "diff", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19594 SWIG_POINTER_EXCEPTION | 0)) == -1)
19595 SWIG_fail;
d14a1e28 19596 if (arg2 == NULL) {
2f4c0a16
RD
19597 PyErr_SetString(PyExc_TypeError,"null reference");
19598 SWIG_fail;
d14a1e28
RD
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 {
19603 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19604 result = (wxDateTime *) &_result_ref;
19605 }
19606
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
2f4c0a16 19610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19611 return resultobj;
19612 fail:
19613 return NULL;
19614}
19615
19616
2f4c0a16 19617static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19618 PyObject *resultobj;
19619 wxDateTime *arg1 = (wxDateTime *) 0 ;
19620 wxTimeSpan *arg2 = 0 ;
19621 wxDateTime *result;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "diff", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1)
19633 SWIG_fail;
d14a1e28 19634 if (arg2 == NULL) {
2f4c0a16
RD
19635 PyErr_SetString(PyExc_TypeError,"null reference");
19636 SWIG_fail;
d14a1e28
RD
19637 }
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 {
19641 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19642 result = (wxDateTime *) &_result_ref;
19643 }
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
2f4c0a16 19648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19649 return resultobj;
19650 fail:
19651 return NULL;
19652}
19653
19654
2f4c0a16 19655static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19656 PyObject *resultobj;
19657 wxDateTime *arg1 = (wxDateTime *) 0 ;
19658 wxDateSpan *arg2 = 0 ;
19659 wxDateTime *result;
19660 PyObject * obj0 = 0 ;
19661 PyObject * obj1 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self",(char *) "diff", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19670 SWIG_POINTER_EXCEPTION | 0)) == -1)
19671 SWIG_fail;
d14a1e28 19672 if (arg2 == NULL) {
2f4c0a16
RD
19673 PyErr_SetString(PyExc_TypeError,"null reference");
19674 SWIG_fail;
d14a1e28
RD
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 {
19679 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19680 result = (wxDateTime *) &_result_ref;
19681 }
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
2f4c0a16 19686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19687 return resultobj;
19688 fail:
19689 return NULL;
19690}
19691
19692
2f4c0a16 19693static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19694 PyObject *resultobj;
19695 wxDateTime *arg1 = (wxDateTime *) 0 ;
19696 wxDateTime *arg2 = 0 ;
19697 wxTimeSpan result;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self",(char *) "dt", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1)
19709 SWIG_fail;
d14a1e28 19710 if (arg2 == NULL) {
2f4c0a16
RD
19711 PyErr_SetString(PyExc_TypeError,"null reference");
19712 SWIG_fail;
d14a1e28
RD
19713 }
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19717
19718 wxPyEndAllowThreads(__tstate);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 {
19722 wxTimeSpan * resultptr;
19723 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 19724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
19725 }
19726 return resultobj;
19727 fail:
19728 return NULL;
19729}
19730
19731
2f4c0a16 19732static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19733 PyObject *resultobj;
19734 wxDateTime *arg1 = (wxDateTime *) 0 ;
19735 wxTimeSpan *arg2 = 0 ;
19736 wxDateTime *result;
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739
19740 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1)
19745 SWIG_fail;
d14a1e28 19746 if (arg2 == NULL) {
2f4c0a16
RD
19747 PyErr_SetString(PyExc_TypeError,"null reference");
19748 SWIG_fail;
d14a1e28
RD
19749 }
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 {
19753 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19754 result = (wxDateTime *) &_result_ref;
19755 }
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
2f4c0a16 19760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19761 return resultobj;
19762 fail:
19763 return NULL;
19764}
19765
19766
2f4c0a16 19767static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
19768 PyObject *resultobj;
19769 wxDateTime *arg1 = (wxDateTime *) 0 ;
19770 wxDateSpan *arg2 = 0 ;
19771 wxDateTime *result;
19772 PyObject * obj0 = 0 ;
19773 PyObject * obj1 = 0 ;
19774
19775 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19779 SWIG_POINTER_EXCEPTION | 0)) == -1)
19780 SWIG_fail;
d14a1e28 19781 if (arg2 == NULL) {
2f4c0a16
RD
19782 PyErr_SetString(PyExc_TypeError,"null reference");
19783 SWIG_fail;
d14a1e28
RD
19784 }
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 {
19788 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19789 result = (wxDateTime *) &_result_ref;
19790 }
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
2f4c0a16 19795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
19802static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19803 int argc;
19804 PyObject *argv[3];
19805 int ii;
19806
19807 argc = PyObject_Length(args);
19808 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19809 argv[ii] = PyTuple_GetItem(args,ii);
19810 }
19811 if (argc == 2) {
19812 int _v;
19813 {
19814 void *ptr;
2f4c0a16 19815 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19816 _v = 0;
19817 PyErr_Clear();
19818 } else {
19819 _v = 1;
19820 }
19821 }
19822 if (_v) {
19823 {
19824 void *ptr;
2f4c0a16 19825 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
19826 _v = 0;
19827 PyErr_Clear();
19828 } else {
19829 _v = 1;
19830 }
19831 }
19832 if (_v) {
19833 return _wrap_DateTime___iadd____SWIG_0(self,args);
19834 }
19835 }
19836 }
19837 if (argc == 2) {
19838 int _v;
19839 {
19840 void *ptr;
2f4c0a16 19841 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19842 _v = 0;
19843 PyErr_Clear();
19844 } else {
19845 _v = 1;
19846 }
19847 }
19848 if (_v) {
19849 {
19850 void *ptr;
2f4c0a16 19851 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
19852 _v = 0;
19853 PyErr_Clear();
19854 } else {
19855 _v = 1;
19856 }
19857 }
19858 if (_v) {
19859 return _wrap_DateTime___iadd____SWIG_1(self,args);
19860 }
19861 }
19862 }
19863
19864 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19865 return NULL;
19866}
19867
19868
2f4c0a16 19869static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19870 PyObject *resultobj;
19871 wxDateTime *arg1 = (wxDateTime *) 0 ;
19872 wxTimeSpan *arg2 = 0 ;
19873 wxDateTime *result;
19874 PyObject * obj0 = 0 ;
19875 PyObject * obj1 = 0 ;
19876
19877 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19881 SWIG_POINTER_EXCEPTION | 0)) == -1)
19882 SWIG_fail;
d14a1e28 19883 if (arg2 == NULL) {
2f4c0a16
RD
19884 PyErr_SetString(PyExc_TypeError,"null reference");
19885 SWIG_fail;
d14a1e28
RD
19886 }
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 {
19890 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19891 result = (wxDateTime *) &_result_ref;
19892 }
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
2f4c0a16 19897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19898 return resultobj;
19899 fail:
19900 return NULL;
19901}
19902
19903
2f4c0a16 19904static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
19905 PyObject *resultobj;
19906 wxDateTime *arg1 = (wxDateTime *) 0 ;
19907 wxDateSpan *arg2 = 0 ;
19908 wxDateTime *result;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911
19912 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1)
19917 SWIG_fail;
d14a1e28 19918 if (arg2 == NULL) {
2f4c0a16
RD
19919 PyErr_SetString(PyExc_TypeError,"null reference");
19920 SWIG_fail;
d14a1e28
RD
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 {
19925 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19926 result = (wxDateTime *) &_result_ref;
19927 }
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
2f4c0a16 19932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
19939static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19940 int argc;
19941 PyObject *argv[3];
19942 int ii;
19943
19944 argc = PyObject_Length(args);
19945 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19946 argv[ii] = PyTuple_GetItem(args,ii);
19947 }
19948 if (argc == 2) {
19949 int _v;
19950 {
19951 void *ptr;
2f4c0a16 19952 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19953 _v = 0;
19954 PyErr_Clear();
19955 } else {
19956 _v = 1;
19957 }
19958 }
19959 if (_v) {
19960 {
19961 void *ptr;
2f4c0a16 19962 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
19963 _v = 0;
19964 PyErr_Clear();
19965 } else {
19966 _v = 1;
19967 }
19968 }
19969 if (_v) {
19970 return _wrap_DateTime___isub____SWIG_0(self,args);
19971 }
19972 }
19973 }
19974 if (argc == 2) {
19975 int _v;
19976 {
19977 void *ptr;
2f4c0a16 19978 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19979 _v = 0;
19980 PyErr_Clear();
19981 } else {
19982 _v = 1;
19983 }
19984 }
19985 if (_v) {
19986 {
19987 void *ptr;
2f4c0a16 19988 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
19989 _v = 0;
19990 PyErr_Clear();
19991 } else {
19992 _v = 1;
19993 }
19994 }
19995 if (_v) {
19996 return _wrap_DateTime___isub____SWIG_1(self,args);
19997 }
19998 }
19999 }
20000
20001 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20002 return NULL;
20003}
20004
20005
2f4c0a16 20006static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20007 PyObject *resultobj;
20008 wxDateTime *arg1 = (wxDateTime *) 0 ;
20009 wxTimeSpan *arg2 = 0 ;
20010 wxDateTime result;
20011 PyObject * obj0 = 0 ;
20012 PyObject * obj1 = 0 ;
20013
20014 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1)
20019 SWIG_fail;
d14a1e28 20020 if (arg2 == NULL) {
2f4c0a16
RD
20021 PyErr_SetString(PyExc_TypeError,"null reference");
20022 SWIG_fail;
d14a1e28
RD
20023 }
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032 wxDateTime * resultptr;
20033 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20035 }
20036 return resultobj;
20037 fail:
20038 return NULL;
20039}
20040
20041
2f4c0a16 20042static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20043 PyObject *resultobj;
20044 wxDateTime *arg1 = (wxDateTime *) 0 ;
20045 wxDateSpan *arg2 = 0 ;
20046 wxDateTime result;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049
20050 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20054 SWIG_POINTER_EXCEPTION | 0)) == -1)
20055 SWIG_fail;
d14a1e28 20056 if (arg2 == NULL) {
2f4c0a16
RD
20057 PyErr_SetString(PyExc_TypeError,"null reference");
20058 SWIG_fail;
d14a1e28
RD
20059 }
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 {
20068 wxDateTime * resultptr;
20069 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20071 }
20072 return resultobj;
20073 fail:
20074 return NULL;
20075}
20076
20077
20078static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20079 int argc;
20080 PyObject *argv[3];
20081 int ii;
20082
20083 argc = PyObject_Length(args);
20084 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20085 argv[ii] = PyTuple_GetItem(args,ii);
20086 }
20087 if (argc == 2) {
20088 int _v;
20089 {
20090 void *ptr;
2f4c0a16 20091 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20092 _v = 0;
20093 PyErr_Clear();
20094 } else {
20095 _v = 1;
20096 }
20097 }
20098 if (_v) {
20099 {
20100 void *ptr;
2f4c0a16 20101 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20102 _v = 0;
20103 PyErr_Clear();
20104 } else {
20105 _v = 1;
20106 }
20107 }
20108 if (_v) {
20109 return _wrap_DateTime___add____SWIG_0(self,args);
20110 }
20111 }
20112 }
20113 if (argc == 2) {
20114 int _v;
20115 {
20116 void *ptr;
2f4c0a16 20117 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20118 _v = 0;
20119 PyErr_Clear();
20120 } else {
20121 _v = 1;
20122 }
20123 }
20124 if (_v) {
20125 {
20126 void *ptr;
2f4c0a16 20127 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20128 _v = 0;
20129 PyErr_Clear();
20130 } else {
20131 _v = 1;
20132 }
20133 }
20134 if (_v) {
20135 return _wrap_DateTime___add____SWIG_1(self,args);
20136 }
20137 }
20138 }
20139
20140 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20141 return NULL;
20142}
20143
20144
2f4c0a16 20145static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20146 PyObject *resultobj;
20147 wxDateTime *arg1 = (wxDateTime *) 0 ;
20148 wxDateTime *arg2 = 0 ;
20149 wxTimeSpan result;
20150 PyObject * obj0 = 0 ;
20151 PyObject * obj1 = 0 ;
20152
20153 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1)
20158 SWIG_fail;
d14a1e28 20159 if (arg2 == NULL) {
2f4c0a16
RD
20160 PyErr_SetString(PyExc_TypeError,"null reference");
20161 SWIG_fail;
d14a1e28
RD
20162 }
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 {
20171 wxTimeSpan * resultptr;
20172 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 20173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20174 }
20175 return resultobj;
20176 fail:
20177 return NULL;
20178}
20179
20180
2f4c0a16 20181static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20182 PyObject *resultobj;
20183 wxDateTime *arg1 = (wxDateTime *) 0 ;
20184 wxTimeSpan *arg2 = 0 ;
20185 wxDateTime result;
20186 PyObject * obj0 = 0 ;
20187 PyObject * obj1 = 0 ;
20188
20189 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1)
20194 SWIG_fail;
d14a1e28 20195 if (arg2 == NULL) {
2f4c0a16
RD
20196 PyErr_SetString(PyExc_TypeError,"null reference");
20197 SWIG_fail;
d14a1e28
RD
20198 }
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 wxDateTime * resultptr;
20208 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214}
20215
20216
2f4c0a16 20217static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
20218 PyObject *resultobj;
20219 wxDateTime *arg1 = (wxDateTime *) 0 ;
20220 wxDateSpan *arg2 = 0 ;
20221 wxDateTime result;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224
20225 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1)
20230 SWIG_fail;
d14a1e28 20231 if (arg2 == NULL) {
2f4c0a16
RD
20232 PyErr_SetString(PyExc_TypeError,"null reference");
20233 SWIG_fail;
d14a1e28
RD
20234 }
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 {
20243 wxDateTime * resultptr;
20244 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20246 }
20247 return resultobj;
20248 fail:
20249 return NULL;
20250}
20251
20252
20253static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20254 int argc;
20255 PyObject *argv[3];
20256 int ii;
20257
20258 argc = PyObject_Length(args);
20259 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20260 argv[ii] = PyTuple_GetItem(args,ii);
20261 }
20262 if (argc == 2) {
20263 int _v;
20264 {
20265 void *ptr;
2f4c0a16 20266 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20267 _v = 0;
20268 PyErr_Clear();
20269 } else {
20270 _v = 1;
20271 }
20272 }
20273 if (_v) {
20274 {
20275 void *ptr;
2f4c0a16 20276 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20277 _v = 0;
20278 PyErr_Clear();
20279 } else {
20280 _v = 1;
20281 }
20282 }
20283 if (_v) {
20284 return _wrap_DateTime___sub____SWIG_0(self,args);
20285 }
20286 }
20287 }
20288 if (argc == 2) {
20289 int _v;
20290 {
20291 void *ptr;
2f4c0a16 20292 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20293 _v = 0;
20294 PyErr_Clear();
20295 } else {
20296 _v = 1;
20297 }
20298 }
20299 if (_v) {
20300 {
20301 void *ptr;
2f4c0a16 20302 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20303 _v = 0;
20304 PyErr_Clear();
20305 } else {
20306 _v = 1;
20307 }
20308 }
20309 if (_v) {
20310 return _wrap_DateTime___sub____SWIG_1(self,args);
20311 }
20312 }
20313 }
20314 if (argc == 2) {
20315 int _v;
20316 {
20317 void *ptr;
2f4c0a16 20318 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20319 _v = 0;
20320 PyErr_Clear();
20321 } else {
20322 _v = 1;
20323 }
20324 }
20325 if (_v) {
20326 {
20327 void *ptr;
2f4c0a16 20328 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20329 _v = 0;
20330 PyErr_Clear();
20331 } else {
20332 _v = 1;
20333 }
20334 }
20335 if (_v) {
20336 return _wrap_DateTime___sub____SWIG_2(self,args);
20337 }
20338 }
20339 }
20340
20341 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20342 return NULL;
20343}
20344
20345
2f4c0a16 20346static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
d14a1e28
RD
20347 PyObject *resultobj;
20348 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20349 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20350 bool result;
20351 PyObject * obj0 = 0 ;
20352 PyObject * obj1 = 0 ;
20353
20354 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20361 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
02a34c4c 20366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20367 return resultobj;
20368 fail:
20369 return NULL;
20370}
20371
20372
2f4c0a16 20373static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
d14a1e28
RD
20374 PyObject *resultobj;
20375 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20376 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20377 bool result;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380
20381 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20388 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
02a34c4c 20393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20394 return resultobj;
20395 fail:
20396 return NULL;
20397}
20398
20399
2f4c0a16 20400static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
d14a1e28
RD
20401 PyObject *resultobj;
20402 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20403 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20404 bool result;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407
20408 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20415 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
02a34c4c 20420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20421 return resultobj;
20422 fail:
20423 return NULL;
20424}
20425
20426
2f4c0a16 20427static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
d14a1e28
RD
20428 PyObject *resultobj;
20429 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20430 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20431 bool result;
20432 PyObject * obj0 = 0 ;
20433 PyObject * obj1 = 0 ;
20434
20435 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20442 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
02a34c4c 20447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20448 return resultobj;
20449 fail:
20450 return NULL;
20451}
20452
20453
2f4c0a16 20454static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
d14a1e28
RD
20455 PyObject *resultobj;
20456 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20457 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20458 bool result;
20459 PyObject * obj0 = 0 ;
20460 PyObject * obj1 = 0 ;
20461
20462 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20469 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
02a34c4c 20474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20475 return resultobj;
20476 fail:
20477 return NULL;
20478}
20479
20480
2f4c0a16 20481static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
d14a1e28
RD
20482 PyObject *resultobj;
20483 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20484 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20485 bool result;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488
20489 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20496 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20497
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
02a34c4c 20501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20502 return resultobj;
20503 fail:
20504 return NULL;
20505}
20506
20507
2f4c0a16 20508static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20509 PyObject *resultobj;
20510 wxDateTime *arg1 = (wxDateTime *) 0 ;
20511 wxString *arg2 = 0 ;
20512 int result;
423f194a 20513 bool temp2 = False ;
d14a1e28
RD
20514 PyObject * obj0 = 0 ;
20515 PyObject * obj1 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self",(char *) "date", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20523 {
20524 arg2 = wxString_in_helper(obj1);
20525 if (arg2 == NULL) SWIG_fail;
423f194a 20526 temp2 = True;
d14a1e28
RD
20527 }
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
2f4c0a16 20535 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20536 {
20537 if (temp2)
20538 delete arg2;
20539 }
20540 return resultobj;
20541 fail:
20542 {
20543 if (temp2)
20544 delete arg2;
20545 }
20546 return NULL;
20547}
20548
20549
2f4c0a16 20550static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20551 PyObject *resultobj;
20552 wxDateTime *arg1 = (wxDateTime *) 0 ;
20553 wxString *arg2 = 0 ;
20554 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20555 wxString *arg3 = (wxString *) &arg3_defvalue ;
20556 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20557 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20558 int result;
423f194a
RD
20559 bool temp2 = False ;
20560 bool temp3 = False ;
d14a1e28
RD
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 PyObject * obj2 = 0 ;
20564 PyObject * obj3 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20572 {
20573 arg2 = wxString_in_helper(obj1);
20574 if (arg2 == NULL) SWIG_fail;
423f194a 20575 temp2 = True;
d14a1e28
RD
20576 }
20577 if (obj2) {
20578 {
20579 arg3 = wxString_in_helper(obj2);
20580 if (arg3 == NULL) SWIG_fail;
423f194a 20581 temp3 = True;
d14a1e28
RD
20582 }
20583 }
20584 if (obj3) {
2f4c0a16
RD
20585 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1)
20587 SWIG_fail;
d14a1e28 20588 if (arg4 == NULL) {
2f4c0a16
RD
20589 PyErr_SetString(PyExc_TypeError,"null reference");
20590 SWIG_fail;
d14a1e28
RD
20591 }
20592 }
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
2f4c0a16 20600 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20601 {
20602 if (temp2)
20603 delete arg2;
20604 }
20605 {
20606 if (temp3)
20607 delete arg3;
20608 }
20609 return resultobj;
20610 fail:
20611 {
20612 if (temp2)
20613 delete arg2;
20614 }
20615 {
20616 if (temp3)
20617 delete arg3;
20618 }
20619 return NULL;
20620}
20621
20622
2f4c0a16 20623static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20624 PyObject *resultobj;
20625 wxDateTime *arg1 = (wxDateTime *) 0 ;
20626 wxString *arg2 = 0 ;
20627 int result;
423f194a 20628 bool temp2 = False ;
d14a1e28
RD
20629 PyObject * obj0 = 0 ;
20630 PyObject * obj1 = 0 ;
20631 char *kwnames[] = {
20632 (char *) "self",(char *) "datetime", NULL
20633 };
20634
20635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20638 {
20639 arg2 = wxString_in_helper(obj1);
20640 if (arg2 == NULL) SWIG_fail;
423f194a 20641 temp2 = True;
d14a1e28
RD
20642 }
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
2f4c0a16 20650 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20651 {
20652 if (temp2)
20653 delete arg2;
20654 }
20655 return resultobj;
20656 fail:
20657 {
20658 if (temp2)
20659 delete arg2;
20660 }
20661 return NULL;
20662}
20663
20664
2f4c0a16 20665static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20666 PyObject *resultobj;
20667 wxDateTime *arg1 = (wxDateTime *) 0 ;
20668 wxString *arg2 = 0 ;
20669 int result;
423f194a 20670 bool temp2 = False ;
d14a1e28
RD
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self",(char *) "date", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20680 {
20681 arg2 = wxString_in_helper(obj1);
20682 if (arg2 == NULL) SWIG_fail;
423f194a 20683 temp2 = True;
d14a1e28
RD
20684 }
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
2f4c0a16 20692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20693 {
20694 if (temp2)
20695 delete arg2;
20696 }
20697 return resultobj;
20698 fail:
20699 {
20700 if (temp2)
20701 delete arg2;
20702 }
20703 return NULL;
20704}
20705
20706
2f4c0a16 20707static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20708 PyObject *resultobj;
20709 wxDateTime *arg1 = (wxDateTime *) 0 ;
20710 wxString *arg2 = 0 ;
20711 int result;
423f194a 20712 bool temp2 = False ;
d14a1e28
RD
20713 PyObject * obj0 = 0 ;
20714 PyObject * obj1 = 0 ;
20715 char *kwnames[] = {
20716 (char *) "self",(char *) "time", NULL
20717 };
20718
20719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20722 {
20723 arg2 = wxString_in_helper(obj1);
20724 if (arg2 == NULL) SWIG_fail;
423f194a 20725 temp2 = True;
d14a1e28
RD
20726 }
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
2f4c0a16 20734 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20735 {
20736 if (temp2)
20737 delete arg2;
20738 }
20739 return resultobj;
20740 fail:
20741 {
20742 if (temp2)
20743 delete arg2;
20744 }
20745 return NULL;
20746}
20747
20748
2f4c0a16 20749static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20750 PyObject *resultobj;
20751 wxDateTime *arg1 = (wxDateTime *) 0 ;
20752 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20753 wxString *arg2 = (wxString *) &arg2_defvalue ;
20754 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20755 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20756 wxString result;
423f194a 20757 bool temp2 = False ;
44127b65 20758 bool temp3 = False ;
d14a1e28
RD
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 PyObject * obj2 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self",(char *) "format",(char *) "tz", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20769 if (obj1) {
20770 {
20771 arg2 = wxString_in_helper(obj1);
20772 if (arg2 == NULL) SWIG_fail;
423f194a 20773 temp2 = True;
d14a1e28
RD
20774 }
20775 }
20776 if (obj2) {
20777 {
20778 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 20779 temp3 = True;
d14a1e28
RD
20780 }
20781 }
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 {
20790#if wxUSE_UNICODE
20791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20792#else
20793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20794#endif
20795 }
20796 {
20797 if (temp2)
20798 delete arg2;
20799 }
20800 {
44127b65 20801 if (temp3) delete arg3;
d14a1e28
RD
20802 }
20803 return resultobj;
20804 fail:
20805 {
20806 if (temp2)
20807 delete arg2;
20808 }
20809 {
44127b65 20810 if (temp3) delete arg3;
d14a1e28
RD
20811 }
20812 return NULL;
20813}
20814
20815
2f4c0a16 20816static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20817 PyObject *resultobj;
20818 wxDateTime *arg1 = (wxDateTime *) 0 ;
20819 wxString result;
20820 PyObject * obj0 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "self", NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = ((wxDateTime const *)arg1)->FormatDate();
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836#if wxUSE_UNICODE
20837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20838#else
20839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20840#endif
20841 }
20842 return resultobj;
20843 fail:
20844 return NULL;
20845}
20846
20847
2f4c0a16 20848static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20849 PyObject *resultobj;
20850 wxDateTime *arg1 = (wxDateTime *) 0 ;
20851 wxString result;
20852 PyObject * obj0 = 0 ;
20853 char *kwnames[] = {
20854 (char *) "self", NULL
20855 };
20856
20857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 result = ((wxDateTime const *)arg1)->FormatTime();
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 {
20868#if wxUSE_UNICODE
20869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20870#else
20871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20872#endif
20873 }
20874 return resultobj;
20875 fail:
20876 return NULL;
20877}
20878
20879
2f4c0a16 20880static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20881 PyObject *resultobj;
20882 wxDateTime *arg1 = (wxDateTime *) 0 ;
20883 wxString result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = ((wxDateTime const *)arg1)->FormatISODate();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900#if wxUSE_UNICODE
20901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20902#else
20903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20904#endif
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909}
20910
20911
2f4c0a16 20912static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20913 PyObject *resultobj;
20914 wxDateTime *arg1 = (wxDateTime *) 0 ;
20915 wxString result;
20916 PyObject * obj0 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = ((wxDateTime const *)arg1)->FormatISOTime();
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932#if wxUSE_UNICODE
20933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20934#else
20935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20936#endif
20937 }
20938 return resultobj;
20939 fail:
20940 return NULL;
20941}
20942
20943
2f4c0a16 20944static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20945 PyObject *obj;
20946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20947 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20948 Py_INCREF(obj);
20949 return Py_BuildValue((char *)"");
20950}
2f4c0a16 20951static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20952 PyObject *resultobj;
20953 long arg1 ;
20954 wxTimeSpan result;
8edf1c75 20955 PyObject * obj0 = 0 ;
d14a1e28
RD
20956 char *kwnames[] = {
20957 (char *) "sec", NULL
20958 };
20959
8edf1c75 20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20961 arg1 = (long) SWIG_AsLong(obj0);
20962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = wxTimeSpan::Seconds(arg1);
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 {
20971 wxTimeSpan * resultptr;
20972 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 20973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20974 }
20975 return resultobj;
20976 fail:
20977 return NULL;
20978}
20979
20980
2f4c0a16 20981static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20982 PyObject *resultobj;
20983 wxTimeSpan result;
20984 char *kwnames[] = {
20985 NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 result = wxTimeSpan::Second();
20992
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 {
20997 wxTimeSpan * resultptr;
20998 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 20999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
2f4c0a16 21007static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21008 PyObject *resultobj;
21009 long arg1 ;
21010 wxTimeSpan result;
8edf1c75 21011 PyObject * obj0 = 0 ;
d14a1e28
RD
21012 char *kwnames[] = {
21013 (char *) "min", NULL
21014 };
21015
8edf1c75 21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21017 arg1 = (long) SWIG_AsLong(obj0);
21018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = wxTimeSpan::Minutes(arg1);
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 {
21027 wxTimeSpan * resultptr;
21028 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21030 }
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
2f4c0a16 21037static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21038 PyObject *resultobj;
21039 wxTimeSpan result;
21040 char *kwnames[] = {
21041 NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21045 {
21046 PyThreadState* __tstate = wxPyBeginAllowThreads();
21047 result = wxTimeSpan::Minute();
21048
21049 wxPyEndAllowThreads(__tstate);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 }
21052 {
21053 wxTimeSpan * resultptr;
21054 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21056 }
21057 return resultobj;
21058 fail:
21059 return NULL;
21060}
21061
21062
2f4c0a16 21063static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21064 PyObject *resultobj;
21065 long arg1 ;
21066 wxTimeSpan result;
8edf1c75 21067 PyObject * obj0 = 0 ;
d14a1e28
RD
21068 char *kwnames[] = {
21069 (char *) "hours", NULL
21070 };
21071
8edf1c75 21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21073 arg1 = (long) SWIG_AsLong(obj0);
21074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = wxTimeSpan::Hours(arg1);
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 {
21083 wxTimeSpan * resultptr;
21084 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21086 }
21087 return resultobj;
21088 fail:
21089 return NULL;
21090}
21091
21092
2f4c0a16 21093static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21094 PyObject *resultobj;
21095 wxTimeSpan result;
21096 char *kwnames[] = {
21097 NULL
21098 };
21099
21100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = wxTimeSpan::Hour();
21104
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 {
21109 wxTimeSpan * resultptr;
21110 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21112 }
21113 return resultobj;
21114 fail:
21115 return NULL;
21116}
21117
21118
2f4c0a16 21119static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21120 PyObject *resultobj;
21121 long arg1 ;
21122 wxTimeSpan result;
8edf1c75 21123 PyObject * obj0 = 0 ;
d14a1e28
RD
21124 char *kwnames[] = {
21125 (char *) "days", NULL
21126 };
21127
8edf1c75 21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21129 arg1 = (long) SWIG_AsLong(obj0);
21130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = wxTimeSpan::Days(arg1);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 wxTimeSpan * resultptr;
21140 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21142 }
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
2f4c0a16 21149static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21150 PyObject *resultobj;
21151 wxTimeSpan result;
21152 char *kwnames[] = {
21153 NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 result = wxTimeSpan::Day();
21160
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 {
21165 wxTimeSpan * resultptr;
21166 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21168 }
21169 return resultobj;
21170 fail:
21171 return NULL;
21172}
21173
21174
2f4c0a16 21175static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21176 PyObject *resultobj;
21177 long arg1 ;
21178 wxTimeSpan result;
8edf1c75 21179 PyObject * obj0 = 0 ;
d14a1e28
RD
21180 char *kwnames[] = {
21181 (char *) "days", NULL
21182 };
21183
8edf1c75 21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21185 arg1 = (long) SWIG_AsLong(obj0);
21186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = wxTimeSpan::Weeks(arg1);
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 wxTimeSpan * resultptr;
21196 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
2f4c0a16 21205static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21206 PyObject *resultobj;
21207 wxTimeSpan result;
21208 char *kwnames[] = {
21209 NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = wxTimeSpan::Week();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 {
21221 wxTimeSpan * resultptr;
21222 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228}
21229
21230
2f4c0a16 21231static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21232 PyObject *resultobj;
21233 long arg1 = (long) 0 ;
21234 long arg2 = (long) 0 ;
21235 long arg3 = (long) 0 ;
21236 long arg4 = (long) 0 ;
21237 wxTimeSpan *result;
8edf1c75
RD
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 PyObject * obj3 = 0 ;
d14a1e28
RD
21242 char *kwnames[] = {
21243 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21244 };
21245
8edf1c75
RD
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21247 if (obj0) {
2f4c0a16
RD
21248 arg1 = (long) SWIG_AsLong(obj0);
21249 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21250 }
21251 if (obj1) {
2f4c0a16
RD
21252 arg2 = (long) SWIG_AsLong(obj1);
21253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21254 }
21255 if (obj2) {
2f4c0a16
RD
21256 arg3 = (long) SWIG_AsLong(obj2);
21257 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21258 }
21259 if (obj3) {
2f4c0a16
RD
21260 arg4 = (long) SWIG_AsLong(obj3);
21261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21262 }
d14a1e28
RD
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
2f4c0a16 21270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21271 return resultobj;
21272 fail:
21273 return NULL;
21274}
21275
21276
2f4c0a16 21277static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21278 PyObject *resultobj;
21279 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21280 PyObject * obj0 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 delete arg1;
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 Py_INCREF(Py_None); resultobj = Py_None;
21296 return resultobj;
21297 fail:
21298 return NULL;
21299}
21300
21301
2f4c0a16 21302static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21303 PyObject *resultobj;
21304 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21305 wxTimeSpan *arg2 = 0 ;
21306 wxTimeSpan *result;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self",(char *) "diff", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21317 SWIG_POINTER_EXCEPTION | 0)) == -1)
21318 SWIG_fail;
d14a1e28 21319 if (arg2 == NULL) {
2f4c0a16
RD
21320 PyErr_SetString(PyExc_TypeError,"null reference");
21321 SWIG_fail;
d14a1e28
RD
21322 }
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 {
21326 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21327 result = (wxTimeSpan *) &_result_ref;
21328 }
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
2f4c0a16 21333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21334 return resultobj;
21335 fail:
21336 return NULL;
21337}
21338
21339
2f4c0a16 21340static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21341 PyObject *resultobj;
21342 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21343 wxTimeSpan *arg2 = 0 ;
21344 wxTimeSpan *result;
21345 PyObject * obj0 = 0 ;
21346 PyObject * obj1 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "diff", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21355 SWIG_POINTER_EXCEPTION | 0)) == -1)
21356 SWIG_fail;
d14a1e28 21357 if (arg2 == NULL) {
2f4c0a16
RD
21358 PyErr_SetString(PyExc_TypeError,"null reference");
21359 SWIG_fail;
d14a1e28
RD
21360 }
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 {
21364 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21365 result = (wxTimeSpan *) &_result_ref;
21366 }
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
2f4c0a16 21371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21372 return resultobj;
21373 fail:
21374 return NULL;
21375}
21376
21377
2f4c0a16 21378static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21379 PyObject *resultobj;
21380 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21381 int arg2 ;
21382 wxTimeSpan *result;
21383 PyObject * obj0 = 0 ;
8edf1c75 21384 PyObject * obj1 = 0 ;
d14a1e28
RD
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "n", NULL
21387 };
21388
8edf1c75 21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21392 arg2 = (int) SWIG_AsInt(obj1);
21393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21394 {
21395 PyThreadState* __tstate = wxPyBeginAllowThreads();
21396 {
21397 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21398 result = (wxTimeSpan *) &_result_ref;
21399 }
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
2f4c0a16 21404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21405 return resultobj;
21406 fail:
21407 return NULL;
21408}
21409
21410
2f4c0a16 21411static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21412 PyObject *resultobj;
21413 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21414 wxTimeSpan *result;
21415 PyObject * obj0 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 {
21426 wxTimeSpan &_result_ref = (arg1)->Neg();
21427 result = (wxTimeSpan *) &_result_ref;
21428 }
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
2f4c0a16 21433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21434 return resultobj;
21435 fail:
21436 return NULL;
21437}
21438
21439
2f4c0a16 21440static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21441 PyObject *resultobj;
21442 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21443 wxTimeSpan result;
21444 PyObject * obj0 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = ((wxTimeSpan const *)arg1)->Abs();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 wxTimeSpan * resultptr;
21461 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467}
21468
21469
2f4c0a16 21470static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21471 PyObject *resultobj;
21472 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21473 wxTimeSpan *arg2 = 0 ;
21474 wxTimeSpan *result;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj1 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "diff", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21485 SWIG_POINTER_EXCEPTION | 0)) == -1)
21486 SWIG_fail;
d14a1e28 21487 if (arg2 == NULL) {
2f4c0a16
RD
21488 PyErr_SetString(PyExc_TypeError,"null reference");
21489 SWIG_fail;
d14a1e28
RD
21490 }
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 {
21494 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21495 result = (wxTimeSpan *) &_result_ref;
21496 }
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
2f4c0a16 21501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21502 return resultobj;
21503 fail:
21504 return NULL;
21505}
21506
21507
2f4c0a16 21508static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21509 PyObject *resultobj;
21510 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21511 wxTimeSpan *arg2 = 0 ;
21512 wxTimeSpan *result;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "diff", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1)
21524 SWIG_fail;
d14a1e28 21525 if (arg2 == NULL) {
2f4c0a16
RD
21526 PyErr_SetString(PyExc_TypeError,"null reference");
21527 SWIG_fail;
d14a1e28
RD
21528 }
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 {
21532 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21533 result = (wxTimeSpan *) &_result_ref;
21534 }
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
2f4c0a16 21539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21540 return resultobj;
21541 fail:
21542 return NULL;
21543}
21544
21545
2f4c0a16 21546static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21547 PyObject *resultobj;
21548 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21549 int arg2 ;
21550 wxTimeSpan *result;
21551 PyObject * obj0 = 0 ;
8edf1c75 21552 PyObject * obj1 = 0 ;
d14a1e28
RD
21553 char *kwnames[] = {
21554 (char *) "self",(char *) "n", NULL
21555 };
21556
8edf1c75 21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21560 arg2 = (int) SWIG_AsInt(obj1);
21561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 {
21565 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21566 result = (wxTimeSpan *) &_result_ref;
21567 }
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
2f4c0a16 21572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21573 return resultobj;
21574 fail:
21575 return NULL;
21576}
21577
21578
2f4c0a16 21579static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21580 PyObject *resultobj;
21581 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21582 wxTimeSpan *result;
21583 PyObject * obj0 = 0 ;
21584 char *kwnames[] = {
21585 (char *) "self", NULL
21586 };
21587
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 {
21594 wxTimeSpan &_result_ref = (arg1)->operator -();
21595 result = (wxTimeSpan *) &_result_ref;
21596 }
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
2f4c0a16 21601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
2f4c0a16 21608static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21609 PyObject *resultobj;
21610 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21611 wxTimeSpan *arg2 = 0 ;
21612 wxTimeSpan result;
21613 PyObject * obj0 = 0 ;
21614 PyObject * obj1 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self",(char *) "other", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21623 SWIG_POINTER_EXCEPTION | 0)) == -1)
21624 SWIG_fail;
d14a1e28 21625 if (arg2 == NULL) {
2f4c0a16
RD
21626 PyErr_SetString(PyExc_TypeError,"null reference");
21627 SWIG_fail;
d14a1e28
RD
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 {
21637 wxTimeSpan * resultptr;
21638 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21640 }
21641 return resultobj;
21642 fail:
21643 return NULL;
21644}
21645
21646
2f4c0a16 21647static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21648 PyObject *resultobj;
21649 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21650 wxTimeSpan *arg2 = 0 ;
21651 wxTimeSpan result;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self",(char *) "other", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1)
21663 SWIG_fail;
d14a1e28 21664 if (arg2 == NULL) {
2f4c0a16
RD
21665 PyErr_SetString(PyExc_TypeError,"null reference");
21666 SWIG_fail;
d14a1e28
RD
21667 }
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 {
21676 wxTimeSpan * resultptr;
21677 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21679 }
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
2f4c0a16 21686static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21687 PyObject *resultobj;
21688 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21689 int arg2 ;
21690 wxTimeSpan result;
21691 PyObject * obj0 = 0 ;
8edf1c75 21692 PyObject * obj1 = 0 ;
d14a1e28
RD
21693 char *kwnames[] = {
21694 (char *) "self",(char *) "n", NULL
21695 };
21696
8edf1c75 21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21700 arg2 = (int) SWIG_AsInt(obj1);
21701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = wxTimeSpan___mul__(arg1,arg2);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 {
21710 wxTimeSpan * resultptr;
21711 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21713 }
21714 return resultobj;
21715 fail:
21716 return NULL;
21717}
21718
21719
2f4c0a16 21720static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21721 PyObject *resultobj;
21722 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21723 int arg2 ;
21724 wxTimeSpan result;
21725 PyObject * obj0 = 0 ;
8edf1c75 21726 PyObject * obj1 = 0 ;
d14a1e28
RD
21727 char *kwnames[] = {
21728 (char *) "self",(char *) "n", NULL
21729 };
21730
8edf1c75 21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21734 arg2 = (int) SWIG_AsInt(obj1);
21735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = wxTimeSpan___rmul__(arg1,arg2);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 {
21744 wxTimeSpan * resultptr;
21745 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21747 }
21748 return resultobj;
21749 fail:
21750 return NULL;
21751}
21752
21753
2f4c0a16 21754static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21755 PyObject *resultobj;
21756 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21757 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21758 bool result;
21759 PyObject * obj0 = 0 ;
21760 PyObject * obj1 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "other", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21772 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
02a34c4c 21777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21778 return resultobj;
21779 fail:
21780 return NULL;
21781}
21782
21783
2f4c0a16 21784static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21785 PyObject *resultobj;
21786 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21787 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21788 bool result;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self",(char *) "other", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21802 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
02a34c4c 21807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21808 return resultobj;
21809 fail:
21810 return NULL;
21811}
21812
21813
2f4c0a16 21814static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21815 PyObject *resultobj;
21816 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21817 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21818 bool result;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self",(char *) "other", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21832 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
02a34c4c 21837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21838 return resultobj;
21839 fail:
21840 return NULL;
21841}
21842
21843
2f4c0a16 21844static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21845 PyObject *resultobj;
21846 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21847 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21848 bool result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "other", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21862 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
02a34c4c 21867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21868 return resultobj;
21869 fail:
21870 return NULL;
21871}
21872
21873
2f4c0a16 21874static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21875 PyObject *resultobj;
21876 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21877 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21878 bool result;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "other", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21892 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
02a34c4c 21897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21898 return resultobj;
21899 fail:
21900 return NULL;
21901}
21902
21903
2f4c0a16 21904static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21905 PyObject *resultobj;
21906 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21907 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21908 bool result;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self",(char *) "other", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21922 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21923
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
02a34c4c 21927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21928 return resultobj;
21929 fail:
21930 return NULL;
21931}
21932
21933
2f4c0a16 21934static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21935 PyObject *resultobj;
21936 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21937 bool result;
21938 PyObject * obj0 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
02a34c4c 21953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21954 return resultobj;
21955 fail:
21956 return NULL;
21957}
21958
21959
2f4c0a16 21960static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21961 PyObject *resultobj;
21962 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21963 bool result;
21964 PyObject * obj0 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
02a34c4c 21979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21980 return resultobj;
21981 fail:
21982 return NULL;
21983}
21984
21985
2f4c0a16 21986static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21987 PyObject *resultobj;
21988 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21989 bool result;
21990 PyObject * obj0 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "self", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
02a34c4c 22005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22006 return resultobj;
22007 fail:
22008 return NULL;
22009}
22010
22011
2f4c0a16 22012static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22013 PyObject *resultobj;
22014 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22015 wxTimeSpan *arg2 = 0 ;
22016 bool result;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "ts", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1)
22028 SWIG_fail;
d14a1e28 22029 if (arg2 == NULL) {
2f4c0a16
RD
22030 PyErr_SetString(PyExc_TypeError,"null reference");
22031 SWIG_fail;
d14a1e28
RD
22032 }
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
02a34c4c 22040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
2f4c0a16 22047static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22048 PyObject *resultobj;
22049 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22050 wxTimeSpan *arg2 = 0 ;
22051 bool result;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "ts", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22062 SWIG_POINTER_EXCEPTION | 0)) == -1)
22063 SWIG_fail;
d14a1e28 22064 if (arg2 == NULL) {
2f4c0a16
RD
22065 PyErr_SetString(PyExc_TypeError,"null reference");
22066 SWIG_fail;
d14a1e28
RD
22067 }
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
02a34c4c 22075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22076 return resultobj;
22077 fail:
22078 return NULL;
22079}
22080
22081
2f4c0a16 22082static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22083 PyObject *resultobj;
22084 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22085 wxTimeSpan *arg2 = 0 ;
22086 bool result;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self",(char *) "t", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22097 SWIG_POINTER_EXCEPTION | 0)) == -1)
22098 SWIG_fail;
d14a1e28 22099 if (arg2 == NULL) {
2f4c0a16
RD
22100 PyErr_SetString(PyExc_TypeError,"null reference");
22101 SWIG_fail;
d14a1e28
RD
22102 }
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
02a34c4c 22110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22111 return resultobj;
22112 fail:
22113 return NULL;
22114}
22115
22116
2f4c0a16 22117static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22118 PyObject *resultobj;
22119 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22120 int result;
22121 PyObject * obj0 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
2f4c0a16 22136 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22137 return resultobj;
22138 fail:
22139 return NULL;
22140}
22141
22142
2f4c0a16 22143static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22144 PyObject *resultobj;
22145 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22146 int result;
22147 PyObject * obj0 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
2f4c0a16 22162 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
2f4c0a16 22169static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22170 PyObject *resultobj;
22171 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22172 int result;
22173 PyObject * obj0 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
2f4c0a16 22188 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22189 return resultobj;
22190 fail:
22191 return NULL;
22192}
22193
22194
2f4c0a16 22195static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22196 PyObject *resultobj;
22197 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22198 int result;
22199 PyObject * obj0 = 0 ;
22200 char *kwnames[] = {
22201 (char *) "self", NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22207 {
22208 PyThreadState* __tstate = wxPyBeginAllowThreads();
22209 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22210
22211 wxPyEndAllowThreads(__tstate);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 }
2f4c0a16 22214 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22215 return resultobj;
22216 fail:
22217 return NULL;
22218}
22219
22220
2f4c0a16 22221static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22222 PyObject *resultobj;
22223 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22224 wxLongLong result;
22225 PyObject * obj0 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 {
22241 PyObject *hi, *lo, *shifter, *shifted;
22242 hi = PyLong_FromLong( (&result)->GetHi() );
22243 lo = PyLong_FromLong( (&result)->GetLo() );
22244 shifter = PyLong_FromLong(32);
22245 shifted = PyNumber_Lshift(hi, shifter);
22246 resultobj = PyNumber_Or(shifted, lo);
22247 Py_DECREF(hi);
22248 Py_DECREF(lo);
22249 Py_DECREF(shifter);
22250 Py_DECREF(shifted);
22251 }
22252 return resultobj;
22253 fail:
22254 return NULL;
22255}
22256
22257
2f4c0a16 22258static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22259 PyObject *resultobj;
22260 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22261 wxLongLong result;
22262 PyObject * obj0 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 PyObject *hi, *lo, *shifter, *shifted;
22279 hi = PyLong_FromLong( (&result)->GetHi() );
22280 lo = PyLong_FromLong( (&result)->GetLo() );
22281 shifter = PyLong_FromLong(32);
22282 shifted = PyNumber_Lshift(hi, shifter);
22283 resultobj = PyNumber_Or(shifted, lo);
22284 Py_DECREF(hi);
22285 Py_DECREF(lo);
22286 Py_DECREF(shifter);
22287 Py_DECREF(shifted);
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
2f4c0a16 22295static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22296 PyObject *resultobj;
22297 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22298 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22299 wxString *arg2 = (wxString *) &arg2_defvalue ;
22300 wxString result;
423f194a 22301 bool temp2 = False ;
d14a1e28
RD
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "format", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22311 if (obj1) {
22312 {
22313 arg2 = wxString_in_helper(obj1);
22314 if (arg2 == NULL) SWIG_fail;
423f194a 22315 temp2 = True;
d14a1e28
RD
22316 }
22317 }
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 {
22326#if wxUSE_UNICODE
22327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22328#else
22329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22330#endif
22331 }
22332 {
22333 if (temp2)
22334 delete arg2;
22335 }
22336 return resultobj;
22337 fail:
22338 {
22339 if (temp2)
22340 delete arg2;
22341 }
22342 return NULL;
22343}
22344
22345
2f4c0a16 22346static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22347 PyObject *obj;
22348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22349 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22350 Py_INCREF(obj);
22351 return Py_BuildValue((char *)"");
22352}
2f4c0a16 22353static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22354 PyObject *resultobj;
22355 int arg1 = (int) 0 ;
22356 int arg2 = (int) 0 ;
22357 int arg3 = (int) 0 ;
22358 int arg4 = (int) 0 ;
22359 wxDateSpan *result;
8edf1c75
RD
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 PyObject * obj2 = 0 ;
22363 PyObject * obj3 = 0 ;
d14a1e28
RD
22364 char *kwnames[] = {
22365 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22366 };
22367
8edf1c75
RD
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22369 if (obj0) {
2f4c0a16
RD
22370 arg1 = (int) SWIG_AsInt(obj0);
22371 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22372 }
22373 if (obj1) {
2f4c0a16
RD
22374 arg2 = (int) SWIG_AsInt(obj1);
22375 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22376 }
22377 if (obj2) {
2f4c0a16
RD
22378 arg3 = (int) SWIG_AsInt(obj2);
22379 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22380 }
22381 if (obj3) {
2f4c0a16
RD
22382 arg4 = (int) SWIG_AsInt(obj3);
22383 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22384 }
d14a1e28
RD
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
2f4c0a16 22392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22393 return resultobj;
22394 fail:
22395 return NULL;
22396}
22397
22398
2f4c0a16 22399static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22400 PyObject *resultobj;
22401 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22402 PyObject * obj0 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 delete arg1;
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 Py_INCREF(Py_None); resultobj = Py_None;
22418 return resultobj;
22419 fail:
22420 return NULL;
22421}
22422
22423
2f4c0a16 22424static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22425 PyObject *resultobj;
22426 int arg1 ;
22427 wxDateSpan result;
8edf1c75 22428 PyObject * obj0 = 0 ;
d14a1e28
RD
22429 char *kwnames[] = {
22430 (char *) "days", NULL
22431 };
22432
8edf1c75 22433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22434 arg1 = (int) SWIG_AsInt(obj0);
22435 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 result = wxDateSpan::Days(arg1);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 {
22444 wxDateSpan * resultptr;
22445 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22447 }
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
2f4c0a16 22454static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22455 PyObject *resultobj;
22456 wxDateSpan result;
22457 char *kwnames[] = {
22458 NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 result = wxDateSpan::Day();
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 {
22470 wxDateSpan * resultptr;
22471 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22473 }
22474 return resultobj;
22475 fail:
22476 return NULL;
22477}
22478
22479
2f4c0a16 22480static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22481 PyObject *resultobj;
22482 int arg1 ;
22483 wxDateSpan result;
8edf1c75 22484 PyObject * obj0 = 0 ;
d14a1e28
RD
22485 char *kwnames[] = {
22486 (char *) "weeks", NULL
22487 };
22488
8edf1c75 22489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22490 arg1 = (int) SWIG_AsInt(obj0);
22491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = wxDateSpan::Weeks(arg1);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 {
22500 wxDateSpan * resultptr;
22501 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22503 }
22504 return resultobj;
22505 fail:
22506 return NULL;
22507}
22508
22509
2f4c0a16 22510static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22511 PyObject *resultobj;
22512 wxDateSpan result;
22513 char *kwnames[] = {
22514 NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = wxDateSpan::Week();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 wxDateSpan * resultptr;
22527 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22529 }
22530 return resultobj;
22531 fail:
22532 return NULL;
22533}
22534
22535
2f4c0a16 22536static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22537 PyObject *resultobj;
22538 int arg1 ;
22539 wxDateSpan result;
8edf1c75 22540 PyObject * obj0 = 0 ;
d14a1e28
RD
22541 char *kwnames[] = {
22542 (char *) "mon", NULL
22543 };
22544
8edf1c75 22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22546 arg1 = (int) SWIG_AsInt(obj0);
22547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 result = wxDateSpan::Months(arg1);
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 {
22556 wxDateSpan * resultptr;
22557 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22559 }
22560 return resultobj;
22561 fail:
22562 return NULL;
22563}
22564
22565
2f4c0a16 22566static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22567 PyObject *resultobj;
22568 wxDateSpan result;
22569 char *kwnames[] = {
22570 NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = wxDateSpan::Month();
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 {
22582 wxDateSpan * resultptr;
22583 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22585 }
22586 return resultobj;
22587 fail:
22588 return NULL;
22589}
22590
22591
2f4c0a16 22592static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22593 PyObject *resultobj;
22594 int arg1 ;
22595 wxDateSpan result;
8edf1c75 22596 PyObject * obj0 = 0 ;
d14a1e28
RD
22597 char *kwnames[] = {
22598 (char *) "years", NULL
22599 };
22600
8edf1c75 22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22602 arg1 = (int) SWIG_AsInt(obj0);
22603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 result = wxDateSpan::Years(arg1);
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 {
22612 wxDateSpan * resultptr;
22613 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22615 }
22616 return resultobj;
22617 fail:
22618 return NULL;
22619}
22620
22621
2f4c0a16 22622static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22623 PyObject *resultobj;
22624 wxDateSpan result;
22625 char *kwnames[] = {
22626 NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 result = wxDateSpan::Year();
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 {
22638 wxDateSpan * resultptr;
22639 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22641 }
22642 return resultobj;
22643 fail:
22644 return NULL;
22645}
22646
22647
2f4c0a16 22648static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22649 PyObject *resultobj;
22650 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22651 int arg2 ;
22652 wxDateSpan *result;
22653 PyObject * obj0 = 0 ;
8edf1c75 22654 PyObject * obj1 = 0 ;
d14a1e28
RD
22655 char *kwnames[] = {
22656 (char *) "self",(char *) "n", NULL
22657 };
22658
8edf1c75 22659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22662 arg2 = (int) SWIG_AsInt(obj1);
22663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 {
22667 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22668 result = (wxDateSpan *) &_result_ref;
22669 }
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
2f4c0a16 22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
2f4c0a16 22681static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22682 PyObject *resultobj;
22683 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22684 int arg2 ;
22685 wxDateSpan *result;
22686 PyObject * obj0 = 0 ;
8edf1c75 22687 PyObject * obj1 = 0 ;
d14a1e28
RD
22688 char *kwnames[] = {
22689 (char *) "self",(char *) "n", NULL
22690 };
22691
8edf1c75 22692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22695 arg2 = (int) SWIG_AsInt(obj1);
22696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 {
22700 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22701 result = (wxDateSpan *) &_result_ref;
22702 }
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
2f4c0a16 22707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
2f4c0a16 22714static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22715 PyObject *resultobj;
22716 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22717 int arg2 ;
22718 wxDateSpan *result;
22719 PyObject * obj0 = 0 ;
8edf1c75 22720 PyObject * obj1 = 0 ;
d14a1e28
RD
22721 char *kwnames[] = {
22722 (char *) "self",(char *) "n", NULL
22723 };
22724
8edf1c75 22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 arg2 = (int) SWIG_AsInt(obj1);
22729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 {
22733 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22734 result = (wxDateSpan *) &_result_ref;
22735 }
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
2f4c0a16 22740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22741 return resultobj;
22742 fail:
22743 return NULL;
22744}
22745
22746
2f4c0a16 22747static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22748 PyObject *resultobj;
22749 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22750 int arg2 ;
22751 wxDateSpan *result;
22752 PyObject * obj0 = 0 ;
8edf1c75 22753 PyObject * obj1 = 0 ;
d14a1e28
RD
22754 char *kwnames[] = {
22755 (char *) "self",(char *) "n", NULL
22756 };
22757
8edf1c75 22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22761 arg2 = (int) SWIG_AsInt(obj1);
22762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 {
22766 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22767 result = (wxDateSpan *) &_result_ref;
22768 }
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
2f4c0a16 22773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22774 return resultobj;
22775 fail:
22776 return NULL;
22777}
22778
22779
2f4c0a16 22780static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22781 PyObject *resultobj;
22782 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22783 int result;
22784 PyObject * obj0 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (int)((wxDateSpan const *)arg1)->GetYears();
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
2f4c0a16 22799 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22800 return resultobj;
22801 fail:
22802 return NULL;
22803}
22804
22805
2f4c0a16 22806static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22807 PyObject *resultobj;
22808 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22809 int result;
22810 PyObject * obj0 = 0 ;
22811 char *kwnames[] = {
22812 (char *) "self", NULL
22813 };
22814
22815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22821
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
2f4c0a16 22825 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22826 return resultobj;
22827 fail:
22828 return NULL;
22829}
22830
22831
2f4c0a16 22832static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22833 PyObject *resultobj;
22834 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22835 int result;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
2f4c0a16 22851 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22852 return resultobj;
22853 fail:
22854 return NULL;
22855}
22856
22857
2f4c0a16 22858static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22859 PyObject *resultobj;
22860 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22861 int result;
22862 PyObject * obj0 = 0 ;
22863 char *kwnames[] = {
22864 (char *) "self", NULL
22865 };
22866
22867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 result = (int)((wxDateSpan const *)arg1)->GetDays();
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
2f4c0a16 22877 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22878 return resultobj;
22879 fail:
22880 return NULL;
22881}
22882
22883
2f4c0a16 22884static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22885 PyObject *resultobj;
22886 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22887 int result;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
2f4c0a16 22903 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22904 return resultobj;
22905 fail:
22906 return NULL;
22907}
22908
22909
2f4c0a16 22910static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22911 PyObject *resultobj;
22912 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22913 wxDateSpan *arg2 = 0 ;
22914 wxDateSpan *result;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "other", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1)
22926 SWIG_fail;
d14a1e28 22927 if (arg2 == NULL) {
2f4c0a16
RD
22928 PyErr_SetString(PyExc_TypeError,"null reference");
22929 SWIG_fail;
d14a1e28
RD
22930 }
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 {
22934 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22935 result = (wxDateSpan *) &_result_ref;
22936 }
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
2f4c0a16 22941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
2f4c0a16 22948static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22949 PyObject *resultobj;
22950 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22951 wxDateSpan *arg2 = 0 ;
22952 wxDateSpan *result;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "other", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
22963 SWIG_POINTER_EXCEPTION | 0)) == -1)
22964 SWIG_fail;
d14a1e28 22965 if (arg2 == NULL) {
2f4c0a16
RD
22966 PyErr_SetString(PyExc_TypeError,"null reference");
22967 SWIG_fail;
d14a1e28
RD
22968 }
22969 {
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
22971 {
22972 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22973 result = (wxDateSpan *) &_result_ref;
22974 }
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
2f4c0a16 22979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22980 return resultobj;
22981 fail:
22982 return NULL;
22983}
22984
22985
2f4c0a16 22986static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22987 PyObject *resultobj;
22988 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22989 wxDateSpan *result;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "self", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 {
23001 wxDateSpan &_result_ref = (arg1)->Neg();
23002 result = (wxDateSpan *) &_result_ref;
23003 }
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
2f4c0a16 23008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23009 return resultobj;
23010 fail:
23011 return NULL;
23012}
23013
23014
2f4c0a16 23015static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23016 PyObject *resultobj;
23017 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23018 int arg2 ;
23019 wxDateSpan *result;
23020 PyObject * obj0 = 0 ;
8edf1c75 23021 PyObject * obj1 = 0 ;
d14a1e28
RD
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "factor", NULL
23024 };
23025
8edf1c75 23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23029 arg2 = (int) SWIG_AsInt(obj1);
23030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 {
23034 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23035 result = (wxDateSpan *) &_result_ref;
23036 }
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
2f4c0a16 23041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23042 return resultobj;
23043 fail:
23044 return NULL;
23045}
23046
23047
2f4c0a16 23048static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23049 PyObject *resultobj;
23050 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23051 wxDateSpan *arg2 = 0 ;
23052 wxDateSpan *result;
23053 PyObject * obj0 = 0 ;
23054 PyObject * obj1 = 0 ;
23055 char *kwnames[] = {
23056 (char *) "self",(char *) "other", NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23063 SWIG_POINTER_EXCEPTION | 0)) == -1)
23064 SWIG_fail;
d14a1e28 23065 if (arg2 == NULL) {
2f4c0a16
RD
23066 PyErr_SetString(PyExc_TypeError,"null reference");
23067 SWIG_fail;
d14a1e28
RD
23068 }
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 {
23072 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23073 result = (wxDateSpan *) &_result_ref;
23074 }
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
2f4c0a16 23079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23080 return resultobj;
23081 fail:
23082 return NULL;
23083}
23084
23085
2f4c0a16 23086static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23087 PyObject *resultobj;
23088 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23089 wxDateSpan *arg2 = 0 ;
23090 wxDateSpan *result;
23091 PyObject * obj0 = 0 ;
23092 PyObject * obj1 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "self",(char *) "other", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1)
23102 SWIG_fail;
d14a1e28 23103 if (arg2 == NULL) {
2f4c0a16
RD
23104 PyErr_SetString(PyExc_TypeError,"null reference");
23105 SWIG_fail;
d14a1e28
RD
23106 }
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 {
23110 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23111 result = (wxDateSpan *) &_result_ref;
23112 }
23113
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
2f4c0a16 23117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23118 return resultobj;
23119 fail:
23120 return NULL;
23121}
23122
23123
2f4c0a16 23124static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23125 PyObject *resultobj;
23126 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23127 wxDateSpan *result;
23128 PyObject * obj0 = 0 ;
23129 char *kwnames[] = {
23130 (char *) "self", NULL
23131 };
23132
23133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 {
23139 wxDateSpan &_result_ref = (arg1)->operator -();
23140 result = (wxDateSpan *) &_result_ref;
23141 }
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
2f4c0a16 23146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23147 return resultobj;
23148 fail:
23149 return NULL;
23150}
23151
23152
2f4c0a16 23153static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23154 PyObject *resultobj;
23155 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23156 int arg2 ;
23157 wxDateSpan *result;
23158 PyObject * obj0 = 0 ;
8edf1c75 23159 PyObject * obj1 = 0 ;
d14a1e28
RD
23160 char *kwnames[] = {
23161 (char *) "self",(char *) "factor", NULL
23162 };
23163
8edf1c75 23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 arg2 = (int) SWIG_AsInt(obj1);
23168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 {
23172 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23173 result = (wxDateSpan *) &_result_ref;
23174 }
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
2f4c0a16 23179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
2f4c0a16 23186static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23187 PyObject *resultobj;
23188 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23189 wxDateSpan *arg2 = 0 ;
23190 wxDateSpan result;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 char *kwnames[] = {
23194 (char *) "self",(char *) "other", NULL
23195 };
23196
23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1)
23202 SWIG_fail;
d14a1e28 23203 if (arg2 == NULL) {
2f4c0a16
RD
23204 PyErr_SetString(PyExc_TypeError,"null reference");
23205 SWIG_fail;
d14a1e28
RD
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215 wxDateSpan * resultptr;
23216 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
2f4c0a16 23225static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23226 PyObject *resultobj;
23227 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23228 wxDateSpan *arg2 = 0 ;
23229 wxDateSpan result;
23230 PyObject * obj0 = 0 ;
23231 PyObject * obj1 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "other", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23240 SWIG_POINTER_EXCEPTION | 0)) == -1)
23241 SWIG_fail;
d14a1e28 23242 if (arg2 == NULL) {
2f4c0a16
RD
23243 PyErr_SetString(PyExc_TypeError,"null reference");
23244 SWIG_fail;
d14a1e28
RD
23245 }
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 {
23254 wxDateSpan * resultptr;
23255 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23257 }
23258 return resultobj;
23259 fail:
23260 return NULL;
23261}
23262
23263
2f4c0a16 23264static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23265 PyObject *resultobj;
23266 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23267 int arg2 ;
23268 wxDateSpan result;
23269 PyObject * obj0 = 0 ;
8edf1c75 23270 PyObject * obj1 = 0 ;
d14a1e28
RD
23271 char *kwnames[] = {
23272 (char *) "self",(char *) "n", NULL
23273 };
23274
8edf1c75 23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23278 arg2 = (int) SWIG_AsInt(obj1);
23279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 result = wxDateSpan___mul__(arg1,arg2);
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 {
23288 wxDateSpan * resultptr;
23289 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23291 }
23292 return resultobj;
23293 fail:
23294 return NULL;
23295}
23296
23297
2f4c0a16 23298static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23299 PyObject *resultobj;
23300 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23301 int arg2 ;
23302 wxDateSpan result;
23303 PyObject * obj0 = 0 ;
8edf1c75 23304 PyObject * obj1 = 0 ;
d14a1e28
RD
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "n", NULL
23307 };
23308
8edf1c75 23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23312 arg2 = (int) SWIG_AsInt(obj1);
23313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = wxDateSpan___rmul__(arg1,arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 {
23322 wxDateSpan * resultptr;
23323 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23325 }
23326 return resultobj;
23327 fail:
23328 return NULL;
23329}
23330
23331
2f4c0a16 23332static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23333 PyObject *resultobj;
23334 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
38f59159 23335 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23336 bool result;
23337 PyObject * obj0 = 0 ;
23338 PyObject * obj1 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self",(char *) "other", NULL
23341 };
23342
23343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 23350 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
02a34c4c 23355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23356 return resultobj;
23357 fail:
23358 return NULL;
23359}
23360
23361
2f4c0a16 23362static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23363 PyObject *resultobj;
23364 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
38f59159 23365 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23366 bool result;
23367 PyObject * obj0 = 0 ;
23368 PyObject * obj1 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "other", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 23380 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
02a34c4c 23385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23386 return resultobj;
23387 fail:
23388 return NULL;
23389}
23390
23391
2f4c0a16 23392static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23393 PyObject *obj;
23394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23395 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23396 Py_INCREF(obj);
23397 return Py_BuildValue((char *)"");
23398}
2f4c0a16 23399static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23400 PyObject *resultobj;
23401 long result;
23402 char *kwnames[] = {
23403 NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (long)wxGetLocalTime();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
2f4c0a16 23414 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23415 return resultobj;
23416 fail:
23417 return NULL;
23418}
23419
23420
2f4c0a16 23421static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23422 PyObject *resultobj;
23423 long result;
23424 char *kwnames[] = {
23425 NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 result = (long)wxGetUTCTime();
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
2f4c0a16 23436 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
2f4c0a16 23443static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23444 PyObject *resultobj;
23445 long result;
23446 char *kwnames[] = {
23447 NULL
23448 };
23449
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 result = (long)wxGetCurrentTime();
23454
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
2f4c0a16 23458 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23459 return resultobj;
23460 fail:
23461 return NULL;
23462}
23463
23464
2f4c0a16 23465static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23466 PyObject *resultobj;
23467 wxLongLong result;
23468 char *kwnames[] = {
23469 NULL
23470 };
23471
23472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = wxGetLocalTimeMillis();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 {
23481 PyObject *hi, *lo, *shifter, *shifted;
23482 hi = PyLong_FromLong( (&result)->GetHi() );
23483 lo = PyLong_FromLong( (&result)->GetLo() );
23484 shifter = PyLong_FromLong(32);
23485 shifted = PyNumber_Lshift(hi, shifter);
23486 resultobj = PyNumber_Or(shifted, lo);
23487 Py_DECREF(hi);
23488 Py_DECREF(lo);
23489 Py_DECREF(shifter);
23490 Py_DECREF(shifted);
23491 }
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
98e665d3
RD
23498static int _wrap_DefaultDateTime_set(PyObject *) {
23499 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23500 return 1;
23501}
23502
23503
23504static PyObject *_wrap_DefaultDateTime_get() {
23505 PyObject *pyobj;
23506
2f4c0a16 23507 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
23508 return pyobj;
23509}
23510
23511
2f4c0a16 23512static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23513 PyObject *resultobj;
23514 int arg1 ;
23515 wxDataFormat *result;
8edf1c75 23516 PyObject * obj0 = 0 ;
d14a1e28
RD
23517 char *kwnames[] = {
23518 (char *) "type", NULL
23519 };
23520
8edf1c75 23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23522 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
2f4c0a16 23531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23532 return resultobj;
23533 fail:
23534 return NULL;
23535}
23536
23537
2f4c0a16 23538static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23539 PyObject *resultobj;
23540 wxString *arg1 = 0 ;
23541 wxDataFormat *result;
423f194a 23542 bool temp1 = False ;
d14a1e28
RD
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "format", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23549 {
23550 arg1 = wxString_in_helper(obj0);
23551 if (arg1 == NULL) SWIG_fail;
423f194a 23552 temp1 = True;
d14a1e28
RD
23553 }
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
2f4c0a16 23561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23562 {
23563 if (temp1)
23564 delete arg1;
23565 }
23566 return resultobj;
23567 fail:
23568 {
23569 if (temp1)
23570 delete arg1;
23571 }
23572 return NULL;
23573}
23574
23575
2f4c0a16 23576static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23577 PyObject *resultobj;
23578 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23579 PyObject * obj0 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 delete arg1;
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598}
23599
23600
2f4c0a16 23601static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23602 PyObject *resultobj;
23603 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23604 int arg2 ;
23605 bool result;
23606 PyObject * obj0 = 0 ;
8edf1c75 23607 PyObject * obj1 = 0 ;
d14a1e28 23608
8edf1c75 23609 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23612 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ffb2aa6 23616 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
02a34c4c 23621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23622 return resultobj;
23623 fail:
23624 return NULL;
23625}
23626
23627
2f4c0a16 23628static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23629 PyObject *resultobj;
23630 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23631 int arg2 ;
23632 bool result;
23633 PyObject * obj0 = 0 ;
8edf1c75 23634 PyObject * obj1 = 0 ;
d14a1e28 23635
8edf1c75 23636 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23639 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ffb2aa6 23643 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
02a34c4c 23648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23649 return resultobj;
23650 fail:
23651 return NULL;
23652}
23653
23654
2f4c0a16 23655static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23656 PyObject *resultobj;
23657 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23658 wxDataFormat *arg2 = 0 ;
23659 bool result;
23660 PyObject * obj0 = 0 ;
23661 PyObject * obj1 = 0 ;
23662
23663 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23667 SWIG_POINTER_EXCEPTION | 0)) == -1)
23668 SWIG_fail;
d14a1e28 23669 if (arg2 == NULL) {
2f4c0a16
RD
23670 PyErr_SetString(PyExc_TypeError,"null reference");
23671 SWIG_fail;
d14a1e28
RD
23672 }
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
02a34c4c 23680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
23687static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23688 int argc;
23689 PyObject *argv[3];
23690 int ii;
23691
23692 argc = PyObject_Length(args);
23693 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23694 argv[ii] = PyTuple_GetItem(args,ii);
23695 }
23696 if (argc == 2) {
23697 int _v;
23698 {
23699 void *ptr;
2f4c0a16 23700 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23701 _v = 0;
23702 PyErr_Clear();
23703 } else {
23704 _v = 1;
23705 }
23706 }
23707 if (_v) {
23708 {
23709 void *ptr;
2f4c0a16 23710 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23711 _v = 0;
23712 PyErr_Clear();
23713 } else {
23714 _v = 1;
23715 }
23716 }
23717 if (_v) {
23718 return _wrap_DataFormat___eq____SWIG_1(self,args);
23719 }
23720 }
23721 }
23722 if (argc == 2) {
23723 int _v;
23724 {
23725 void *ptr;
2f4c0a16 23726 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23727 _v = 0;
23728 PyErr_Clear();
23729 } else {
23730 _v = 1;
23731 }
23732 }
23733 if (_v) {
2f4c0a16 23734 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
23735 if (_v) {
23736 return _wrap_DataFormat___eq____SWIG_0(self,args);
23737 }
23738 }
23739 }
23740
23741 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23742 return NULL;
23743}
23744
23745
2f4c0a16 23746static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23747 PyObject *resultobj;
23748 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23749 wxDataFormat *arg2 = 0 ;
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 PyObject * obj1 = 0 ;
23753
23754 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1)
23759 SWIG_fail;
d14a1e28 23760 if (arg2 == NULL) {
2f4c0a16
RD
23761 PyErr_SetString(PyExc_TypeError,"null reference");
23762 SWIG_fail;
d14a1e28
RD
23763 }
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
02a34c4c 23771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23772 return resultobj;
23773 fail:
23774 return NULL;
23775}
23776
23777
23778static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23779 int argc;
23780 PyObject *argv[3];
23781 int ii;
23782
23783 argc = PyObject_Length(args);
23784 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23785 argv[ii] = PyTuple_GetItem(args,ii);
23786 }
23787 if (argc == 2) {
23788 int _v;
23789 {
23790 void *ptr;
2f4c0a16 23791 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23792 _v = 0;
23793 PyErr_Clear();
23794 } else {
23795 _v = 1;
23796 }
23797 }
23798 if (_v) {
23799 {
23800 void *ptr;
2f4c0a16 23801 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23802 _v = 0;
23803 PyErr_Clear();
23804 } else {
23805 _v = 1;
23806 }
23807 }
23808 if (_v) {
23809 return _wrap_DataFormat___ne____SWIG_1(self,args);
23810 }
23811 }
23812 }
23813 if (argc == 2) {
23814 int _v;
23815 {
23816 void *ptr;
2f4c0a16 23817 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23818 _v = 0;
23819 PyErr_Clear();
23820 } else {
23821 _v = 1;
23822 }
23823 }
23824 if (_v) {
2f4c0a16 23825 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
23826 if (_v) {
23827 return _wrap_DataFormat___ne____SWIG_0(self,args);
23828 }
23829 }
23830 }
23831
23832 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23833 return NULL;
23834}
23835
23836
2f4c0a16 23837static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23838 PyObject *resultobj;
23839 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23840 int arg2 ;
23841 PyObject * obj0 = 0 ;
8edf1c75 23842 PyObject * obj1 = 0 ;
d14a1e28
RD
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "format", NULL
23845 };
23846
8edf1c75 23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 (arg1)->SetType((wxDataFormatId )arg2);
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 Py_INCREF(Py_None); resultobj = Py_None;
23860 return resultobj;
23861 fail:
23862 return NULL;
23863}
23864
23865
2f4c0a16 23866static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23867 PyObject *resultobj;
23868 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23869 int result;
23870 PyObject * obj0 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 result = (int)((wxDataFormat const *)arg1)->GetType();
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
2f4c0a16 23885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23886 return resultobj;
23887 fail:
23888 return NULL;
23889}
23890
23891
2f4c0a16 23892static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23893 PyObject *resultobj;
23894 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23895 wxString result;
23896 PyObject * obj0 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 result = ((wxDataFormat const *)arg1)->GetId();
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 {
23912#if wxUSE_UNICODE
23913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23914#else
23915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23916#endif
23917 }
23918 return resultobj;
23919 fail:
23920 return NULL;
23921}
23922
23923
2f4c0a16 23924static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23925 PyObject *resultobj;
23926 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23927 wxString *arg2 = 0 ;
423f194a 23928 bool temp2 = False ;
d14a1e28
RD
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "format", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23938 {
23939 arg2 = wxString_in_helper(obj1);
23940 if (arg2 == NULL) SWIG_fail;
423f194a 23941 temp2 = True;
d14a1e28
RD
23942 }
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 (arg1)->SetId((wxString const &)*arg2);
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 Py_INCREF(Py_None); resultobj = Py_None;
23951 {
23952 if (temp2)
23953 delete arg2;
23954 }
23955 return resultobj;
23956 fail:
23957 {
23958 if (temp2)
23959 delete arg2;
23960 }
23961 return NULL;
23962}
23963
23964
2f4c0a16 23965static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23966 PyObject *obj;
23967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23968 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23969 Py_INCREF(obj);
23970 return Py_BuildValue((char *)"");
23971}
8edf1c75 23972static int _wrap_FormatInvalid_set(PyObject *) {
d14a1e28
RD
23973 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23974 return 1;
23975}
23976
23977
23978static PyObject *_wrap_FormatInvalid_get() {
23979 PyObject *pyobj;
23980
2f4c0a16 23981 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
23982 return pyobj;
23983}
23984
23985
2f4c0a16 23986static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23987 PyObject *resultobj;
23988 wxDataObject *arg1 = (wxDataObject *) 0 ;
23989 PyObject * obj0 = 0 ;
23990 char *kwnames[] = {
23991 (char *) "self", NULL
23992 };
23993
23994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
23996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 delete arg1;
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 Py_INCREF(Py_None); resultobj = Py_None;
24005 return resultobj;
24006 fail:
24007 return NULL;
24008}
24009
24010
2f4c0a16 24011static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24012 PyObject *resultobj;
24013 wxDataObject *arg1 = (wxDataObject *) 0 ;
24014 int arg2 = (int) wxDataObject::Get ;
24015 SwigValueWrapper< wxDataFormat > result;
24016 PyObject * obj0 = 0 ;
8edf1c75 24017 PyObject * obj1 = 0 ;
d14a1e28
RD
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "dir", NULL
24020 };
24021
8edf1c75 24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24025 if (obj1) {
2f4c0a16
RD
24026 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24027 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24028 }
d14a1e28
RD
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 {
24037 wxDataFormat * resultptr;
24038 resultptr = new wxDataFormat((wxDataFormat &) result);
2f4c0a16 24039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24040 }
24041 return resultobj;
24042 fail:
24043 return NULL;
24044}
24045
24046
2f4c0a16 24047static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24048 PyObject *resultobj;
24049 wxDataObject *arg1 = (wxDataObject *) 0 ;
24050 int arg2 = (int) wxDataObject::Get ;
24051 size_t result;
24052 PyObject * obj0 = 0 ;
8edf1c75 24053 PyObject * obj1 = 0 ;
d14a1e28
RD
24054 char *kwnames[] = {
24055 (char *) "self",(char *) "dir", NULL
24056 };
24057
8edf1c75 24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24061 if (obj1) {
2f4c0a16
RD
24062 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24063 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24064 }
d14a1e28
RD
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
2f4c0a16 24072 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24073 return resultobj;
24074 fail:
24075 return NULL;
24076}
24077
24078
2f4c0a16 24079static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24080 PyObject *resultobj;
24081 wxDataObject *arg1 = (wxDataObject *) 0 ;
24082 wxDataFormat *arg2 = 0 ;
24083 int arg3 = (int) wxDataObject::Get ;
24084 bool result;
24085 PyObject * obj0 = 0 ;
24086 PyObject * obj1 = 0 ;
8edf1c75 24087 PyObject * obj2 = 0 ;
d14a1e28
RD
24088 char *kwnames[] = {
24089 (char *) "self",(char *) "format",(char *) "dir", NULL
24090 };
24091
8edf1c75 24092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24096 SWIG_POINTER_EXCEPTION | 0)) == -1)
24097 SWIG_fail;
d14a1e28 24098 if (arg2 == NULL) {
2f4c0a16
RD
24099 PyErr_SetString(PyExc_TypeError,"null reference");
24100 SWIG_fail;
d14a1e28 24101 }
8edf1c75 24102 if (obj2) {
2f4c0a16
RD
24103 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24104 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24105 }
d14a1e28
RD
24106 {
24107 PyThreadState* __tstate = wxPyBeginAllowThreads();
24108 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24109
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
02a34c4c 24113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
2f4c0a16 24120static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24121 PyObject *resultobj;
24122 wxDataObject *arg1 = (wxDataObject *) 0 ;
24123 wxDataFormat *arg2 = 0 ;
24124 size_t result;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self",(char *) "format", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24135 SWIG_POINTER_EXCEPTION | 0)) == -1)
24136 SWIG_fail;
d14a1e28 24137 if (arg2 == NULL) {
2f4c0a16
RD
24138 PyErr_SetString(PyExc_TypeError,"null reference");
24139 SWIG_fail;
d14a1e28
RD
24140 }
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
2f4c0a16 24148 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24149 return resultobj;
24150 fail:
24151 return NULL;
24152}
24153
24154
2f4c0a16 24155static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24156 PyObject *resultobj;
24157 wxDataObject *arg1 = (wxDataObject *) 0 ;
24158 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24159 int arg3 = (int) wxDataObject::Get ;
24160 PyObject * obj0 = 0 ;
24161 PyObject * obj1 = 0 ;
8edf1c75 24162 PyObject * obj2 = 0 ;
d14a1e28
RD
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "formats",(char *) "dir", NULL
24165 };
24166
8edf1c75 24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24172 if (obj2) {
2f4c0a16
RD
24173 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24174 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24175 }
d14a1e28
RD
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187}
24188
24189
2f4c0a16 24190static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24191 PyObject *resultobj;
24192 wxDataObject *arg1 = (wxDataObject *) 0 ;
24193 wxDataFormat *arg2 = 0 ;
24194 void *arg3 = (void *) 0 ;
24195 bool result;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 PyObject * obj2 = 0 ;
24199 char *kwnames[] = {
24200 (char *) "self",(char *) "format",(char *) "buf", NULL
24201 };
24202
24203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24207 SWIG_POINTER_EXCEPTION | 0)) == -1)
24208 SWIG_fail;
d14a1e28 24209 if (arg2 == NULL) {
2f4c0a16
RD
24210 PyErr_SetString(PyExc_TypeError,"null reference");
24211 SWIG_fail;
d14a1e28 24212 }
2f4c0a16 24213 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
02a34c4c 24221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24222 return resultobj;
24223 fail:
24224 return NULL;
24225}
24226
24227
2f4c0a16 24228static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24229 PyObject *resultobj;
24230 wxDataObject *arg1 = (wxDataObject *) 0 ;
24231 wxDataFormat *arg2 = 0 ;
24232 size_t arg3 ;
24233 void *arg4 = (void *) 0 ;
24234 bool result;
24235 PyObject * obj0 = 0 ;
24236 PyObject * obj1 = 0 ;
24237 PyObject * obj2 = 0 ;
24238 PyObject * obj3 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1)
24248 SWIG_fail;
d14a1e28 24249 if (arg2 == NULL) {
2f4c0a16
RD
24250 PyErr_SetString(PyExc_TypeError,"null reference");
24251 SWIG_fail;
2dbef272 24252 }
2f4c0a16
RD
24253 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
02a34c4c 24263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24264 return resultobj;
24265 fail:
24266 return NULL;
24267}
24268
24269
2f4c0a16 24270static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24271 PyObject *obj;
24272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24273 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24274 Py_INCREF(obj);
24275 return Py_BuildValue((char *)"");
24276}
2f4c0a16 24277static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24278 PyObject *resultobj;
24279 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24280 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24281 wxDataObjectSimple *result;
24282 PyObject * obj0 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "format", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24288 if (obj0) {
2f4c0a16
RD
24289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1)
24291 SWIG_fail;
d14a1e28 24292 if (arg1 == NULL) {
2f4c0a16
RD
24293 PyErr_SetString(PyExc_TypeError,"null reference");
24294 SWIG_fail;
d14a1e28
RD
24295 }
24296 }
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
2f4c0a16 24304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
24305 return resultobj;
24306 fail:
24307 return NULL;
24308}
24309
24310
2f4c0a16 24311static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24312 PyObject *resultobj;
24313 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24314 wxDataFormat *result;
24315 PyObject * obj0 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 {
24326 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24327 result = (wxDataFormat *) &_result_ref;
24328 }
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
2f4c0a16 24333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24334 return resultobj;
24335 fail:
24336 return NULL;
24337}
24338
24339
2f4c0a16 24340static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24341 PyObject *resultobj;
24342 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24343 wxDataFormat *arg2 = 0 ;
24344 PyObject * obj0 = 0 ;
24345 PyObject * obj1 = 0 ;
24346 char *kwnames[] = {
24347 (char *) "self",(char *) "format", NULL
24348 };
24349
24350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1)
24355 SWIG_fail;
d14a1e28 24356 if (arg2 == NULL) {
2f4c0a16
RD
24357 PyErr_SetString(PyExc_TypeError,"null reference");
24358 SWIG_fail;
d14a1e28
RD
24359 }
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 Py_INCREF(Py_None); resultobj = Py_None;
24368 return resultobj;
24369 fail:
24370 return NULL;
24371}
24372
24373
2f4c0a16 24374static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24375 PyObject *obj;
24376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24377 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24378 Py_INCREF(obj);
24379 return Py_BuildValue((char *)"");
24380}
2f4c0a16 24381static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24382 PyObject *resultobj;
24383 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24384 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24385 wxPyDataObjectSimple *result;
24386 PyObject * obj0 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "format", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24392 if (obj0) {
2f4c0a16
RD
24393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24394 SWIG_POINTER_EXCEPTION | 0)) == -1)
24395 SWIG_fail;
d14a1e28 24396 if (arg1 == NULL) {
2f4c0a16
RD
24397 PyErr_SetString(PyExc_TypeError,"null reference");
24398 SWIG_fail;
d14a1e28
RD
24399 }
24400 }
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
2f4c0a16 24408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
24409 return resultobj;
24410 fail:
24411 return NULL;
24412}
24413
24414
2f4c0a16 24415static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24416 PyObject *resultobj;
24417 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24418 PyObject *arg2 = (PyObject *) 0 ;
24419 PyObject *arg3 = (PyObject *) 0 ;
24420 PyObject * obj0 = 0 ;
24421 PyObject * obj1 = 0 ;
24422 PyObject * obj2 = 0 ;
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "self",(char *) "_class", NULL
24425 };
24426
24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24430 arg2 = obj1;
24431 arg3 = obj2;
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 (arg1)->_setCallbackInfo(arg2,arg3);
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 Py_INCREF(Py_None); resultobj = Py_None;
24440 return resultobj;
24441 fail:
24442 return NULL;
24443}
24444
24445
2f4c0a16 24446static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24447 PyObject *obj;
24448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24449 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24450 Py_INCREF(obj);
24451 return Py_BuildValue((char *)"");
24452}
2f4c0a16 24453static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24454 PyObject *resultobj;
24455 wxDataObjectComposite *result;
24456 char *kwnames[] = {
24457 NULL
24458 };
24459
24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
2f4c0a16 24468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
24469 return resultobj;
24470 fail:
24471 return NULL;
24472}
24473
24474
2f4c0a16 24475static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24476 PyObject *resultobj;
24477 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24478 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 24479 int arg3 = (int) False ;
d14a1e28
RD
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
8edf1c75 24482 PyObject * obj2 = 0 ;
d14a1e28
RD
24483 char *kwnames[] = {
24484 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24485 };
24486
8edf1c75 24487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24491 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
8edf1c75 24492 if (obj2) {
2f4c0a16
RD
24493 arg3 = (int) SWIG_AsInt(obj2);
24494 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24495 }
d14a1e28
RD
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->Add(arg2,arg3);
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 Py_INCREF(Py_None); resultobj = Py_None;
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
2f4c0a16 24510static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24511 PyObject *obj;
24512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24513 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24514 Py_INCREF(obj);
24515 return Py_BuildValue((char *)"");
24516}
2f4c0a16 24517static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24518 PyObject *resultobj;
24519 wxString const &arg1_defvalue = wxPyEmptyString ;
24520 wxString *arg1 = (wxString *) &arg1_defvalue ;
24521 wxTextDataObject *result;
423f194a 24522 bool temp1 = False ;
d14a1e28
RD
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "text", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24529 if (obj0) {
24530 {
24531 arg1 = wxString_in_helper(obj0);
24532 if (arg1 == NULL) SWIG_fail;
423f194a 24533 temp1 = True;
d14a1e28
RD
24534 }
24535 }
24536 {
24537 PyThreadState* __tstate = wxPyBeginAllowThreads();
24538 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24539
24540 wxPyEndAllowThreads(__tstate);
24541 if (PyErr_Occurred()) SWIG_fail;
24542 }
2f4c0a16 24543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
24544 {
24545 if (temp1)
24546 delete arg1;
24547 }
24548 return resultobj;
24549 fail:
24550 {
24551 if (temp1)
24552 delete arg1;
24553 }
24554 return NULL;
24555}
24556
24557
2f4c0a16 24558static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24559 PyObject *resultobj;
24560 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24561 size_t result;
24562 PyObject * obj0 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24570 {
24571 PyThreadState* __tstate = wxPyBeginAllowThreads();
24572 result = (size_t)(arg1)->GetTextLength();
24573
24574 wxPyEndAllowThreads(__tstate);
24575 if (PyErr_Occurred()) SWIG_fail;
24576 }
2f4c0a16 24577 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24578 return resultobj;
24579 fail:
24580 return NULL;
24581}
24582
24583
2f4c0a16 24584static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24585 PyObject *resultobj;
24586 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24587 wxString result;
24588 PyObject * obj0 = 0 ;
24589 char *kwnames[] = {
24590 (char *) "self", NULL
24591 };
24592
24593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 result = (arg1)->GetText();
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
24604#if wxUSE_UNICODE
24605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24606#else
24607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24608#endif
24609 }
24610 return resultobj;
24611 fail:
24612 return NULL;
24613}
24614
24615
2f4c0a16 24616static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24617 PyObject *resultobj;
24618 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24619 wxString *arg2 = 0 ;
423f194a 24620 bool temp2 = False ;
d14a1e28
RD
24621 PyObject * obj0 = 0 ;
24622 PyObject * obj1 = 0 ;
24623 char *kwnames[] = {
24624 (char *) "self",(char *) "text", NULL
24625 };
24626
24627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24630 {
24631 arg2 = wxString_in_helper(obj1);
24632 if (arg2 == NULL) SWIG_fail;
423f194a 24633 temp2 = True;
d14a1e28
RD
24634 }
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->SetText((wxString const &)*arg2);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
24643 {
24644 if (temp2)
24645 delete arg2;
24646 }
24647 return resultobj;
24648 fail:
24649 {
24650 if (temp2)
24651 delete arg2;
24652 }
24653 return NULL;
24654}
24655
24656
2f4c0a16 24657static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24658 PyObject *obj;
24659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24660 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24661 Py_INCREF(obj);
24662 return Py_BuildValue((char *)"");
24663}
2f4c0a16 24664static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24665 PyObject *resultobj;
24666 wxString const &arg1_defvalue = wxPyEmptyString ;
24667 wxString *arg1 = (wxString *) &arg1_defvalue ;
24668 wxPyTextDataObject *result;
423f194a 24669 bool temp1 = False ;
d14a1e28
RD
24670 PyObject * obj0 = 0 ;
24671 char *kwnames[] = {
24672 (char *) "text", NULL
24673 };
24674
24675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24676 if (obj0) {
24677 {
24678 arg1 = wxString_in_helper(obj0);
24679 if (arg1 == NULL) SWIG_fail;
423f194a 24680 temp1 = True;
d14a1e28
RD
24681 }
24682 }
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
2f4c0a16 24690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
24691 {
24692 if (temp1)
24693 delete arg1;
24694 }
24695 return resultobj;
24696 fail:
24697 {
24698 if (temp1)
24699 delete arg1;
24700 }
24701 return NULL;
24702}
24703
24704
2f4c0a16 24705static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24706 PyObject *resultobj;
24707 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24708 PyObject *arg2 = (PyObject *) 0 ;
24709 PyObject *arg3 = (PyObject *) 0 ;
24710 PyObject * obj0 = 0 ;
24711 PyObject * obj1 = 0 ;
24712 PyObject * obj2 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self",(char *) "self",(char *) "_class", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
24719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24720 arg2 = obj1;
24721 arg3 = obj2;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 (arg1)->_setCallbackInfo(arg2,arg3);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 Py_INCREF(Py_None); resultobj = Py_None;
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
2f4c0a16 24736static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24737 PyObject *obj;
24738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24739 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24740 Py_INCREF(obj);
24741 return Py_BuildValue((char *)"");
24742}
2f4c0a16 24743static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24744 PyObject *resultobj;
24745 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24746 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24747 wxBitmapDataObject *result;
24748 PyObject * obj0 = 0 ;
24749 char *kwnames[] = {
24750 (char *) "bitmap", NULL
24751 };
24752
24753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24754 if (obj0) {
2f4c0a16
RD
24755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
24756 SWIG_POINTER_EXCEPTION | 0)) == -1)
24757 SWIG_fail;
d14a1e28 24758 if (arg1 == NULL) {
2f4c0a16
RD
24759 PyErr_SetString(PyExc_TypeError,"null reference");
24760 SWIG_fail;
d14a1e28
RD
24761 }
24762 }
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24766
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
2f4c0a16 24770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
24771 return resultobj;
24772 fail:
24773 return NULL;
24774}
24775
24776
2f4c0a16 24777static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24778 PyObject *resultobj;
24779 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24780 wxBitmap result;
24781 PyObject * obj0 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 wxBitmap * resultptr;
24798 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 24799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
24800 }
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
2f4c0a16 24807static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24808 PyObject *resultobj;
24809 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24810 wxBitmap *arg2 = 0 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "bitmap", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1)
24822 SWIG_fail;
d14a1e28 24823 if (arg2 == NULL) {
2f4c0a16
RD
24824 PyErr_SetString(PyExc_TypeError,"null reference");
24825 SWIG_fail;
d14a1e28
RD
24826 }
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 Py_INCREF(Py_None); resultobj = Py_None;
24835 return resultobj;
24836 fail:
24837 return NULL;
24838}
24839
24840
2f4c0a16 24841static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24842 PyObject *obj;
24843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24844 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24845 Py_INCREF(obj);
24846 return Py_BuildValue((char *)"");
24847}
2f4c0a16 24848static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24849 PyObject *resultobj;
24850 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24851 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24852 wxPyBitmapDataObject *result;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "bitmap", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24859 if (obj0) {
2f4c0a16
RD
24860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1)
24862 SWIG_fail;
d14a1e28 24863 if (arg1 == NULL) {
2f4c0a16
RD
24864 PyErr_SetString(PyExc_TypeError,"null reference");
24865 SWIG_fail;
d14a1e28
RD
24866 }
24867 }
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
2f4c0a16 24875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
24876 return resultobj;
24877 fail:
24878 return NULL;
24879}
24880
24881
2f4c0a16 24882static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24883 PyObject *resultobj;
24884 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24885 PyObject *arg2 = (PyObject *) 0 ;
24886 PyObject *arg3 = (PyObject *) 0 ;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 PyObject * obj2 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self",(char *) "self",(char *) "_class", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
24896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24897 arg2 = obj1;
24898 arg3 = obj2;
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 (arg1)->_setCallbackInfo(arg2,arg3);
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 Py_INCREF(Py_None); resultobj = Py_None;
24907 return resultobj;
24908 fail:
24909 return NULL;
24910}
24911
24912
2f4c0a16 24913static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24914 PyObject *obj;
24915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24916 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24917 Py_INCREF(obj);
24918 return Py_BuildValue((char *)"");
24919}
2f4c0a16 24920static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24921 PyObject *resultobj;
24922 wxFileDataObject *result;
24923 char *kwnames[] = {
24924 NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 result = (wxFileDataObject *)new wxFileDataObject();
24931
24932 wxPyEndAllowThreads(__tstate);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
2f4c0a16 24935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
24936 return resultobj;
24937 fail:
24938 return NULL;
24939}
24940
24941
2f4c0a16 24942static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24943 PyObject *resultobj;
24944 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24945 wxArrayString *result;
24946 PyObject * obj0 = 0 ;
24947 char *kwnames[] = {
24948 (char *) "self", NULL
24949 };
24950
24951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
24953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 {
24957 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24958 result = (wxArrayString *) &_result_ref;
24959 }
24960
24961 wxPyEndAllowThreads(__tstate);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 {
24965 resultobj = wxArrayString2PyList_helper(*result);
24966 }
24967 return resultobj;
24968 fail:
24969 return NULL;
24970}
24971
24972
2f4c0a16
RD
24973static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
24974 PyObject *resultobj;
24975 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24976 wxString *arg2 = 0 ;
24977 bool temp2 = False ;
24978 PyObject * obj0 = 0 ;
24979 PyObject * obj1 = 0 ;
24980 char *kwnames[] = {
24981 (char *) "self",(char *) "filename", NULL
24982 };
24983
24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
24985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
24986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24987 {
24988 arg2 = wxString_in_helper(obj1);
24989 if (arg2 == NULL) SWIG_fail;
24990 temp2 = True;
24991 }
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->AddFile((wxString const &)*arg2);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
25000 {
25001 if (temp2)
25002 delete arg2;
25003 }
25004 return resultobj;
25005 fail:
25006 {
25007 if (temp2)
25008 delete arg2;
25009 }
25010 return NULL;
25011}
25012
25013
25014static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25015 PyObject *obj;
25016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25017 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25018 Py_INCREF(obj);
25019 return Py_BuildValue((char *)"");
25020}
2f4c0a16 25021static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25022 PyObject *resultobj;
25023 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25024 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25025 wxCustomDataObject *result;
25026 PyObject * obj0 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "format", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25032 if (obj0) {
2f4c0a16
RD
25033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25034 SWIG_POINTER_EXCEPTION | 0)) == -1)
25035 SWIG_fail;
d14a1e28 25036 if (arg1 == NULL) {
2f4c0a16
RD
25037 PyErr_SetString(PyExc_TypeError,"null reference");
25038 SWIG_fail;
d14a1e28
RD
25039 }
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
2f4c0a16 25048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
25049 return resultobj;
25050 fail:
25051 return NULL;
25052}
25053
25054
2f4c0a16 25055static PyObject *_wrap_CustomDataObject_TakeData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25056 PyObject *resultobj;
25057 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25058 PyObject *arg2 = (PyObject *) 0 ;
25059 PyObject * obj0 = 0 ;
25060 PyObject * obj1 = 0 ;
25061 char *kwnames[] = {
25062 (char *) "self",(char *) "data", NULL
25063 };
25064
25065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25068 arg2 = obj1;
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 wxCustomDataObject_TakeData(arg1,arg2);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 Py_INCREF(Py_None); resultobj = Py_None;
25077 return resultobj;
25078 fail:
25079 return NULL;
25080}
25081
25082
2f4c0a16 25083static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25084 PyObject *resultobj;
25085 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25086 PyObject *arg2 = (PyObject *) 0 ;
25087 bool result;
25088 PyObject * obj0 = 0 ;
25089 PyObject * obj1 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "self",(char *) "data", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25097 arg2 = obj1;
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
02a34c4c 25105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
2f4c0a16 25112static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25113 PyObject *resultobj;
25114 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25115 size_t result;
25116 PyObject * obj0 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (size_t)(arg1)->GetSize();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
2f4c0a16 25131 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25132 return resultobj;
25133 fail:
25134 return NULL;
25135}
25136
25137
2f4c0a16 25138static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25139 PyObject *resultobj;
25140 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25141 PyObject *result;
25142 PyObject * obj0 = 0 ;
25143 char *kwnames[] = {
25144 (char *) "self", NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25150 {
25151 PyThreadState* __tstate = wxPyBeginAllowThreads();
25152 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25153
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 resultobj = result;
25158 return resultobj;
25159 fail:
25160 return NULL;
25161}
25162
25163
2f4c0a16 25164static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25165 PyObject *obj;
25166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25167 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25168 Py_INCREF(obj);
25169 return Py_BuildValue((char *)"");
25170}
2f4c0a16 25171static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25172 PyObject *resultobj;
25173 wxURLDataObject *result;
25174 char *kwnames[] = {
25175 NULL
25176 };
25177
25178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 result = (wxURLDataObject *)new wxURLDataObject();
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
2f4c0a16 25186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
25187 return resultobj;
25188 fail:
25189 return NULL;
25190}
25191
25192
2f4c0a16 25193static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25194 PyObject *resultobj;
25195 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25196 wxString result;
25197 PyObject * obj0 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25205 {
25206 PyThreadState* __tstate = wxPyBeginAllowThreads();
25207 result = (arg1)->GetURL();
25208
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 {
25213#if wxUSE_UNICODE
25214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25215#else
25216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25217#endif
25218 }
25219 return resultobj;
25220 fail:
25221 return NULL;
25222}
25223
25224
2f4c0a16 25225static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25226 PyObject *resultobj;
25227 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25228 wxString *arg2 = 0 ;
423f194a 25229 bool temp2 = False ;
d14a1e28
RD
25230 PyObject * obj0 = 0 ;
25231 PyObject * obj1 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self",(char *) "url", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25239 {
25240 arg2 = wxString_in_helper(obj1);
25241 if (arg2 == NULL) SWIG_fail;
423f194a 25242 temp2 = True;
d14a1e28
RD
25243 }
25244 {
25245 PyThreadState* __tstate = wxPyBeginAllowThreads();
25246 (arg1)->SetURL((wxString const &)*arg2);
25247
25248 wxPyEndAllowThreads(__tstate);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 }
25251 Py_INCREF(Py_None); resultobj = Py_None;
25252 {
25253 if (temp2)
25254 delete arg2;
25255 }
25256 return resultobj;
25257 fail:
25258 {
25259 if (temp2)
25260 delete arg2;
25261 }
25262 return NULL;
25263}
25264
25265
2f4c0a16 25266static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25267 PyObject *obj;
25268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25269 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25270 Py_INCREF(obj);
25271 return Py_BuildValue((char *)"");
25272}
2f4c0a16 25273static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25274 PyObject *resultobj;
25275 wxMetafileDataObject *result;
25276 char *kwnames[] = {
25277 NULL
25278 };
25279
25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25284
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
2f4c0a16 25288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
25289 return resultobj;
25290 fail:
25291 return NULL;
25292}
25293
25294
2f4c0a16 25295static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25296 PyObject *resultobj;
25297 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25298 wxMetafile *arg2 = 0 ;
25299 PyObject * obj0 = 0 ;
25300 PyObject * obj1 = 0 ;
25301 char *kwnames[] = {
25302 (char *) "self",(char *) "metafile", NULL
25303 };
25304
25305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25309 SWIG_POINTER_EXCEPTION | 0)) == -1)
25310 SWIG_fail;
d14a1e28 25311 if (arg2 == NULL) {
2f4c0a16
RD
25312 PyErr_SetString(PyExc_TypeError,"null reference");
25313 SWIG_fail;
d14a1e28
RD
25314 }
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 Py_INCREF(Py_None); resultobj = Py_None;
25323 return resultobj;
25324 fail:
25325 return NULL;
25326}
25327
25328
2f4c0a16 25329static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25330 PyObject *resultobj;
25331 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25332 wxMetafile result;
25333 PyObject * obj0 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 {
25349 wxMetafile * resultptr;
25350 resultptr = new wxMetafile((wxMetafile &) result);
2f4c0a16 25351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
d14a1e28
RD
25352 }
25353 return resultobj;
25354 fail:
25355 return NULL;
25356}
25357
25358
2f4c0a16 25359static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25360 PyObject *obj;
25361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25362 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25363 Py_INCREF(obj);
25364 return Py_BuildValue((char *)"");
25365}
2f4c0a16 25366static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25367 PyObject *resultobj;
25368 int arg1 ;
25369 bool result;
8edf1c75 25370 PyObject * obj0 = 0 ;
d14a1e28
RD
25371 char *kwnames[] = {
25372 (char *) "res", NULL
25373 };
25374
8edf1c75 25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25376 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25381
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
02a34c4c 25385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25386 return resultobj;
25387 fail:
25388 return NULL;
25389}
25390
25391
2f4c0a16 25392static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 25393 PyObject *resultobj;
d896a793 25394 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25395 wxCursor const &arg2_defvalue = wxNullCursor ;
25396 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25397 wxCursor const &arg3_defvalue = wxNullCursor ;
25398 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25399 wxCursor const &arg4_defvalue = wxNullCursor ;
25400 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25401 wxPyDropSource *result;
25402 PyObject * obj0 = 0 ;
25403 PyObject * obj1 = 0 ;
25404 PyObject * obj2 = 0 ;
25405 PyObject * obj3 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25408 };
25409
d896a793 25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25413 if (obj1) {
2f4c0a16
RD
25414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25415 SWIG_POINTER_EXCEPTION | 0)) == -1)
25416 SWIG_fail;
d14a1e28 25417 if (arg2 == NULL) {
2f4c0a16
RD
25418 PyErr_SetString(PyExc_TypeError,"null reference");
25419 SWIG_fail;
d14a1e28
RD
25420 }
25421 }
25422 if (obj2) {
2f4c0a16
RD
25423 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25424 SWIG_POINTER_EXCEPTION | 0)) == -1)
25425 SWIG_fail;
d14a1e28 25426 if (arg3 == NULL) {
2f4c0a16
RD
25427 PyErr_SetString(PyExc_TypeError,"null reference");
25428 SWIG_fail;
d14a1e28
RD
25429 }
25430 }
25431 if (obj3) {
2f4c0a16
RD
25432 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25433 SWIG_POINTER_EXCEPTION | 0)) == -1)
25434 SWIG_fail;
d14a1e28 25435 if (arg4 == NULL) {
2f4c0a16
RD
25436 PyErr_SetString(PyExc_TypeError,"null reference");
25437 SWIG_fail;
d14a1e28
RD
25438 }
25439 }
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
2f4c0a16 25447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
25448 return resultobj;
25449 fail:
25450 return NULL;
25451}
25452
25453
2f4c0a16 25454static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25455 PyObject *resultobj;
25456 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25457 PyObject *arg2 = (PyObject *) 0 ;
25458 PyObject *arg3 = (PyObject *) 0 ;
25459 int arg4 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 PyObject * obj2 = 0 ;
8edf1c75 25463 PyObject * obj3 = 0 ;
d14a1e28
RD
25464 char *kwnames[] = {
25465 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25466 };
25467
8edf1c75 25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25471 arg2 = obj1;
25472 arg3 = obj2;
2f4c0a16
RD
25473 arg4 = (int) SWIG_AsInt(obj3);
25474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 Py_INCREF(Py_None); resultobj = Py_None;
25483 return resultobj;
25484 fail:
25485 return NULL;
25486}
25487
25488
2f4c0a16 25489static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25490 PyObject *resultobj;
25491 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25492 PyObject * obj0 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 delete arg1;
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 Py_INCREF(Py_None); resultobj = Py_None;
25508 return resultobj;
25509 fail:
25510 return NULL;
25511}
25512
25513
2f4c0a16 25514static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25515 PyObject *resultobj;
25516 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25517 wxDataObject *arg2 = 0 ;
25518 PyObject * obj0 = 0 ;
25519 PyObject * obj1 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self",(char *) "data", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25528 SWIG_POINTER_EXCEPTION | 0)) == -1)
25529 SWIG_fail;
d14a1e28 25530 if (arg2 == NULL) {
2f4c0a16
RD
25531 PyErr_SetString(PyExc_TypeError,"null reference");
25532 SWIG_fail;
d14a1e28
RD
25533 }
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 (arg1)->SetData(*arg2);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 Py_INCREF(Py_None); resultobj = Py_None;
25542 return resultobj;
25543 fail:
25544 return NULL;
25545}
25546
25547
2f4c0a16 25548static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25549 PyObject *resultobj;
25550 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25551 wxDataObject *result;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 result = (wxDataObject *)(arg1)->GetDataObject();
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
2f4c0a16 25567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25568 return resultobj;
25569 fail:
25570 return NULL;
25571}
25572
25573
2f4c0a16 25574static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25575 PyObject *resultobj;
25576 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25577 int arg2 ;
25578 wxCursor *arg3 = 0 ;
25579 PyObject * obj0 = 0 ;
8edf1c75 25580 PyObject * obj1 = 0 ;
d14a1e28
RD
25581 PyObject * obj2 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self",(char *) "res",(char *) "cursor", NULL
25584 };
25585
8edf1c75 25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25589 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25592 SWIG_POINTER_EXCEPTION | 0)) == -1)
25593 SWIG_fail;
d14a1e28 25594 if (arg3 == NULL) {
2f4c0a16
RD
25595 PyErr_SetString(PyExc_TypeError,"null reference");
25596 SWIG_fail;
d14a1e28
RD
25597 }
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
2f4c0a16 25612static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25613 PyObject *resultobj;
25614 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25615 int arg2 = (int) wxDrag_CopyOnly ;
25616 int result;
25617 PyObject * obj0 = 0 ;
8edf1c75 25618 PyObject * obj1 = 0 ;
d14a1e28
RD
25619 char *kwnames[] = {
25620 (char *) "self",(char *) "flags", NULL
25621 };
25622
8edf1c75 25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25626 if (obj1) {
2f4c0a16
RD
25627 arg2 = (int) SWIG_AsInt(obj1);
25628 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25629 }
d14a1e28
RD
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 result = (int)(arg1)->DoDragDrop(arg2);
25633
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
2f4c0a16 25637 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25638 return resultobj;
25639 fail:
25640 return NULL;
25641}
25642
25643
2f4c0a16 25644static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25645 PyObject *resultobj;
25646 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25647 int arg2 ;
25648 bool result;
25649 PyObject * obj0 = 0 ;
8edf1c75 25650 PyObject * obj1 = 0 ;
d14a1e28
RD
25651 char *kwnames[] = {
25652 (char *) "self",(char *) "effect", NULL
25653 };
25654
8edf1c75 25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25658 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25660 {
25661 PyThreadState* __tstate = wxPyBeginAllowThreads();
25662 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25663
25664 wxPyEndAllowThreads(__tstate);
25665 if (PyErr_Occurred()) SWIG_fail;
25666 }
02a34c4c 25667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25668 return resultobj;
25669 fail:
25670 return NULL;
25671}
25672
25673
2f4c0a16 25674static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25675 PyObject *obj;
25676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25677 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25678 Py_INCREF(obj);
25679 return Py_BuildValue((char *)"");
25680}
2f4c0a16 25681static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25682 PyObject *resultobj;
25683 wxDataObject *arg1 = (wxDataObject *) NULL ;
25684 wxPyDropTarget *result;
25685 PyObject * obj0 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "dataObject", NULL
25688 };
25689
2f4c0a16 25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25691 if (obj0) {
2f4c0a16
RD
25692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25693 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25694 }
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25698
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
2f4c0a16 25702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
25703 return resultobj;
25704 fail:
25705 return NULL;
25706}
25707
25708
2f4c0a16 25709static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25710 PyObject *resultobj;
25711 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25712 PyObject *arg2 = (PyObject *) 0 ;
25713 PyObject *arg3 = (PyObject *) 0 ;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 PyObject * obj2 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "self",(char *) "_class", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25724 arg2 = obj1;
25725 arg3 = obj2;
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 (arg1)->_setCallbackInfo(arg2,arg3);
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 Py_INCREF(Py_None); resultobj = Py_None;
25734 return resultobj;
25735 fail:
25736 return NULL;
25737}
25738
25739
2f4c0a16 25740static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25741 PyObject *resultobj;
25742 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25743 PyObject * obj0 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 delete arg1;
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 Py_INCREF(Py_None); resultobj = Py_None;
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
2f4c0a16 25765static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25766 PyObject *resultobj;
25767 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25768 wxDataObject *result;
25769 PyObject * obj0 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25777 {
25778 PyThreadState* __tstate = wxPyBeginAllowThreads();
25779 result = (wxDataObject *)(arg1)->GetDataObject();
25780
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
2f4c0a16 25784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25785 return resultobj;
25786 fail:
25787 return NULL;
25788}
25789
25790
2f4c0a16 25791static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25792 PyObject *resultobj;
25793 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25794 wxDataObject *arg2 = (wxDataObject *) 0 ;
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self",(char *) "dataObject", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25805 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 (arg1)->SetDataObject(arg2);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 Py_INCREF(Py_None); resultobj = Py_None;
25814 return resultobj;
25815 fail:
25816 return NULL;
25817}
25818
25819
2f4c0a16 25820static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25821 PyObject *resultobj;
25822 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25823 int arg2 ;
25824 int arg3 ;
d14a1e28
RD
25825 int arg4 ;
25826 int result;
25827 PyObject * obj0 = 0 ;
8edf1c75
RD
25828 PyObject * obj1 = 0 ;
25829 PyObject * obj2 = 0 ;
25830 PyObject * obj3 = 0 ;
d14a1e28
RD
25831 char *kwnames[] = {
25832 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25833 };
25834
8edf1c75 25835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25838 arg2 = (int) SWIG_AsInt(obj1);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 arg3 = (int) SWIG_AsInt(obj2);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 arg4 = (wxDragResult) SWIG_AsInt(obj3);
25843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25847
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
2f4c0a16 25851 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25852 return resultobj;
25853 fail:
25854 return NULL;
25855}
25856
25857
2f4c0a16 25858static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25859 PyObject *resultobj;
25860 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25861 int arg2 ;
25862 int arg3 ;
d14a1e28
RD
25863 int arg4 ;
25864 int result;
25865 PyObject * obj0 = 0 ;
8edf1c75
RD
25866 PyObject * obj1 = 0 ;
25867 PyObject * obj2 = 0 ;
25868 PyObject * obj3 = 0 ;
d14a1e28
RD
25869 char *kwnames[] = {
25870 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25871 };
25872
8edf1c75 25873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25876 arg2 = (int) SWIG_AsInt(obj1);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 arg3 = (int) SWIG_AsInt(obj2);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 arg4 = (wxDragResult) SWIG_AsInt(obj3);
25881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
2f4c0a16 25889 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
2f4c0a16 25896static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25897 PyObject *resultobj;
25898 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25899 PyObject * obj0 = 0 ;
25900 char *kwnames[] = {
25901 (char *) "self", NULL
25902 };
25903
25904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 (arg1)->base_OnLeave();
25910
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 Py_INCREF(Py_None); resultobj = Py_None;
25915 return resultobj;
25916 fail:
25917 return NULL;
25918}
25919
25920
2f4c0a16 25921static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25922 PyObject *resultobj;
25923 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25924 int arg2 ;
25925 int arg3 ;
d14a1e28
RD
25926 bool result;
25927 PyObject * obj0 = 0 ;
8edf1c75
RD
25928 PyObject * obj1 = 0 ;
25929 PyObject * obj2 = 0 ;
d14a1e28
RD
25930 char *kwnames[] = {
25931 (char *) "self",(char *) "x",(char *) "y", NULL
25932 };
25933
8edf1c75 25934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25937 arg2 = (int) SWIG_AsInt(obj1);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 arg3 = (int) SWIG_AsInt(obj2);
25940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
02a34c4c 25948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25949 return resultobj;
25950 fail:
25951 return NULL;
25952}
25953
25954
2f4c0a16 25955static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25956 PyObject *resultobj;
25957 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25958 bool result;
25959 PyObject * obj0 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "self", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (bool)(arg1)->GetData();
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
02a34c4c 25974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25975 return resultobj;
25976 fail:
25977 return NULL;
25978}
25979
25980
2f4c0a16 25981static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25982 PyObject *obj;
25983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25984 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25985 Py_INCREF(obj);
25986 return Py_BuildValue((char *)"");
25987}
2f4c0a16 25988static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25989 PyObject *resultobj;
25990 wxPyTextDropTarget *result;
25991 char *kwnames[] = {
25992 NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25999
26000 wxPyEndAllowThreads(__tstate);
26001 if (PyErr_Occurred()) SWIG_fail;
26002 }
2f4c0a16 26003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
26004 return resultobj;
26005 fail:
26006 return NULL;
26007}
26008
26009
2f4c0a16 26010static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26011 PyObject *resultobj;
26012 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26013 PyObject *arg2 = (PyObject *) 0 ;
26014 PyObject *arg3 = (PyObject *) 0 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 PyObject * obj2 = 0 ;
26018 char *kwnames[] = {
26019 (char *) "self",(char *) "self",(char *) "_class", NULL
26020 };
26021
26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26025 arg2 = obj1;
26026 arg3 = obj2;
26027 {
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 (arg1)->_setCallbackInfo(arg2,arg3);
26030
26031 wxPyEndAllowThreads(__tstate);
26032 if (PyErr_Occurred()) SWIG_fail;
26033 }
26034 Py_INCREF(Py_None); resultobj = Py_None;
26035 return resultobj;
26036 fail:
26037 return NULL;
26038}
26039
26040
2f4c0a16 26041static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26042 PyObject *resultobj;
26043 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26044 int arg2 ;
26045 int arg3 ;
d14a1e28
RD
26046 int arg4 ;
26047 int result;
26048 PyObject * obj0 = 0 ;
8edf1c75
RD
26049 PyObject * obj1 = 0 ;
26050 PyObject * obj2 = 0 ;
26051 PyObject * obj3 = 0 ;
d14a1e28
RD
26052 char *kwnames[] = {
26053 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26054 };
26055
8edf1c75 26056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26059 arg2 = (int) SWIG_AsInt(obj1);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 arg3 = (int) SWIG_AsInt(obj2);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
2f4c0a16 26072 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26073 return resultobj;
26074 fail:
26075 return NULL;
26076}
26077
26078
2f4c0a16 26079static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26080 PyObject *resultobj;
26081 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26082 int arg2 ;
26083 int arg3 ;
d14a1e28
RD
26084 int arg4 ;
26085 int result;
26086 PyObject * obj0 = 0 ;
8edf1c75
RD
26087 PyObject * obj1 = 0 ;
26088 PyObject * obj2 = 0 ;
26089 PyObject * obj3 = 0 ;
d14a1e28
RD
26090 char *kwnames[] = {
26091 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26092 };
26093
8edf1c75 26094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26097 arg2 = (int) SWIG_AsInt(obj1);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 arg3 = (int) SWIG_AsInt(obj2);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26106
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
2f4c0a16 26110 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26111 return resultobj;
26112 fail:
26113 return NULL;
26114}
26115
26116
2f4c0a16 26117static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26118 PyObject *resultobj;
26119 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26120 PyObject * obj0 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26128 {
26129 PyThreadState* __tstate = wxPyBeginAllowThreads();
26130 (arg1)->base_OnLeave();
26131
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 Py_INCREF(Py_None); resultobj = Py_None;
26136 return resultobj;
26137 fail:
26138 return NULL;
26139}
26140
26141
2f4c0a16 26142static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26143 PyObject *resultobj;
26144 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26145 int arg2 ;
26146 int arg3 ;
d14a1e28
RD
26147 bool result;
26148 PyObject * obj0 = 0 ;
8edf1c75
RD
26149 PyObject * obj1 = 0 ;
26150 PyObject * obj2 = 0 ;
d14a1e28
RD
26151 char *kwnames[] = {
26152 (char *) "self",(char *) "x",(char *) "y", NULL
26153 };
26154
8edf1c75 26155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26158 arg2 = (int) SWIG_AsInt(obj1);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 arg3 = (int) SWIG_AsInt(obj2);
26161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
02a34c4c 26169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26170 return resultobj;
26171 fail:
26172 return NULL;
26173}
26174
26175
2f4c0a16 26176static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26177 PyObject *resultobj;
26178 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26179 int arg2 ;
26180 int arg3 ;
d14a1e28
RD
26181 int arg4 ;
26182 int result;
26183 PyObject * obj0 = 0 ;
8edf1c75
RD
26184 PyObject * obj1 = 0 ;
26185 PyObject * obj2 = 0 ;
26186 PyObject * obj3 = 0 ;
d14a1e28
RD
26187 char *kwnames[] = {
26188 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26189 };
26190
8edf1c75 26191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26194 arg2 = (int) SWIG_AsInt(obj1);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 arg3 = (int) SWIG_AsInt(obj2);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
2f4c0a16 26207 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
2f4c0a16 26214static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26215 PyObject *obj;
26216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26217 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26218 Py_INCREF(obj);
26219 return Py_BuildValue((char *)"");
26220}
2f4c0a16 26221static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26222 PyObject *resultobj;
26223 wxPyFileDropTarget *result;
26224 char *kwnames[] = {
26225 NULL
26226 };
26227
26228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26232
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
2f4c0a16 26236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
26237 return resultobj;
26238 fail:
26239 return NULL;
26240}
26241
26242
2f4c0a16 26243static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26244 PyObject *resultobj;
26245 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26246 PyObject *arg2 = (PyObject *) 0 ;
26247 PyObject *arg3 = (PyObject *) 0 ;
26248 PyObject * obj0 = 0 ;
26249 PyObject * obj1 = 0 ;
26250 PyObject * obj2 = 0 ;
26251 char *kwnames[] = {
26252 (char *) "self",(char *) "self",(char *) "_class", NULL
26253 };
26254
26255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26258 arg2 = obj1;
26259 arg3 = obj2;
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 (arg1)->_setCallbackInfo(arg2,arg3);
26263
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 Py_INCREF(Py_None); resultobj = Py_None;
26268 return resultobj;
26269 fail:
26270 return NULL;
26271}
26272
26273
2f4c0a16 26274static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26275 PyObject *resultobj;
26276 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26277 int arg2 ;
26278 int arg3 ;
d14a1e28
RD
26279 int arg4 ;
26280 int result;
26281 PyObject * obj0 = 0 ;
8edf1c75
RD
26282 PyObject * obj1 = 0 ;
26283 PyObject * obj2 = 0 ;
26284 PyObject * obj3 = 0 ;
d14a1e28
RD
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26287 };
26288
8edf1c75 26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26292 arg2 = (int) SWIG_AsInt(obj1);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 arg3 = (int) SWIG_AsInt(obj2);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
2f4c0a16 26305 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
2f4c0a16 26312static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26313 PyObject *resultobj;
26314 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26315 int arg2 ;
26316 int arg3 ;
d14a1e28
RD
26317 int arg4 ;
26318 int result;
26319 PyObject * obj0 = 0 ;
8edf1c75
RD
26320 PyObject * obj1 = 0 ;
26321 PyObject * obj2 = 0 ;
26322 PyObject * obj3 = 0 ;
d14a1e28
RD
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26325 };
26326
8edf1c75 26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26330 arg2 = (int) SWIG_AsInt(obj1);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 arg3 = (int) SWIG_AsInt(obj2);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
2f4c0a16 26343 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26344 return resultobj;
26345 fail:
26346 return NULL;
26347}
26348
26349
2f4c0a16 26350static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26351 PyObject *resultobj;
26352 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26353 PyObject * obj0 = 0 ;
26354 char *kwnames[] = {
26355 (char *) "self", NULL
26356 };
26357
26358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 (arg1)->base_OnLeave();
26364
26365 wxPyEndAllowThreads(__tstate);
26366 if (PyErr_Occurred()) SWIG_fail;
26367 }
26368 Py_INCREF(Py_None); resultobj = Py_None;
26369 return resultobj;
26370 fail:
26371 return NULL;
26372}
26373
26374
2f4c0a16 26375static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26376 PyObject *resultobj;
26377 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26378 int arg2 ;
26379 int arg3 ;
d14a1e28
RD
26380 bool result;
26381 PyObject * obj0 = 0 ;
8edf1c75
RD
26382 PyObject * obj1 = 0 ;
26383 PyObject * obj2 = 0 ;
d14a1e28
RD
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "x",(char *) "y", NULL
26386 };
26387
8edf1c75 26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26391 arg2 = (int) SWIG_AsInt(obj1);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 arg3 = (int) SWIG_AsInt(obj2);
26394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
02a34c4c 26402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26403 return resultobj;
26404 fail:
26405 return NULL;
26406}
26407
26408
2f4c0a16 26409static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26410 PyObject *resultobj;
26411 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26412 int arg2 ;
26413 int arg3 ;
d14a1e28
RD
26414 int arg4 ;
26415 int result;
26416 PyObject * obj0 = 0 ;
8edf1c75
RD
26417 PyObject * obj1 = 0 ;
26418 PyObject * obj2 = 0 ;
26419 PyObject * obj3 = 0 ;
d14a1e28
RD
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26422 };
26423
8edf1c75 26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26427 arg2 = (int) SWIG_AsInt(obj1);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 arg3 = (int) SWIG_AsInt(obj2);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26436
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
2f4c0a16 26440 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26441 return resultobj;
26442 fail:
26443 return NULL;
26444}
26445
26446
2f4c0a16 26447static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26448 PyObject *obj;
26449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26450 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26451 Py_INCREF(obj);
26452 return Py_BuildValue((char *)"");
26453}
2f4c0a16 26454static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26455 PyObject *resultobj;
26456 wxClipboard *result;
26457 char *kwnames[] = {
26458 NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26462 {
26463 PyThreadState* __tstate = wxPyBeginAllowThreads();
26464 result = (wxClipboard *)new wxClipboard();
26465
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
2f4c0a16 26469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
26470 return resultobj;
26471 fail:
26472 return NULL;
26473}
26474
26475
2f4c0a16 26476static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26477 PyObject *resultobj;
26478 wxClipboard *arg1 = (wxClipboard *) 0 ;
26479 PyObject * obj0 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 delete arg1;
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 Py_INCREF(Py_None); resultobj = Py_None;
26495 return resultobj;
26496 fail:
26497 return NULL;
26498}
26499
26500
2f4c0a16 26501static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26502 PyObject *resultobj;
26503 wxClipboard *arg1 = (wxClipboard *) 0 ;
26504 bool result;
26505 PyObject * obj0 = 0 ;
26506 char *kwnames[] = {
26507 (char *) "self", NULL
26508 };
26509
26510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 result = (bool)(arg1)->Open();
26516
26517 wxPyEndAllowThreads(__tstate);
26518 if (PyErr_Occurred()) SWIG_fail;
26519 }
02a34c4c 26520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26521 return resultobj;
26522 fail:
26523 return NULL;
26524}
26525
26526
2f4c0a16 26527static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26528 PyObject *resultobj;
26529 wxClipboard *arg1 = (wxClipboard *) 0 ;
26530 PyObject * obj0 = 0 ;
26531 char *kwnames[] = {
26532 (char *) "self", NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 (arg1)->Close();
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 Py_INCREF(Py_None); resultobj = Py_None;
26546 return resultobj;
26547 fail:
26548 return NULL;
26549}
26550
26551
2f4c0a16 26552static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26553 PyObject *resultobj;
26554 wxClipboard *arg1 = (wxClipboard *) 0 ;
26555 bool result;
26556 PyObject * obj0 = 0 ;
26557 char *kwnames[] = {
26558 (char *) "self", NULL
26559 };
26560
26561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26567
26568 wxPyEndAllowThreads(__tstate);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
02a34c4c 26571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26572 return resultobj;
26573 fail:
26574 return NULL;
26575}
26576
26577
2f4c0a16 26578static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26579 PyObject *resultobj;
26580 wxClipboard *arg1 = (wxClipboard *) 0 ;
26581 wxDataObject *arg2 = (wxDataObject *) 0 ;
26582 bool result;
26583 PyObject * obj0 = 0 ;
26584 PyObject * obj1 = 0 ;
26585 char *kwnames[] = {
26586 (char *) "self",(char *) "data", NULL
26587 };
26588
26589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26593 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)(arg1)->AddData(arg2);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
02a34c4c 26601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26602 return resultobj;
26603 fail:
26604 return NULL;
26605}
26606
26607
2f4c0a16 26608static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26609 PyObject *resultobj;
26610 wxClipboard *arg1 = (wxClipboard *) 0 ;
26611 wxDataObject *arg2 = (wxDataObject *) 0 ;
26612 bool result;
26613 PyObject * obj0 = 0 ;
26614 PyObject * obj1 = 0 ;
26615 char *kwnames[] = {
26616 (char *) "self",(char *) "data", NULL
26617 };
26618
26619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26623 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26624 {
26625 PyThreadState* __tstate = wxPyBeginAllowThreads();
26626 result = (bool)(arg1)->SetData(arg2);
26627
26628 wxPyEndAllowThreads(__tstate);
26629 if (PyErr_Occurred()) SWIG_fail;
26630 }
02a34c4c 26631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26632 return resultobj;
26633 fail:
26634 return NULL;
26635}
26636
26637
2f4c0a16 26638static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26639 PyObject *resultobj;
26640 wxClipboard *arg1 = (wxClipboard *) 0 ;
26641 wxDataFormat *arg2 = 0 ;
26642 bool result;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 char *kwnames[] = {
26646 (char *) "self",(char *) "format", NULL
26647 };
26648
26649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26653 SWIG_POINTER_EXCEPTION | 0)) == -1)
26654 SWIG_fail;
d14a1e28 26655 if (arg2 == NULL) {
2f4c0a16
RD
26656 PyErr_SetString(PyExc_TypeError,"null reference");
26657 SWIG_fail;
d14a1e28
RD
26658 }
26659 {
26660 PyThreadState* __tstate = wxPyBeginAllowThreads();
26661 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26662
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
02a34c4c 26666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26667 return resultobj;
26668 fail:
26669 return NULL;
26670}
26671
26672
2f4c0a16 26673static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26674 PyObject *resultobj;
26675 wxClipboard *arg1 = (wxClipboard *) 0 ;
26676 wxDataObject *arg2 = 0 ;
26677 bool result;
26678 PyObject * obj0 = 0 ;
26679 PyObject * obj1 = 0 ;
26680 char *kwnames[] = {
26681 (char *) "self",(char *) "data", NULL
26682 };
26683
26684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26688 SWIG_POINTER_EXCEPTION | 0)) == -1)
26689 SWIG_fail;
d14a1e28 26690 if (arg2 == NULL) {
2f4c0a16
RD
26691 PyErr_SetString(PyExc_TypeError,"null reference");
26692 SWIG_fail;
d14a1e28
RD
26693 }
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 result = (bool)(arg1)->GetData(*arg2);
26697
26698 wxPyEndAllowThreads(__tstate);
26699 if (PyErr_Occurred()) SWIG_fail;
26700 }
02a34c4c 26701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26702 return resultobj;
26703 fail:
26704 return NULL;
26705}
26706
26707
2f4c0a16 26708static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26709 PyObject *resultobj;
26710 wxClipboard *arg1 = (wxClipboard *) 0 ;
26711 PyObject * obj0 = 0 ;
26712 char *kwnames[] = {
26713 (char *) "self", NULL
26714 };
26715
26716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 (arg1)->Clear();
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 Py_INCREF(Py_None); resultobj = Py_None;
26727 return resultobj;
26728 fail:
26729 return NULL;
26730}
26731
26732
2f4c0a16 26733static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26734 PyObject *resultobj;
26735 wxClipboard *arg1 = (wxClipboard *) 0 ;
26736 bool result;
26737 PyObject * obj0 = 0 ;
26738 char *kwnames[] = {
26739 (char *) "self", NULL
26740 };
26741
26742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 result = (bool)(arg1)->Flush();
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
02a34c4c 26752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26753 return resultobj;
26754 fail:
26755 return NULL;
26756}
26757
26758
2f4c0a16 26759static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26760 PyObject *resultobj;
26761 wxClipboard *arg1 = (wxClipboard *) 0 ;
1f05e33b 26762 bool arg2 = (bool) True ;
d14a1e28
RD
26763 PyObject * obj0 = 0 ;
26764 PyObject * obj1 = 0 ;
26765 char *kwnames[] = {
26766 (char *) "self",(char *) "primary", NULL
26767 };
26768
26769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26772 if (obj1) {
2f4c0a16
RD
26773 arg2 = (bool) SWIG_AsBool(obj1);
26774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26775 }
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 (arg1)->UsePrimarySelection(arg2);
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 Py_INCREF(Py_None); resultobj = Py_None;
26784 return resultobj;
26785 fail:
26786 return NULL;
26787}
26788
26789
2f4c0a16 26790static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26791 PyObject *obj;
26792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26793 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26794 Py_INCREF(obj);
26795 return Py_BuildValue((char *)"");
26796}
8edf1c75 26797static int _wrap_TheClipboard_set(PyObject *) {
d14a1e28
RD
26798 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26799 return 1;
26800}
26801
26802
26803static PyObject *_wrap_TheClipboard_get() {
26804 PyObject *pyobj;
26805
2f4c0a16 26806 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
d14a1e28
RD
26807 return pyobj;
26808}
26809
26810
2f4c0a16 26811static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26812 PyObject *resultobj;
26813 wxClipboard *arg1 = (wxClipboard *) NULL ;
26814 wxClipboardLocker *result;
26815 PyObject * obj0 = 0 ;
26816 char *kwnames[] = {
26817 (char *) "clipboard", NULL
26818 };
26819
26820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26821 if (obj0) {
2f4c0a16
RD
26822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26824 }
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
2f4c0a16 26832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
26833 return resultobj;
26834 fail:
26835 return NULL;
26836}
26837
26838
2f4c0a16 26839static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26840 PyObject *resultobj;
26841 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26842 PyObject * obj0 = 0 ;
26843 char *kwnames[] = {
26844 (char *) "self", NULL
26845 };
26846
26847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
26849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 delete arg1;
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 Py_INCREF(Py_None); resultobj = Py_None;
26858 return resultobj;
26859 fail:
26860 return NULL;
26861}
26862
26863
2f4c0a16 26864static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26865 PyObject *resultobj;
26866 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26867 bool result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
26875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (bool)wxClipboardLocker___nonzero__(arg1);
26879
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
02a34c4c 26883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26884 return resultobj;
26885 fail:
26886 return NULL;
26887}
26888
26889
2f4c0a16 26890static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26891 PyObject *obj;
26892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26893 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26894 Py_INCREF(obj);
26895 return Py_BuildValue((char *)"");
26896}
26897static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
26898 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26899 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
26900 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
26901 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
26902 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
26903 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
26904 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
26905 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26906 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
26907 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
26908 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
26909 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
26910 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
26911 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
26912 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
26913 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
26914 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
26915 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
26916 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
26917 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
26918 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
26919 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
26920 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
26921 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
26922 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
26923 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
26924 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
26925 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
26926 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
26927 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
26928 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS, NULL },
26929 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
26930 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
26931 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
26932 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
26933 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
26934 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
26935 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
26936 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
26937 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
26938 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
26939 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
26940 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
26941 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
26942 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
26943 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
26944 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
26945 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
26946 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
26947 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
26948 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
26949 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
26950 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
26951 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
26952 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
26953 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
26954 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
26955 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26956 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26957 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
26958 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
26959 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
26960 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
26961 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26962 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
26963 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
26964 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
26965 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
26966 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
26967 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
26968 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
26969 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
26970 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
26971 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
26972 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
26973 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
26974 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
26975 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
26976 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26977 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
26978 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
26979 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
26980 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
26981 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
26982 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
26983 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
26984 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26985 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
26986 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26987 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
26988 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26989 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
26990 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
26991 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
26992 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26993 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
26994 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
26995 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
26996 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
26997 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
26998 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
26999 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27000 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
27001 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
27002 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
27003 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
27004 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27005 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27006 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
27007 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
27008 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27009 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
27010 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
27011 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
27012 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
27013 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27014 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27015 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27016 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27017 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
27018 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27019 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27020 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
27021 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
27022 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27023 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27024 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
27025 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
27026 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
27027 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27028 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27029 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27030 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
27031 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
27032 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
27033 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
27034 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27035 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
27036 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
27037 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
27038 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
27039 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27040 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27041 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
27042 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
27043 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27044 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
27045 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
27046 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27047 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
27048 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27049 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
27050 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
27051 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
27052 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
27053 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
27054 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
27055 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
27056 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
27057 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
27058 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
27059 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
27060 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27061 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
27062 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
27063 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
27064 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
27065 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
27066 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
27067 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
27068 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27069 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27070 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
27071 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
27072 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
27073 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
27074 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
27075 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27076 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27077 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27078 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
27079 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
27080 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
27081 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
27082 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27083 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27084 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
27085 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
27086 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
27087 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
27088 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
27089 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
27090 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
27091 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
27092 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
27093 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
27094 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
27095 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
27096 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
27097 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
27098 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
27099 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27100 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27101 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
27102 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
27103 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
27104 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27105 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27106 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
27107 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
27108 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
27109 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
27110 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
27111 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
27112 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
27113 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
27114 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27115 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
27116 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
27117 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
27118 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
27119 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
27120 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
27121 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
27122 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
27123 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
27124 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
27125 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
27126 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
27127 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27128 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
27129 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
27130 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
27131 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
27132 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
27133 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27134 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
27135 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
27136 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
27137 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
27138 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
27139 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
27140 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
27141 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
27142 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
27143 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
27144 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
27145 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
27146 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
27147 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
27148 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
27149 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
27150 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
27151 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
27152 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
27153 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
27154 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
27155 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
27156 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
27157 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27158 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27159 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
27160 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27161 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27162 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27163 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27164 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27165 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
27166 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
27167 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
27168 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
27169 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
27170 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
27171 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
27172 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
27173 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
27174 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
27175 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
27176 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
27177 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
27178 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
27179 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
27180 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
27181 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
27182 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
27183 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
27184 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
27185 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
27186 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
27187 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
27188 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
27189 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
27190 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
27191 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
27192 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
27193 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
27194 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
27195 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
27196 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
27197 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
27198 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
27199 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
27200 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
27201 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
27202 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
27203 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
27204 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
27205 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
27206 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
27207 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
27208 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
27209 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
27210 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
27211 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27212 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27213 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
27214 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
27215 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
27216 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
27217 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
27218 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
27219 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27220 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27221 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
27222 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
27223 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
27224 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
27225 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
27226 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
27227 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
27228 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS, NULL },
27229 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
27230 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS, NULL },
27231 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
27232 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS, NULL },
27233 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS, NULL },
27234 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
27235 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
27236 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27237 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
27238 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27239 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
27240 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
27241 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
27242 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
27243 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27244 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27245 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
27246 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
27247 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
27248 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
27249 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
27250 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
27251 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
27252 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
27253 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
27254 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
27255 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
27256 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
27257 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
27258 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27259 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
27260 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27261 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27262 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
27263 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27264 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
27265 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
27266 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
27267 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
27268 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
27269 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
27270 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
27271 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
27272 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
27273 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
27274 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
27275 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
27276 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
27277 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
27278 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
27279 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
27280 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
27281 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
27282 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27283 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27284 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27285 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27286 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27287 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
27288 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
27289 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
27290 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
27291 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
27292 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
27293 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
27294 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
27295 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
27296 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
27297 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
27298 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
27299 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
27300 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
27301 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
27302 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
27303 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
27304 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
27305 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
27306 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
27307 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
27308 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
27309 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
27310 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
27311 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
27312 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
27313 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
27314 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
27315 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
27316 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
27317 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
27318 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
27319 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
27320 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
27321 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
27322 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
27323 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
27324 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
27325 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
27326 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
27327 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
27328 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
27329 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
27330 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
27331 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
27332 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
27333 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
27334 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
27335 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
27336 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
27337 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
27338 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
27339 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
27340 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
27341 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
27342 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
27343 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
27344 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
27345 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
27346 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
27347 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
27348 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
27349 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
27350 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
27351 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
27352 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
27353 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
27354 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
27355 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
27356 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
27357 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
27358 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
27359 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
27360 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
27361 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
27362 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
27363 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
27364 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
27365 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
27366 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
27367 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
27368 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
27369 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
27370 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
27371 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
27372 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
27373 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
27374 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
27375 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
27376 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
27377 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
27378 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
27379 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
27380 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
27381 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
27382 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
27383 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
27384 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
27385 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27386 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27387 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27388 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27389 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27390 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27391 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27392 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
27393 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
27394 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
27395 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
27396 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
27397 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
27398 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
27399 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
27400 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
27401 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
27402 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
27403 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
27404 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
27405 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
27406 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
27407 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
27408 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
27409 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
27410 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
27411 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
27412 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
27413 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
27414 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
27415 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
27416 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
27417 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
27418 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
27419 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
27420 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
27421 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
27422 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
27423 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
27424 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
27425 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
27426 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
27427 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
27428 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
27429 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
27430 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
27431 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
27432 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
27433 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
27434 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
27435 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
27436 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
27437 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
27438 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
27439 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
27440 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
27441 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
27442 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
27443 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
27444 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
27445 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
27446 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27447 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
27448 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
27449 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
27450 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
27451 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
27452 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
27453 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
27454 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
27455 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
27456 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
27457 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
27458 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
27459 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
27460 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
27461 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
27462 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
27463 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
27464 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
27465 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
27466 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
27467 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
27468 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
27469 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
27470 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
27471 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
27472 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
27473 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
27474 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
27475 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
27476 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
27477 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
27478 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
27479 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
27480 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
27481 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
27482 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
27483 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
27484 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
27485 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
27486 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
27487 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
27488 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
27489 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
27490 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
27491 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
27492 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
27493 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
27494 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
27495 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
27496 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
27497 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
27498 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
27499 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
27500 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
27501 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
27502 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
27503 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
27504 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
27505 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
27506 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
27507 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
27508 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
27509 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
27510 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
27511 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
27512 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
27513 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
27514 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
27515 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
27516 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
27517 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
27518 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
27519 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
27520 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
27521 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
27522 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
27523 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
27524 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
27525 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
27526 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
27527 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
27528 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
27529 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
27530 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
27531 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
27532 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
27533 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
27534 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
27535 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
27536 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
27537 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
27538 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
27539 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27540 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27541 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27542 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
27543 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
27544 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
27545 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
27546 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
27547 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
27548 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
27549 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27550 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27551 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
27552 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
27553 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
27554 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
27555 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
27556 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
27557 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
27558 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
27559 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27560 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
27561 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
27562 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
27563 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27564 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
27565 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
27566 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
27567 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
27568 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27569 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
27570 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
27571 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
27572 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
27573 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27574 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27575 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
27576 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27577 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
27578 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
27579 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
27580 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27581 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27582 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
27583 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27584 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
27585 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
27586 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
27587 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27588 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS, NULL },
27589 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
27590 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
27591 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
27592 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
27593 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27594 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
27595 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
27596 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
27597 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27598 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
27599 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
27600 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
27601 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
27602 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
27603 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27604 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
27605 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
27606 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27607 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27608 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
27609 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
27610 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
27611 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27612 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27613 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27614 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27615 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
27616 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
27617 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
27618 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
27619 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
27620 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
27621 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
27622 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27623 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27624 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
27625 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
27626 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
27627 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
27628 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
27629 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
27630 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27631 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27632 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
27633 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
27634 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
27635 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
27636 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
27637 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
27638 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
27639 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
27640 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
27641 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
27642 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
27643 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
27644 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
27645 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
27646 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
27647 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
27648 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
27649 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
27650 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
27651 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
27652 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
27653 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
27654 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
27655 { NULL, NULL, 0, NULL }
d14a1e28
RD
27656};
27657
27658
27659/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27660
27661static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27663}
27664static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27665 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27666}
27667static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27668 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27669}
27670static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27671 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27672}
27673static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27674 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27675}
27676static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27677 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27678}
27679static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27680 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27681}
27682static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27683 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27684}
27685static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27687}
27688static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27689 return (void *)((wxEvent *) ((wxPyEvent *) x));
27690}
27691static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27692 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27693}
27694static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27695 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27696}
27697static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27698 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27699}
27700static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27702}
27703static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27704 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27705}
27706static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27707 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27708}
27709static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27710 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27711}
27712static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27713 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27714}
27715static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27716 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27717}
27718static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27719 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27720}
27721static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27722 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27723}
27724static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27725 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27726}
27727static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27728 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27729}
27730static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27731 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27732}
27733static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27734 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27735}
27736static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27737 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27738}
27739static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27740 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27741}
27742static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27743 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27744}
27745static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27746 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27747}
27748static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27749 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27750}
27751static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27752 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27753}
27754static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27755 return (void *)((wxEvent *) ((wxShowEvent *) x));
27756}
27757static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27758 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27759}
27760static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27762}
27763static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27765}
27766static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27767 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27768}
27769static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27770 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27771}
27772static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27773 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27774}
27775static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27776 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27777}
27778static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27779 return (void *)((wxConfigBase *) ((wxConfig *) x));
27780}
27781static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27782 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27783}
27784static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27785 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27786}
27787static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27788 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27789}
27790static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27791 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27792}
27793static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27794 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27795}
27796static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27797 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27798}
27799static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27800 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27801}
27802static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27803 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27804}
27805static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27806 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27807}
27808static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27809 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27810}
27811static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27812 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27813}
27814static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27815 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27816}
27817static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27818 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27819}
27820static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27821 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27822}
27823static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27824 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27825}
27826static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27827 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27828}
27829static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27830 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27831}
27832static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27833 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27834}
27835static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27836 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27837}
27838static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27839 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27840}
27841static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27842 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27843}
27844static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27845 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27846}
27847static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27848 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27849}
27850static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27851 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27852}
27853static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27854 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27855}
27856static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27857 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27858}
27859static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27860 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27861}
27862static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27863 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27864}
27865static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27866 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27867}
27868static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27869 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27870}
27871static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27872 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27873}
27874static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27875 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27876}
27877static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27878 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27879}
27880static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27881 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27882}
27883static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27884 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27885}
27886static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27887 return (void *)((wxObject *) ((wxSizerItem *) x));
27888}
27889static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27891}
27892static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27893 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27894}
27895static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27896 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27897}
27898static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27899 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27900}
27901static void *_p_wxSizerTo_p_wxObject(void *x) {
27902 return (void *)((wxObject *) ((wxSizer *) x));
27903}
27904static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27905 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27906}
27907static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27908 return (void *)((wxObject *) ((wxFileHistory *) x));
27909}
27910static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27912}
27913static void *_p_wxEventTo_p_wxObject(void *x) {
27914 return (void *)((wxObject *) ((wxEvent *) x));
27915}
27916static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27917 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27918}
27919static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27920 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27921}
27922static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27923 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27924}
27925static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27926 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27927}
27928static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27929 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27930}
27931static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27932 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27933}
27934static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27935 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27936}
27937static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27938 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27939}
27940static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27941 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27942}
27943static void *_p_wxControlTo_p_wxObject(void *x) {
27944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27945}
27946static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27947 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27948}
27949static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27950 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27951}
27952static void *_p_wxFSFileTo_p_wxObject(void *x) {
27953 return (void *)((wxObject *) ((wxFSFile *) x));
27954}
27955static void *_p_wxClipboardTo_p_wxObject(void *x) {
27956 return (void *)((wxObject *) ((wxClipboard *) x));
27957}
27958static void *_p_wxPySizerTo_p_wxObject(void *x) {
27959 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27960}
27961static void *_p_wxPyEventTo_p_wxObject(void *x) {
27962 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27963}
27964static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27966}
27967static void *_p_wxShowEventTo_p_wxObject(void *x) {
27968 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27969}
27970static void *_p_wxToolTipTo_p_wxObject(void *x) {
27971 return (void *)((wxObject *) ((wxToolTip *) x));
27972}
27973static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27974 return (void *)((wxObject *) ((wxMenuItem *) x));
27975}
27976static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27977 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27978}
27979static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27981}
27982static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27983 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27984}
27985static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27986 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27987}
27988static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27989 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27990}
27991static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27992 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27993}
27994static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27995 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27996}
27997static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27998 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27999}
28000static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28001 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28002}
28003static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28004 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28005}
28006static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28007 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28008}
28009static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28010 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28011}
28012static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28013 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28014}
28015static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28016 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28017}
28018static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28019 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28020}
28021static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28022 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28023}
28024static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28025 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28026}
28027static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28028 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28029}
28030static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28031 return (void *)((wxObject *) ((wxImageHandler *) x));
28032}
28033static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28034 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28035}
28036static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28037 return (void *)((wxObject *) ((wxEvtHandler *) x));
28038}
41f1cec7
RD
28039static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28040 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28041}
d14a1e28
RD
28042static void *_p_wxImageTo_p_wxObject(void *x) {
28043 return (void *)((wxObject *) ((wxImage *) x));
28044}
28045static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28046 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28047}
28048static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
28049 return (void *)((wxObject *) ((wxSystemOptions *) x));
28050}
28051static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
28052 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
28053}
28054static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28056}
28057static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28058 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28059}
28060static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28061 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28062}
28063static void *_p_wxWindowTo_p_wxObject(void *x) {
28064 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28065}
28066static void *_p_wxMenuTo_p_wxObject(void *x) {
28067 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28068}
28069static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28071}
28072static void *_p_wxPyProcessTo_p_wxObject(void *x) {
28073 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
28074}
28075static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28076 return (void *)((wxObject *) ((wxFileSystem *) x));
28077}
28078static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28080}
28081static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28082 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28083}
28084static void *_p_wxPyAppTo_p_wxObject(void *x) {
28085 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28086}
28087static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28088 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28089}
28090static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28091 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28092}
28093static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28094 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28095}
28096static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
28097 return (void *)((wxObject *) ((wxBusyInfo *) x));
28098}
28099static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28100 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28101}
28102static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28103 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28104}
28105static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28106 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28107}
28108static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28109 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28110}
28111static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28113}
28114static void *_p_wxProcessEventTo_p_wxObject(void *x) {
28115 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
28116}
28117static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28119}
28120static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28121 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28122}
28123static void *_p_wxValidatorTo_p_wxObject(void *x) {
28124 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28125}
28126static void *_p_wxPyTimerTo_p_wxObject(void *x) {
28127 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
28128}
28129static void *_p_wxLogStderrTo_p_wxLog(void *x) {
28130 return (void *)((wxLog *) ((wxLogStderr *) x));
28131}
28132static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
28133 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
28134}
28135static void *_p_wxLogWindowTo_p_wxLog(void *x) {
28136 return (void *)((wxLog *) ((wxLogWindow *) x));
28137}
28138static void *_p_wxLogChainTo_p_wxLog(void *x) {
28139 return (void *)((wxLog *) ((wxLogChain *) x));
28140}
28141static void *_p_wxLogGuiTo_p_wxLog(void *x) {
28142 return (void *)((wxLog *) ((wxLogGui *) x));
28143}
28144static void *_p_wxPyLogTo_p_wxLog(void *x) {
28145 return (void *)((wxLog *) ((wxPyLog *) x));
28146}
28147static void *_p_wxControlTo_p_wxWindow(void *x) {
28148 return (void *)((wxWindow *) ((wxControl *) x));
28149}
28150static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28151 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28152}
28153static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28154 return (void *)((wxWindow *) ((wxMenuBar *) x));
28155}
28156static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
28157 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
28158}
28159static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
28160 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
28161}
2f4c0a16
RD
28162static 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}};
28163static 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}};
28164static 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}};
28165static 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}};
28166static 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}};
28167static 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}};
28168static 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}};
28169static 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}};
28170static 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}};
28171static 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}};
28172static 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}};
28173static 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}};
28174static 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}};
28175static 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}};
28176static 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}};
28177static 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}};
28178static 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}};
28179static 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}};
28180static 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}};
28181static 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}};
28182static 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}};
28183static 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}};
28184static 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}};
28185static 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}};
28186static 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}};
28187static 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}};
28188static 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}};
28189static 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}};
28190static 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}};
28191static 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}};
28192static 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}};
28193static 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}};
28194static 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}};
28195static 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}};
28196static 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}};
28197static 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}};
28198static 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}};
28199static 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}};
28200static 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}};
28201static 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}};
28202static 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}};
28203static 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}};
28204static 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}};
28205static 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}};
28206static 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}};
28207static 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}};
28208static 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}};
28209static 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}};
28210static 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}};
28211static 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}};
28212static 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}};
28213static 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}};
28214static 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}};
28215static 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}};
28216static 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}};
28217static 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}};
28218static 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}};
28219static 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}};
28220static 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}};
28221static 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}};
28222static 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}};
28223static 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}};
28224static 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}};
28225static 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}};
28226static 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}};
28227static 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}};
28228static 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}};
28229static 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}};
28230static 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}};
28231static 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}};
28232static 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}};
28233static 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}};
28234static 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}};
28235static 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}};
28236static 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}};
28237static 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}};
28238static 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}};
28239static 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}};
28240static 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}};
28241static 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}};
28242static 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}};
28243static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28244static 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}};
28245static 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}};
28246static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
28247
28248static swig_type_info *swig_types_initial[] = {
28249_swigt__p_wxLogChain,
28250_swigt__p_wxMutexGuiLocker,
28251_swigt__p_wxMetafile,
28252_swigt__p_wxFileHistory,
28253_swigt__p_wxLog,
28254_swigt__p_wxDateTime__TimeZone,
28255_swigt__p_wxMenu,
28256_swigt__p_wxEvent,
28257_swigt__p_wxConfigBase,
d14a1e28
RD
28258_swigt__p_wxFileType,
28259_swigt__p_wxLogGui,
28260_swigt__p_wxFont,
28261_swigt__p_wxDataFormat,
28262_swigt__p_wxTimerEvent,
28263_swigt__p_wxCaret,
28264_swigt__p_int,
28265_swigt__p_wxSize,
28266_swigt__p_wxClipboard,
28267_swigt__p_wxStopWatch,
28268_swigt__p_wxDC,
28269_swigt__p_wxClipboardLocker,
28270_swigt__p_wxIcon,
28271_swigt__p_wxLogStderr,
28272_swigt__p_wxLogTextCtrl,
28273_swigt__p_wxTextCtrl,
28274_swigt__p_wxBusyCursor,
d14a1e28
RD
28275_swigt__p_wxPyTextDataObject,
28276_swigt__p_wxBitmapDataObject,
28277_swigt__p_wxTextDataObject,
28278_swigt__p_wxDataObject,
02a34c4c 28279_swigt__p_wxPyBitmapDataObject,
8edf1c75 28280_swigt__p_wxFileDataObject,
d14a1e28
RD
28281_swigt__p_wxCustomDataObject,
28282_swigt__p_wxURLDataObject,
28283_swigt__p_wxMetafileDataObject,
02a34c4c 28284_swigt__p_wxSound,
d14a1e28
RD
28285_swigt__p_wxTimerRunner,
28286_swigt__p_wxLogWindow,
28287_swigt__p_wxTimeSpan,
28288_swigt__p_wxArrayString,
28289_swigt__p_wxWindowDisabler,
28290_swigt__p_wxToolTip,
28291_swigt__p_wxDataObjectComposite,
28292_swigt__p_wxFileConfig,
28293_swigt__p_wxSystemSettings,
28294_swigt__p_wxPyDataObjectSimple,
28295_swigt__p_wxDataObjectSimple,
28296_swigt__p_wxEvtHandler,
28297_swigt__p_wxRect,
8edf1c75 28298_swigt__p_char,
d14a1e28
RD
28299_swigt__p_wxSingleInstanceChecker,
28300_swigt__p_wxFileTypeInfo,
28301_swigt__p_wxFrame,
28302_swigt__p_wxTimer,
28303_swigt__p_wxMimeTypesManager,
28304_swigt__p_wxPyArtProvider,
28305_swigt__p_wxPyTipProvider,
28306_swigt__p_wxTipProvider,
28307_swigt__p_wxJoystick,
28308_swigt__p_wxSystemOptions,
28309_swigt__p_wxPoint,
28310_swigt__p_wxJoystickEvent,
28311_swigt__p_wxCursor,
28312_swigt__p_wxObject,
28313_swigt__p_wxOutputStream,
28314_swigt__p_wxDateTime,
28315_swigt__p_wxPyDropSource,
28316_swigt__p_wxWindow,
28317_swigt__p_wxString,
28318_swigt__p_wxPyProcess,
28319_swigt__p_wxBitmap,
28320_swigt__p_wxConfig,
28321_swigt__p_wxChar,
28322_swigt__p_wxBusyInfo,
28323_swigt__p_wxPyDropTarget,
28324_swigt__p_wxPyTextDropTarget,
28325_swigt__p_wxPyFileDropTarget,
28326_swigt__p_wxProcessEvent,
28327_swigt__p_wxPyLog,
28328_swigt__p_wxLogNull,
28329_swigt__p_wxColour,
02a34c4c 28330_swigt__p_wxByte,
d14a1e28
RD
28331_swigt__p_wxConfigPathChanger,
28332_swigt__p_wxPyTimer,
28333_swigt__p_wxDateSpan,
283340
28335};
28336
28337
28338/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28339
28340static swig_const_info swig_const_table[] = {
2f4c0a16
RD
28341{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
28342{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
28343{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
28344{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
28345{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
28346{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
28347
28348#ifdef __cplusplus
28349}
28350#endif
28351
28352#ifdef __cplusplus
28353extern "C"
28354#endif
28355SWIGEXPORT(void) SWIG_init(void) {
28356 static PyObject *SWIG_globals = 0;
28357 static int typeinit = 0;
28358 PyObject *m, *d;
28359 int i;
28360 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28361 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28362 d = PyModule_GetDict(m);
28363
28364 if (!typeinit) {
28365 for (i = 0; swig_types_initial[i]; i++) {
28366 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28367 }
28368 typeinit = 1;
28369 }
28370 SWIG_InstallConstants(d,swig_const_table);
28371
2f4c0a16
RD
28372 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
28373 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
28374 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
28375 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
28376 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
28377 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
28378 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
28379 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
28380 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
28381 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
28382 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
28383 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
28384 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
28385 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
28386 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
28387 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
28388 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
28389 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
28390 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
28391 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
28392 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
28393 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
28394 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
28395 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
28396 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
28397 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
28398 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
28399 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
28400 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
28401 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
28402 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
28403 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
28404 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
28405 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
28406 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
28407 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
28408 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
28409 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
28410 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
28411 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
28412 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
28413 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
28414 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
28415 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
28416 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
28417 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
28418 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
28419 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
28420 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
28421 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
28422 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
28423 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
28424 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
28425 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
28426 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
28427 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
28428 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
28429 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
28430 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
28431 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
28432 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
28433 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
28434 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
28435 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
28436 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
28437 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
28438 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
28439 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
28440 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
28441 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
28442 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
28443 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
28444 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
28445 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
28446 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
28447 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
28448 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
28449 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
28450 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
28451 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
28452 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
28453 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
28454 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
28455 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
28456 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
28457 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
28458 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
28459 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
28460 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
28461 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
28462 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
cbd72d4f
RD
28463 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28464 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28465 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28466 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
2f4c0a16
RD
28467 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
28468 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
28469 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
28470 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 28471 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
2f4c0a16
RD
28472 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
28473 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
28474 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
28475 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
28476 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
28477 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
28478 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
28479 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
28480 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
28481 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
28482 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
28483 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
28484 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
28485 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
28486 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
28487 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
28488 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
28489 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
28490 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
28491 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
28492 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
28493 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
28494 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
28495 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
28496 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
28497 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
28498 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
28499 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
28500 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
28501 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
28502 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
28503 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
28504 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
28505 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
28506 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
28507 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
28508 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
28509 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
28510 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
28511 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
28512 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
28513 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
28514 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
28515 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
28516 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
d14a1e28 28517 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
2f4c0a16
RD
28518 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
28519 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
28520 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
28521 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
28522
28523 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28524
2f4c0a16
RD
28525 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
28526 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
28527 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
28528 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
28529 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
28530 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
28531 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
28532 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
28533 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
28534 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
28535 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
2f4c0a16
RD
28536 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
28537 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
28538 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
28539 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
28540 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
28541 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
28542 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
28543 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
28544 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
28545 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
28546 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
28547 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
28548 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
28549 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
28550 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
28551 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
28552 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
28553 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
28554 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
28555 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
28556 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
28557 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
28558 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
28559 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
28560 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
28561 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
28562 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
28563 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
28564 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
28565 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
28566 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
28567 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
28568 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
28569 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
28570 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28571 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28572 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28573 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28574 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28575 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28576 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28577 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28578 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28579 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28580 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28581 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28582 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28583
28584 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28585
2f4c0a16
RD
28586 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28587 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28588 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28589 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28590 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
28591 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
28592 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
28593 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
28594 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
cbd72d4f
RD
28595 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28596 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
2f4c0a16
RD
28597 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
28598 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
28599 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
28600 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
28601 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
28602 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
28603 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
28604 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
28605 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
28606 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
28607 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
28608 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
28609 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
28610 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
28611 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
28612 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
28613 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
28614 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
28615 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
28616 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
28617 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
28618 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
28619 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
28620 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
28621 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
28622 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
28623 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
28624 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
28625 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
28626 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
28627 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
28628 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
28629 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
28630 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
28631 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
28632 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
28633 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
28634 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
28635 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
28636 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
28637 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
28638 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
28639 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
28640 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
28641 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
28642 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
28643 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
28644 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
28645 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
28646 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
28647 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
28648 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
28649 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
28650 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
28651 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
28652 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
28653 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
28654 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
28655 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
28656 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28657 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28658 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28659 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28660 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
28661 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
28662 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
28663 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28664 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28665 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28666 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
28667 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
28668 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
28669 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
28670 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28671 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
28672 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
28673 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
28674 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
28675 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
28676 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
28677 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
28678 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28679 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
28680 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28681 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28682 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28683 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
28684 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
28685 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
28686 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
28687 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
28688 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
28689 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
28690 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
28691 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
28692 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
28693 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
28694 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
28695 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
28696 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28697 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28698 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28699 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28700 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
28701 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
28702 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
28703 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
28704 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
28705 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
28706 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
28707 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
28708 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
28709 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28710 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28711 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
28712 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
28713 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
28714 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
28715 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
28716 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
28717 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28718 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
28719 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
28720 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
28721 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
28722 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
28723 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
28724 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
28725 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
28726 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
28727 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
28728 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
28729 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
28730 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
28731 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
28732 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
28733 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
28734 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
28735 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
28736 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
28737 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
28738 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
28739 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
28740 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
28741 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
28742 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
28743 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
28744 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
28745 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
28746 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
28747 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
28748 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
28749 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
28750 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
28751 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
98e665d3 28752 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
2f4c0a16
RD
28753 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
28754 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
28755 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
28756 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
28757 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
28758 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
28759 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
28760 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
28761 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
28762 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
28763 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
28764 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
28765 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
28766 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
28767 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
28768 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
28769 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
28770 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
28771 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
28772 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
d14a1e28 28773 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
2f4c0a16
RD
28774 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
28775 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
28776 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
28777 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
28778 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
28779 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
28780 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
28781 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
28782 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
28783 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
28784 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
28785 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
d14a1e28
RD
28786
28787 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28788 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28789 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28790 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28791
28792 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28793}
28794