]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/misc_wrap.cpp
reSWIGged
[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]
ce7284bd
RD
218#define SWIGTYPE_p_wxDisplay swig_types[9]
219#define SWIGTYPE_p_wxFileType swig_types[10]
220#define SWIGTYPE_p_wxLogGui swig_types[11]
221#define SWIGTYPE_p_wxFont swig_types[12]
222#define SWIGTYPE_p_wxDataFormat swig_types[13]
223#define SWIGTYPE_p_wxTimerEvent swig_types[14]
224#define SWIGTYPE_p_wxCaret swig_types[15]
225#define SWIGTYPE_p_int swig_types[16]
226#define SWIGTYPE_p_wxSize swig_types[17]
227#define SWIGTYPE_p_wxClipboard swig_types[18]
228#define SWIGTYPE_p_wxStopWatch swig_types[19]
229#define SWIGTYPE_p_wxDC swig_types[20]
230#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231#define SWIGTYPE_p_wxIcon swig_types[22]
232#define SWIGTYPE_p_wxLogStderr swig_types[23]
233#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxTextCtrl swig_types[25]
235#define SWIGTYPE_p_wxBusyCursor swig_types[26]
236#define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237#define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238#define SWIGTYPE_p_wxTextDataObject swig_types[29]
239#define SWIGTYPE_p_wxDataObject swig_types[30]
240#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241#define SWIGTYPE_p_wxFileDataObject swig_types[32]
242#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243#define SWIGTYPE_p_wxURLDataObject swig_types[34]
244#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245#define SWIGTYPE_p_wxSound swig_types[36]
246#define SWIGTYPE_p_wxTimerRunner swig_types[37]
247#define SWIGTYPE_p_wxLogWindow swig_types[38]
248#define SWIGTYPE_p_wxTimeSpan swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
252#define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253#define SWIGTYPE_p_wxFileConfig swig_types[44]
254#define SWIGTYPE_p_wxSystemSettings swig_types[45]
255#define SWIGTYPE_p_wxVideoMode swig_types[46]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258#define SWIGTYPE_p_wxEvtHandler swig_types[49]
259#define SWIGTYPE_p_wxRect swig_types[50]
260#define SWIGTYPE_p_char swig_types[51]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263#define SWIGTYPE_p_wxFrame swig_types[54]
264#define SWIGTYPE_p_wxTimer swig_types[55]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268#define SWIGTYPE_p_wxTipProvider swig_types[59]
269#define SWIGTYPE_p_wxJoystick swig_types[60]
270#define SWIGTYPE_p_wxSystemOptions swig_types[61]
271#define SWIGTYPE_p_wxPoint swig_types[62]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273#define SWIGTYPE_p_wxCursor swig_types[64]
274#define SWIGTYPE_p_wxObject swig_types[65]
275#define SWIGTYPE_p_wxOutputStream swig_types[66]
276#define SWIGTYPE_p_wxDateTime swig_types[67]
277#define SWIGTYPE_p_wxPyDropSource swig_types[68]
278#define SWIGTYPE_p_wxWindow swig_types[69]
279#define SWIGTYPE_p_wxString swig_types[70]
280#define SWIGTYPE_p_wxPyProcess swig_types[71]
281#define SWIGTYPE_p_wxBitmap swig_types[72]
282#define SWIGTYPE_p_wxConfig swig_types[73]
283#define SWIGTYPE_p_wxChar swig_types[74]
284#define SWIGTYPE_p_wxBusyInfo swig_types[75]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288#define SWIGTYPE_p_wxProcessEvent swig_types[79]
289#define SWIGTYPE_p_wxPyLog swig_types[80]
290#define SWIGTYPE_p_wxLogNull swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
292#define SWIGTYPE_p_wxByte swig_types[83]
293#define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294#define SWIGTYPE_p_wxPyTimer swig_types[85]
295#define SWIGTYPE_p_wxDateSpan swig_types[86]
296static swig_type_info *swig_types[88];
d14a1e28
RD
297
298/* -------- TYPES TABLE (END) -------- */
299
300
301/*-----------------------------------------------
302 @(target):= _misc.so
303 ------------------------------------------------*/
304#define SWIG_init init_misc
305
306#define SWIG_name "_misc"
307
2f4c0a16 308/* Auxiliar swig macros */
8edf1c75 309
8edf1c75 310#ifdef __cplusplus
2f4c0a16 311#define SWIGSTATICINLINE(a) static inline a
8edf1c75 312#define SWIGSTATIC(a) static a
2f4c0a16
RD
313#define swig_new_array(type, size) (new type[(size)])
314#define swig_delete_array(cptr) delete[] cptr
315#define swig_const_cast(type,a) const_cast<type>(a)
316#define swig_static_cast(type,a) static_cast<type>(a)
317#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 318
8edf1c75 319#ifdef HAVE_NUMERIC_CAST
2f4c0a16 320#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 321#else
2f4c0a16 322#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
323#endif
324
2f4c0a16
RD
325#else /* C case */
326
327#define SWIGSTATICINLINE(a) static a
328#define SWIGSTATIC(a) static a
329#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330#define swig_delete_array(cptr) free((char*)cptr)
331#define swig_const_cast(type,a) (type)(a)
332#define swig_static_cast(type,a) (type)(a)
333#define swig_reinterpret_cast(type,a) (type)(a)
334#define swig_numeric_cast(type,a) (type)(a)
335
336#endif /* __cplusplus */
8edf1c75
RD
337
338
2f4c0a16
RD
339#define SWIG_FromSignedChar PyInt_FromLong
340#define SWIG_FromUnsignedChar PyInt_FromLong
341#define SWIG_FromShort PyInt_FromLong
342#define SWIG_FromUnsignedShort PyInt_FromLong
343#define SWIG_FromInt PyInt_FromLong
344#define SWIG_FromLong PyInt_FromLong
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
347#define SWIG_FromFloat PyFloat_FromDouble
348#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
349
350
d14a1e28
RD
351#include "wx/wxPython/wxPython.h"
352#include "wx/wxPython/pyclasses.h"
353#include "wx/wxPython/pyistream.h"
354
d14a1e28 355
cbd72d4f 356 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
357
358
8edf1c75 359
2f4c0a16
RD
360#include <limits.h>
361
362
363SWIGSTATICINLINE(long)
364SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366{
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384}
385
386
387SWIGSTATICINLINE(long)
388SWIG_AsLong(PyObject * obj)
389{
390 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
391}
392
393
394#if INT_MAX != LONG_MAX
395SWIGSTATICINLINE(int)
396SWIG_AsInt(PyObject *obj)
8edf1c75 397{
2f4c0a16
RD
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj),
400 "int", INT_MIN, INT_MAX));
401}
402#else
403#define SWIG_AsInt SWIG_AsLong
404#endif
405
406
407SWIGSTATICINLINE(int)
408SWIG_CheckInt(PyObject* obj)
409{
410 SWIG_AsInt(obj);
411 if (PyErr_Occurred()) {
412 PyErr_Clear();
413 return 0;
414 } else {
415 return 1;
416 }
8edf1c75
RD
417}
418
cbd72d4f
RD
419 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
420 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
421 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 422
2f4c0a16
RD
423SWIGSTATICINLINE(int)
424SWIG_CheckLong(PyObject* obj)
8edf1c75 425{
2f4c0a16
RD
426 SWIG_AsLong(obj);
427 if (PyErr_Occurred()) {
428 PyErr_Clear();
429 return 0;
430 } else {
431 return 1;
432 }
8edf1c75
RD
433}
434
435
2f4c0a16
RD
436SWIGSTATICINLINE(bool)
437SWIG_AsBool(PyObject *obj)
8edf1c75
RD
438{
439 return PyObject_IsTrue(obj) ? true : false;
440}
441
442
2f4c0a16
RD
443SWIGSTATICINLINE(int)
444SWIG_CheckBool(PyObject* obj)
445{
446 SWIG_AsBool(obj);
447 if (PyErr_Occurred()) {
448 PyErr_Clear();
449 return 0;
450 } else {
451 return 1;
452 }
453}
454
455
d14a1e28
RD
456static PyObject* t_output_helper(PyObject* target, PyObject* o) {
457 PyObject* o2;
458 PyObject* o3;
459
460 if (!target) {
461 target = o;
462 } else if (target == Py_None) {
463 Py_DECREF(Py_None);
464 target = o;
465 } else {
466 if (!PyTuple_Check(target)) {
467 o2 = target;
468 target = PyTuple_New(1);
469 PyTuple_SetItem(target, 0, o2);
470 }
471 o3 = PyTuple_New(1);
472 PyTuple_SetItem(o3, 0, o);
473
474 o2 = target;
475 target = PySequence_Concat(o2, o3);
476 Py_DECREF(o2);
477 Py_DECREF(o3);
478 }
479 return target;
480}
481
482
2f4c0a16
RD
483SWIGSTATICINLINE(unsigned long)
484SWIG_AsUnsignedLong(PyObject * obj)
485{
486 if (PyLong_Check(obj)) {
487 return PyLong_AsUnsignedLong(obj);
488 } else {
489 long i = PyInt_AsLong(obj);
490 if ( !PyErr_Occurred() && (i < 0)) {
491 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
492 }
493 return i;
494 }
495}
496
497
498SWIGSTATICINLINE(int)
499SWIG_CheckUnsignedLong(PyObject* obj)
500{
501 SWIG_AsUnsignedLong(obj);
502 if (PyErr_Occurred()) {
503 PyErr_Clear();
504 return 0;
505 } else {
506 return 1;
507 }
508}
509
510
511SWIGSTATICINLINE(PyObject* )
512SWIG_FromUnsignedLong(unsigned long value)
8edf1c75 513{
2f4c0a16
RD
514 return (value > LONG_MAX) ?
515 PyLong_FromUnsignedLong(value)
516 : PyInt_FromLong(swig_numeric_cast(long,value));
8edf1c75
RD
517}
518
519
d14a1e28
RD
520 bool wxThread_IsMain() {
521#ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
523#else
423f194a 524 return True;
d14a1e28
RD
525#endif
526 }
527
528
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
531 }
532
533 void wxCaret_SetBlinkTime(int milliseconds) {
534 wxCaret::SetBlinkTime(milliseconds);
535 }
536
537
538#include <wx/snglinst.h>
539
540
541#ifdef __WXMSW__
542#include <wx/msw/private.h>
543#include <wx/dynload.h>
544#endif
545
546
547
548void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
549{
550#ifdef __WXMSW__
551
552 switch (method)
553 {
554 case 1:
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
558 // not be painted.
559 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
560 break;
561
562 case 2:
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
567 // Win2k.
568 //
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
573 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
574 PRF_ERASEBKGND | PRF_OWNED );
575 break;
576
577 case 3:
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
584
585 // fall through
586
587 case 4:
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 593 static bool s_triedToLoad = False;
d14a1e28
RD
594 static PrintWindow_t pfnPrintWindow = NULL;
595 if ( !s_triedToLoad )
596 {
597
423f194a 598 s_triedToLoad = True;
d14a1e28
RD
599 wxDynamicLibrary dllUser32(_T("user32.dll"));
600 if ( dllUser32.IsLoaded() )
601 {
602 wxLogNull nolog; // Don't report errors here
603 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
604 }
605 }
606 if (pfnPrintWindow)
607 {
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
610 }
611 else
612 {
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
615 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
616 }
617 }
618#endif
619}
620
621
622
623#include <wx/tipdlg.h>
624
625
626class wxPyTipProvider : public wxTipProvider {
627public:
628 wxPyTipProvider(size_t currentTip)
629 : wxTipProvider(currentTip) {}
630
631 DEC_PYCALLBACK_STRING__pure(GetTip);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
633 PYPRIVATE;
634};
635
636IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
637IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
638
639
ce7284bd
RD
640//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
641
642void wxPyTimer::Notify() {
643 bool found;
644 wxPyBeginBlockThreads();
645 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
646 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
647 wxPyEndBlockThreads();
648 if (! found)
649 wxTimer::Notify();
650}
651void wxPyTimer::base_Notify() {
652 wxTimer::Notify();
653}
654
d14a1e28 655
8edf1c75 656
2f4c0a16
RD
657SWIGSTATICINLINE(PyObject *)
658SWIG_FromCharPtr(const char* cptr)
659{
660 size_t size = cptr ? strlen(cptr) : 0;
661 if (cptr) {
662 if (size > INT_MAX) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
664 SWIG_TypeQuery("char *"), 0);
665 } else {
666 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
667 }
668 } else {
669 Py_INCREF(Py_None);
670 return Py_None;
671 }
672}
673
674
675SWIGSTATICINLINE(unsigned long)
676SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
677 unsigned long max_value)
678{
679 if (!PyErr_Occurred()) {
680 if (value > max_value) {
681 PyObject *err =
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value, type, max_value);
684 PyErr_SetObject(PyExc_OverflowError, err);
685 Py_DECREF(err);
686 }
687 }
688 return value;
689}
690
691
692#if UINT_MAX != ULONG_MAX
693SWIGSTATICINLINE(unsigned int)
694SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 695{
2f4c0a16
RD
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
698 "unsigned int", UINT_MAX));
699}
700#else
701#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
702#endif
703
704
705SWIGSTATICINLINE(int)
706SWIG_CheckUnsignedInt(PyObject* obj)
707{
708 SWIG_AsUnsignedInt(obj);
709 if (PyErr_Occurred()) {
710 PyErr_Clear();
711 return 0;
712 } else {
713 return 1;
714 }
8edf1c75
RD
715}
716
d14a1e28
RD
717wxString Log_TimeStamp(){
718 wxString msg;
719 wxLog::TimeStamp(&msg);
720 return msg;
721 }
722void wxLog_Destroy(wxLog *self){ delete self; }
723
724// A wxLog class that can be derived from in wxPython
725class wxPyLog : public wxLog {
726public:
727 wxPyLog() : wxLog() {}
728
729 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
730 bool found;
731 wxPyBeginBlockThreads();
732 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
733 PyObject* s = wx2PyString(szString);
734 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
735 Py_DECREF(s);
736 }
737 wxPyEndBlockThreads();
738 if (! found)
739 wxLog::DoLog(level, szString, t);
740 }
741
742 virtual void DoLogString(const wxChar *szString, time_t t) {
743 bool found;
744 wxPyBeginBlockThreads();
745 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
746 PyObject* s = wx2PyString(szString);
747 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
748 Py_DECREF(s);
749 }
750 wxPyEndBlockThreads();
751 if (! found)
752 wxLog::DoLogString(szString, t);
753 }
754
755 PYPRIVATE;
756};
757
758
759
760
761IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
762
763
764#include <wx/joystick.h>
765
766
767#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768// A C++ stub class for wxJoystick for platforms that don't have it.
769class wxJoystick : public wxObject {
770public:
771 wxJoystick(int joystick = wxJOYSTICK1) {
772 wxPyBeginBlockThreads();
cbd72d4f
RD
773 PyErr_SetString(PyExc_NotImplementedError,
774 "wxJoystick is not available on this platform.");
d14a1e28
RD
775 wxPyEndBlockThreads();
776 }
777 wxPoint GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold) {}
787
423f194a 788 bool IsOk(void) { return False; }
d14a1e28
RD
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
811
423f194a
RD
812 bool HasRudder() { return False; }
813 bool HasZ() { return False; }
814 bool HasU() { return False; }
815 bool HasV() { return False; }
816 bool HasPOV() { return False; }
817 bool HasPOV4Dir() { return False; }
818 bool HasPOVCTS() { return False; }
d14a1e28 819
423f194a
RD
820 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
821 bool ReleaseCapture() { return False; }
d14a1e28
RD
822};
823#endif
824
825
02a34c4c 826#include <wx/sound.h>
d14a1e28
RD
827
828
dff1fa9b 829#if !wxUSE_SOUND
d14a1e28 830// A C++ stub class for wxWave for platforms that don't have it.
02a34c4c 831class wxSound : public wxObject
d14a1e28
RD
832{
833public:
02a34c4c 834 wxSound() {
d14a1e28 835 wxPyBeginBlockThreads();
cbd72d4f 836 PyErr_SetString(PyExc_NotImplementedError,
02a34c4c 837 "wxSound is not available on this platform.");
d14a1e28
RD
838 wxPyEndBlockThreads();
839 }
02a34c4c 840 wxSound(const wxString&, bool) {
d14a1e28 841 wxPyBeginBlockThreads();
cbd72d4f 842 PyErr_SetString(PyExc_NotImplementedError,
02a34c4c 843 "wxSound is not available on this platform.");
d14a1e28
RD
844 wxPyEndBlockThreads();
845 }
02a34c4c
RD
846 wxSound(int, const wxByte*) {
847 wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads();
851 }
852
853 ~wxSound() {};
d14a1e28 854
02a34c4c
RD
855 bool Create(const wxString&, bool) { return false; }
856 bool Create(int, const wxByte*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString&, unsigned) { return false; }
860 static void Stop() {}
d14a1e28
RD
861};
862
863#endif
864
02a34c4c
RD
865bool wxSound_Create__SWIG_1(wxSound *self,int size,wxByte const *data){
866 wxPyBeginBlockThreads();
867 PyErr_SetString(PyExc_NotImplementedError,
868 "Create from data is not available on this platform.");
869 wxPyEndBlockThreads();
b409bb30 870 return False;
d14a1e28 871 }
ce7284bd 872void Sound_Stop(){ wxPyRaiseNotImplemented(); }
d14a1e28
RD
873
874#include <wx/mimetype.h>
875
876PyObject *wxFileType_GetMimeType(wxFileType *self){
877 wxString str;
878 if (self->GetMimeType(&str))
879 return wx2PyString(str);
880 else
881 RETURN_NONE();
882 }
883PyObject *wxFileType_GetMimeTypes(wxFileType *self){
884 wxArrayString arr;
885 if (self->GetMimeTypes(arr))
886 return wxArrayString2PyList_helper(arr);
887 else
888 RETURN_NONE();
889 }
890PyObject *wxFileType_GetExtensions(wxFileType *self){
891 wxArrayString arr;
892 if (self->GetExtensions(arr))
893 return wxArrayString2PyList_helper(arr);
894 else
895 RETURN_NONE();
896 }
897wxIcon *wxFileType_GetIcon(wxFileType *self){
898 wxIconLocation loc;
899 if (self->GetIcon(&loc))
900 return new wxIcon(loc);
901 else
902 return NULL;
903 }
904PyObject *wxFileType_GetIconInfo(wxFileType *self){
905 wxIconLocation loc;
906 if (self->GetIcon(&loc)) {
907 wxString iconFile = loc.GetFileName();
908 int iconIndex = -1;
909
910
911
912 // Make a tuple and put the values in it
913 wxPyBeginBlockThreads();
914 PyObject* tuple = PyTuple_New(3);
915 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
423f194a 916 wxT("wxIcon"), True));
d14a1e28
RD
917 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
918 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
919 wxPyEndBlockThreads();
920 return tuple;
921 }
922 else
923 RETURN_NONE();
924 }
925PyObject *wxFileType_GetDescription(wxFileType *self){
926 wxString str;
927 if (self->GetDescription(&str))
928 return wx2PyString(str);
929 else
930 RETURN_NONE();
931 }
932PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
933 wxString str;
934 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
935 return wx2PyString(str);
936 else
937 RETURN_NONE();
938 }
939PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
940 wxString str;
941 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
942 return wx2PyString(str);
943 else
944 RETURN_NONE();
945 }
946PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
947 wxArrayString verbs;
948 wxArrayString commands;
949 if (self->GetAllCommands(&verbs, &commands,
950 wxFileType::MessageParameters(filename, mimetype))) {
951 wxPyBeginBlockThreads();
952 PyObject* tuple = PyTuple_New(2);
953 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
954 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
955 wxPyEndBlockThreads();
956 return tuple;
957 }
958 else
959 RETURN_NONE();
960 }
961wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
962 return wxFileType::ExpandCommand(command,
963 wxFileType::MessageParameters(filename, mimetype));
964 }
965PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
966 wxArrayString arr;
967 self->EnumAllFileTypes(arr);
968 return wxArrayString2PyList_helper(arr);
969 }
970
971#include <wx/artprov.h>
972
973 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
974 static const wxString wxPyART_MENU(wxART_MENU);
975 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
976 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
977 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
978 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
979 static const wxString wxPyART_OTHER(wxART_OTHER);
980 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
981 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
982 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
983 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
984 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
985 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
986 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
987 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
988 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
989 static const wxString wxPyART_GO_UP(wxART_GO_UP);
990 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
991 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
992 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
993 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
994 static const wxString wxPyART_PRINT(wxART_PRINT);
995 static const wxString wxPyART_HELP(wxART_HELP);
996 static const wxString wxPyART_TIP(wxART_TIP);
997 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
998 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
999 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1000 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1001 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1002 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1003 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1004 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1005 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1006 static const wxString wxPyART_ERROR(wxART_ERROR);
1007 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1008 static const wxString wxPyART_WARNING(wxART_WARNING);
1009 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1010 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1011 // Python aware wxArtProvider
1012class wxPyArtProvider : public wxArtProvider {
1013public:
1014
1015 virtual wxBitmap CreateBitmap(const wxArtID& id,
1016 const wxArtClient& client,
1017 const wxSize& size) {
1018 wxBitmap rval = wxNullBitmap;
1019 wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1021 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1022 PyObject* ro;
1023 wxBitmap* ptr;
1024 PyObject* s1, *s2;
1025 s1 = wx2PyString(id);
1026 s2 = wx2PyString(client);
1027 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1028 Py_DECREF(so);
1029 Py_DECREF(s1);
1030 Py_DECREF(s2);
1031 if (ro) {
1032 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1033 rval = *ptr;
1034 Py_DECREF(ro);
1035 }
1036 }
1037 wxPyEndBlockThreads();
1038 return rval;
1039 }
1040
1041 PYPRIVATE;
1042};
1043
41f1cec7 1044void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
1045
1046
1047
1048 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1049 PyObject* ret = PyTuple_New(3);
1050 if (ret) {
1051 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1052 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1053 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1054 }
1055 return ret;
1056 }
1057
1058PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1059 bool cont;
1060 long index = 0;
1061 wxString value;
1062
1063 cont = self->GetFirstGroup(value, index);
1064 return __EnumerationHelper(cont, value, index);
1065 }
1066PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1067 bool cont;
1068 wxString value;
1069
1070 cont = self->GetNextGroup(value, index);
1071 return __EnumerationHelper(cont, value, index);
1072 }
1073PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1074 bool cont;
1075 long index = 0;
1076 wxString value;
1077
1078 cont = self->GetFirstEntry(value, index);
1079 return __EnumerationHelper(cont, value, index);
1080 }
1081PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1082 bool cont;
1083 wxString value;
1084
1085 cont = self->GetNextEntry(value, index);
1086 return __EnumerationHelper(cont, value, index);
1087 }
1088long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1089 long rv;
1090 self->Read(key, &rv, defaultVal);
1091 return rv;
1092 }
8edf1c75 1093
2f4c0a16
RD
1094SWIGSTATICINLINE(double)
1095SWIG_AsDouble(PyObject *obj)
8edf1c75 1096{
2f4c0a16 1097 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 1098#if HAVE_LONG_LONG
2f4c0a16 1099 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 1100#else
2f4c0a16 1101 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
1102#endif
1103 if (PyErr_Occurred()) {
1104 PyErr_Clear();
1105 PyErr_SetString(PyExc_TypeError, "a double is expected");
1106 }
2f4c0a16
RD
1107 return val;
1108}
1109
1110
1111SWIGSTATICINLINE(int)
1112SWIG_CheckDouble(PyObject* obj)
1113{
1114 SWIG_AsDouble(obj);
1115 if (PyErr_Occurred()) {
1116 PyErr_Clear();
1117 return 0;
1118 } else {
1119 return 1;
1120 }
8edf1c75
RD
1121}
1122
d14a1e28
RD
1123double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1124 double rv;
1125 self->Read(key, &rv, defaultVal);
1126 return rv;
1127 }
1128bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1129 bool rv;
1130 self->Read(key, &rv, defaultVal);
1131 return rv;
1132 }
1133
1134#include <wx/datetime.h>
1135
d14a1e28 1136
32958cea
RD
1137 static const wxString wxPyDateFormatStr(wxT("%c"));
1138 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
1139
1140#define LOCAL_TZ wxDateTime::Local
1141
8edf1c75 1142
2f4c0a16
RD
1143#if UINT_MAX < LONG_MAX
1144#define SWIG_FromUnsignedInt SWIG_FromLong
1145#else
1146#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1147#endif
8edf1c75 1148
d14a1e28
RD
1149wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1150wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1151wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1152wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1153wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
38f59159
RD
1154bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1155bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1156bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1157bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1158bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1159bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1160int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1161 const wxChar* rv;
1162 const wxChar* _date = date;
1163 rv = self->ParseRfc822Date(_date);
1164 if (rv == NULL) return -1;
1165 return rv - _date;
1166 }
1167int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1168 const wxChar* rv;
1169 const wxChar* _date = date;
1170 rv = self->ParseFormat(_date, format, dateDef);
1171 if (rv == NULL) return -1;
1172 return rv - _date;
1173 }
1174int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1175 const wxChar* rv;
1176 const wxChar* _datetime = datetime;
1177 rv = self->ParseDateTime(_datetime);
1178 if (rv == NULL) return -1;
1179 return rv - _datetime;
1180 }
1181int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1182 const wxChar* rv;
1183 const wxChar* _date = date;
1184 rv = self->ParseDate(_date);
1185 if (rv == NULL) return -1;
1186 return rv - _date;
1187 }
1188int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1189 const wxChar* rv;
1190 const wxChar* _time = time;
1191 rv = self->ParseTime(_time);
1192 if (rv == NULL) return -1;
1193 return rv - _time;
1194 }
1195wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1196wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1197wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1198wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
38f59159
RD
1199bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1200bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1201bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1202bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1203bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1204bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1205wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1206wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1207wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1208wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
38f59159
RD
1209bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1210bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1211
1212#include <wx/dataobj.h>
1213
1214 // Create a new class for wxPython to use
1215class wxPyDataObjectSimple : public wxDataObjectSimple {
1216public:
1217 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1218 : wxDataObjectSimple(format) {}
1219
1220 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1221 bool GetDataHere(void *buf) const;
1222 bool SetData(size_t len, const void *buf) const;
1223 PYPRIVATE;
1224};
1225
1226IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1227
1228bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1229 // We need to get the data for this object and write it to buf. I think
1230 // the best way to do this for wxPython is to have the Python method
1231 // return either a string or None and then act appropriately with the
1232 // C++ version.
1233
423f194a 1234 bool rval = False;
d14a1e28
RD
1235 wxPyBeginBlockThreads();
1236 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1237 PyObject* ro;
1238 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1239 if (ro) {
1240 rval = (ro != Py_None && PyString_Check(ro));
1241 if (rval)
1242 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1243 Py_DECREF(ro);
1244 }
1245 }
1246 wxPyEndBlockThreads();
1247 return rval;
1248}
1249
1250bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1251 // For this one we simply need to make a string from buf and len
1252 // and send it to the Python method.
423f194a 1253 bool rval = False;
d14a1e28
RD
1254 wxPyBeginBlockThreads();
1255 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1256 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1257 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1258 Py_DECREF(data);
1259 }
1260 wxPyEndBlockThreads();
1261 return rval;
1262}
1263
1264 // Create a new class for wxPython to use
1265class wxPyTextDataObject : public wxTextDataObject {
1266public:
1267 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1268 : wxTextDataObject(text) {}
1269
1270 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1271 DEC_PYCALLBACK_STRING__const(GetText);
1272 DEC_PYCALLBACK__STRING(SetText);
1273 PYPRIVATE;
1274};
1275
1276IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1277IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1278IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1279
1280
1281 // Create a new class for wxPython to use
1282class wxPyBitmapDataObject : public wxBitmapDataObject {
1283public:
1284 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1285 : wxBitmapDataObject(bitmap) {}
1286
1287 wxBitmap GetBitmap() const;
1288 void SetBitmap(const wxBitmap& bitmap);
1289 PYPRIVATE;
1290};
1291
1292wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1293 wxBitmap* rval = &wxNullBitmap;
1294 wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1296 PyObject* ro;
1297 wxBitmap* ptr;
1298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1299 if (ro) {
1300 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1301 rval = ptr;
1302 Py_DECREF(ro);
1303 }
1304 }
1305 wxPyEndBlockThreads();
1306 return *rval;
1307}
1308
1309void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1310 wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1312 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1314 Py_DECREF(bo);
1315 }
1316 wxPyEndBlockThreads();
1317}
1318
1319void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1320 if (PyString_Check(data)) {
1321 // for Python we just call SetData here since we always need it to make a copy.
1322 self->SetData(PyString_Size(data), PyString_AsString(data));
1323 }
1324 else {
1325 // raise a TypeError if not a string
1326 PyErr_SetString(PyExc_TypeError, "String expected.");
1327 }
1328 }
1329bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1330 if (PyString_Check(data)) {
1331 return self->SetData(PyString_Size(data), PyString_AsString(data));
1332 }
1333 else {
1334 // raise a TypeError if not a string
1335 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1336 return False;
d14a1e28
RD
1337 }
1338 }
1339PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1340 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1341 }
1342
1343#include <wx/metafile.h>
1344
1345
d14a1e28
RD
1346IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1347
1348
d14a1e28
RD
1349IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1350IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1351IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1352IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1353IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1354
1355
d14a1e28
RD
1356class wxPyTextDropTarget : public wxTextDropTarget {
1357public:
1358 wxPyTextDropTarget() {}
1359
1360 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1361
1362 DEC_PYCALLBACK__(OnLeave);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1364 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1365 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1366 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1367
1368 PYPRIVATE;
1369};
1370
1371IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1372IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1373IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1374IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1375IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1376IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1377
1378
1379
1380class wxPyFileDropTarget : public wxFileDropTarget {
1381public:
1382 wxPyFileDropTarget() {}
1383
1384 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1385
1386 DEC_PYCALLBACK__(OnLeave);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1388 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1389 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1390 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1391
1392 PYPRIVATE;
1393};
1394
1395bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1396 const wxArrayString& filenames) {
423f194a 1397 bool rval = False;
d14a1e28
RD
1398 wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1400 PyObject* list = wxArrayString2PyList_helper(filenames);
1401 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1402 Py_DECREF(list);
1403 }
1404 wxPyEndBlockThreads();
1405 return rval;
1406}
1407
1408
1409
1410IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1411IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1412IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1413IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1414IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1415
1416
1417
1418
1419bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
ce7284bd
RD
1420
1421#include "wx/display.h"
1422
1423bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1424bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1425int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1426PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1427 PyObject* pyList = NULL;
1428 wxArrayVideoModes arr = self->GetModes(mode);
1429 wxPyBeginBlockThreads();
1430 pyList = PyList_New(0);
1431 for (int i=0; i < arr.GetCount(); i++) {
1432 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1433 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1434 PyList_Append(pyList, pyObj);
1435 }
1436 wxPyEndBlockThreads();
1437 return pyList;
1438 }
d14a1e28
RD
1439#ifdef __cplusplus
1440extern "C" {
1441#endif
2f4c0a16 1442static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1443 PyObject *resultobj;
1444 int arg1 ;
1445 wxColour result;
8edf1c75 1446 PyObject * obj0 = 0 ;
d14a1e28
RD
1447 char *kwnames[] = {
1448 (char *) "index", NULL
1449 };
1450
8edf1c75 1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1452 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 {
1462 wxColour * resultptr;
1463 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1465 }
1466 return resultobj;
1467 fail:
1468 return NULL;
1469}
1470
1471
2f4c0a16 1472static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1473 PyObject *resultobj;
1474 int arg1 ;
1475 wxFont result;
8edf1c75 1476 PyObject * obj0 = 0 ;
d14a1e28
RD
1477 char *kwnames[] = {
1478 (char *) "index", NULL
1479 };
1480
8edf1c75 1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1482 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 {
1492 wxFont * resultptr;
1493 resultptr = new wxFont((wxFont &) result);
2f4c0a16 1494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
1495 }
1496 return resultobj;
1497 fail:
1498 return NULL;
1499}
1500
1501
2f4c0a16 1502static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1503 PyObject *resultobj;
1504 int arg1 ;
1505 int result;
8edf1c75 1506 PyObject * obj0 = 0 ;
d14a1e28
RD
1507 char *kwnames[] = {
1508 (char *) "index", NULL
1509 };
1510
8edf1c75 1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1512 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
2f4c0a16 1521 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1522 return resultobj;
1523 fail:
1524 return NULL;
1525}
1526
1527
2f4c0a16 1528static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1529 PyObject *resultobj;
1530 int arg1 ;
1531 bool result;
8edf1c75 1532 PyObject * obj0 = 0 ;
d14a1e28
RD
1533 char *kwnames[] = {
1534 (char *) "index", NULL
1535 };
1536
8edf1c75 1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1538 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
02a34c4c 1547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1548 return resultobj;
1549 fail:
1550 return NULL;
1551}
1552
1553
2f4c0a16 1554static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1555 PyObject *resultobj;
1556 int result;
1557 char *kwnames[] = {
1558 NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1562 {
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 result = (int)wxSystemSettings::GetScreenType();
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
2f4c0a16 1569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1570 return resultobj;
1571 fail:
1572 return NULL;
1573}
1574
1575
2f4c0a16 1576static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1577 PyObject *resultobj;
1578 int arg1 ;
8edf1c75 1579 PyObject * obj0 = 0 ;
d14a1e28
RD
1580 char *kwnames[] = {
1581 (char *) "screen", NULL
1582 };
1583
8edf1c75 1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1585 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1587 {
1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
1589 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1590
1591 wxPyEndAllowThreads(__tstate);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 Py_INCREF(Py_None); resultobj = Py_None;
1595 return resultobj;
1596 fail:
1597 return NULL;
1598}
1599
1600
2f4c0a16 1601static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1602 PyObject *obj;
1603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1604 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1605 Py_INCREF(obj);
1606 return Py_BuildValue((char *)"");
1607}
2f4c0a16 1608static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1609 PyObject *resultobj;
1610 wxSystemOptions *result;
1611 char *kwnames[] = {
1612 NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1616 {
1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
1618 result = (wxSystemOptions *)new wxSystemOptions();
1619
1620 wxPyEndAllowThreads(__tstate);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
2f4c0a16 1623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
1624 return resultobj;
1625 fail:
1626 return NULL;
1627}
1628
1629
2f4c0a16 1630static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1631 PyObject *resultobj;
1632 wxString *arg1 = 0 ;
1633 wxString *arg2 = 0 ;
423f194a
RD
1634 bool temp1 = False ;
1635 bool temp2 = False ;
d14a1e28
RD
1636 PyObject * obj0 = 0 ;
1637 PyObject * obj1 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "name",(char *) "value", NULL
1640 };
1641
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1643 {
1644 arg1 = wxString_in_helper(obj0);
1645 if (arg1 == NULL) SWIG_fail;
423f194a 1646 temp1 = True;
d14a1e28
RD
1647 }
1648 {
1649 arg2 = wxString_in_helper(obj1);
1650 if (arg2 == NULL) SWIG_fail;
423f194a 1651 temp2 = True;
d14a1e28
RD
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 Py_INCREF(Py_None); resultobj = Py_None;
1661 {
1662 if (temp1)
1663 delete arg1;
1664 }
1665 {
1666 if (temp2)
1667 delete arg2;
1668 }
1669 return resultobj;
1670 fail:
1671 {
1672 if (temp1)
1673 delete arg1;
1674 }
1675 {
1676 if (temp2)
1677 delete arg2;
1678 }
1679 return NULL;
1680}
1681
1682
2f4c0a16 1683static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1684 PyObject *resultobj;
1685 wxString *arg1 = 0 ;
1686 int arg2 ;
423f194a 1687 bool temp1 = False ;
d14a1e28 1688 PyObject * obj0 = 0 ;
8edf1c75 1689 PyObject * obj1 = 0 ;
d14a1e28
RD
1690 char *kwnames[] = {
1691 (char *) "name",(char *) "value", NULL
1692 };
1693
8edf1c75 1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1695 {
1696 arg1 = wxString_in_helper(obj0);
1697 if (arg1 == NULL) SWIG_fail;
423f194a 1698 temp1 = True;
d14a1e28 1699 }
2f4c0a16
RD
1700 arg2 = (int) SWIG_AsInt(obj1);
1701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 Py_INCREF(Py_None); resultobj = Py_None;
1710 {
1711 if (temp1)
1712 delete arg1;
1713 }
1714 return resultobj;
1715 fail:
1716 {
1717 if (temp1)
1718 delete arg1;
1719 }
1720 return NULL;
1721}
1722
1723
2f4c0a16 1724static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1725 PyObject *resultobj;
1726 wxString *arg1 = 0 ;
1727 wxString result;
423f194a 1728 bool temp1 = False ;
d14a1e28
RD
1729 PyObject * obj0 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "name", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1735 {
1736 arg1 = wxString_in_helper(obj0);
1737 if (arg1 == NULL) SWIG_fail;
423f194a 1738 temp1 = True;
d14a1e28
RD
1739 }
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 {
1748#if wxUSE_UNICODE
1749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1750#else
1751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1752#endif
1753 }
1754 {
1755 if (temp1)
1756 delete arg1;
1757 }
1758 return resultobj;
1759 fail:
1760 {
1761 if (temp1)
1762 delete arg1;
1763 }
1764 return NULL;
1765}
1766
1767
2f4c0a16 1768static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1769 PyObject *resultobj;
1770 wxString *arg1 = 0 ;
1771 int result;
423f194a 1772 bool temp1 = False ;
d14a1e28
RD
1773 PyObject * obj0 = 0 ;
1774 char *kwnames[] = {
1775 (char *) "name", NULL
1776 };
1777
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1779 {
1780 arg1 = wxString_in_helper(obj0);
1781 if (arg1 == NULL) SWIG_fail;
423f194a 1782 temp1 = True;
d14a1e28
RD
1783 }
1784 {
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
2f4c0a16 1791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1792 {
1793 if (temp1)
1794 delete arg1;
1795 }
1796 return resultobj;
1797 fail:
1798 {
1799 if (temp1)
1800 delete arg1;
1801 }
1802 return NULL;
1803}
1804
1805
2f4c0a16 1806static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1807 PyObject *resultobj;
1808 wxString *arg1 = 0 ;
1809 bool result;
423f194a 1810 bool temp1 = False ;
d14a1e28
RD
1811 PyObject * obj0 = 0 ;
1812 char *kwnames[] = {
1813 (char *) "name", NULL
1814 };
1815
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1817 {
1818 arg1 = wxString_in_helper(obj0);
1819 if (arg1 == NULL) SWIG_fail;
423f194a 1820 temp1 = True;
d14a1e28
RD
1821 }
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
02a34c4c 1829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1830 {
1831 if (temp1)
1832 delete arg1;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp1)
1838 delete arg1;
1839 }
1840 return NULL;
1841}
1842
1843
2f4c0a16 1844static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1845 PyObject *obj;
1846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1847 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1848 Py_INCREF(obj);
1849 return Py_BuildValue((char *)"");
1850}
8edf1c75 1851static int _wrap_FileSelectorPromptStr_set(PyObject *) {
cbd72d4f
RD
1852 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1853 return 1;
1854}
1855
1856
1857static PyObject *_wrap_FileSelectorPromptStr_get() {
1858 PyObject *pyobj;
1859
1860 {
1861#if wxUSE_UNICODE
1862 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1863#else
1864 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1865#endif
1866 }
1867 return pyobj;
1868}
1869
1870
8edf1c75 1871static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
cbd72d4f
RD
1872 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1873 return 1;
1874}
1875
1876
1877static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1878 PyObject *pyobj;
1879
1880 {
1881#if wxUSE_UNICODE
1882 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1883#else
1884 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1885#endif
1886 }
1887 return pyobj;
1888}
1889
1890
8edf1c75 1891static int _wrap_DirSelectorPromptStr_set(PyObject *) {
cbd72d4f
RD
1892 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1893 return 1;
1894}
1895
1896
1897static PyObject *_wrap_DirSelectorPromptStr_get() {
1898 PyObject *pyobj;
1899
1900 {
1901#if wxUSE_UNICODE
1902 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1903#else
1904 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1905#endif
1906 }
1907 return pyobj;
1908}
1909
1910
2f4c0a16 1911static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1912 PyObject *resultobj;
1913 long result;
1914 char *kwnames[] = {
1915 NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1919 {
1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
1921 result = (long)wxNewId();
1922
1923 wxPyEndAllowThreads(__tstate);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
2f4c0a16 1926 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1927 return resultobj;
1928 fail:
1929 return NULL;
1930}
1931
1932
2f4c0a16 1933static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1934 PyObject *resultobj;
1935 long arg1 ;
8edf1c75 1936 PyObject * obj0 = 0 ;
d14a1e28
RD
1937 char *kwnames[] = {
1938 (char *) "id", NULL
1939 };
1940
8edf1c75 1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1942 arg1 = (long) SWIG_AsLong(obj0);
1943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 wxRegisterId(arg1);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
2f4c0a16 1958static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1959 PyObject *resultobj;
1960 long result;
1961 char *kwnames[] = {
1962 NULL
1963 };
1964
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 result = (long)wxGetCurrentId();
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
2f4c0a16 1973 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
2f4c0a16 1980static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1981 PyObject *resultobj;
1982 char *kwnames[] = {
1983 NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 wxBell();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 Py_INCREF(Py_None); resultobj = Py_None;
1995 return resultobj;
1996 fail:
1997 return NULL;
1998}
1999
2000
2f4c0a16 2001static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2002 PyObject *resultobj;
2003 char *kwnames[] = {
2004 NULL
2005 };
2006
2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 wxEndBusyCursor();
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
2015 Py_INCREF(Py_None); resultobj = Py_None;
2016 return resultobj;
2017 fail:
2018 return NULL;
2019}
2020
2021
2f4c0a16 2022static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2023 PyObject *resultobj;
423f194a 2024 bool arg1 = (bool) True ;
d14a1e28
RD
2025 long result;
2026 PyObject * obj0 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "resetTimer", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2032 if (obj0) {
2f4c0a16
RD
2033 arg1 = (bool) SWIG_AsBool(obj0);
2034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2035 }
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 result = (long)wxGetElapsedTime(arg1);
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2f4c0a16 2043 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2044 return resultobj;
2045 fail:
2046 return NULL;
2047}
2048
2049
2f4c0a16 2050static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2051 PyObject *resultobj;
2052 int *arg1 = (int *) 0 ;
2053 int *arg2 = (int *) 0 ;
2054 int temp1 ;
2055 int temp2 ;
2056 char *kwnames[] = {
2057 NULL
2058 };
2059
2060 arg1 = &temp1;
2061 arg2 = &temp2;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2063 {
2064 PyThreadState* __tstate = wxPyBeginAllowThreads();
2065 wxGetMousePosition(arg1,arg2);
2066
2067 wxPyEndAllowThreads(__tstate);
2068 if (PyErr_Occurred()) SWIG_fail;
2069 }
2070 Py_INCREF(Py_None); resultobj = Py_None;
2071 {
2072 PyObject *o = PyInt_FromLong((long) (*arg1));
2073 resultobj = t_output_helper(resultobj,o);
2074 }
2075 {
2076 PyObject *o = PyInt_FromLong((long) (*arg2));
2077 resultobj = t_output_helper(resultobj,o);
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082}
2083
2084
2f4c0a16 2085static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2086 PyObject *resultobj;
2087 bool result;
2088 char *kwnames[] = {
2089 NULL
2090 };
2091
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2093 {
2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
2095 result = (bool)wxIsBusy();
2096
2097 wxPyEndAllowThreads(__tstate);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
02a34c4c 2100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2101 return resultobj;
2102 fail:
2103 return NULL;
2104}
2105
2106
2f4c0a16 2107static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2108 PyObject *resultobj;
2109 wxString result;
2110 char *kwnames[] = {
2111 NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = wxNow();
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 {
2123#if wxUSE_UNICODE
2124 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2125#else
2126 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2127#endif
2128 }
2129 return resultobj;
2130 fail:
2131 return NULL;
2132}
2133
2134
2f4c0a16 2135static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2136 PyObject *resultobj;
2137 wxString const &arg1_defvalue = wxPyEmptyString ;
2138 wxString *arg1 = (wxString *) &arg1_defvalue ;
2139 bool result;
423f194a 2140 bool temp1 = False ;
d14a1e28
RD
2141 PyObject * obj0 = 0 ;
2142 char *kwnames[] = {
2143 (char *) "command", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2147 if (obj0) {
2148 {
2149 arg1 = wxString_in_helper(obj0);
2150 if (arg1 == NULL) SWIG_fail;
423f194a 2151 temp1 = True;
d14a1e28
RD
2152 }
2153 }
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 result = (bool)wxShell((wxString const &)*arg1);
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
02a34c4c 2161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2162 {
2163 if (temp1)
2164 delete arg1;
2165 }
2166 return resultobj;
2167 fail:
2168 {
2169 if (temp1)
2170 delete arg1;
2171 }
2172 return NULL;
2173}
2174
2175
2f4c0a16 2176static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2177 PyObject *resultobj;
2178 char *kwnames[] = {
2179 NULL
2180 };
2181
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 wxStartTimer();
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 }
2190 Py_INCREF(Py_None); resultobj = Py_None;
2191 return resultobj;
2192 fail:
2193 return NULL;
2194}
2195
2196
2f4c0a16 2197static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2198 PyObject *resultobj;
2199 int *arg1 = (int *) 0 ;
2200 int *arg2 = (int *) 0 ;
2201 int result;
2202 int temp1 ;
2203 int temp2 ;
2204 char *kwnames[] = {
2205 NULL
2206 };
2207
2208 arg1 = &temp1;
2209 arg2 = &temp2;
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 result = (int)wxGetOsVersion(arg1,arg2);
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
2f4c0a16 2218 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2219 {
2220 PyObject *o = PyInt_FromLong((long) (*arg1));
2221 resultobj = t_output_helper(resultobj,o);
2222 }
2223 {
2224 PyObject *o = PyInt_FromLong((long) (*arg2));
2225 resultobj = t_output_helper(resultobj,o);
2226 }
2227 return resultobj;
2228 fail:
2229 return NULL;
2230}
2231
2232
2f4c0a16 2233static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2234 PyObject *resultobj;
2235 wxString result;
2236 char *kwnames[] = {
2237 NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 result = wxGetOsDescription();
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 {
2249#if wxUSE_UNICODE
2250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2251#else
2252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2253#endif
2254 }
2255 return resultobj;
2256 fail:
2257 return NULL;
2258}
2259
2260
2f4c0a16 2261static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2262 PyObject *resultobj;
2263 long result;
2264 char *kwnames[] = {
2265 NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2269 {
2270 PyThreadState* __tstate = wxPyBeginAllowThreads();
2271 result = (long)wxGetFreeMemory();
2272
2273 wxPyEndAllowThreads(__tstate);
2274 if (PyErr_Occurred()) SWIG_fail;
2275 }
2f4c0a16 2276 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2277 return resultobj;
2278 fail:
2279 return NULL;
2280}
2281
2282
2f4c0a16 2283static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2284 PyObject *resultobj;
2285 int arg1 ;
2286 bool result;
8edf1c75 2287 PyObject * obj0 = 0 ;
d14a1e28
RD
2288 char *kwnames[] = {
2289 (char *) "wFlags", NULL
2290 };
2291
8edf1c75 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2293 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
02a34c4c 2302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2303 return resultobj;
2304 fail:
2305 return NULL;
2306}
2307
2308
2f4c0a16 2309static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2310 PyObject *resultobj;
2311 int arg1 ;
8edf1c75 2312 PyObject * obj0 = 0 ;
d14a1e28
RD
2313 char *kwnames[] = {
2314 (char *) "secs", NULL
2315 };
2316
8edf1c75 2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2318 arg1 = (int) SWIG_AsInt(obj0);
2319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 wxSleep(arg1);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 Py_INCREF(Py_None); resultobj = Py_None;
2328 return resultobj;
2329 fail:
2330 return NULL;
2331}
2332
2333
2f4c0a16 2334static PyObject *_wrap_Usleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2335 PyObject *resultobj;
2336 unsigned long arg1 ;
2337 PyObject * obj0 = 0 ;
2338 char *kwnames[] = {
2339 (char *) "milliseconds", NULL
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2343 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 wxUsleep(arg1);
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 Py_INCREF(Py_None); resultobj = Py_None;
2353 return resultobj;
2354 fail:
2355 return NULL;
2356}
2357
2358
2f4c0a16 2359static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2360 PyObject *resultobj;
2361 bool arg1 ;
2362 PyObject * obj0 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "enable", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2368 arg1 = (bool) SWIG_AsBool(obj0);
2369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2370 {
2371 PyThreadState* __tstate = wxPyBeginAllowThreads();
2372 wxEnableTopLevelWindows(arg1);
2373
2374 wxPyEndAllowThreads(__tstate);
2375 if (PyErr_Occurred()) SWIG_fail;
2376 }
2377 Py_INCREF(Py_None); resultobj = Py_None;
2378 return resultobj;
2379 fail:
2380 return NULL;
2381}
2382
2383
2f4c0a16 2384static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2385 PyObject *resultobj;
2386 wxString *arg1 = 0 ;
2387 wxString result;
423f194a 2388 bool temp1 = False ;
d14a1e28
RD
2389 PyObject * obj0 = 0 ;
2390 char *kwnames[] = {
2391 (char *) "in", NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2395 {
2396 arg1 = wxString_in_helper(obj0);
2397 if (arg1 == NULL) SWIG_fail;
423f194a 2398 temp1 = True;
d14a1e28
RD
2399 }
2400 {
2401 PyThreadState* __tstate = wxPyBeginAllowThreads();
2402 result = wxStripMenuCodes((wxString const &)*arg1);
2403
2404 wxPyEndAllowThreads(__tstate);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 }
2407 {
2408#if wxUSE_UNICODE
2409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2410#else
2411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2412#endif
2413 }
2414 {
2415 if (temp1)
2416 delete arg1;
2417 }
2418 return resultobj;
2419 fail:
2420 {
2421 if (temp1)
2422 delete arg1;
2423 }
2424 return NULL;
2425}
2426
2427
2f4c0a16 2428static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2429 PyObject *resultobj;
2430 wxString result;
2431 char *kwnames[] = {
2432 NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2436 {
2437 PyThreadState* __tstate = wxPyBeginAllowThreads();
2438 result = wxGetEmailAddress();
2439
2440 wxPyEndAllowThreads(__tstate);
2441 if (PyErr_Occurred()) SWIG_fail;
2442 }
2443 {
2444#if wxUSE_UNICODE
2445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2446#else
2447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2448#endif
2449 }
2450 return resultobj;
2451 fail:
2452 return NULL;
2453}
2454
2455
2f4c0a16 2456static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2457 PyObject *resultobj;
2458 wxString result;
2459 char *kwnames[] = {
2460 NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = wxGetHostName();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 {
2472#if wxUSE_UNICODE
2473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2474#else
2475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2476#endif
2477 }
2478 return resultobj;
2479 fail:
2480 return NULL;
2481}
2482
2483
2f4c0a16 2484static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2485 PyObject *resultobj;
2486 wxString result;
2487 char *kwnames[] = {
2488 NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 result = wxGetFullHostName();
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 {
2500#if wxUSE_UNICODE
2501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2502#else
2503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2504#endif
2505 }
2506 return resultobj;
2507 fail:
2508 return NULL;
2509}
2510
2511
2f4c0a16 2512static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2513 PyObject *resultobj;
2514 wxString result;
2515 char *kwnames[] = {
2516 NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2520 {
2521 PyThreadState* __tstate = wxPyBeginAllowThreads();
2522 result = wxGetUserId();
2523
2524 wxPyEndAllowThreads(__tstate);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 {
2528#if wxUSE_UNICODE
2529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2530#else
2531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2532#endif
2533 }
2534 return resultobj;
2535 fail:
2536 return NULL;
2537}
2538
2539
2f4c0a16 2540static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2541 PyObject *resultobj;
2542 wxString result;
2543 char *kwnames[] = {
2544 NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 result = wxGetUserName();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 {
2556#if wxUSE_UNICODE
2557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2558#else
2559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2560#endif
2561 }
2562 return resultobj;
2563 fail:
2564 return NULL;
2565}
2566
2567
2f4c0a16 2568static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2569 PyObject *resultobj;
2570 wxString result;
2571 char *kwnames[] = {
2572 NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 result = wxGetHomeDir();
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 {
2584#if wxUSE_UNICODE
2585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2586#else
2587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2588#endif
2589 }
2590 return resultobj;
2591 fail:
2592 return NULL;
2593}
2594
2595
2f4c0a16 2596static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2597 PyObject *resultobj;
2598 wxString const &arg1_defvalue = wxPyEmptyString ;
2599 wxString *arg1 = (wxString *) &arg1_defvalue ;
2600 wxString result;
423f194a 2601 bool temp1 = False ;
d14a1e28
RD
2602 PyObject * obj0 = 0 ;
2603 char *kwnames[] = {
2604 (char *) "user", NULL
2605 };
2606
2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2608 if (obj0) {
2609 {
2610 arg1 = wxString_in_helper(obj0);
2611 if (arg1 == NULL) SWIG_fail;
423f194a 2612 temp1 = True;
d14a1e28
RD
2613 }
2614 }
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = wxGetUserHome((wxString const &)*arg1);
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 {
2623#if wxUSE_UNICODE
2624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2625#else
2626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2627#endif
2628 }
2629 {
2630 if (temp1)
2631 delete arg1;
2632 }
2633 return resultobj;
2634 fail:
2635 {
2636 if (temp1)
2637 delete arg1;
2638 }
2639 return NULL;
2640}
2641
2642
2f4c0a16 2643static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2644 PyObject *resultobj;
2645 unsigned long result;
2646 char *kwnames[] = {
2647 NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2651 {
2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
2653 result = (unsigned long)wxGetProcessId();
2654
2655 wxPyEndAllowThreads(__tstate);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2f4c0a16 2658 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2659 return resultobj;
2660 fail:
2661 return NULL;
2662}
2663
2664
2f4c0a16 2665static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2666 PyObject *resultobj;
2667 char *kwnames[] = {
2668 NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 wxTrap();
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683}
2684
2685
2f4c0a16 2686static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2687 PyObject *resultobj;
2688 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2689 wxString *arg1 = (wxString *) &arg1_defvalue ;
2690 wxString const &arg2_defvalue = wxPyEmptyString ;
2691 wxString *arg2 = (wxString *) &arg2_defvalue ;
2692 wxString const &arg3_defvalue = wxPyEmptyString ;
2693 wxString *arg3 = (wxString *) &arg3_defvalue ;
2694 wxString const &arg4_defvalue = wxPyEmptyString ;
2695 wxString *arg4 = (wxString *) &arg4_defvalue ;
2696 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2697 wxString *arg5 = (wxString *) &arg5_defvalue ;
2698 int arg6 = (int) 0 ;
2699 wxWindow *arg7 = (wxWindow *) NULL ;
2700 int arg8 = (int) -1 ;
2701 int arg9 = (int) -1 ;
2702 wxString result;
423f194a
RD
2703 bool temp1 = False ;
2704 bool temp2 = False ;
2705 bool temp3 = False ;
2706 bool temp4 = False ;
2707 bool temp5 = False ;
d14a1e28
RD
2708 PyObject * obj0 = 0 ;
2709 PyObject * obj1 = 0 ;
2710 PyObject * obj2 = 0 ;
2711 PyObject * obj3 = 0 ;
2712 PyObject * obj4 = 0 ;
8edf1c75 2713 PyObject * obj5 = 0 ;
d14a1e28 2714 PyObject * obj6 = 0 ;
8edf1c75
RD
2715 PyObject * obj7 = 0 ;
2716 PyObject * obj8 = 0 ;
d14a1e28
RD
2717 char *kwnames[] = {
2718 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2719 };
2720
8edf1c75 2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2722 if (obj0) {
2723 {
2724 arg1 = wxString_in_helper(obj0);
2725 if (arg1 == NULL) SWIG_fail;
423f194a 2726 temp1 = True;
d14a1e28
RD
2727 }
2728 }
2729 if (obj1) {
2730 {
2731 arg2 = wxString_in_helper(obj1);
2732 if (arg2 == NULL) SWIG_fail;
423f194a 2733 temp2 = True;
d14a1e28
RD
2734 }
2735 }
2736 if (obj2) {
2737 {
2738 arg3 = wxString_in_helper(obj2);
2739 if (arg3 == NULL) SWIG_fail;
423f194a 2740 temp3 = True;
d14a1e28
RD
2741 }
2742 }
2743 if (obj3) {
2744 {
2745 arg4 = wxString_in_helper(obj3);
2746 if (arg4 == NULL) SWIG_fail;
423f194a 2747 temp4 = True;
d14a1e28
RD
2748 }
2749 }
2750 if (obj4) {
2751 {
2752 arg5 = wxString_in_helper(obj4);
2753 if (arg5 == NULL) SWIG_fail;
423f194a 2754 temp5 = True;
d14a1e28
RD
2755 }
2756 }
8edf1c75 2757 if (obj5) {
2f4c0a16
RD
2758 arg6 = (int) SWIG_AsInt(obj5);
2759 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2760 }
d14a1e28 2761 if (obj6) {
2f4c0a16
RD
2762 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2764 }
8edf1c75 2765 if (obj7) {
2f4c0a16
RD
2766 arg8 = (int) SWIG_AsInt(obj7);
2767 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2768 }
2769 if (obj8) {
2f4c0a16
RD
2770 arg9 = (int) SWIG_AsInt(obj8);
2771 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2772 }
d14a1e28
RD
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 {
2781#if wxUSE_UNICODE
2782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2783#else
2784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2785#endif
2786 }
2787 {
2788 if (temp1)
2789 delete arg1;
2790 }
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 {
2796 if (temp3)
2797 delete arg3;
2798 }
2799 {
2800 if (temp4)
2801 delete arg4;
2802 }
2803 {
2804 if (temp5)
2805 delete arg5;
2806 }
2807 return resultobj;
2808 fail:
2809 {
2810 if (temp1)
2811 delete arg1;
2812 }
2813 {
2814 if (temp2)
2815 delete arg2;
2816 }
2817 {
2818 if (temp3)
2819 delete arg3;
2820 }
2821 {
2822 if (temp4)
2823 delete arg4;
2824 }
2825 {
2826 if (temp5)
2827 delete arg5;
2828 }
2829 return NULL;
2830}
2831
2832
2f4c0a16 2833static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2834 PyObject *resultobj;
2835 wxString *arg1 = 0 ;
2836 wxString *arg2 = 0 ;
2837 wxString const &arg3_defvalue = wxPyEmptyString ;
2838 wxString *arg3 = (wxString *) &arg3_defvalue ;
2839 wxWindow *arg4 = (wxWindow *) NULL ;
2840 wxString result;
423f194a
RD
2841 bool temp1 = False ;
2842 bool temp2 = False ;
2843 bool temp3 = False ;
d14a1e28
RD
2844 PyObject * obj0 = 0 ;
2845 PyObject * obj1 = 0 ;
2846 PyObject * obj2 = 0 ;
2847 PyObject * obj3 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2853 {
2854 arg1 = wxString_in_helper(obj0);
2855 if (arg1 == NULL) SWIG_fail;
423f194a 2856 temp1 = True;
d14a1e28
RD
2857 }
2858 {
2859 arg2 = wxString_in_helper(obj1);
2860 if (arg2 == NULL) SWIG_fail;
423f194a 2861 temp2 = True;
d14a1e28
RD
2862 }
2863 if (obj2) {
2864 {
2865 arg3 = wxString_in_helper(obj2);
2866 if (arg3 == NULL) SWIG_fail;
423f194a 2867 temp3 = True;
d14a1e28
RD
2868 }
2869 }
2870 if (obj3) {
2f4c0a16
RD
2871 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 {
2882#if wxUSE_UNICODE
2883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2884#else
2885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2886#endif
2887 }
2888 {
2889 if (temp1)
2890 delete arg1;
2891 }
2892 {
2893 if (temp2)
2894 delete arg2;
2895 }
2896 {
2897 if (temp3)
2898 delete arg3;
2899 }
2900 return resultobj;
2901 fail:
2902 {
2903 if (temp1)
2904 delete arg1;
2905 }
2906 {
2907 if (temp2)
2908 delete arg2;
2909 }
2910 {
2911 if (temp3)
2912 delete arg3;
2913 }
2914 return NULL;
2915}
2916
2917
2f4c0a16 2918static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2919 PyObject *resultobj;
2920 wxString *arg1 = 0 ;
2921 wxString *arg2 = 0 ;
2922 wxString const &arg3_defvalue = wxPyEmptyString ;
2923 wxString *arg3 = (wxString *) &arg3_defvalue ;
2924 wxWindow *arg4 = (wxWindow *) NULL ;
2925 wxString result;
423f194a
RD
2926 bool temp1 = False ;
2927 bool temp2 = False ;
2928 bool temp3 = False ;
d14a1e28
RD
2929 PyObject * obj0 = 0 ;
2930 PyObject * obj1 = 0 ;
2931 PyObject * obj2 = 0 ;
2932 PyObject * obj3 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2938 {
2939 arg1 = wxString_in_helper(obj0);
2940 if (arg1 == NULL) SWIG_fail;
423f194a 2941 temp1 = True;
d14a1e28
RD
2942 }
2943 {
2944 arg2 = wxString_in_helper(obj1);
2945 if (arg2 == NULL) SWIG_fail;
423f194a 2946 temp2 = True;
d14a1e28
RD
2947 }
2948 if (obj2) {
2949 {
2950 arg3 = wxString_in_helper(obj2);
2951 if (arg3 == NULL) SWIG_fail;
423f194a 2952 temp3 = True;
d14a1e28
RD
2953 }
2954 }
2955 if (obj3) {
2f4c0a16
RD
2956 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2958 }
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 {
2967#if wxUSE_UNICODE
2968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2969#else
2970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2971#endif
2972 }
2973 {
2974 if (temp1)
2975 delete arg1;
2976 }
2977 {
2978 if (temp2)
2979 delete arg2;
2980 }
2981 {
2982 if (temp3)
2983 delete arg3;
2984 }
2985 return resultobj;
2986 fail:
2987 {
2988 if (temp1)
2989 delete arg1;
2990 }
2991 {
2992 if (temp2)
2993 delete arg2;
2994 }
2995 {
2996 if (temp3)
2997 delete arg3;
2998 }
2999 return NULL;
3000}
3001
3002
2f4c0a16 3003static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3004 PyObject *resultobj;
3005 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3006 wxString *arg1 = (wxString *) &arg1_defvalue ;
3007 wxString const &arg2_defvalue = wxPyEmptyString ;
3008 wxString *arg2 = (wxString *) &arg2_defvalue ;
3009 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3012 wxWindow *arg5 = (wxWindow *) NULL ;
3013 wxString result;
423f194a
RD
3014 bool temp1 = False ;
3015 bool temp2 = False ;
d14a1e28
RD
3016 wxPoint temp4 ;
3017 PyObject * obj0 = 0 ;
3018 PyObject * obj1 = 0 ;
8edf1c75 3019 PyObject * obj2 = 0 ;
d14a1e28
RD
3020 PyObject * obj3 = 0 ;
3021 PyObject * obj4 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3024 };
3025
8edf1c75 3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
3027 if (obj0) {
3028 {
3029 arg1 = wxString_in_helper(obj0);
3030 if (arg1 == NULL) SWIG_fail;
423f194a 3031 temp1 = True;
d14a1e28
RD
3032 }
3033 }
3034 if (obj1) {
3035 {
3036 arg2 = wxString_in_helper(obj1);
3037 if (arg2 == NULL) SWIG_fail;
423f194a 3038 temp2 = True;
d14a1e28
RD
3039 }
3040 }
8edf1c75 3041 if (obj2) {
2f4c0a16
RD
3042 arg3 = (long) SWIG_AsLong(obj2);
3043 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3044 }
d14a1e28
RD
3045 if (obj3) {
3046 {
3047 arg4 = &temp4;
3048 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3049 }
3050 }
3051 if (obj4) {
2f4c0a16
RD
3052 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3054 }
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063#if wxUSE_UNICODE
3064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3065#else
3066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3067#endif
3068 }
3069 {
3070 if (temp1)
3071 delete arg1;
3072 }
3073 {
3074 if (temp2)
3075 delete arg2;
3076 }
3077 return resultobj;
3078 fail:
3079 {
3080 if (temp1)
3081 delete arg1;
3082 }
3083 {
3084 if (temp2)
3085 delete arg2;
3086 }
3087 return NULL;
3088}
3089
3090
2f4c0a16 3091static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3092 PyObject *resultobj;
3093 wxString *arg1 = 0 ;
3094 wxString const &arg2_defvalue = wxPyEmptyString ;
3095 wxString *arg2 = (wxString *) &arg2_defvalue ;
3096 wxString const &arg3_defvalue = wxPyEmptyString ;
3097 wxString *arg3 = (wxString *) &arg3_defvalue ;
3098 wxWindow *arg4 = (wxWindow *) NULL ;
3099 int arg5 = (int) -1 ;
3100 int arg6 = (int) -1 ;
423f194a 3101 bool arg7 = (bool) True ;
d14a1e28 3102 wxString result;
423f194a
RD
3103 bool temp1 = False ;
3104 bool temp2 = False ;
3105 bool temp3 = False ;
d14a1e28
RD
3106 PyObject * obj0 = 0 ;
3107 PyObject * obj1 = 0 ;
3108 PyObject * obj2 = 0 ;
3109 PyObject * obj3 = 0 ;
8edf1c75
RD
3110 PyObject * obj4 = 0 ;
3111 PyObject * obj5 = 0 ;
d14a1e28
RD
3112 PyObject * obj6 = 0 ;
3113 char *kwnames[] = {
3114 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3115 };
3116
8edf1c75 3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
3118 {
3119 arg1 = wxString_in_helper(obj0);
3120 if (arg1 == NULL) SWIG_fail;
423f194a 3121 temp1 = True;
d14a1e28
RD
3122 }
3123 if (obj1) {
3124 {
3125 arg2 = wxString_in_helper(obj1);
3126 if (arg2 == NULL) SWIG_fail;
423f194a 3127 temp2 = True;
d14a1e28
RD
3128 }
3129 }
3130 if (obj2) {
3131 {
3132 arg3 = wxString_in_helper(obj2);
3133 if (arg3 == NULL) SWIG_fail;
423f194a 3134 temp3 = True;
d14a1e28
RD
3135 }
3136 }
3137 if (obj3) {
2f4c0a16
RD
3138 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3140 }
8edf1c75 3141 if (obj4) {
2f4c0a16
RD
3142 arg5 = (int) SWIG_AsInt(obj4);
3143 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3144 }
3145 if (obj5) {
2f4c0a16
RD
3146 arg6 = (int) SWIG_AsInt(obj5);
3147 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3148 }
d14a1e28 3149 if (obj6) {
2f4c0a16
RD
3150 arg7 = (bool) SWIG_AsBool(obj6);
3151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3152 }
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 {
3161#if wxUSE_UNICODE
3162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3163#else
3164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3165#endif
3166 }
3167 {
3168 if (temp1)
3169 delete arg1;
3170 }
3171 {
3172 if (temp2)
3173 delete arg2;
3174 }
3175 {
3176 if (temp3)
3177 delete arg3;
3178 }
3179 return resultobj;
3180 fail:
3181 {
3182 if (temp1)
3183 delete arg1;
3184 }
3185 {
3186 if (temp2)
3187 delete arg2;
3188 }
3189 {
3190 if (temp3)
3191 delete arg3;
3192 }
3193 return NULL;
3194}
3195
3196
2f4c0a16 3197static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3198 PyObject *resultobj;
3199 wxString *arg1 = 0 ;
3200 wxString const &arg2_defvalue = wxPyEmptyString ;
3201 wxString *arg2 = (wxString *) &arg2_defvalue ;
3202 wxString const &arg3_defvalue = wxPyEmptyString ;
3203 wxString *arg3 = (wxString *) &arg3_defvalue ;
3204 wxWindow *arg4 = (wxWindow *) NULL ;
3205 wxString result;
423f194a
RD
3206 bool temp1 = False ;
3207 bool temp2 = False ;
3208 bool temp3 = False ;
d14a1e28
RD
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 PyObject * obj2 = 0 ;
3212 PyObject * obj3 = 0 ;
3213 char *kwnames[] = {
3214 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3215 };
3216
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3218 {
3219 arg1 = wxString_in_helper(obj0);
3220 if (arg1 == NULL) SWIG_fail;
423f194a 3221 temp1 = True;
d14a1e28
RD
3222 }
3223 if (obj1) {
3224 {
3225 arg2 = wxString_in_helper(obj1);
3226 if (arg2 == NULL) SWIG_fail;
423f194a 3227 temp2 = True;
d14a1e28
RD
3228 }
3229 }
3230 if (obj2) {
3231 {
3232 arg3 = wxString_in_helper(obj2);
3233 if (arg3 == NULL) SWIG_fail;
423f194a 3234 temp3 = True;
d14a1e28
RD
3235 }
3236 }
3237 if (obj3) {
2f4c0a16
RD
3238 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3240 }
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 {
3249#if wxUSE_UNICODE
3250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3251#else
3252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3253#endif
3254 }
3255 {
3256 if (temp1)
3257 delete arg1;
3258 }
3259 {
3260 if (temp2)
3261 delete arg2;
3262 }
3263 {
3264 if (temp3)
3265 delete arg3;
3266 }
3267 return resultobj;
3268 fail:
3269 {
3270 if (temp1)
3271 delete arg1;
3272 }
3273 {
3274 if (temp2)
3275 delete arg2;
3276 }
3277 {
3278 if (temp3)
3279 delete arg3;
3280 }
3281 return NULL;
3282}
3283
3284
2f4c0a16 3285static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3286 PyObject *resultobj;
3287 wxString *arg1 = 0 ;
3288 wxString *arg2 = 0 ;
3289 int arg3 ;
3290 wxString *arg4 = (wxString *) 0 ;
3291 wxWindow *arg5 = (wxWindow *) NULL ;
3292 int arg6 = (int) -1 ;
3293 int arg7 = (int) -1 ;
423f194a 3294 bool arg8 = (bool) True ;
d14a1e28
RD
3295 int arg9 = (int) 150 ;
3296 int arg10 = (int) 200 ;
3297 wxString result;
423f194a
RD
3298 bool temp1 = False ;
3299 bool temp2 = False ;
d14a1e28
RD
3300 PyObject * obj0 = 0 ;
3301 PyObject * obj1 = 0 ;
3302 PyObject * obj2 = 0 ;
3303 PyObject * obj3 = 0 ;
8edf1c75
RD
3304 PyObject * obj4 = 0 ;
3305 PyObject * obj5 = 0 ;
d14a1e28 3306 PyObject * obj6 = 0 ;
8edf1c75
RD
3307 PyObject * obj7 = 0 ;
3308 PyObject * obj8 = 0 ;
d14a1e28
RD
3309 char *kwnames[] = {
3310 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3311 };
3312
8edf1c75 3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3314 {
3315 arg1 = wxString_in_helper(obj0);
3316 if (arg1 == NULL) SWIG_fail;
423f194a 3317 temp1 = True;
d14a1e28
RD
3318 }
3319 {
3320 arg2 = wxString_in_helper(obj1);
3321 if (arg2 == NULL) SWIG_fail;
423f194a 3322 temp2 = True;
d14a1e28
RD
3323 }
3324 {
3325 arg3 = PyList_Size(obj2);
3326 arg4 = wxString_LIST_helper(obj2);
3327 if (arg4 == NULL) SWIG_fail;
3328 }
3329 if (obj3) {
2f4c0a16
RD
3330 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3332 }
8edf1c75 3333 if (obj4) {
2f4c0a16
RD
3334 arg6 = (int) SWIG_AsInt(obj4);
3335 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3336 }
3337 if (obj5) {
2f4c0a16
RD
3338 arg7 = (int) SWIG_AsInt(obj5);
3339 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3340 }
d14a1e28 3341 if (obj6) {
2f4c0a16
RD
3342 arg8 = (bool) SWIG_AsBool(obj6);
3343 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3344 }
3345 if (obj7) {
2f4c0a16
RD
3346 arg9 = (int) SWIG_AsInt(obj7);
3347 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3348 }
3349 if (obj8) {
2f4c0a16
RD
3350 arg10 = (int) SWIG_AsInt(obj8);
3351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3352 }
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 {
3361#if wxUSE_UNICODE
3362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3363#else
3364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3365#endif
3366 }
3367 {
3368 if (temp1)
3369 delete arg1;
3370 }
3371 {
3372 if (temp2)
3373 delete arg2;
3374 }
3375 {
3376 if (arg4) delete [] arg4;
3377 }
3378 return resultobj;
3379 fail:
3380 {
3381 if (temp1)
3382 delete arg1;
3383 }
3384 {
3385 if (temp2)
3386 delete arg2;
3387 }
3388 {
3389 if (arg4) delete [] arg4;
3390 }
3391 return NULL;
3392}
3393
3394
2f4c0a16 3395static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3396 PyObject *resultobj;
3397 wxString *arg1 = 0 ;
3398 wxString *arg2 = 0 ;
3399 int arg3 ;
3400 wxString *arg4 = (wxString *) 0 ;
3401 wxWindow *arg5 = (wxWindow *) NULL ;
3402 int arg6 = (int) -1 ;
3403 int arg7 = (int) -1 ;
423f194a 3404 bool arg8 = (bool) True ;
d14a1e28
RD
3405 int arg9 = (int) 150 ;
3406 int arg10 = (int) 200 ;
3407 int result;
423f194a
RD
3408 bool temp1 = False ;
3409 bool temp2 = False ;
d14a1e28
RD
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 PyObject * obj2 = 0 ;
3413 PyObject * obj3 = 0 ;
8edf1c75
RD
3414 PyObject * obj4 = 0 ;
3415 PyObject * obj5 = 0 ;
d14a1e28 3416 PyObject * obj6 = 0 ;
8edf1c75
RD
3417 PyObject * obj7 = 0 ;
3418 PyObject * obj8 = 0 ;
d14a1e28
RD
3419 char *kwnames[] = {
3420 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3421 };
3422
8edf1c75 3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3424 {
3425 arg1 = wxString_in_helper(obj0);
3426 if (arg1 == NULL) SWIG_fail;
423f194a 3427 temp1 = True;
d14a1e28
RD
3428 }
3429 {
3430 arg2 = wxString_in_helper(obj1);
3431 if (arg2 == NULL) SWIG_fail;
423f194a 3432 temp2 = True;
d14a1e28
RD
3433 }
3434 {
3435 arg3 = PyList_Size(obj2);
3436 arg4 = wxString_LIST_helper(obj2);
3437 if (arg4 == NULL) SWIG_fail;
3438 }
3439 if (obj3) {
2f4c0a16
RD
3440 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3442 }
8edf1c75 3443 if (obj4) {
2f4c0a16
RD
3444 arg6 = (int) SWIG_AsInt(obj4);
3445 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3446 }
3447 if (obj5) {
2f4c0a16
RD
3448 arg7 = (int) SWIG_AsInt(obj5);
3449 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3450 }
d14a1e28 3451 if (obj6) {
2f4c0a16
RD
3452 arg8 = (bool) SWIG_AsBool(obj6);
3453 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3454 }
3455 if (obj7) {
2f4c0a16
RD
3456 arg9 = (int) SWIG_AsInt(obj7);
3457 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3458 }
3459 if (obj8) {
2f4c0a16
RD
3460 arg10 = (int) SWIG_AsInt(obj8);
3461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3462 }
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
2f4c0a16 3470 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3471 {
3472 if (temp1)
3473 delete arg1;
3474 }
3475 {
3476 if (temp2)
3477 delete arg2;
3478 }
3479 {
3480 if (arg4) delete [] arg4;
3481 }
3482 return resultobj;
3483 fail:
3484 {
3485 if (temp1)
3486 delete arg1;
3487 }
3488 {
3489 if (temp2)
3490 delete arg2;
3491 }
3492 {
3493 if (arg4) delete [] arg4;
3494 }
3495 return NULL;
3496}
3497
3498
2f4c0a16 3499static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3500 PyObject *resultobj;
3501 wxString *arg1 = 0 ;
3502 wxString const &arg2_defvalue = wxPyEmptyString ;
3503 wxString *arg2 = (wxString *) &arg2_defvalue ;
3504 int arg3 = (int) wxOK|wxCENTRE ;
3505 wxWindow *arg4 = (wxWindow *) NULL ;
3506 int arg5 = (int) -1 ;
3507 int arg6 = (int) -1 ;
3508 int result;
423f194a
RD
3509 bool temp1 = False ;
3510 bool temp2 = False ;
d14a1e28
RD
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
8edf1c75 3513 PyObject * obj2 = 0 ;
d14a1e28 3514 PyObject * obj3 = 0 ;
8edf1c75
RD
3515 PyObject * obj4 = 0 ;
3516 PyObject * obj5 = 0 ;
d14a1e28
RD
3517 char *kwnames[] = {
3518 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3519 };
3520
8edf1c75 3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3522 {
3523 arg1 = wxString_in_helper(obj0);
3524 if (arg1 == NULL) SWIG_fail;
423f194a 3525 temp1 = True;
d14a1e28
RD
3526 }
3527 if (obj1) {
3528 {
3529 arg2 = wxString_in_helper(obj1);
3530 if (arg2 == NULL) SWIG_fail;
423f194a 3531 temp2 = True;
d14a1e28
RD
3532 }
3533 }
8edf1c75 3534 if (obj2) {
2f4c0a16
RD
3535 arg3 = (int) SWIG_AsInt(obj2);
3536 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3537 }
d14a1e28 3538 if (obj3) {
2f4c0a16
RD
3539 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3541 }
8edf1c75 3542 if (obj4) {
2f4c0a16
RD
3543 arg5 = (int) SWIG_AsInt(obj4);
3544 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3545 }
3546 if (obj5) {
2f4c0a16
RD
3547 arg6 = (int) SWIG_AsInt(obj5);
3548 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3549 }
d14a1e28
RD
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
2f4c0a16 3557 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3558 {
3559 if (temp1)
3560 delete arg1;
3561 }
3562 {
3563 if (temp2)
3564 delete arg2;
3565 }
3566 return resultobj;
3567 fail:
3568 {
3569 if (temp1)
3570 delete arg1;
3571 }
3572 {
3573 if (temp2)
3574 delete arg2;
3575 }
3576 return NULL;
3577}
3578
3579
2f4c0a16 3580static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3581 PyObject *resultobj;
3582 wxString *arg1 = 0 ;
3583 wxString *arg2 = 0 ;
3584 wxString *arg3 = 0 ;
3585 long arg4 ;
3586 long arg5 = (long) 0 ;
3587 long arg6 = (long) 100 ;
3588 wxWindow *arg7 = (wxWindow *) NULL ;
3589 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3590 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3591 long result;
423f194a
RD
3592 bool temp1 = False ;
3593 bool temp2 = False ;
3594 bool temp3 = False ;
d14a1e28
RD
3595 wxPoint temp8 ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 PyObject * obj2 = 0 ;
8edf1c75
RD
3599 PyObject * obj3 = 0 ;
3600 PyObject * obj4 = 0 ;
3601 PyObject * obj5 = 0 ;
3602 PyObject * obj6 = 0 ;
d14a1e28
RD
3603 PyObject * obj7 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3606 };
3607
8edf1c75 3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3609 {
3610 arg1 = wxString_in_helper(obj0);
3611 if (arg1 == NULL) SWIG_fail;
423f194a 3612 temp1 = True;
d14a1e28
RD
3613 }
3614 {
3615 arg2 = wxString_in_helper(obj1);
3616 if (arg2 == NULL) SWIG_fail;
423f194a 3617 temp2 = True;
d14a1e28
RD
3618 }
3619 {
3620 arg3 = wxString_in_helper(obj2);
3621 if (arg3 == NULL) SWIG_fail;
423f194a 3622 temp3 = True;
d14a1e28 3623 }
2f4c0a16
RD
3624 arg4 = (long) SWIG_AsLong(obj3);
3625 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3626 if (obj4) {
2f4c0a16
RD
3627 arg5 = (long) SWIG_AsLong(obj4);
3628 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3629 }
3630 if (obj5) {
2f4c0a16
RD
3631 arg6 = (long) SWIG_AsLong(obj5);
3632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3633 }
d14a1e28 3634 if (obj6) {
2f4c0a16
RD
3635 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3637 }
3638 if (obj7) {
3639 {
3640 arg8 = &temp8;
3641 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3642 }
3643 }
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
2f4c0a16 3651 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3652 {
3653 if (temp1)
3654 delete arg1;
3655 }
3656 {
3657 if (temp2)
3658 delete arg2;
3659 }
3660 {
3661 if (temp3)
3662 delete arg3;
3663 }
3664 return resultobj;
3665 fail:
3666 {
3667 if (temp1)
3668 delete arg1;
3669 }
3670 {
3671 if (temp2)
3672 delete arg2;
3673 }
3674 {
3675 if (temp3)
3676 delete arg3;
3677 }
3678 return NULL;
3679}
3680
3681
2f4c0a16 3682static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3683 PyObject *resultobj;
3684 bool result;
3685 char *kwnames[] = {
3686 NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 result = (bool)wxColourDisplay();
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
02a34c4c 3697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
2f4c0a16 3704static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3705 PyObject *resultobj;
3706 int result;
3707 char *kwnames[] = {
3708 NULL
3709 };
3710
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (int)wxDisplayDepth();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
2f4c0a16 3719 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
2f4c0a16 3726static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3727 PyObject *resultobj;
3728 int result;
3729 char *kwnames[] = {
3730 NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (int)wxGetDisplayDepth();
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
2f4c0a16 3741 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3742 return resultobj;
3743 fail:
3744 return NULL;
3745}
3746
3747
2f4c0a16 3748static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3749 PyObject *resultobj;
3750 int *arg1 = (int *) 0 ;
3751 int *arg2 = (int *) 0 ;
3752 int temp1 ;
3753 int temp2 ;
3754 char *kwnames[] = {
3755 NULL
3756 };
3757
3758 arg1 = &temp1;
3759 arg2 = &temp2;
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 wxDisplaySize(arg1,arg2);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 Py_INCREF(Py_None); resultobj = Py_None;
3769 {
3770 PyObject *o = PyInt_FromLong((long) (*arg1));
3771 resultobj = t_output_helper(resultobj,o);
3772 }
3773 {
3774 PyObject *o = PyInt_FromLong((long) (*arg2));
3775 resultobj = t_output_helper(resultobj,o);
3776 }
3777 return resultobj;
3778 fail:
3779 return NULL;
3780}
3781
3782
2f4c0a16 3783static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3784 PyObject *resultobj;
3785 wxSize result;
3786 char *kwnames[] = {
3787 NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 result = wxGetDisplaySize();
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 {
3799 wxSize * resultptr;
3800 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3802 }
3803 return resultobj;
3804 fail:
3805 return NULL;
3806}
3807
3808
2f4c0a16 3809static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3810 PyObject *resultobj;
3811 int *arg1 = (int *) 0 ;
3812 int *arg2 = (int *) 0 ;
3813 int temp1 ;
3814 int temp2 ;
3815 char *kwnames[] = {
3816 NULL
3817 };
3818
3819 arg1 = &temp1;
3820 arg2 = &temp2;
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 wxDisplaySizeMM(arg1,arg2);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 Py_INCREF(Py_None); resultobj = Py_None;
3830 {
3831 PyObject *o = PyInt_FromLong((long) (*arg1));
3832 resultobj = t_output_helper(resultobj,o);
3833 }
3834 {
3835 PyObject *o = PyInt_FromLong((long) (*arg2));
3836 resultobj = t_output_helper(resultobj,o);
3837 }
3838 return resultobj;
3839 fail:
3840 return NULL;
3841}
3842
3843
2f4c0a16 3844static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3845 PyObject *resultobj;
3846 wxSize result;
3847 char *kwnames[] = {
3848 NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = wxGetDisplaySizeMM();
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 {
3860 wxSize * resultptr;
3861 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3863 }
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
2f4c0a16 3870static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3871 PyObject *resultobj;
3872 int *arg1 = (int *) 0 ;
3873 int *arg2 = (int *) 0 ;
3874 int *arg3 = (int *) 0 ;
3875 int *arg4 = (int *) 0 ;
3876 int temp1 ;
3877 int temp2 ;
3878 int temp3 ;
3879 int temp4 ;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 arg1 = &temp1;
3885 arg2 = &temp2;
3886 arg3 = &temp3;
3887 arg4 = &temp4;
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 {
3898 PyObject *o = PyInt_FromLong((long) (*arg1));
3899 resultobj = t_output_helper(resultobj,o);
3900 }
3901 {
3902 PyObject *o = PyInt_FromLong((long) (*arg2));
3903 resultobj = t_output_helper(resultobj,o);
3904 }
3905 {
3906 PyObject *o = PyInt_FromLong((long) (*arg3));
3907 resultobj = t_output_helper(resultobj,o);
3908 }
3909 {
3910 PyObject *o = PyInt_FromLong((long) (*arg4));
3911 resultobj = t_output_helper(resultobj,o);
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
2f4c0a16 3919static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3920 PyObject *resultobj;
3921 wxRect result;
3922 char *kwnames[] = {
3923 NULL
3924 };
3925
3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 result = wxGetClientDisplayRect();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 {
3935 wxRect * resultptr;
3936 resultptr = new wxRect((wxRect &) result);
2f4c0a16 3937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3938 }
3939 return resultobj;
3940 fail:
3941 return NULL;
3942}
3943
3944
2f4c0a16 3945static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3946 PyObject *resultobj;
3947 wxCursor *arg1 = 0 ;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "cursor", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1)
3956 SWIG_fail;
d14a1e28 3957 if (arg1 == NULL) {
2f4c0a16
RD
3958 PyErr_SetString(PyExc_TypeError,"null reference");
3959 SWIG_fail;
d14a1e28
RD
3960 }
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 wxSetCursor(*arg1);
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 Py_INCREF(Py_None); resultobj = Py_None;
3969 return resultobj;
3970 fail:
3971 return NULL;
3972}
3973
3974
2f4c0a16 3975static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3976 PyObject *resultobj;
3977 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3978 PyObject * obj0 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "cursor", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3984 if (obj0) {
2f4c0a16
RD
3985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3987 }
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 wxBeginBusyCursor(arg1);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 return resultobj;
3997 fail:
3998 return NULL;
3999}
4000
4001
2f4c0a16 4002static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4003 PyObject *resultobj;
4004 wxWindow *result;
4005 char *kwnames[] = {
4006 NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (wxWindow *)wxGetActiveWindow();
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 {
4018 resultobj = wxPyMake_wxObject(result);
4019 }
4020 return resultobj;
4021 fail:
4022 return NULL;
4023}
4024
4025
2f4c0a16 4026static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4027 PyObject *resultobj;
4028 wxPoint *arg1 = 0 ;
4029 wxWindow *result;
4030 wxPoint temp1 ;
4031 PyObject * obj0 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "pt", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4037 {
4038 arg1 = &temp1;
4039 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4040 }
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 {
4049 resultobj = wxPyMake_wxObject(result);
4050 }
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
2f4c0a16 4057static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4058 PyObject *resultobj;
4059 wxPoint *arg1 = 0 ;
4060 wxWindow *result;
4061 wxPoint temp1 ;
4062 PyObject * obj0 = 0 ;
4063 char *kwnames[] = {
4064 (char *) "pt", NULL
4065 };
4066
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4068 {
4069 arg1 = &temp1;
4070 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4071 }
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 {
4080 resultobj = wxPyMake_wxObject(result);
4081 }
4082 return resultobj;
4083 fail:
4084 return NULL;
4085}
4086
4087
2f4c0a16 4088static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4089 PyObject *resultobj;
4090 wxWindow *arg1 = (wxWindow *) 0 ;
4091 wxWindow *result;
4092 PyObject * obj0 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "win", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 result = (wxWindow *)wxGetTopLevelParent(arg1);
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 {
4108 resultobj = wxPyMake_wxObject(result);
4109 }
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
2f4c0a16 4116static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4117 PyObject *resultobj;
4118 int arg1 ;
4119 bool result;
8edf1c75 4120 PyObject * obj0 = 0 ;
cbd72d4f
RD
4121 char *kwnames[] = {
4122 (char *) "key", NULL
4123 };
4124
8edf1c75 4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4126 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4127 if (PyErr_Occurred()) SWIG_fail;
cbd72d4f
RD
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
02a34c4c 4135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
cbd72d4f
RD
4136 return resultobj;
4137 fail:
4138 return NULL;
4139}
4140
4141
2f4c0a16 4142static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4143 PyObject *resultobj;
4144 char *kwnames[] = {
4145 NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 wxWakeUpMainThread();
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 Py_INCREF(Py_None); resultobj = Py_None;
4157 return resultobj;
4158 fail:
4159 return NULL;
4160}
4161
4162
2f4c0a16 4163static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4164 PyObject *resultobj;
4165 char *kwnames[] = {
4166 NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 wxMutexGuiEnter();
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 Py_INCREF(Py_None); resultobj = Py_None;
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
2f4c0a16 4184static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4185 PyObject *resultobj;
4186 char *kwnames[] = {
4187 NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 wxMutexGuiLeave();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 Py_INCREF(Py_None); resultobj = Py_None;
4199 return resultobj;
4200 fail:
4201 return NULL;
4202}
4203
4204
2f4c0a16 4205static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4206 PyObject *resultobj;
4207 wxMutexGuiLocker *result;
4208 char *kwnames[] = {
4209 NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
2f4c0a16 4220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
4221 return resultobj;
4222 fail:
4223 return NULL;
4224}
4225
4226
2f4c0a16 4227static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4228 PyObject *resultobj;
4229 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4230 PyObject * obj0 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 delete arg1;
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 Py_INCREF(Py_None); resultobj = Py_None;
4246 return resultobj;
4247 fail:
4248 return NULL;
4249}
4250
4251
2f4c0a16 4252static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4253 PyObject *obj;
4254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4256 Py_INCREF(obj);
4257 return Py_BuildValue((char *)"");
4258}
2f4c0a16 4259static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4260 PyObject *resultobj;
4261 bool result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = (bool)wxThread_IsMain();
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
02a34c4c 4274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4275 return resultobj;
4276 fail:
4277 return NULL;
4278}
4279
4280
2f4c0a16 4281static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4282 PyObject *resultobj;
4283 wxString *arg1 = 0 ;
4284 wxToolTip *result;
423f194a 4285 bool temp1 = False ;
d14a1e28
RD
4286 PyObject * obj0 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "tip", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4292 {
4293 arg1 = wxString_in_helper(obj0);
4294 if (arg1 == NULL) SWIG_fail;
423f194a 4295 temp1 = True;
d14a1e28
RD
4296 }
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 {
4305 resultobj = wxPyMake_wxObject(result);
4306 }
4307 {
4308 if (temp1)
4309 delete arg1;
4310 }
4311 return resultobj;
4312 fail:
4313 {
4314 if (temp1)
4315 delete arg1;
4316 }
4317 return NULL;
4318}
4319
4320
2f4c0a16 4321static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4322 PyObject *resultobj;
4323 wxToolTip *arg1 = (wxToolTip *) 0 ;
4324 wxString *arg2 = 0 ;
423f194a 4325 bool temp2 = False ;
d14a1e28
RD
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "tip", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4335 {
4336 arg2 = wxString_in_helper(obj1);
4337 if (arg2 == NULL) SWIG_fail;
423f194a 4338 temp2 = True;
d14a1e28
RD
4339 }
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 (arg1)->SetTip((wxString const &)*arg2);
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 Py_INCREF(Py_None); resultobj = Py_None;
4348 {
4349 if (temp2)
4350 delete arg2;
4351 }
4352 return resultobj;
4353 fail:
4354 {
4355 if (temp2)
4356 delete arg2;
4357 }
4358 return NULL;
4359}
4360
4361
2f4c0a16 4362static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4363 PyObject *resultobj;
4364 wxToolTip *arg1 = (wxToolTip *) 0 ;
4365 wxString result;
4366 PyObject * obj0 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (arg1)->GetTip();
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 {
4382#if wxUSE_UNICODE
4383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4384#else
4385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4386#endif
4387 }
4388 return resultobj;
4389 fail:
4390 return NULL;
4391}
4392
4393
2f4c0a16 4394static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4395 PyObject *resultobj;
4396 wxToolTip *arg1 = (wxToolTip *) 0 ;
4397 wxWindow *result;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (wxWindow *)(arg1)->GetWindow();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 {
4414 resultobj = wxPyMake_wxObject(result);
4415 }
4416 return resultobj;
4417 fail:
4418 return NULL;
4419}
4420
4421
2f4c0a16 4422static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4423 PyObject *resultobj;
4424 bool arg1 ;
4425 PyObject * obj0 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "flag", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4431 arg1 = (bool) SWIG_AsBool(obj0);
4432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 wxToolTip::Enable(arg1);
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 Py_INCREF(Py_None); resultobj = Py_None;
4441 return resultobj;
4442 fail:
4443 return NULL;
4444}
4445
4446
2f4c0a16 4447static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4448 PyObject *resultobj;
4449 long arg1 ;
8edf1c75 4450 PyObject * obj0 = 0 ;
d14a1e28
RD
4451 char *kwnames[] = {
4452 (char *) "milliseconds", NULL
4453 };
4454
8edf1c75 4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4456 arg1 = (long) SWIG_AsLong(obj0);
4457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 wxToolTip::SetDelay(arg1);
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 Py_INCREF(Py_None); resultobj = Py_None;
4466 return resultobj;
4467 fail:
4468 return NULL;
4469}
4470
4471
2f4c0a16 4472static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4473 PyObject *obj;
4474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4475 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4476 Py_INCREF(obj);
4477 return Py_BuildValue((char *)"");
4478}
2f4c0a16 4479static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4480 PyObject *resultobj;
4481 wxWindow *arg1 = (wxWindow *) 0 ;
4482 wxSize *arg2 = 0 ;
4483 wxCaret *result;
4484 wxSize temp2 ;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487 char *kwnames[] = {
4488 (char *) "window",(char *) "size", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4494 {
4495 arg2 = &temp2;
4496 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
2f4c0a16 4505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
4506 return resultobj;
4507 fail:
4508 return NULL;
4509}
4510
4511
2f4c0a16 4512static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4513 PyObject *resultobj;
4514 wxCaret *arg1 = (wxCaret *) 0 ;
4515 PyObject * obj0 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 delete arg1;
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
2f4c0a16 4537static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4538 PyObject *resultobj;
4539 wxCaret *arg1 = (wxCaret *) 0 ;
4540 bool result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (bool)(arg1)->IsOk();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
02a34c4c 4556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4557 return resultobj;
4558 fail:
4559 return NULL;
4560}
4561
4562
2f4c0a16 4563static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4564 PyObject *resultobj;
4565 wxCaret *arg1 = (wxCaret *) 0 ;
4566 bool result;
4567 PyObject * obj0 = 0 ;
4568 char *kwnames[] = {
4569 (char *) "self", NULL
4570 };
4571
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 result = (bool)(arg1)->IsVisible();
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
02a34c4c 4582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4583 return resultobj;
4584 fail:
4585 return NULL;
4586}
4587
4588
2f4c0a16 4589static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4590 PyObject *resultobj;
4591 wxCaret *arg1 = (wxCaret *) 0 ;
4592 wxPoint result;
4593 PyObject * obj0 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (arg1)->GetPosition();
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 {
4609 wxPoint * resultptr;
4610 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 4611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
44127b65
RD
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616}
4617
4618
2f4c0a16 4619static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4620 PyObject *resultobj;
4621 wxCaret *arg1 = (wxCaret *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 int temp2 ;
4625 int temp3 ;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self", NULL
4629 };
4630
4631 arg2 = &temp2;
4632 arg3 = &temp3;
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 (arg1)->GetPosition(arg2,arg3);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 {
4645 PyObject *o = PyInt_FromLong((long) (*arg2));
4646 resultobj = t_output_helper(resultobj,o);
4647 }
4648 {
4649 PyObject *o = PyInt_FromLong((long) (*arg3));
4650 resultobj = t_output_helper(resultobj,o);
4651 }
4652 return resultobj;
4653 fail:
4654 return NULL;
4655}
4656
4657
2f4c0a16 4658static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4659 PyObject *resultobj;
4660 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4661 wxSize result;
d14a1e28
RD
4662 PyObject * obj0 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self", NULL
4665 };
4666
44127b65 4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",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();
44127b65 4672 result = (arg1)->GetSize();
d14a1e28
RD
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 {
44127b65
RD
4678 wxSize * resultptr;
4679 resultptr = new wxSize((wxSize &) result);
2f4c0a16 4680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4681 }
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
2f4c0a16 4688static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4689 PyObject *resultobj;
4690 wxCaret *arg1 = (wxCaret *) 0 ;
4691 int *arg2 = (int *) 0 ;
4692 int *arg3 = (int *) 0 ;
4693 int temp2 ;
4694 int temp3 ;
4695 PyObject * obj0 = 0 ;
4696 char *kwnames[] = {
4697 (char *) "self", NULL
4698 };
4699
4700 arg2 = &temp2;
4701 arg3 = &temp3;
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->GetSize(arg2,arg3);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 {
4714 PyObject *o = PyInt_FromLong((long) (*arg2));
4715 resultobj = t_output_helper(resultobj,o);
4716 }
4717 {
4718 PyObject *o = PyInt_FromLong((long) (*arg3));
4719 resultobj = t_output_helper(resultobj,o);
4720 }
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
2f4c0a16 4727static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4728 PyObject *resultobj;
4729 wxCaret *arg1 = (wxCaret *) 0 ;
4730 wxWindow *result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (wxWindow *)(arg1)->GetWindow();
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 {
4747 resultobj = wxPyMake_wxObject(result);
4748 }
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
2f4c0a16 4755static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4756 PyObject *resultobj;
4757 wxCaret *arg1 = (wxCaret *) 0 ;
4758 int arg2 ;
4759 int arg3 ;
4760 PyObject * obj0 = 0 ;
8edf1c75
RD
4761 PyObject * obj1 = 0 ;
4762 PyObject * obj2 = 0 ;
d14a1e28
RD
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "x",(char *) "y", NULL
4765 };
4766
8edf1c75 4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (int) SWIG_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 arg3 = (int) SWIG_AsInt(obj2);
4773 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->Move(arg2,arg3);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
2f4c0a16 4788static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4789 PyObject *resultobj;
4790 wxCaret *arg1 = (wxCaret *) 0 ;
4791 wxPoint *arg2 = 0 ;
4792 wxPoint temp2 ;
4793 PyObject * obj0 = 0 ;
4794 PyObject * obj1 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self",(char *) "pt", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4802 {
4803 arg2 = &temp2;
4804 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 (arg1)->Move((wxPoint const &)*arg2);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 Py_INCREF(Py_None); resultobj = Py_None;
4814 return resultobj;
4815 fail:
4816 return NULL;
4817}
4818
4819
2f4c0a16 4820static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4821 PyObject *resultobj;
4822 wxCaret *arg1 = (wxCaret *) 0 ;
4823 int arg2 ;
4824 int arg3 ;
4825 PyObject * obj0 = 0 ;
8edf1c75
RD
4826 PyObject * obj1 = 0 ;
4827 PyObject * obj2 = 0 ;
d14a1e28
RD
4828 char *kwnames[] = {
4829 (char *) "self",(char *) "width",(char *) "height", NULL
4830 };
4831
8edf1c75 4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4835 arg2 = (int) SWIG_AsInt(obj1);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 arg3 = (int) SWIG_AsInt(obj2);
4838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 (arg1)->SetSize(arg2,arg3);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 Py_INCREF(Py_None); resultobj = Py_None;
4847 return resultobj;
4848 fail:
4849 return NULL;
4850}
4851
4852
2f4c0a16 4853static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4854 PyObject *resultobj;
4855 wxCaret *arg1 = (wxCaret *) 0 ;
4856 wxSize *arg2 = 0 ;
4857 wxSize temp2 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "size", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4867 {
4868 arg2 = &temp2;
4869 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->SetSize((wxSize const &)*arg2);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 Py_INCREF(Py_None); resultobj = Py_None;
4879 return resultobj;
4880 fail:
4881 return NULL;
4882}
4883
4884
2f4c0a16 4885static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4886 PyObject *resultobj;
4887 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4888 int arg2 = (int) True ;
d14a1e28 4889 PyObject * obj0 = 0 ;
8edf1c75 4890 PyObject * obj1 = 0 ;
d14a1e28
RD
4891 char *kwnames[] = {
4892 (char *) "self",(char *) "show", NULL
4893 };
4894
8edf1c75 4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4898 if (obj1) {
2f4c0a16
RD
4899 arg2 = (int) SWIG_AsInt(obj1);
4900 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4901 }
d14a1e28
RD
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->Show(arg2);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 Py_INCREF(Py_None); resultobj = Py_None;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
2f4c0a16 4916static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4917 PyObject *resultobj;
4918 wxCaret *arg1 = (wxCaret *) 0 ;
4919 PyObject * obj0 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 (arg1)->Hide();
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 Py_INCREF(Py_None); resultobj = Py_None;
4935 return resultobj;
4936 fail:
4937 return NULL;
4938}
4939
4940
2f4c0a16 4941static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4942 PyObject *obj;
4943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4944 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4945 Py_INCREF(obj);
4946 return Py_BuildValue((char *)"");
4947}
2f4c0a16 4948static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4949 PyObject *resultobj;
4950 int result;
4951 char *kwnames[] = {
4952 NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 result = (int)wxCaret_GetBlinkTime();
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
2f4c0a16 4963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4964 return resultobj;
4965 fail:
4966 return NULL;
4967}
4968
4969
2f4c0a16 4970static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4971 PyObject *resultobj;
4972 int arg1 ;
8edf1c75 4973 PyObject * obj0 = 0 ;
d14a1e28
RD
4974 char *kwnames[] = {
4975 (char *) "milliseconds", NULL
4976 };
4977
8edf1c75 4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4979 arg1 = (int) SWIG_AsInt(obj0);
4980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 wxCaret_SetBlinkTime(arg1);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 Py_INCREF(Py_None); resultobj = Py_None;
4989 return resultobj;
4990 fail:
4991 return NULL;
4992}
4993
4994
2f4c0a16 4995static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4996 PyObject *resultobj;
4997 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4998 wxBusyCursor *result;
4999 PyObject * obj0 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "cursor", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5005 if (obj0) {
2f4c0a16
RD
5006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5008 }
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
2f4c0a16 5016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
5017 return resultobj;
5018 fail:
5019 return NULL;
5020}
5021
5022
2f4c0a16 5023static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5024 PyObject *resultobj;
5025 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 delete arg1;
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 Py_INCREF(Py_None); resultobj = Py_None;
5042 return resultobj;
5043 fail:
5044 return NULL;
5045}
5046
5047
2f4c0a16 5048static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5049 PyObject *obj;
5050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5051 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5052 Py_INCREF(obj);
5053 return Py_BuildValue((char *)"");
5054}
2f4c0a16 5055static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5056 PyObject *resultobj;
5057 wxWindow *arg1 = (wxWindow *) NULL ;
5058 wxWindowDisabler *result;
5059 PyObject * obj0 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "winToSkip", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5065 if (obj0) {
2f4c0a16
RD
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
2f4c0a16 5076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
5077 return resultobj;
5078 fail:
5079 return NULL;
5080}
5081
5082
2f4c0a16 5083static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5084 PyObject *resultobj;
5085 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5086 PyObject * obj0 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 delete arg1;
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 return resultobj;
5103 fail:
5104 return NULL;
5105}
5106
5107
2f4c0a16 5108static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5109 PyObject *obj;
5110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5111 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5112 Py_INCREF(obj);
5113 return Py_BuildValue((char *)"");
5114}
2f4c0a16 5115static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5116 PyObject *resultobj;
5117 wxString *arg1 = 0 ;
5118 wxBusyInfo *result;
423f194a 5119 bool temp1 = False ;
d14a1e28
RD
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "message", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5126 {
5127 arg1 = wxString_in_helper(obj0);
5128 if (arg1 == NULL) SWIG_fail;
423f194a 5129 temp1 = True;
d14a1e28
RD
5130 }
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
2f4c0a16 5138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
5139 {
5140 if (temp1)
5141 delete arg1;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp1)
5147 delete arg1;
5148 }
5149 return NULL;
5150}
5151
5152
2f4c0a16 5153static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5154 PyObject *resultobj;
5155 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 delete arg1;
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
2f4c0a16 5178static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5179 PyObject *obj;
5180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5182 Py_INCREF(obj);
5183 return Py_BuildValue((char *)"");
5184}
2f4c0a16 5185static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5186 PyObject *resultobj;
5187 wxStopWatch *result;
5188 char *kwnames[] = {
5189 NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (wxStopWatch *)new wxStopWatch();
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
2f4c0a16 5200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
2f4c0a16 5207static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5208 PyObject *resultobj;
5209 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5210 long arg2 = (long) 0 ;
5211 PyObject * obj0 = 0 ;
8edf1c75 5212 PyObject * obj1 = 0 ;
d14a1e28
RD
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "t0", NULL
5215 };
5216
8edf1c75 5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5220 if (obj1) {
2f4c0a16
RD
5221 arg2 = (long) SWIG_AsLong(obj1);
5222 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5223 }
d14a1e28
RD
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->Start(arg2);
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 Py_INCREF(Py_None); resultobj = Py_None;
5232 return resultobj;
5233 fail:
5234 return NULL;
5235}
5236
5237
2f4c0a16 5238static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5239 PyObject *resultobj;
5240 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->Pause();
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 return resultobj;
5258 fail:
5259 return NULL;
5260}
5261
5262
2f4c0a16 5263static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5264 PyObject *resultobj;
5265 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5266 PyObject * obj0 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 (arg1)->Resume();
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 Py_INCREF(Py_None); resultobj = Py_None;
5282 return resultobj;
5283 fail:
5284 return NULL;
5285}
5286
5287
2f4c0a16 5288static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5289 PyObject *resultobj;
5290 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5291 long result;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (long)((wxStopWatch const *)arg1)->Time();
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
2f4c0a16 5307 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
2f4c0a16 5314static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5315 PyObject *obj;
5316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5318 Py_INCREF(obj);
5319 return Py_BuildValue((char *)"");
5320}
2f4c0a16 5321static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5322 PyObject *resultobj;
5323 int arg1 = (int) 9 ;
5324 wxFileHistory *result;
8edf1c75 5325 PyObject * obj0 = 0 ;
d14a1e28
RD
5326 char *kwnames[] = {
5327 (char *) "maxFiles", NULL
5328 };
5329
8edf1c75
RD
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5331 if (obj0) {
2f4c0a16
RD
5332 arg1 = (int) SWIG_AsInt(obj0);
5333 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5334 }
d14a1e28
RD
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (wxFileHistory *)new wxFileHistory(arg1);
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
2f4c0a16 5342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
2f4c0a16 5349static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5350 PyObject *resultobj;
5351 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 delete arg1;
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 Py_INCREF(Py_None); resultobj = Py_None;
5368 return resultobj;
5369 fail:
5370 return NULL;
5371}
5372
5373
2f4c0a16 5374static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5375 PyObject *resultobj;
5376 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5377 wxString *arg2 = 0 ;
423f194a 5378 bool temp2 = False ;
d14a1e28
RD
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "file", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5388 {
5389 arg2 = wxString_in_helper(obj1);
5390 if (arg2 == NULL) SWIG_fail;
423f194a 5391 temp2 = True;
d14a1e28
RD
5392 }
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 (arg1)->AddFileToHistory((wxString const &)*arg2);
5396
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 Py_INCREF(Py_None); resultobj = Py_None;
5401 {
5402 if (temp2)
5403 delete arg2;
5404 }
5405 return resultobj;
5406 fail:
5407 {
5408 if (temp2)
5409 delete arg2;
5410 }
5411 return NULL;
5412}
5413
5414
2f4c0a16 5415static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5416 PyObject *resultobj;
5417 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5418 int arg2 ;
5419 PyObject * obj0 = 0 ;
8edf1c75 5420 PyObject * obj1 = 0 ;
d14a1e28
RD
5421 char *kwnames[] = {
5422 (char *) "self",(char *) "i", NULL
5423 };
5424
8edf1c75 5425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5428 arg2 = (int) SWIG_AsInt(obj1);
5429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 (arg1)->RemoveFileFromHistory(arg2);
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 Py_INCREF(Py_None); resultobj = Py_None;
5438 return resultobj;
5439 fail:
5440 return NULL;
5441}
5442
5443
2f4c0a16 5444static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5445 PyObject *resultobj;
5446 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5447 int result;
5448 PyObject * obj0 = 0 ;
5449 char *kwnames[] = {
5450 (char *) "self", NULL
5451 };
5452
5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
2f4c0a16 5463 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
2f4c0a16 5470static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5471 PyObject *resultobj;
5472 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5473 wxMenu *arg2 = (wxMenu *) 0 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char *kwnames[] = {
5477 (char *) "self",(char *) "menu", NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 (arg1)->UseMenu(arg2);
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 Py_INCREF(Py_None); resultobj = Py_None;
5493 return resultobj;
5494 fail:
5495 return NULL;
5496}
5497
5498
2f4c0a16 5499static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5500 PyObject *resultobj;
5501 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5502 wxMenu *arg2 = (wxMenu *) 0 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "menu", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->RemoveMenu(arg2);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
5522 return resultobj;
5523 fail:
5524 return NULL;
5525}
5526
5527
2f4c0a16 5528static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5529 PyObject *resultobj;
5530 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5531 wxConfigBase *arg2 = 0 ;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self",(char *) "config", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5542 SWIG_POINTER_EXCEPTION | 0)) == -1)
5543 SWIG_fail;
d14a1e28 5544 if (arg2 == NULL) {
2f4c0a16
RD
5545 PyErr_SetString(PyExc_TypeError,"null reference");
5546 SWIG_fail;
d14a1e28
RD
5547 }
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 (arg1)->Load(*arg2);
5551
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 Py_INCREF(Py_None); resultobj = Py_None;
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
2f4c0a16 5562static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5563 PyObject *resultobj;
5564 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5565 wxConfigBase *arg2 = 0 ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "config", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1)
5577 SWIG_fail;
d14a1e28 5578 if (arg2 == NULL) {
2f4c0a16
RD
5579 PyErr_SetString(PyExc_TypeError,"null reference");
5580 SWIG_fail;
d14a1e28
RD
5581 }
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 (arg1)->Save(*arg2);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 Py_INCREF(Py_None); resultobj = Py_None;
5590 return resultobj;
5591 fail:
5592 return NULL;
5593}
5594
5595
2f4c0a16 5596static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5597 PyObject *resultobj;
5598 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5599 PyObject * obj0 = 0 ;
5600 char *kwnames[] = {
5601 (char *) "self", NULL
5602 };
5603
5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 (arg1)->AddFilesToMenu();
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 Py_INCREF(Py_None); resultobj = Py_None;
5615 return resultobj;
5616 fail:
5617 return NULL;
5618}
5619
5620
2f4c0a16 5621static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5622 PyObject *resultobj;
5623 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5624 wxMenu *arg2 = (wxMenu *) 0 ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "menu", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 (arg1)->AddFilesToMenu(arg2);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 Py_INCREF(Py_None); resultobj = Py_None;
5644 return resultobj;
5645 fail:
5646 return NULL;
5647}
5648
5649
2f4c0a16 5650static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5651 PyObject *resultobj;
5652 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5653 int arg2 ;
5654 wxString result;
5655 PyObject * obj0 = 0 ;
8edf1c75 5656 PyObject * obj1 = 0 ;
d14a1e28
RD
5657 char *kwnames[] = {
5658 (char *) "self",(char *) "i", NULL
5659 };
5660
8edf1c75 5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5664 arg2 = (int) SWIG_AsInt(obj1);
5665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5666 {
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674#if wxUSE_UNICODE
5675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5676#else
5677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5678#endif
5679 }
5680 return resultobj;
5681 fail:
5682 return NULL;
5683}
5684
5685
2f4c0a16 5686static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5687 PyObject *resultobj;
5688 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5689 int result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (int)((wxFileHistory const *)arg1)->GetCount();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
2f4c0a16 5705 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
2f4c0a16 5712static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5713 PyObject *obj;
5714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5715 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5716 Py_INCREF(obj);
5717 return Py_BuildValue((char *)"");
5718}
2f4c0a16 5719static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5720 PyObject *resultobj;
5721 wxString *arg1 = 0 ;
5722 wxString const &arg2_defvalue = wxPyEmptyString ;
5723 wxString *arg2 = (wxString *) &arg2_defvalue ;
5724 wxSingleInstanceChecker *result;
423f194a
RD
5725 bool temp1 = False ;
5726 bool temp2 = False ;
d14a1e28
RD
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "name",(char *) "path", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5734 {
5735 arg1 = wxString_in_helper(obj0);
5736 if (arg1 == NULL) SWIG_fail;
423f194a 5737 temp1 = True;
d14a1e28
RD
5738 }
5739 if (obj1) {
5740 {
5741 arg2 = wxString_in_helper(obj1);
5742 if (arg2 == NULL) SWIG_fail;
423f194a 5743 temp2 = True;
d14a1e28
RD
5744 }
5745 }
5746 {
5747 PyThreadState* __tstate = wxPyBeginAllowThreads();
5748 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5749
5750 wxPyEndAllowThreads(__tstate);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 }
2f4c0a16 5753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5754 {
5755 if (temp1)
5756 delete arg1;
5757 }
5758 {
5759 if (temp2)
5760 delete arg2;
5761 }
5762 return resultobj;
5763 fail:
5764 {
5765 if (temp1)
5766 delete arg1;
5767 }
5768 {
5769 if (temp2)
5770 delete arg2;
5771 }
5772 return NULL;
5773}
5774
5775
2f4c0a16 5776static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5777 PyObject *resultobj;
5778 wxSingleInstanceChecker *result;
5779 char *kwnames[] = {
5780 NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
2f4c0a16 5791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5792 return resultobj;
5793 fail:
5794 return NULL;
5795}
5796
5797
2f4c0a16 5798static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5799 PyObject *resultobj;
5800 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5801 PyObject * obj0 = 0 ;
5802 char *kwnames[] = {
5803 (char *) "self", NULL
5804 };
5805
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 delete arg1;
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
2f4c0a16 5823static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5824 PyObject *resultobj;
5825 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5826 wxString *arg2 = 0 ;
5827 wxString const &arg3_defvalue = wxPyEmptyString ;
5828 wxString *arg3 = (wxString *) &arg3_defvalue ;
5829 bool result;
423f194a
RD
5830 bool temp2 = False ;
5831 bool temp3 = False ;
d14a1e28
RD
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 PyObject * obj2 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "name",(char *) "path", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5842 {
5843 arg2 = wxString_in_helper(obj1);
5844 if (arg2 == NULL) SWIG_fail;
423f194a 5845 temp2 = True;
d14a1e28
RD
5846 }
5847 if (obj2) {
5848 {
5849 arg3 = wxString_in_helper(obj2);
5850 if (arg3 == NULL) SWIG_fail;
423f194a 5851 temp3 = True;
d14a1e28
RD
5852 }
5853 }
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
02a34c4c 5861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5862 {
5863 if (temp2)
5864 delete arg2;
5865 }
5866 {
5867 if (temp3)
5868 delete arg3;
5869 }
5870 return resultobj;
5871 fail:
5872 {
5873 if (temp2)
5874 delete arg2;
5875 }
5876 {
5877 if (temp3)
5878 delete arg3;
5879 }
5880 return NULL;
5881}
5882
5883
2f4c0a16 5884static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5885 PyObject *resultobj;
5886 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5887 bool result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
02a34c4c 5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
2f4c0a16 5910static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5911 PyObject *obj;
5912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5913 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5914 Py_INCREF(obj);
5915 return Py_BuildValue((char *)"");
5916}
2f4c0a16 5917static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5918 PyObject *resultobj;
5919 wxWindow *arg1 = (wxWindow *) 0 ;
5920 wxDC *arg2 = 0 ;
5921 int arg3 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
8edf1c75 5924 PyObject * obj2 = 0 ;
d14a1e28
RD
5925 char *kwnames[] = {
5926 (char *) "window",(char *) "dc",(char *) "method", NULL
5927 };
5928
8edf1c75 5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1)
5934 SWIG_fail;
d14a1e28 5935 if (arg2 == NULL) {
2f4c0a16
RD
5936 PyErr_SetString(PyExc_TypeError,"null reference");
5937 SWIG_fail;
8edf1c75 5938 }
2f4c0a16
RD
5939 arg3 = (int) SWIG_AsInt(obj2);
5940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 Py_INCREF(Py_None); resultobj = Py_None;
5949 return resultobj;
5950 fail:
5951 return NULL;
5952}
5953
5954
2f4c0a16 5955static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5956 PyObject *resultobj;
5957 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 delete arg1;
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977}
5978
5979
2f4c0a16 5980static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5981 PyObject *resultobj;
5982 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5983 wxString result;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (arg1)->GetTip();
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 {
6000#if wxUSE_UNICODE
6001 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6002#else
6003 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6004#endif
6005 }
6006 return resultobj;
6007 fail:
6008 return NULL;
6009}
6010
6011
2f4c0a16 6012static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6013 PyObject *resultobj;
6014 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6015 size_t result;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 result = (size_t)(arg1)->GetCurrentTip();
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
2f4c0a16 6031 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6032 return resultobj;
6033 fail:
6034 return NULL;
6035}
6036
6037
2f4c0a16 6038static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6039 PyObject *resultobj;
6040 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6041 wxString *arg2 = 0 ;
6042 wxString result;
423f194a 6043 bool temp2 = False ;
d14a1e28
RD
6044 PyObject * obj0 = 0 ;
6045 PyObject * obj1 = 0 ;
6046 char *kwnames[] = {
6047 (char *) "self",(char *) "tip", NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6053 {
6054 arg2 = wxString_in_helper(obj1);
6055 if (arg2 == NULL) SWIG_fail;
423f194a 6056 temp2 = True;
d14a1e28
RD
6057 }
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 {
6066#if wxUSE_UNICODE
6067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6068#else
6069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6070#endif
6071 }
6072 {
6073 if (temp2)
6074 delete arg2;
6075 }
6076 return resultobj;
6077 fail:
6078 {
6079 if (temp2)
6080 delete arg2;
6081 }
6082 return NULL;
6083}
6084
6085
2f4c0a16 6086static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6087 PyObject *obj;
6088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6089 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6090 Py_INCREF(obj);
6091 return Py_BuildValue((char *)"");
6092}
2f4c0a16 6093static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6094 PyObject *resultobj;
6095 size_t arg1 ;
6096 wxPyTipProvider *result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "currentTip", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6103 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
2f4c0a16 6112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
6113 return resultobj;
6114 fail:
6115 return NULL;
6116}
6117
6118
2f4c0a16 6119static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6120 PyObject *resultobj;
6121 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6122 PyObject *arg2 = (PyObject *) 0 ;
6123 PyObject *arg3 = (PyObject *) 0 ;
6124 PyObject * obj0 = 0 ;
6125 PyObject * obj1 = 0 ;
6126 PyObject * obj2 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self",(char *) "self",(char *) "_class", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6134 arg2 = obj1;
6135 arg3 = obj2;
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 (arg1)->_setCallbackInfo(arg2,arg3);
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 Py_INCREF(Py_None); resultobj = Py_None;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
2f4c0a16 6150static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6151 PyObject *obj;
6152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6153 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6154 Py_INCREF(obj);
6155 return Py_BuildValue((char *)"");
6156}
2f4c0a16 6157static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6158 PyObject *resultobj;
6159 wxWindow *arg1 = (wxWindow *) 0 ;
6160 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 6161 bool arg3 = (bool) True ;
d14a1e28
RD
6162 bool result;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 PyObject * obj2 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6175 if (obj2) {
2f4c0a16
RD
6176 arg3 = (bool) SWIG_AsBool(obj2);
6177 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (bool)wxShowTip(arg1,arg2,arg3);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
02a34c4c 6186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
2f4c0a16 6193static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6194 PyObject *resultobj;
6195 wxString *arg1 = 0 ;
6196 size_t arg2 ;
6197 wxTipProvider *result;
423f194a 6198 bool temp1 = False ;
d14a1e28
RD
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "filename",(char *) "currentTip", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6206 {
6207 arg1 = wxString_in_helper(obj0);
6208 if (arg1 == NULL) SWIG_fail;
423f194a 6209 temp1 = True;
d14a1e28 6210 }
2f4c0a16
RD
6211 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
2f4c0a16 6220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
6221 {
6222 if (temp1)
6223 delete arg1;
6224 }
6225 return resultobj;
6226 fail:
6227 {
6228 if (temp1)
6229 delete arg1;
6230 }
6231 return NULL;
6232}
6233
6234
2f4c0a16 6235static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6236 PyObject *resultobj;
6237 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6238 int arg2 = (int) -1 ;
6239 wxPyTimer *result;
6240 PyObject * obj0 = 0 ;
8edf1c75 6241 PyObject * obj1 = 0 ;
d14a1e28
RD
6242 char *kwnames[] = {
6243 (char *) "owner",(char *) "id", NULL
6244 };
6245
8edf1c75 6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6247 if (obj0) {
2f4c0a16
RD
6248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6250 }
8edf1c75 6251 if (obj1) {
2f4c0a16
RD
6252 arg2 = (int) SWIG_AsInt(obj1);
6253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6254 }
d14a1e28
RD
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
2f4c0a16 6262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
6263 return resultobj;
6264 fail:
6265 return NULL;
6266}
6267
6268
2f4c0a16 6269static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6270 PyObject *resultobj;
6271 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6272 PyObject * obj0 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 delete arg1;
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 Py_INCREF(Py_None); resultobj = Py_None;
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
2f4c0a16 6294static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6295 PyObject *resultobj;
6296 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6297 PyObject *arg2 = (PyObject *) 0 ;
6298 PyObject *arg3 = (PyObject *) 0 ;
ce7284bd 6299 int arg4 = (int) 1 ;
44127b65
RD
6300 PyObject * obj0 = 0 ;
6301 PyObject * obj1 = 0 ;
6302 PyObject * obj2 = 0 ;
ce7284bd 6303 PyObject * obj3 = 0 ;
44127b65 6304 char *kwnames[] = {
ce7284bd 6305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
44127b65
RD
6306 };
6307
ce7284bd 6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6311 arg2 = obj1;
6312 arg3 = obj2;
ce7284bd
RD
6313 if (obj3) {
6314 arg4 = (int) SWIG_AsInt(obj3);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
44127b65
RD
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
ce7284bd 6319 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
44127b65
RD
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 Py_INCREF(Py_None); resultobj = Py_None;
6325 return resultobj;
6326 fail:
6327 return NULL;
6328}
6329
6330
2f4c0a16 6331static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6332 PyObject *resultobj;
6333 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6334 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6335 int arg3 = (int) -1 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
8edf1c75 6338 PyObject * obj2 = 0 ;
d14a1e28
RD
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "owner",(char *) "id", NULL
6341 };
6342
8edf1c75 6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6348 if (obj2) {
2f4c0a16
RD
6349 arg3 = (int) SWIG_AsInt(obj2);
6350 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6351 }
d14a1e28
RD
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 (arg1)->SetOwner(arg2,arg3);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 Py_INCREF(Py_None); resultobj = Py_None;
6360 return resultobj;
6361 fail:
6362 return NULL;
6363}
6364
6365
2f4c0a16 6366static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6367 PyObject *resultobj;
6368 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6369 int arg2 = (int) -1 ;
423f194a 6370 bool arg3 = (bool) False ;
d14a1e28
RD
6371 bool result;
6372 PyObject * obj0 = 0 ;
8edf1c75 6373 PyObject * obj1 = 0 ;
d14a1e28
RD
6374 PyObject * obj2 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6377 };
6378
8edf1c75 6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6382 if (obj1) {
2f4c0a16
RD
6383 arg2 = (int) SWIG_AsInt(obj1);
6384 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6385 }
d14a1e28 6386 if (obj2) {
2f4c0a16
RD
6387 arg3 = (bool) SWIG_AsBool(obj2);
6388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)(arg1)->Start(arg2,arg3);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
02a34c4c 6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
2f4c0a16 6404static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6405 PyObject *resultobj;
6406 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 (arg1)->Stop();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 Py_INCREF(Py_None); resultobj = Py_None;
6423 return resultobj;
6424 fail:
6425 return NULL;
6426}
6427
6428
2f4c0a16 6429static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6430 PyObject *resultobj;
6431 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6432 bool result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
02a34c4c 6448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6449 return resultobj;
6450 fail:
6451 return NULL;
6452}
6453
6454
2f4c0a16 6455static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6456 PyObject *resultobj;
6457 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6458 int result;
6459 PyObject * obj0 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
2f4c0a16 6474 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6475 return resultobj;
6476 fail:
6477 return NULL;
6478}
6479
6480
2f4c0a16 6481static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6482 PyObject *resultobj;
6483 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6484 bool result;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
02a34c4c 6500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6501 return resultobj;
6502 fail:
6503 return NULL;
6504}
6505
6506
2f4c0a16 6507static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
0f774bef
RD
6508 PyObject *resultobj;
6509 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6510 int result;
6511 PyObject * obj0 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0f774bef
RD
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (int)((wxPyTimer const *)arg1)->GetId();
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
2f4c0a16 6526 resultobj = SWIG_FromInt((int)result);
0f774bef
RD
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
2f4c0a16 6533static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6534 PyObject *obj;
6535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6537 Py_INCREF(obj);
6538 return Py_BuildValue((char *)"");
6539}
2f4c0a16 6540static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6541 PyObject *resultobj;
6542 int arg1 = (int) 0 ;
6543 int arg2 = (int) 0 ;
6544 wxTimerEvent *result;
8edf1c75
RD
6545 PyObject * obj0 = 0 ;
6546 PyObject * obj1 = 0 ;
d14a1e28
RD
6547 char *kwnames[] = {
6548 (char *) "timerid",(char *) "interval", NULL
6549 };
6550
8edf1c75
RD
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6552 if (obj0) {
2f4c0a16
RD
6553 arg1 = (int) SWIG_AsInt(obj0);
6554 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6555 }
6556 if (obj1) {
2f4c0a16
RD
6557 arg2 = (int) SWIG_AsInt(obj1);
6558 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6559 }
d14a1e28
RD
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
2f4c0a16 6567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
6568 return resultobj;
6569 fail:
6570 return NULL;
6571}
6572
6573
2f4c0a16 6574static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6575 PyObject *resultobj;
6576 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6577 int result;
6578 PyObject * obj0 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
2f4c0a16 6593 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
2f4c0a16 6600static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6601 PyObject *obj;
6602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6603 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6604 Py_INCREF(obj);
6605 return Py_BuildValue((char *)"");
6606}
2f4c0a16 6607static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
6608 PyObject *resultobj;
6609 wxTimer *arg1 = 0 ;
6610 wxTimerRunner *result;
6611 PyObject * obj0 = 0 ;
6612
6613 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
2f4c0a16
RD
6614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6615 SWIG_POINTER_EXCEPTION | 0)) == -1)
6616 SWIG_fail;
d14a1e28 6617 if (arg1 == NULL) {
2f4c0a16
RD
6618 PyErr_SetString(PyExc_TypeError,"null reference");
6619 SWIG_fail;
d14a1e28
RD
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
2f4c0a16 6628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6629 return resultobj;
6630 fail:
6631 return NULL;
6632}
6633
6634
2f4c0a16 6635static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
6636 PyObject *resultobj;
6637 wxTimer *arg1 = 0 ;
6638 int arg2 ;
423f194a 6639 bool arg3 = (bool) False ;
d14a1e28
RD
6640 wxTimerRunner *result;
6641 PyObject * obj0 = 0 ;
8edf1c75 6642 PyObject * obj1 = 0 ;
d14a1e28
RD
6643 PyObject * obj2 = 0 ;
6644
8edf1c75 6645 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1)
6648 SWIG_fail;
d14a1e28 6649 if (arg1 == NULL) {
2f4c0a16
RD
6650 PyErr_SetString(PyExc_TypeError,"null reference");
6651 SWIG_fail;
8edf1c75 6652 }
2f4c0a16
RD
6653 arg2 = (int) SWIG_AsInt(obj1);
6654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6655 if (obj2) {
2f4c0a16
RD
6656 arg3 = (bool) SWIG_AsBool(obj2);
6657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6658 }
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
2f4c0a16 6666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
6673static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6674 int argc;
6675 PyObject *argv[4];
6676 int ii;
6677
6678 argc = PyObject_Length(args);
6679 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6680 argv[ii] = PyTuple_GetItem(args,ii);
6681 }
6682 if (argc == 1) {
6683 int _v;
6684 {
6685 void *ptr;
2f4c0a16 6686 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6687 _v = 0;
6688 PyErr_Clear();
6689 } else {
6690 _v = 1;
6691 }
6692 }
6693 if (_v) {
6694 return _wrap_new_TimerRunner__SWIG_0(self,args);
6695 }
6696 }
6697 if ((argc >= 2) && (argc <= 3)) {
6698 int _v;
6699 {
6700 void *ptr;
2f4c0a16 6701 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6702 _v = 0;
6703 PyErr_Clear();
6704 } else {
6705 _v = 1;
6706 }
6707 }
6708 if (_v) {
2f4c0a16 6709 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
6710 if (_v) {
6711 if (argc <= 2) {
6712 return _wrap_new_TimerRunner__SWIG_1(self,args);
6713 }
2f4c0a16 6714 _v = SWIG_CheckBool(argv[2]);
d14a1e28
RD
6715 if (_v) {
6716 return _wrap_new_TimerRunner__SWIG_1(self,args);
6717 }
6718 }
6719 }
6720 }
6721
6722 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6723 return NULL;
6724}
6725
6726
2f4c0a16 6727static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6728 PyObject *resultobj;
6729 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 delete arg1;
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 Py_INCREF(Py_None); resultobj = Py_None;
6746 return resultobj;
6747 fail:
6748 return NULL;
6749}
6750
6751
2f4c0a16 6752static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6753 PyObject *resultobj;
6754 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6755 int arg2 ;
423f194a 6756 bool arg3 = (bool) False ;
d14a1e28 6757 PyObject * obj0 = 0 ;
8edf1c75 6758 PyObject * obj1 = 0 ;
d14a1e28
RD
6759 PyObject * obj2 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6762 };
6763
8edf1c75 6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6767 arg2 = (int) SWIG_AsInt(obj1);
6768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6769 if (obj2) {
2f4c0a16
RD
6770 arg3 = (bool) SWIG_AsBool(obj2);
6771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 (arg1)->Start(arg2,arg3);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 Py_INCREF(Py_None); resultobj = Py_None;
6781 return resultobj;
6782 fail:
6783 return NULL;
6784}
6785
6786
2f4c0a16 6787static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6788 PyObject *obj;
6789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6790 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6791 Py_INCREF(obj);
6792 return Py_BuildValue((char *)"");
6793}
2f4c0a16 6794static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6795 PyObject *resultobj;
6796 wxLog *result;
6797 char *kwnames[] = {
6798 NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (wxLog *)new wxLog();
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
2f4c0a16 6809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
2f4c0a16 6816static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6817 PyObject *resultobj;
6818 bool result;
6819 char *kwnames[] = {
6820 NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (bool)wxLog::IsEnabled();
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
02a34c4c 6831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6832 return resultobj;
6833 fail:
6834 return NULL;
6835}
6836
6837
2f4c0a16 6838static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 6839 PyObject *resultobj;
423f194a 6840 bool arg1 = (bool) True ;
d14a1e28
RD
6841 bool result;
6842 PyObject * obj0 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "doIt", NULL
6845 };
6846
6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6848 if (obj0) {
2f4c0a16
RD
6849 arg1 = (bool) SWIG_AsBool(obj0);
6850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6851 }
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (bool)wxLog::EnableLogging(arg1);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
02a34c4c 6859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6860 return resultobj;
6861 fail:
6862 return NULL;
6863}
6864
6865
2f4c0a16 6866static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6867 PyObject *resultobj;
6868 wxLogLevel arg1 ;
6869 wxChar *arg2 = (wxChar *) 0 ;
6870 time_t arg3 ;
6871 PyObject * obj0 = 0 ;
6872 PyObject * obj1 = 0 ;
6873 PyObject * obj2 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "level",(char *) "szString",(char *) "t", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6879 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6883 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 Py_INCREF(Py_None); resultobj = Py_None;
6893 return resultobj;
6894 fail:
6895 return NULL;
6896}
6897
6898
2f4c0a16 6899static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6900 PyObject *resultobj;
6901 wxLog *arg1 = (wxLog *) 0 ;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->Flush();
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 Py_INCREF(Py_None); resultobj = Py_None;
6918 return resultobj;
6919 fail:
6920 return NULL;
6921}
6922
6923
2f4c0a16 6924static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6925 PyObject *resultobj;
6926 char *kwnames[] = {
6927 NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 wxLog::FlushActive();
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 Py_INCREF(Py_None); resultobj = Py_None;
6939 return resultobj;
6940 fail:
6941 return NULL;
6942}
6943
6944
2f4c0a16 6945static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6946 PyObject *resultobj;
6947 wxLog *result;
6948 char *kwnames[] = {
6949 NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 result = (wxLog *)wxLog::GetActiveTarget();
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
2f4c0a16 6960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
6961 return resultobj;
6962 fail:
6963 return NULL;
6964}
6965
6966
2f4c0a16 6967static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6968 PyObject *resultobj;
6969 wxLog *arg1 = (wxLog *) 0 ;
6970 wxLog *result;
6971 PyObject * obj0 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "pLogger", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
2f4c0a16 6986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
6987 return resultobj;
6988 fail:
6989 return NULL;
6990}
6991
6992
2f4c0a16 6993static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6994 PyObject *resultobj;
6995 char *kwnames[] = {
6996 NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 wxLog::Suspend();
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 Py_INCREF(Py_None); resultobj = Py_None;
7008 return resultobj;
7009 fail:
7010 return NULL;
7011}
7012
7013
2f4c0a16 7014static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7015 PyObject *resultobj;
7016 char *kwnames[] = {
7017 NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 wxLog::Resume();
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032}
7033
7034
2f4c0a16 7035static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7036 PyObject *resultobj;
423f194a 7037 bool arg1 = (bool) True ;
d14a1e28
RD
7038 PyObject * obj0 = 0 ;
7039 char *kwnames[] = {
7040 (char *) "bVerbose", NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7044 if (obj0) {
2f4c0a16
RD
7045 arg1 = (bool) SWIG_AsBool(obj0);
7046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7047 }
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 wxLog::SetVerbose(arg1);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059}
7060
7061
2f4c0a16 7062static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7063 PyObject *resultobj;
7064 wxLogLevel arg1 ;
7065 PyObject * obj0 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "logLevel", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7071 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 wxLog::SetLogLevel(arg1);
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 Py_INCREF(Py_None); resultobj = Py_None;
7081 return resultobj;
7082 fail:
7083 return NULL;
7084}
7085
7086
2f4c0a16 7087static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7088 PyObject *resultobj;
7089 char *kwnames[] = {
7090 NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 wxLog::DontCreateOnDemand();
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
2f4c0a16 7108static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7109 PyObject *resultobj;
7110 wxTraceMask arg1 ;
7111 PyObject * obj0 = 0 ;
7112 char *kwnames[] = {
7113 (char *) "ulMask", NULL
7114 };
7115
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7117 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 wxLog::SetTraceMask(arg1);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
2f4c0a16 7133static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7134 PyObject *resultobj;
7135 wxString *arg1 = 0 ;
423f194a 7136 bool temp1 = False ;
d14a1e28
RD
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "str", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7143 {
7144 arg1 = wxString_in_helper(obj0);
7145 if (arg1 == NULL) SWIG_fail;
423f194a 7146 temp1 = True;
d14a1e28
RD
7147 }
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 wxLog::AddTraceMask((wxString const &)*arg1);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 Py_INCREF(Py_None); resultobj = Py_None;
7156 {
7157 if (temp1)
7158 delete arg1;
7159 }
7160 return resultobj;
7161 fail:
7162 {
7163 if (temp1)
7164 delete arg1;
7165 }
7166 return NULL;
7167}
7168
7169
2f4c0a16 7170static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7171 PyObject *resultobj;
7172 wxString *arg1 = 0 ;
423f194a 7173 bool temp1 = False ;
d14a1e28
RD
7174 PyObject * obj0 = 0 ;
7175 char *kwnames[] = {
7176 (char *) "str", NULL
7177 };
7178
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7180 {
7181 arg1 = wxString_in_helper(obj0);
7182 if (arg1 == NULL) SWIG_fail;
423f194a 7183 temp1 = True;
d14a1e28
RD
7184 }
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 wxLog::RemoveTraceMask((wxString const &)*arg1);
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 Py_INCREF(Py_None); resultobj = Py_None;
7193 {
7194 if (temp1)
7195 delete arg1;
7196 }
7197 return resultobj;
7198 fail:
7199 {
7200 if (temp1)
7201 delete arg1;
7202 }
7203 return NULL;
7204}
7205
7206
2f4c0a16 7207static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7208 PyObject *resultobj;
7209 char *kwnames[] = {
7210 NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 wxLog::ClearTraceMasks();
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 Py_INCREF(Py_None); resultobj = Py_None;
7222 return resultobj;
7223 fail:
7224 return NULL;
7225}
7226
7227
2f4c0a16 7228static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7229 PyObject *resultobj;
7230 wxArrayString *result;
7231 char *kwnames[] = {
7232 NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 {
7239 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7240 result = (wxArrayString *) &_result_ref;
7241 }
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247 resultobj = wxArrayString2PyList_helper(*result);
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252}
7253
7254
2f4c0a16 7255static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7256 PyObject *resultobj;
7257 wxChar *arg1 = (wxChar *) 0 ;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "ts", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 wxLog::SetTimestamp((wxChar const *)arg1);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 Py_INCREF(Py_None); resultobj = Py_None;
7274 return resultobj;
7275 fail:
7276 return NULL;
7277}
7278
7279
2f4c0a16 7280static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7281 PyObject *resultobj;
7282 bool result;
7283 char *kwnames[] = {
7284 NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (bool)wxLog::GetVerbose();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
02a34c4c 7295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7296 return resultobj;
7297 fail:
7298 return NULL;
7299}
7300
7301
2f4c0a16 7302static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7303 PyObject *resultobj;
7304 wxTraceMask result;
7305 char *kwnames[] = {
7306 NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (wxTraceMask)wxLog::GetTraceMask();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
2f4c0a16 7317 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
2f4c0a16 7324static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7325 PyObject *resultobj;
7326 wxChar *arg1 = (wxChar *) 0 ;
7327 bool result;
7328 PyObject * obj0 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "mask", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
02a34c4c 7343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7344 return resultobj;
7345 fail:
7346 return NULL;
7347}
7348
7349
2f4c0a16 7350static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7351 PyObject *resultobj;
7352 wxLogLevel result;
7353 char *kwnames[] = {
7354 NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (wxLogLevel)wxLog::GetLogLevel();
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
2f4c0a16 7365 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7366 return resultobj;
7367 fail:
7368 return NULL;
7369}
7370
7371
2f4c0a16 7372static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7373 PyObject *resultobj;
7374 wxChar *result;
7375 char *kwnames[] = {
7376 NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (wxChar *)wxLog::GetTimestamp();
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
2f4c0a16 7387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
2f4c0a16 7394static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7395 PyObject *resultobj;
7396 wxString result;
7397 char *kwnames[] = {
7398 NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 result = Log_TimeStamp();
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 {
7410#if wxUSE_UNICODE
7411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7412#else
7413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7414#endif
7415 }
7416 return resultobj;
7417 fail:
7418 return NULL;
7419}
7420
7421
2f4c0a16 7422static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7423 PyObject *resultobj;
7424 wxLog *arg1 = (wxLog *) 0 ;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 wxLog_Destroy(arg1);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 return resultobj;
7442 fail:
7443 return NULL;
7444}
7445
7446
2f4c0a16 7447static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7448 PyObject *obj;
7449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7450 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7451 Py_INCREF(obj);
7452 return Py_BuildValue((char *)"");
7453}
2f4c0a16 7454static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7455 PyObject *resultobj;
7456 wxLogStderr *result;
7457 char *kwnames[] = {
7458 NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 result = (wxLogStderr *)new wxLogStderr();
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
2f4c0a16 7469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
7470 return resultobj;
7471 fail:
7472 return NULL;
7473}
7474
7475
2f4c0a16 7476static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7477 PyObject *obj;
7478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7479 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7480 Py_INCREF(obj);
7481 return Py_BuildValue((char *)"");
7482}
2f4c0a16 7483static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7484 PyObject *resultobj;
7485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7486 wxLogTextCtrl *result;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "pTextCtrl", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
2f4c0a16 7502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
7503 return resultobj;
7504 fail:
7505 return NULL;
7506}
7507
7508
2f4c0a16 7509static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7510 PyObject *obj;
7511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7512 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7513 Py_INCREF(obj);
7514 return Py_BuildValue((char *)"");
7515}
2f4c0a16 7516static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7517 PyObject *resultobj;
7518 wxLogGui *result;
7519 char *kwnames[] = {
7520 NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 result = (wxLogGui *)new wxLogGui();
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
2f4c0a16 7531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
2f4c0a16 7538static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7539 PyObject *obj;
7540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7542 Py_INCREF(obj);
7543 return Py_BuildValue((char *)"");
7544}
2f4c0a16 7545static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7546 PyObject *resultobj;
7547 wxFrame *arg1 = (wxFrame *) 0 ;
7548 wxString *arg2 = 0 ;
423f194a
RD
7549 bool arg3 = (bool) True ;
7550 bool arg4 = (bool) True ;
d14a1e28 7551 wxLogWindow *result;
423f194a 7552 bool temp2 = False ;
d14a1e28
RD
7553 PyObject * obj0 = 0 ;
7554 PyObject * obj1 = 0 ;
7555 PyObject * obj2 = 0 ;
7556 PyObject * obj3 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7564 {
7565 arg2 = wxString_in_helper(obj1);
7566 if (arg2 == NULL) SWIG_fail;
423f194a 7567 temp2 = True;
d14a1e28
RD
7568 }
7569 if (obj2) {
2f4c0a16
RD
7570 arg3 = (bool) SWIG_AsBool(obj2);
7571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7572 }
7573 if (obj3) {
2f4c0a16
RD
7574 arg4 = (bool) SWIG_AsBool(obj3);
7575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
2f4c0a16 7584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
7585 {
7586 if (temp2)
7587 delete arg2;
7588 }
7589 return resultobj;
7590 fail:
7591 {
7592 if (temp2)
7593 delete arg2;
7594 }
7595 return NULL;
7596}
7597
7598
2f4c0a16 7599static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7600 PyObject *resultobj;
7601 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 7602 bool arg2 = (bool) True ;
d14a1e28
RD
7603 PyObject * obj0 = 0 ;
7604 PyObject * obj1 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self",(char *) "bShow", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7612 if (obj1) {
2f4c0a16
RD
7613 arg2 = (bool) SWIG_AsBool(obj1);
7614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7615 }
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->Show(arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 return resultobj;
7625 fail:
7626 return NULL;
7627}
7628
7629
2f4c0a16 7630static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7631 PyObject *resultobj;
7632 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7633 wxFrame *result;
7634 PyObject * obj0 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 {
7650 resultobj = wxPyMake_wxObject(result);
7651 }
7652 return resultobj;
7653 fail:
7654 return NULL;
7655}
7656
7657
2f4c0a16 7658static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7659 PyObject *resultobj;
7660 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7661 wxLog *result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
2f4c0a16 7677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
2f4c0a16 7684static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7685 PyObject *resultobj;
7686 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7687 bool result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
02a34c4c 7703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7704 return resultobj;
7705 fail:
7706 return NULL;
7707}
7708
7709
2f4c0a16 7710static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7711 PyObject *resultobj;
7712 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7713 bool arg2 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "bDoPass", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7723 arg2 = (bool) SWIG_AsBool(obj1);
7724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->PassMessages(arg2);
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 Py_INCREF(Py_None); resultobj = Py_None;
7733 return resultobj;
7734 fail:
7735 return NULL;
7736}
7737
7738
2f4c0a16 7739static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7740 PyObject *obj;
7741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7742 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7743 Py_INCREF(obj);
7744 return Py_BuildValue((char *)"");
7745}
2f4c0a16 7746static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7747 PyObject *resultobj;
7748 wxLog *arg1 = (wxLog *) 0 ;
7749 wxLogChain *result;
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "logger", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (wxLogChain *)new wxLogChain(arg1);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
2f4c0a16 7765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
2f4c0a16 7772static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7773 PyObject *resultobj;
7774 wxLogChain *arg1 = (wxLogChain *) 0 ;
7775 wxLog *arg2 = (wxLog *) 0 ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "logger", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 (arg1)->SetLog(arg2);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 return resultobj;
7796 fail:
7797 return NULL;
7798}
7799
7800
2f4c0a16 7801static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7802 PyObject *resultobj;
7803 wxLogChain *arg1 = (wxLogChain *) 0 ;
7804 bool arg2 ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self",(char *) "bDoPass", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7814 arg2 = (bool) SWIG_AsBool(obj1);
7815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->PassMessages(arg2);
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 Py_INCREF(Py_None); resultobj = Py_None;
7824 return resultobj;
7825 fail:
7826 return NULL;
7827}
7828
7829
2f4c0a16 7830static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7831 PyObject *resultobj;
7832 wxLogChain *arg1 = (wxLogChain *) 0 ;
7833 bool result;
7834 PyObject * obj0 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (bool)(arg1)->IsPassingMessages();
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
02a34c4c 7849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7850 return resultobj;
7851 fail:
7852 return NULL;
7853}
7854
7855
2f4c0a16 7856static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7857 PyObject *resultobj;
7858 wxLogChain *arg1 = (wxLogChain *) 0 ;
7859 wxLog *result;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (wxLog *)(arg1)->GetOldLog();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
2f4c0a16 7875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
2f4c0a16 7882static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7883 PyObject *obj;
7884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7885 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7886 Py_INCREF(obj);
7887 return Py_BuildValue((char *)"");
7888}
2f4c0a16 7889static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7890 PyObject *resultobj;
7891 unsigned long result;
7892 char *kwnames[] = {
7893 NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (unsigned long)wxSysErrorCode();
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
2f4c0a16 7904 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
2f4c0a16 7911static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7912 PyObject *resultobj;
7913 unsigned long arg1 = (unsigned long) 0 ;
7914 wxString result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "nErrCode", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7921 if (obj0) {
2f4c0a16
RD
7922 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7924 }
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = wxSysErrorMsg(arg1);
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 {
7933#if wxUSE_UNICODE
7934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7935#else
7936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7937#endif
7938 }
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
2f4c0a16 7945static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7946 PyObject *resultobj;
7947 wxString *arg1 = 0 ;
423f194a 7948 bool temp1 = False ;
d14a1e28
RD
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "msg", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7955 {
7956 arg1 = wxString_in_helper(obj0);
7957 if (arg1 == NULL) SWIG_fail;
423f194a 7958 temp1 = True;
d14a1e28
RD
7959 }
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 wxLogFatalError((wxString const &)*arg1);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 Py_INCREF(Py_None); resultobj = Py_None;
7968 {
7969 if (temp1)
7970 delete arg1;
7971 }
7972 return resultobj;
7973 fail:
7974 {
7975 if (temp1)
7976 delete arg1;
7977 }
7978 return NULL;
7979}
7980
7981
2f4c0a16 7982static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7983 PyObject *resultobj;
7984 wxString *arg1 = 0 ;
423f194a 7985 bool temp1 = False ;
d14a1e28
RD
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "msg", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7992 {
7993 arg1 = wxString_in_helper(obj0);
7994 if (arg1 == NULL) SWIG_fail;
423f194a 7995 temp1 = True;
d14a1e28
RD
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 wxLogError((wxString const &)*arg1);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 Py_INCREF(Py_None); resultobj = Py_None;
8005 {
8006 if (temp1)
8007 delete arg1;
8008 }
8009 return resultobj;
8010 fail:
8011 {
8012 if (temp1)
8013 delete arg1;
8014 }
8015 return NULL;
8016}
8017
8018
2f4c0a16 8019static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8020 PyObject *resultobj;
8021 wxString *arg1 = 0 ;
423f194a 8022 bool temp1 = False ;
d14a1e28
RD
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "msg", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8029 {
8030 arg1 = wxString_in_helper(obj0);
8031 if (arg1 == NULL) SWIG_fail;
423f194a 8032 temp1 = True;
d14a1e28
RD
8033 }
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 wxLogWarning((wxString const &)*arg1);
8037
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 Py_INCREF(Py_None); resultobj = Py_None;
8042 {
8043 if (temp1)
8044 delete arg1;
8045 }
8046 return resultobj;
8047 fail:
8048 {
8049 if (temp1)
8050 delete arg1;
8051 }
8052 return NULL;
8053}
8054
8055
2f4c0a16 8056static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8057 PyObject *resultobj;
8058 wxString *arg1 = 0 ;
423f194a 8059 bool temp1 = False ;
d14a1e28
RD
8060 PyObject * obj0 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "msg", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8066 {
8067 arg1 = wxString_in_helper(obj0);
8068 if (arg1 == NULL) SWIG_fail;
423f194a 8069 temp1 = True;
d14a1e28
RD
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 wxLogMessage((wxString const &)*arg1);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 Py_INCREF(Py_None); resultobj = Py_None;
8079 {
8080 if (temp1)
8081 delete arg1;
8082 }
8083 return resultobj;
8084 fail:
8085 {
8086 if (temp1)
8087 delete arg1;
8088 }
8089 return NULL;
8090}
8091
8092
2f4c0a16 8093static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8094 PyObject *resultobj;
8095 wxString *arg1 = 0 ;
423f194a 8096 bool temp1 = False ;
d14a1e28
RD
8097 PyObject * obj0 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "msg", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8103 {
8104 arg1 = wxString_in_helper(obj0);
8105 if (arg1 == NULL) SWIG_fail;
423f194a 8106 temp1 = True;
d14a1e28
RD
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 wxLogInfo((wxString const &)*arg1);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 Py_INCREF(Py_None); resultobj = Py_None;
8116 {
8117 if (temp1)
8118 delete arg1;
8119 }
8120 return resultobj;
8121 fail:
8122 {
8123 if (temp1)
8124 delete arg1;
8125 }
8126 return NULL;
8127}
8128
8129
2f4c0a16 8130static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8131 PyObject *resultobj;
8132 wxString *arg1 = 0 ;
423f194a 8133 bool temp1 = False ;
d14a1e28
RD
8134 PyObject * obj0 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "msg", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8140 {
8141 arg1 = wxString_in_helper(obj0);
8142 if (arg1 == NULL) SWIG_fail;
423f194a 8143 temp1 = True;
d14a1e28
RD
8144 }
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 wxLogDebug((wxString const &)*arg1);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 {
8154 if (temp1)
8155 delete arg1;
8156 }
8157 return resultobj;
8158 fail:
8159 {
8160 if (temp1)
8161 delete arg1;
8162 }
8163 return NULL;
8164}
8165
8166
2f4c0a16 8167static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8168 PyObject *resultobj;
8169 wxString *arg1 = 0 ;
423f194a 8170 bool temp1 = False ;
d14a1e28
RD
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "msg", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8177 {
8178 arg1 = wxString_in_helper(obj0);
8179 if (arg1 == NULL) SWIG_fail;
423f194a 8180 temp1 = True;
d14a1e28
RD
8181 }
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 wxLogVerbose((wxString const &)*arg1);
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 {
8191 if (temp1)
8192 delete arg1;
8193 }
8194 return resultobj;
8195 fail:
8196 {
8197 if (temp1)
8198 delete arg1;
8199 }
8200 return NULL;
8201}
8202
8203
2f4c0a16 8204static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8205 PyObject *resultobj;
8206 wxString *arg1 = 0 ;
423f194a 8207 bool temp1 = False ;
d14a1e28
RD
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "msg", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8214 {
8215 arg1 = wxString_in_helper(obj0);
8216 if (arg1 == NULL) SWIG_fail;
423f194a 8217 temp1 = True;
d14a1e28
RD
8218 }
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 wxLogStatus((wxString const &)*arg1);
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 {
8228 if (temp1)
8229 delete arg1;
8230 }
8231 return resultobj;
8232 fail:
8233 {
8234 if (temp1)
8235 delete arg1;
8236 }
8237 return NULL;
8238}
8239
8240
2f4c0a16 8241static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8242 PyObject *resultobj;
8243 wxFrame *arg1 = (wxFrame *) 0 ;
8244 wxString *arg2 = 0 ;
423f194a 8245 bool temp2 = False ;
d14a1e28
RD
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "pFrame",(char *) "msg", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8255 {
8256 arg2 = wxString_in_helper(obj1);
8257 if (arg2 == NULL) SWIG_fail;
423f194a 8258 temp2 = True;
d14a1e28
RD
8259 }
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 wxLogStatus(arg1,(wxString const &)*arg2);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 Py_INCREF(Py_None); resultobj = Py_None;
8268 {
8269 if (temp2)
8270 delete arg2;
8271 }
8272 return resultobj;
8273 fail:
8274 {
8275 if (temp2)
8276 delete arg2;
8277 }
8278 return NULL;
8279}
8280
8281
2f4c0a16 8282static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8283 PyObject *resultobj;
8284 wxString *arg1 = 0 ;
423f194a 8285 bool temp1 = False ;
d14a1e28
RD
8286 PyObject * obj0 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "msg", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8292 {
8293 arg1 = wxString_in_helper(obj0);
8294 if (arg1 == NULL) SWIG_fail;
423f194a 8295 temp1 = True;
d14a1e28
RD
8296 }
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 wxLogSysError((wxString const &)*arg1);
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
8305 {
8306 if (temp1)
8307 delete arg1;
8308 }
8309 return resultobj;
8310 fail:
8311 {
8312 if (temp1)
8313 delete arg1;
8314 }
8315 return NULL;
8316}
8317
8318
2f4c0a16 8319static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 8320 PyObject *resultobj;
0f774bef
RD
8321 unsigned long arg1 ;
8322 wxString *arg2 = 0 ;
8323 bool temp2 = False ;
d14a1e28 8324 PyObject * obj0 = 0 ;
0f774bef 8325 PyObject * obj1 = 0 ;
d14a1e28 8326
0f774bef 8327 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
2f4c0a16
RD
8328 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8330 {
0f774bef
RD
8331 arg2 = wxString_in_helper(obj1);
8332 if (arg2 == NULL) SWIG_fail;
8333 temp2 = True;
d14a1e28
RD
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
0f774bef 8337 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 {
0f774bef
RD
8344 if (temp2)
8345 delete arg2;
d14a1e28
RD
8346 }
8347 return resultobj;
8348 fail:
8349 {
0f774bef
RD
8350 if (temp2)
8351 delete arg2;
d14a1e28
RD
8352 }
8353 return NULL;
8354}
8355
8356
2f4c0a16 8357static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
8358 PyObject *resultobj;
8359 wxString *arg1 = 0 ;
8360 wxString *arg2 = 0 ;
423f194a
RD
8361 bool temp1 = False ;
8362 bool temp2 = False ;
d14a1e28
RD
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
d14a1e28 8365
0f774bef 8366 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8367 {
8368 arg1 = wxString_in_helper(obj0);
8369 if (arg1 == NULL) SWIG_fail;
423f194a 8370 temp1 = True;
d14a1e28
RD
8371 }
8372 {
8373 arg2 = wxString_in_helper(obj1);
8374 if (arg2 == NULL) SWIG_fail;
423f194a 8375 temp2 = True;
d14a1e28
RD
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 Py_INCREF(Py_None); resultobj = Py_None;
8385 {
8386 if (temp1)
8387 delete arg1;
8388 }
8389 {
8390 if (temp2)
8391 delete arg2;
8392 }
8393 return resultobj;
8394 fail:
8395 {
8396 if (temp1)
8397 delete arg1;
8398 }
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404}
8405
8406
0f774bef
RD
8407static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8408 int argc;
8409 PyObject *argv[3];
8410 int ii;
8411
8412 argc = PyObject_Length(args);
8413 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8414 argv[ii] = PyTuple_GetItem(args,ii);
8415 }
8416 if (argc == 2) {
8417 int _v;
8418 {
02a34c4c 8419 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
0f774bef
RD
8420 }
8421 if (_v) {
8422 {
02a34c4c 8423 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
0f774bef
RD
8424 }
8425 if (_v) {
8426 return _wrap_LogTrace__SWIG_1(self,args);
8427 }
8428 }
8429 }
8430 if (argc == 2) {
8431 int _v;
2f4c0a16 8432 _v = SWIG_CheckUnsignedLong(argv[0]);
0f774bef
RD
8433 if (_v) {
8434 {
02a34c4c 8435 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
0f774bef
RD
8436 }
8437 if (_v) {
8438 return _wrap_LogTrace__SWIG_0(self,args);
8439 }
8440 }
8441 }
8442
8443 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8444 return NULL;
8445}
8446
8447
2f4c0a16 8448static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8449 PyObject *resultobj;
8450 unsigned long arg1 ;
8451 wxString *arg2 = 0 ;
423f194a 8452 bool temp2 = False ;
d14a1e28
RD
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "level",(char *) "msg", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8460 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8462 {
8463 arg2 = wxString_in_helper(obj1);
8464 if (arg2 == NULL) SWIG_fail;
423f194a 8465 temp2 = True;
d14a1e28
RD
8466 }
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 wxLogGeneric(arg1,(wxString const &)*arg2);
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 Py_INCREF(Py_None); resultobj = Py_None;
8475 {
8476 if (temp2)
8477 delete arg2;
8478 }
8479 return resultobj;
8480 fail:
8481 {
8482 if (temp2)
8483 delete arg2;
8484 }
8485 return NULL;
8486}
8487
8488
2f4c0a16 8489static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8490 PyObject *resultobj;
8491 wxString *arg1 = 0 ;
8492 wxString *arg2 = 0 ;
423f194a
RD
8493 bool temp1 = False ;
8494 bool temp2 = False ;
d14a1e28
RD
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "title",(char *) "text", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8502 {
8503 arg1 = wxString_in_helper(obj0);
8504 if (arg1 == NULL) SWIG_fail;
423f194a 8505 temp1 = True;
d14a1e28
RD
8506 }
8507 {
8508 arg2 = wxString_in_helper(obj1);
8509 if (arg2 == NULL) SWIG_fail;
423f194a 8510 temp2 = True;
d14a1e28
RD
8511 }
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 Py_INCREF(Py_None); resultobj = Py_None;
8520 {
8521 if (temp1)
8522 delete arg1;
8523 }
8524 {
8525 if (temp2)
8526 delete arg2;
8527 }
8528 return resultobj;
8529 fail:
8530 {
8531 if (temp1)
8532 delete arg1;
8533 }
8534 {
8535 if (temp2)
8536 delete arg2;
8537 }
8538 return NULL;
8539}
8540
8541
2f4c0a16 8542static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8543 PyObject *resultobj;
8544 wxLogNull *result;
8545 char *kwnames[] = {
8546 NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 result = (wxLogNull *)new wxLogNull();
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
2f4c0a16 8557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
8558 return resultobj;
8559 fail:
8560 return NULL;
8561}
8562
8563
2f4c0a16 8564static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8565 PyObject *resultobj;
8566 wxLogNull *arg1 = (wxLogNull *) 0 ;
8567 PyObject * obj0 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 delete arg1;
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 Py_INCREF(Py_None); resultobj = Py_None;
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
2f4c0a16 8589static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8590 PyObject *obj;
8591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8592 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8593 Py_INCREF(obj);
8594 return Py_BuildValue((char *)"");
8595}
2f4c0a16 8596static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8597 PyObject *resultobj;
8598 wxPyLog *result;
8599 char *kwnames[] = {
8600 NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (wxPyLog *)new wxPyLog();
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
2f4c0a16 8611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
2f4c0a16 8618static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8619 PyObject *resultobj;
8620 wxPyLog *arg1 = (wxPyLog *) 0 ;
8621 PyObject *arg2 = (PyObject *) 0 ;
8622 PyObject *arg3 = (PyObject *) 0 ;
8623 PyObject * obj0 = 0 ;
8624 PyObject * obj1 = 0 ;
8625 PyObject * obj2 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "self",(char *) "_class", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8633 arg2 = obj1;
8634 arg3 = obj2;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 (arg1)->_setCallbackInfo(arg2,arg3);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 Py_INCREF(Py_None); resultobj = Py_None;
8643 return resultobj;
8644 fail:
8645 return NULL;
8646}
8647
8648
2f4c0a16 8649static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8650 PyObject *obj;
8651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8652 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8653 Py_INCREF(obj);
8654 return Py_BuildValue((char *)"");
8655}
2f4c0a16 8656static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8657 PyObject *resultobj;
8658 int arg1 ;
8659 int arg2 = (int) wxSIGTERM ;
8660 int result;
8edf1c75
RD
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
d14a1e28
RD
8663 char *kwnames[] = {
8664 (char *) "pid",(char *) "sig", NULL
8665 };
8666
8edf1c75 8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8668 arg1 = (int) SWIG_AsInt(obj0);
8669 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8670 if (obj1) {
2f4c0a16
RD
8671 arg2 = (wxSignal) SWIG_AsInt(obj1);
8672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8673 }
d14a1e28
RD
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
2f4c0a16 8681 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
2f4c0a16 8688static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8689 PyObject *resultobj;
8690 int arg1 ;
8691 bool result;
8edf1c75 8692 PyObject * obj0 = 0 ;
d14a1e28
RD
8693 char *kwnames[] = {
8694 (char *) "pid", NULL
8695 };
8696
8edf1c75 8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8698 arg1 = (int) SWIG_AsInt(obj0);
8699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (bool)wxPyProcess::Exists(arg1);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
02a34c4c 8707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8708 return resultobj;
8709 fail:
8710 return NULL;
8711}
8712
8713
2f4c0a16 8714static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8715 PyObject *resultobj;
8716 wxString *arg1 = 0 ;
8717 int arg2 = (int) wxEXEC_ASYNC ;
8718 wxPyProcess *result;
423f194a 8719 bool temp1 = False ;
d14a1e28 8720 PyObject * obj0 = 0 ;
8edf1c75 8721 PyObject * obj1 = 0 ;
d14a1e28
RD
8722 char *kwnames[] = {
8723 (char *) "cmd",(char *) "flags", NULL
8724 };
8725
8edf1c75 8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8727 {
8728 arg1 = wxString_in_helper(obj0);
8729 if (arg1 == NULL) SWIG_fail;
423f194a 8730 temp1 = True;
d14a1e28 8731 }
8edf1c75 8732 if (obj1) {
2f4c0a16
RD
8733 arg2 = (int) SWIG_AsInt(obj1);
8734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8735 }
d14a1e28
RD
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
2f4c0a16 8743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
8744 {
8745 if (temp1)
8746 delete arg1;
8747 }
8748 return resultobj;
8749 fail:
8750 {
8751 if (temp1)
8752 delete arg1;
8753 }
8754 return NULL;
8755}
8756
8757
2f4c0a16 8758static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8759 PyObject *resultobj;
8760 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8761 int arg2 = (int) -1 ;
8762 wxPyProcess *result;
8763 PyObject * obj0 = 0 ;
8edf1c75 8764 PyObject * obj1 = 0 ;
d14a1e28
RD
8765 char *kwnames[] = {
8766 (char *) "parent",(char *) "id", NULL
8767 };
8768
8edf1c75 8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8770 if (obj0) {
2f4c0a16
RD
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8773 }
8edf1c75 8774 if (obj1) {
2f4c0a16
RD
8775 arg2 = (int) SWIG_AsInt(obj1);
8776 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8777 }
d14a1e28
RD
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
2f4c0a16 8785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
8786 return resultobj;
8787 fail:
8788 return NULL;
8789}
8790
8791
2f4c0a16 8792static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8795 PyObject *arg2 = (PyObject *) 0 ;
8796 PyObject *arg3 = (PyObject *) 0 ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 PyObject * obj2 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "self",(char *) "_class", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8807 arg2 = obj1;
8808 arg3 = obj2;
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 (arg1)->_setCallbackInfo(arg2,arg3);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 return resultobj;
8818 fail:
8819 return NULL;
8820}
8821
8822
2f4c0a16 8823static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8824 PyObject *resultobj;
8825 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8826 int arg2 ;
8827 int arg3 ;
8828 PyObject * obj0 = 0 ;
8edf1c75
RD
8829 PyObject * obj1 = 0 ;
8830 PyObject * obj2 = 0 ;
d14a1e28
RD
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "pid",(char *) "status", NULL
8833 };
8834
8edf1c75 8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8838 arg2 = (int) SWIG_AsInt(obj1);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 arg3 = (int) SWIG_AsInt(obj2);
8841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->base_OnTerminate(arg2,arg3);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
2f4c0a16 8856static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8857 PyObject *resultobj;
8858 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 (arg1)->Redirect();
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 Py_INCREF(Py_None); resultobj = Py_None;
8875 return resultobj;
8876 fail:
8877 return NULL;
8878}
8879
8880
2f4c0a16 8881static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8882 PyObject *resultobj;
8883 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8884 bool result;
8885 PyObject * obj0 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (bool)(arg1)->IsRedirected();
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
02a34c4c 8900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
2f4c0a16 8907static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8908 PyObject *resultobj;
8909 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8910 PyObject * obj0 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 (arg1)->Detach();
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 Py_INCREF(Py_None); resultobj = Py_None;
8926 return resultobj;
8927 fail:
8928 return NULL;
8929}
8930
8931
2f4c0a16 8932static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8933 PyObject *resultobj;
8934 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8935 wxInputStream *result;
8936 PyObject * obj0 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 result = (wxInputStream *)(arg1)->GetInputStream();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 {
8952 wxPyInputStream * _ptr = NULL;
8953
8954 if (result) {
8955 _ptr = new wxPyInputStream(result);
8956 }
423f194a 8957 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8958 }
8959 return resultobj;
8960 fail:
8961 return NULL;
8962}
8963
8964
2f4c0a16 8965static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8966 PyObject *resultobj;
8967 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8968 wxInputStream *result;
8969 PyObject * obj0 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (wxInputStream *)(arg1)->GetErrorStream();
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 {
8985 wxPyInputStream * _ptr = NULL;
8986
8987 if (result) {
8988 _ptr = new wxPyInputStream(result);
8989 }
423f194a 8990 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8991 }
8992 return resultobj;
8993 fail:
8994 return NULL;
8995}
8996
8997
2f4c0a16 8998static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8999 PyObject *resultobj;
9000 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9001 wxOutputStream *result;
9002 PyObject * obj0 = 0 ;
9003 char *kwnames[] = {
9004 (char *) "self", NULL
9005 };
9006
9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 result = (wxOutputStream *)(arg1)->GetOutputStream();
9013
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
2f4c0a16 9017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
9018 return resultobj;
9019 fail:
9020 return NULL;
9021}
9022
9023
2f4c0a16 9024static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9025 PyObject *resultobj;
9026 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9027 PyObject * obj0 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 (arg1)->CloseOutput();
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 Py_INCREF(Py_None); resultobj = Py_None;
9043 return resultobj;
9044 fail:
9045 return NULL;
9046}
9047
9048
2f4c0a16 9049static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9050 PyObject *resultobj;
9051 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9052 bool result;
9053 PyObject * obj0 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "self", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
02a34c4c 9068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9069 return resultobj;
9070 fail:
9071 return NULL;
9072}
9073
9074
2f4c0a16 9075static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9076 PyObject *resultobj;
9077 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9078 bool result;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
02a34c4c 9094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9095 return resultobj;
9096 fail:
9097 return NULL;
9098}
9099
9100
2f4c0a16 9101static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9102 PyObject *resultobj;
9103 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9104 bool result;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
02a34c4c 9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9121 return resultobj;
9122 fail:
9123 return NULL;
9124}
9125
9126
2f4c0a16 9127static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9128 PyObject *obj;
9129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9130 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9131 Py_INCREF(obj);
9132 return Py_BuildValue((char *)"");
9133}
2f4c0a16 9134static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9135 PyObject *resultobj;
9136 int arg1 = (int) 0 ;
9137 int arg2 = (int) 0 ;
9138 int arg3 = (int) 0 ;
9139 wxProcessEvent *result;
8edf1c75
RD
9140 PyObject * obj0 = 0 ;
9141 PyObject * obj1 = 0 ;
9142 PyObject * obj2 = 0 ;
d14a1e28
RD
9143 char *kwnames[] = {
9144 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9145 };
9146
8edf1c75
RD
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9148 if (obj0) {
2f4c0a16
RD
9149 arg1 = (int) SWIG_AsInt(obj0);
9150 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9151 }
9152 if (obj1) {
2f4c0a16
RD
9153 arg2 = (int) SWIG_AsInt(obj1);
9154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9155 }
9156 if (obj2) {
2f4c0a16
RD
9157 arg3 = (int) SWIG_AsInt(obj2);
9158 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9159 }
d14a1e28
RD
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
2f4c0a16 9167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
9168 return resultobj;
9169 fail:
9170 return NULL;
9171}
9172
9173
2f4c0a16 9174static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9175 PyObject *resultobj;
9176 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9177 int result;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (int)(arg1)->GetPid();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
2f4c0a16 9193 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
2f4c0a16 9200static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9201 PyObject *resultobj;
9202 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9203 int result;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (int)(arg1)->GetExitCode();
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
2f4c0a16 9219 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9220 return resultobj;
9221 fail:
9222 return NULL;
9223}
9224
9225
2f4c0a16 9226static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9227 PyObject *resultobj;
9228 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9229 int arg2 ;
9230 PyObject * obj0 = 0 ;
8edf1c75 9231 PyObject * obj1 = 0 ;
d14a1e28
RD
9232 char *kwnames[] = {
9233 (char *) "self",(char *) "m_pid", NULL
9234 };
9235
8edf1c75 9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9239 arg2 = (int) SWIG_AsInt(obj1);
9240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9241 if (arg1) (arg1)->m_pid = arg2;
9242
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247}
9248
9249
2f4c0a16 9250static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9251 PyObject *resultobj;
9252 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9253 int result;
9254 PyObject * obj0 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9262 result = (int) ((arg1)->m_pid);
9263
2f4c0a16 9264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
2f4c0a16 9271static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9272 PyObject *resultobj;
9273 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9274 int arg2 ;
9275 PyObject * obj0 = 0 ;
8edf1c75 9276 PyObject * obj1 = 0 ;
d14a1e28
RD
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "m_exitcode", NULL
9279 };
9280
8edf1c75 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 arg2 = (int) SWIG_AsInt(obj1);
9285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9286 if (arg1) (arg1)->m_exitcode = arg2;
9287
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
2f4c0a16 9295static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9296 PyObject *resultobj;
9297 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9298 int result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9307 result = (int) ((arg1)->m_exitcode);
9308
2f4c0a16 9309 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9310 return resultobj;
9311 fail:
9312 return NULL;
9313}
9314
9315
2f4c0a16 9316static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9317 PyObject *obj;
9318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9319 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9320 Py_INCREF(obj);
9321 return Py_BuildValue((char *)"");
9322}
2f4c0a16 9323static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9324 PyObject *resultobj;
9325 wxString *arg1 = 0 ;
9326 int arg2 = (int) wxEXEC_ASYNC ;
9327 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9328 long result;
423f194a 9329 bool temp1 = False ;
d14a1e28 9330 PyObject * obj0 = 0 ;
8edf1c75 9331 PyObject * obj1 = 0 ;
d14a1e28
RD
9332 PyObject * obj2 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "command",(char *) "flags",(char *) "process", NULL
9335 };
9336
8edf1c75 9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9338 {
9339 arg1 = wxString_in_helper(obj0);
9340 if (arg1 == NULL) SWIG_fail;
423f194a 9341 temp1 = True;
d14a1e28 9342 }
8edf1c75 9343 if (obj1) {
2f4c0a16
RD
9344 arg2 = (int) SWIG_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9346 }
d14a1e28 9347 if (obj2) {
2f4c0a16
RD
9348 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9350 }
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
2f4c0a16 9358 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9359 {
9360 if (temp1)
9361 delete arg1;
9362 }
9363 return resultobj;
9364 fail:
9365 {
9366 if (temp1)
9367 delete arg1;
9368 }
9369 return NULL;
9370}
9371
9372
2f4c0a16 9373static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9374 PyObject *resultobj;
9375 int arg1 = (int) wxJOYSTICK1 ;
9376 wxJoystick *result;
8edf1c75 9377 PyObject * obj0 = 0 ;
d14a1e28
RD
9378 char *kwnames[] = {
9379 (char *) "joystick", NULL
9380 };
9381
8edf1c75
RD
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9383 if (obj0) {
2f4c0a16
RD
9384 arg1 = (int) SWIG_AsInt(obj0);
9385 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9386 }
d14a1e28
RD
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (wxJoystick *)new wxJoystick(arg1);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
2f4c0a16 9394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
2f4c0a16 9401static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9402 PyObject *resultobj;
9403 wxJoystick *arg1 = (wxJoystick *) 0 ;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 delete arg1;
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 Py_INCREF(Py_None); resultobj = Py_None;
9420 return resultobj;
9421 fail:
9422 return NULL;
9423}
9424
9425
2f4c0a16 9426static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9427 PyObject *resultobj;
9428 wxJoystick *arg1 = (wxJoystick *) 0 ;
9429 wxPoint result;
9430 PyObject * obj0 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (arg1)->GetPosition();
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
9446 wxPoint * resultptr;
9447 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 9448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453}
9454
9455
2f4c0a16 9456static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9457 PyObject *resultobj;
9458 wxJoystick *arg1 = (wxJoystick *) 0 ;
9459 int result;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (int)(arg1)->GetZPosition();
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
2f4c0a16 9475 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9476 return resultobj;
9477 fail:
9478 return NULL;
9479}
9480
9481
2f4c0a16 9482static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9483 PyObject *resultobj;
9484 wxJoystick *arg1 = (wxJoystick *) 0 ;
9485 int result;
9486 PyObject * obj0 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (int)(arg1)->GetButtonState();
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
2f4c0a16 9501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
2f4c0a16 9508static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9509 PyObject *resultobj;
9510 wxJoystick *arg1 = (wxJoystick *) 0 ;
9511 int result;
9512 PyObject * obj0 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 result = (int)(arg1)->GetPOVPosition();
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
2f4c0a16 9527 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9528 return resultobj;
9529 fail:
9530 return NULL;
9531}
9532
9533
2f4c0a16 9534static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9535 PyObject *resultobj;
9536 wxJoystick *arg1 = (wxJoystick *) 0 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (int)(arg1)->GetPOVCTSPosition();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
2f4c0a16 9553 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
2f4c0a16 9560static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9561 PyObject *resultobj;
9562 wxJoystick *arg1 = (wxJoystick *) 0 ;
9563 int result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (int)(arg1)->GetRudderPosition();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
2f4c0a16 9579 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9580 return resultobj;
9581 fail:
9582 return NULL;
9583}
9584
9585
2f4c0a16 9586static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (int)(arg1)->GetUPosition();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
2f4c0a16 9605 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
2f4c0a16 9612static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9613 PyObject *resultobj;
9614 wxJoystick *arg1 = (wxJoystick *) 0 ;
9615 int result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (int)(arg1)->GetVPosition();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
2f4c0a16 9631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9632 return resultobj;
9633 fail:
9634 return NULL;
9635}
9636
9637
2f4c0a16 9638static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9639 PyObject *resultobj;
9640 wxJoystick *arg1 = (wxJoystick *) 0 ;
9641 int result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (int)(arg1)->GetMovementThreshold();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
2f4c0a16 9657 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9658 return resultobj;
9659 fail:
9660 return NULL;
9661}
9662
9663
2f4c0a16 9664static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9665 PyObject *resultobj;
9666 wxJoystick *arg1 = (wxJoystick *) 0 ;
9667 int arg2 ;
9668 PyObject * obj0 = 0 ;
8edf1c75 9669 PyObject * obj1 = 0 ;
d14a1e28
RD
9670 char *kwnames[] = {
9671 (char *) "self",(char *) "threshold", NULL
9672 };
9673
8edf1c75 9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9677 arg2 = (int) SWIG_AsInt(obj1);
9678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 (arg1)->SetMovementThreshold(arg2);
9682
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 Py_INCREF(Py_None); resultobj = Py_None;
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
2f4c0a16 9693static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9694 PyObject *resultobj;
9695 wxJoystick *arg1 = (wxJoystick *) 0 ;
9696 bool result;
9697 PyObject * obj0 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->IsOk();
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
02a34c4c 9712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9713 return resultobj;
9714 fail:
9715 return NULL;
9716}
9717
9718
2f4c0a16 9719static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9720 PyObject *resultobj;
9721 wxJoystick *arg1 = (wxJoystick *) 0 ;
9722 int result;
9723 PyObject * obj0 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (int)(arg1)->GetNumberJoysticks();
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
2f4c0a16 9738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9739 return resultobj;
9740 fail:
9741 return NULL;
9742}
9743
9744
2f4c0a16 9745static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9746 PyObject *resultobj;
9747 wxJoystick *arg1 = (wxJoystick *) 0 ;
9748 int result;
9749 PyObject * obj0 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (int)(arg1)->GetManufacturerId();
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
2f4c0a16 9764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9765 return resultobj;
9766 fail:
9767 return NULL;
9768}
9769
9770
2f4c0a16 9771static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9772 PyObject *resultobj;
9773 wxJoystick *arg1 = (wxJoystick *) 0 ;
9774 int result;
9775 PyObject * obj0 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (int)(arg1)->GetProductId();
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
2f4c0a16 9790 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9791 return resultobj;
9792 fail:
9793 return NULL;
9794}
9795
9796
2f4c0a16 9797static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9798 PyObject *resultobj;
9799 wxJoystick *arg1 = (wxJoystick *) 0 ;
9800 wxString result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (arg1)->GetProductName();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
9817#if wxUSE_UNICODE
9818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9819#else
9820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9821#endif
9822 }
9823 return resultobj;
9824 fail:
9825 return NULL;
9826}
9827
9828
2f4c0a16 9829static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9830 PyObject *resultobj;
9831 wxJoystick *arg1 = (wxJoystick *) 0 ;
9832 int result;
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (int)(arg1)->GetXMin();
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
2f4c0a16 9848 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9849 return resultobj;
9850 fail:
9851 return NULL;
9852}
9853
9854
2f4c0a16 9855static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9856 PyObject *resultobj;
9857 wxJoystick *arg1 = (wxJoystick *) 0 ;
9858 int result;
9859 PyObject * obj0 = 0 ;
9860 char *kwnames[] = {
9861 (char *) "self", NULL
9862 };
9863
9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (int)(arg1)->GetYMin();
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
2f4c0a16 9874 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9875 return resultobj;
9876 fail:
9877 return NULL;
9878}
9879
9880
2f4c0a16 9881static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9882 PyObject *resultobj;
9883 wxJoystick *arg1 = (wxJoystick *) 0 ;
9884 int result;
9885 PyObject * obj0 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "self", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 result = (int)(arg1)->GetZMin();
9896
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
2f4c0a16 9900 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9901 return resultobj;
9902 fail:
9903 return NULL;
9904}
9905
9906
2f4c0a16 9907static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9908 PyObject *resultobj;
9909 wxJoystick *arg1 = (wxJoystick *) 0 ;
9910 int result;
9911 PyObject * obj0 = 0 ;
9912 char *kwnames[] = {
9913 (char *) "self", NULL
9914 };
9915
9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (int)(arg1)->GetXMax();
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
2f4c0a16 9926 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9927 return resultobj;
9928 fail:
9929 return NULL;
9930}
9931
9932
2f4c0a16 9933static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9934 PyObject *resultobj;
9935 wxJoystick *arg1 = (wxJoystick *) 0 ;
9936 int result;
9937 PyObject * obj0 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (int)(arg1)->GetYMax();
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
2f4c0a16 9952 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9953 return resultobj;
9954 fail:
9955 return NULL;
9956}
9957
9958
2f4c0a16 9959static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9960 PyObject *resultobj;
9961 wxJoystick *arg1 = (wxJoystick *) 0 ;
9962 int result;
9963 PyObject * obj0 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (int)(arg1)->GetZMax();
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
2f4c0a16 9978 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9979 return resultobj;
9980 fail:
9981 return NULL;
9982}
9983
9984
2f4c0a16 9985static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9986 PyObject *resultobj;
9987 wxJoystick *arg1 = (wxJoystick *) 0 ;
9988 int result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)(arg1)->GetNumberButtons();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
2f4c0a16 10004 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10005 return resultobj;
10006 fail:
10007 return NULL;
10008}
10009
10010
2f4c0a16 10011static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10012 PyObject *resultobj;
10013 wxJoystick *arg1 = (wxJoystick *) 0 ;
10014 int result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (int)(arg1)->GetNumberAxes();
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
2f4c0a16 10030 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10031 return resultobj;
10032 fail:
10033 return NULL;
10034}
10035
10036
2f4c0a16 10037static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10038 PyObject *resultobj;
10039 wxJoystick *arg1 = (wxJoystick *) 0 ;
10040 int result;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (int)(arg1)->GetMaxButtons();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
2f4c0a16 10056 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
2f4c0a16 10063static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10064 PyObject *resultobj;
10065 wxJoystick *arg1 = (wxJoystick *) 0 ;
10066 int result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (int)(arg1)->GetMaxAxes();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
2f4c0a16 10082 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10083 return resultobj;
10084 fail:
10085 return NULL;
10086}
10087
10088
2f4c0a16 10089static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10090 PyObject *resultobj;
10091 wxJoystick *arg1 = (wxJoystick *) 0 ;
10092 int result;
10093 PyObject * obj0 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (int)(arg1)->GetPollingMin();
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
2f4c0a16 10108 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10109 return resultobj;
10110 fail:
10111 return NULL;
10112}
10113
10114
2f4c0a16 10115static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10116 PyObject *resultobj;
10117 wxJoystick *arg1 = (wxJoystick *) 0 ;
10118 int result;
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)(arg1)->GetPollingMax();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
2f4c0a16 10134 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10135 return resultobj;
10136 fail:
10137 return NULL;
10138}
10139
10140
2f4c0a16 10141static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10142 PyObject *resultobj;
10143 wxJoystick *arg1 = (wxJoystick *) 0 ;
10144 int result;
10145 PyObject * obj0 = 0 ;
10146 char *kwnames[] = {
10147 (char *) "self", NULL
10148 };
10149
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (int)(arg1)->GetRudderMin();
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
2f4c0a16 10160 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10161 return resultobj;
10162 fail:
10163 return NULL;
10164}
10165
10166
2f4c0a16 10167static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10168 PyObject *resultobj;
10169 wxJoystick *arg1 = (wxJoystick *) 0 ;
10170 int result;
10171 PyObject * obj0 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 result = (int)(arg1)->GetRudderMax();
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
2f4c0a16 10186 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10187 return resultobj;
10188 fail:
10189 return NULL;
10190}
10191
10192
2f4c0a16 10193static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10194 PyObject *resultobj;
10195 wxJoystick *arg1 = (wxJoystick *) 0 ;
10196 int result;
10197 PyObject * obj0 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (int)(arg1)->GetUMin();
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
2f4c0a16 10212 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
2f4c0a16 10219static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10220 PyObject *resultobj;
10221 wxJoystick *arg1 = (wxJoystick *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (int)(arg1)->GetUMax();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
2f4c0a16 10238 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
2f4c0a16 10245static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10246 PyObject *resultobj;
10247 wxJoystick *arg1 = (wxJoystick *) 0 ;
10248 int result;
10249 PyObject * obj0 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (int)(arg1)->GetVMin();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
2f4c0a16 10264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
2f4c0a16 10271static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10272 PyObject *resultobj;
10273 wxJoystick *arg1 = (wxJoystick *) 0 ;
10274 int result;
10275 PyObject * obj0 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "self", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 result = (int)(arg1)->GetVMax();
10286
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
2f4c0a16 10290 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10291 return resultobj;
10292 fail:
10293 return NULL;
10294}
10295
10296
2f4c0a16 10297static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10298 PyObject *resultobj;
10299 wxJoystick *arg1 = (wxJoystick *) 0 ;
10300 bool result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (bool)(arg1)->HasRudder();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
02a34c4c 10316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10317 return resultobj;
10318 fail:
10319 return NULL;
10320}
10321
10322
2f4c0a16 10323static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10324 PyObject *resultobj;
10325 wxJoystick *arg1 = (wxJoystick *) 0 ;
10326 bool result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (bool)(arg1)->HasZ();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
02a34c4c 10342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10343 return resultobj;
10344 fail:
10345 return NULL;
10346}
10347
10348
2f4c0a16 10349static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10350 PyObject *resultobj;
10351 wxJoystick *arg1 = (wxJoystick *) 0 ;
10352 bool result;
10353 PyObject * obj0 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->HasU();
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
02a34c4c 10368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10369 return resultobj;
10370 fail:
10371 return NULL;
10372}
10373
10374
2f4c0a16 10375static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10376 PyObject *resultobj;
10377 wxJoystick *arg1 = (wxJoystick *) 0 ;
10378 bool result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (bool)(arg1)->HasV();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
02a34c4c 10394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
2f4c0a16 10401static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10402 PyObject *resultobj;
10403 wxJoystick *arg1 = (wxJoystick *) 0 ;
10404 bool result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (bool)(arg1)->HasPOV();
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
02a34c4c 10420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10421 return resultobj;
10422 fail:
10423 return NULL;
10424}
10425
10426
2f4c0a16 10427static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10428 PyObject *resultobj;
10429 wxJoystick *arg1 = (wxJoystick *) 0 ;
10430 bool result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (bool)(arg1)->HasPOV4Dir();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
02a34c4c 10446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
2f4c0a16 10453static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10454 PyObject *resultobj;
10455 wxJoystick *arg1 = (wxJoystick *) 0 ;
10456 bool result;
10457 PyObject * obj0 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (bool)(arg1)->HasPOVCTS();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
02a34c4c 10472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
2f4c0a16 10479static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10480 PyObject *resultobj;
10481 wxJoystick *arg1 = (wxJoystick *) 0 ;
10482 wxWindow *arg2 = (wxWindow *) 0 ;
10483 int arg3 = (int) 0 ;
10484 bool result;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
8edf1c75 10487 PyObject * obj2 = 0 ;
d14a1e28
RD
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10490 };
10491
8edf1c75 10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10497 if (obj2) {
2f4c0a16
RD
10498 arg3 = (int) SWIG_AsInt(obj2);
10499 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10500 }
d14a1e28
RD
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)(arg1)->SetCapture(arg2,arg3);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
02a34c4c 10508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10509 return resultobj;
10510 fail:
10511 return NULL;
10512}
10513
10514
2f4c0a16 10515static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10516 PyObject *resultobj;
10517 wxJoystick *arg1 = (wxJoystick *) 0 ;
10518 bool result;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = (bool)(arg1)->ReleaseCapture();
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
02a34c4c 10534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10535 return resultobj;
10536 fail:
10537 return NULL;
10538}
10539
10540
2f4c0a16 10541static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10542 PyObject *obj;
10543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10544 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10545 Py_INCREF(obj);
10546 return Py_BuildValue((char *)"");
10547}
2f4c0a16 10548static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10549 PyObject *resultobj;
10550 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10551 wxPoint *arg2 = (wxPoint *) 0 ;
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self",(char *) "m_pos", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10563 if (arg1) (arg1)->m_pos = *arg2;
10564
10565 Py_INCREF(Py_None); resultobj = Py_None;
10566 return resultobj;
10567 fail:
10568 return NULL;
10569}
10570
10571
2f4c0a16 10572static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10573 PyObject *resultobj;
10574 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10575 wxPoint *result;
10576 PyObject * obj0 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10584 result = (wxPoint *)& ((arg1)->m_pos);
10585
2f4c0a16 10586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
2f4c0a16 10593static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10594 PyObject *resultobj;
10595 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10596 int arg2 ;
10597 PyObject * obj0 = 0 ;
8edf1c75 10598 PyObject * obj1 = 0 ;
d14a1e28
RD
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "m_zPosition", NULL
10601 };
10602
8edf1c75 10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10606 arg2 = (int) SWIG_AsInt(obj1);
10607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10608 if (arg1) (arg1)->m_zPosition = arg2;
10609
10610 Py_INCREF(Py_None); resultobj = Py_None;
10611 return resultobj;
10612 fail:
10613 return NULL;
10614}
10615
10616
2f4c0a16 10617static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10618 PyObject *resultobj;
10619 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10620 int result;
10621 PyObject * obj0 = 0 ;
10622 char *kwnames[] = {
10623 (char *) "self", NULL
10624 };
10625
10626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10629 result = (int) ((arg1)->m_zPosition);
10630
2f4c0a16 10631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10632 return resultobj;
10633 fail:
10634 return NULL;
10635}
10636
10637
2f4c0a16 10638static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10639 PyObject *resultobj;
10640 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10641 int arg2 ;
10642 PyObject * obj0 = 0 ;
8edf1c75 10643 PyObject * obj1 = 0 ;
d14a1e28
RD
10644 char *kwnames[] = {
10645 (char *) "self",(char *) "m_buttonChange", NULL
10646 };
10647
8edf1c75 10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10651 arg2 = (int) SWIG_AsInt(obj1);
10652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10653 if (arg1) (arg1)->m_buttonChange = arg2;
10654
10655 Py_INCREF(Py_None); resultobj = Py_None;
10656 return resultobj;
10657 fail:
10658 return NULL;
10659}
10660
10661
2f4c0a16 10662static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10663 PyObject *resultobj;
10664 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10665 int result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10674 result = (int) ((arg1)->m_buttonChange);
10675
2f4c0a16 10676 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10677 return resultobj;
10678 fail:
10679 return NULL;
10680}
10681
10682
2f4c0a16 10683static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10684 PyObject *resultobj;
10685 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10686 int arg2 ;
10687 PyObject * obj0 = 0 ;
8edf1c75 10688 PyObject * obj1 = 0 ;
d14a1e28
RD
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "m_buttonState", NULL
10691 };
10692
8edf1c75 10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10696 arg2 = (int) SWIG_AsInt(obj1);
10697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10698 if (arg1) (arg1)->m_buttonState = arg2;
10699
10700 Py_INCREF(Py_None); resultobj = Py_None;
10701 return resultobj;
10702 fail:
10703 return NULL;
10704}
10705
10706
2f4c0a16 10707static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10708 PyObject *resultobj;
10709 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10710 int result;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10719 result = (int) ((arg1)->m_buttonState);
10720
2f4c0a16 10721 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10722 return resultobj;
10723 fail:
10724 return NULL;
10725}
10726
10727
2f4c0a16 10728static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10729 PyObject *resultobj;
10730 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10731 int arg2 ;
10732 PyObject * obj0 = 0 ;
8edf1c75 10733 PyObject * obj1 = 0 ;
d14a1e28
RD
10734 char *kwnames[] = {
10735 (char *) "self",(char *) "m_joyStick", NULL
10736 };
10737
8edf1c75 10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10741 arg2 = (int) SWIG_AsInt(obj1);
10742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10743 if (arg1) (arg1)->m_joyStick = arg2;
10744
10745 Py_INCREF(Py_None); resultobj = Py_None;
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
2f4c0a16 10752static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10753 PyObject *resultobj;
10754 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10755 int result;
10756 PyObject * obj0 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10764 result = (int) ((arg1)->m_joyStick);
10765
2f4c0a16 10766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10767 return resultobj;
10768 fail:
10769 return NULL;
10770}
10771
10772
2f4c0a16 10773static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10774 PyObject *resultobj;
10775 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10776 int arg2 = (int) 0 ;
10777 int arg3 = (int) wxJOYSTICK1 ;
10778 int arg4 = (int) 0 ;
10779 wxJoystickEvent *result;
8edf1c75
RD
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 PyObject * obj2 = 0 ;
10783 PyObject * obj3 = 0 ;
d14a1e28
RD
10784 char *kwnames[] = {
10785 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10786 };
10787
8edf1c75
RD
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10789 if (obj0) {
2f4c0a16
RD
10790 arg1 = (wxEventType) SWIG_AsInt(obj0);
10791 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10792 }
10793 if (obj1) {
2f4c0a16
RD
10794 arg2 = (int) SWIG_AsInt(obj1);
10795 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10796 }
10797 if (obj2) {
2f4c0a16
RD
10798 arg3 = (int) SWIG_AsInt(obj2);
10799 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10800 }
10801 if (obj3) {
2f4c0a16
RD
10802 arg4 = (int) SWIG_AsInt(obj3);
10803 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10804 }
d14a1e28
RD
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
2f4c0a16 10812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
10813 return resultobj;
10814 fail:
10815 return NULL;
10816}
10817
10818
2f4c0a16 10819static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10820 PyObject *resultobj;
10821 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10822 wxPoint result;
10823 PyObject * obj0 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 {
10839 wxPoint * resultptr;
10840 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 10841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10842 }
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
2f4c0a16 10849static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10850 PyObject *resultobj;
10851 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10852 int result;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
2f4c0a16 10868 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10869 return resultobj;
10870 fail:
10871 return NULL;
10872}
10873
10874
2f4c0a16 10875static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10876 PyObject *resultobj;
10877 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10878 int result;
10879 PyObject * obj0 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
2f4c0a16 10894 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
2f4c0a16 10901static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10902 PyObject *resultobj;
10903 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10904 int result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
2f4c0a16 10920 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
2f4c0a16 10927static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10928 PyObject *resultobj;
10929 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10930 int result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
2f4c0a16 10946 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10947 return resultobj;
10948 fail:
10949 return NULL;
10950}
10951
10952
2f4c0a16 10953static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10954 PyObject *resultobj;
10955 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10956 int arg2 ;
10957 PyObject * obj0 = 0 ;
8edf1c75 10958 PyObject * obj1 = 0 ;
d14a1e28
RD
10959 char *kwnames[] = {
10960 (char *) "self",(char *) "stick", NULL
10961 };
10962
8edf1c75 10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10966 arg2 = (int) SWIG_AsInt(obj1);
10967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 (arg1)->SetJoystick(arg2);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979}
10980
10981
2f4c0a16 10982static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10983 PyObject *resultobj;
10984 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10985 int arg2 ;
10986 PyObject * obj0 = 0 ;
8edf1c75 10987 PyObject * obj1 = 0 ;
d14a1e28
RD
10988 char *kwnames[] = {
10989 (char *) "self",(char *) "state", NULL
10990 };
10991
8edf1c75 10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10995 arg2 = (int) SWIG_AsInt(obj1);
10996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->SetButtonState(arg2);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 Py_INCREF(Py_None); resultobj = Py_None;
11005 return resultobj;
11006 fail:
11007 return NULL;
11008}
11009
11010
2f4c0a16 11011static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11012 PyObject *resultobj;
11013 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11014 int arg2 ;
11015 PyObject * obj0 = 0 ;
8edf1c75 11016 PyObject * obj1 = 0 ;
d14a1e28
RD
11017 char *kwnames[] = {
11018 (char *) "self",(char *) "change", NULL
11019 };
11020
8edf1c75 11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11024 arg2 = (int) SWIG_AsInt(obj1);
11025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->SetButtonChange(arg2);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037}
11038
11039
2f4c0a16 11040static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11041 PyObject *resultobj;
11042 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11043 wxPoint *arg2 = 0 ;
11044 wxPoint temp2 ;
11045 PyObject * obj0 = 0 ;
11046 PyObject * obj1 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "pos", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11054 {
11055 arg2 = &temp2;
11056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11057 }
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 (arg1)->SetPosition((wxPoint const &)*arg2);
11061
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 Py_INCREF(Py_None); resultobj = Py_None;
11066 return resultobj;
11067 fail:
11068 return NULL;
11069}
11070
11071
2f4c0a16 11072static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11073 PyObject *resultobj;
11074 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11075 int arg2 ;
11076 PyObject * obj0 = 0 ;
8edf1c75 11077 PyObject * obj1 = 0 ;
d14a1e28
RD
11078 char *kwnames[] = {
11079 (char *) "self",(char *) "zPos", NULL
11080 };
11081
8edf1c75 11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11085 arg2 = (int) SWIG_AsInt(obj1);
11086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 (arg1)->SetZPosition(arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 Py_INCREF(Py_None); resultobj = Py_None;
11095 return resultobj;
11096 fail:
11097 return NULL;
11098}
11099
11100
2f4c0a16 11101static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11102 PyObject *resultobj;
11103 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11104 bool result;
11105 PyObject * obj0 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
02a34c4c 11120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11121 return resultobj;
11122 fail:
11123 return NULL;
11124}
11125
11126
2f4c0a16 11127static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11128 PyObject *resultobj;
11129 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11130 bool result;
11131 PyObject * obj0 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
02a34c4c 11146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11147 return resultobj;
11148 fail:
11149 return NULL;
11150}
11151
11152
2f4c0a16 11153static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11154 PyObject *resultobj;
11155 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11156 bool result;
11157 PyObject * obj0 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
02a34c4c 11172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
2f4c0a16 11179static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11180 PyObject *resultobj;
11181 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11182 int arg2 = (int) wxJOY_BUTTON_ANY ;
11183 bool result;
11184 PyObject * obj0 = 0 ;
8edf1c75 11185 PyObject * obj1 = 0 ;
d14a1e28
RD
11186 char *kwnames[] = {
11187 (char *) "self",(char *) "but", NULL
11188 };
11189
8edf1c75 11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11193 if (obj1) {
2f4c0a16
RD
11194 arg2 = (int) SWIG_AsInt(obj1);
11195 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11196 }
d14a1e28
RD
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
02a34c4c 11204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11205 return resultobj;
11206 fail:
11207 return NULL;
11208}
11209
11210
2f4c0a16 11211static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11212 PyObject *resultobj;
11213 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11214 int arg2 = (int) wxJOY_BUTTON_ANY ;
11215 bool result;
11216 PyObject * obj0 = 0 ;
8edf1c75 11217 PyObject * obj1 = 0 ;
d14a1e28
RD
11218 char *kwnames[] = {
11219 (char *) "self",(char *) "but", NULL
11220 };
11221
8edf1c75 11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11225 if (obj1) {
2f4c0a16
RD
11226 arg2 = (int) SWIG_AsInt(obj1);
11227 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11228 }
d14a1e28
RD
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11232
11233 wxPyEndAllowThreads(__tstate);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 }
02a34c4c 11236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11237 return resultobj;
11238 fail:
11239 return NULL;
11240}
11241
11242
2f4c0a16 11243static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11244 PyObject *resultobj;
11245 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11246 int arg2 = (int) wxJOY_BUTTON_ANY ;
11247 bool result;
11248 PyObject * obj0 = 0 ;
8edf1c75 11249 PyObject * obj1 = 0 ;
d14a1e28
RD
11250 char *kwnames[] = {
11251 (char *) "self",(char *) "but", NULL
11252 };
11253
8edf1c75 11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11257 if (obj1) {
2f4c0a16
RD
11258 arg2 = (int) SWIG_AsInt(obj1);
11259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11260 }
d14a1e28
RD
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11264
11265 wxPyEndAllowThreads(__tstate);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
02a34c4c 11268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11269 return resultobj;
11270 fail:
11271 return NULL;
11272}
11273
11274
2f4c0a16 11275static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11276 PyObject *obj;
11277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11278 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11279 Py_INCREF(obj);
11280 return Py_BuildValue((char *)"");
11281}
2f4c0a16 11282static PyObject *_wrap_new_Sound__SWIG_0(PyObject *, PyObject *args) {
02a34c4c
RD
11283 PyObject *resultobj;
11284 wxSound *result;
11285
11286 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = (wxSound *)new wxSound();
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
2f4c0a16 11294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
02a34c4c
RD
11295 return resultobj;
11296 fail:
11297 return NULL;
11298}
11299
11300
2f4c0a16 11301static PyObject *_wrap_new_Sound__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
11302 PyObject *resultobj;
11303 wxString *arg1 = 0 ;
02a34c4c
RD
11304 bool arg2 = (bool) false ;
11305 wxSound *result;
423f194a 11306 bool temp1 = False ;
d14a1e28
RD
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
d14a1e28 11309
02a34c4c 11310 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11311 {
11312 arg1 = wxString_in_helper(obj0);
11313 if (arg1 == NULL) SWIG_fail;
423f194a 11314 temp1 = True;
d14a1e28
RD
11315 }
11316 if (obj1) {
2f4c0a16
RD
11317 arg2 = (bool) SWIG_AsBool(obj1);
11318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11319 }
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11322 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
2f4c0a16 11327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11328 {
11329 if (temp1)
11330 delete arg1;
11331 }
11332 return resultobj;
11333 fail:
11334 {
11335 if (temp1)
11336 delete arg1;
11337 }
11338 return NULL;
11339}
11340
11341
2f4c0a16 11342static PyObject *_wrap_new_Sound__SWIG_2(PyObject *, PyObject *args) {
d14a1e28 11343 PyObject *resultobj;
02a34c4c
RD
11344 int arg1 ;
11345 wxByte *arg2 = (wxByte *) 0 ;
11346 wxSound *result;
d14a1e28 11347 PyObject * obj0 = 0 ;
02a34c4c 11348 PyObject * obj1 = 0 ;
d14a1e28 11349
02a34c4c 11350 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11351 arg1 = (int) SWIG_AsInt(obj0);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11357 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
2f4c0a16 11362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11363 return resultobj;
11364 fail:
02a34c4c
RD
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11370 int argc;
11371 PyObject *argv[3];
11372 int ii;
11373
11374 argc = PyObject_Length(args);
11375 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11376 argv[ii] = PyTuple_GetItem(args,ii);
11377 }
11378 if (argc == 0) {
11379 return _wrap_new_Sound__SWIG_0(self,args);
d14a1e28 11380 }
02a34c4c
RD
11381 if ((argc >= 1) && (argc <= 2)) {
11382 int _v;
11383 {
11384 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11385 }
11386 if (_v) {
11387 if (argc <= 1) {
11388 return _wrap_new_Sound__SWIG_1(self,args);
11389 }
2f4c0a16 11390 _v = SWIG_CheckBool(argv[1]);
02a34c4c
RD
11391 if (_v) {
11392 return _wrap_new_Sound__SWIG_1(self,args);
11393 }
11394 }
11395 }
11396 if (argc == 2) {
11397 int _v;
2f4c0a16 11398 _v = SWIG_CheckInt(argv[0]);
02a34c4c
RD
11399 if (_v) {
11400 {
11401 void *ptr;
2f4c0a16 11402 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
02a34c4c
RD
11403 _v = 0;
11404 PyErr_Clear();
11405 } else {
11406 _v = 1;
11407 }
11408 }
11409 if (_v) {
11410 return _wrap_new_Sound__SWIG_2(self,args);
11411 }
11412 }
11413 }
11414
11415 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11416 return NULL;
11417}
11418
11419
2f4c0a16 11420static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11421 PyObject *resultobj;
02a34c4c 11422 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11423 PyObject * obj0 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self", NULL
11426 };
11427
02a34c4c 11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 delete arg1;
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 return resultobj;
11440 fail:
11441 return NULL;
11442}
11443
11444
2f4c0a16 11445static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 11446 PyObject *resultobj;
02a34c4c
RD
11447 wxSound *arg1 = (wxSound *) 0 ;
11448 wxString *arg2 = 0 ;
11449 bool arg3 = (bool) false ;
d14a1e28 11450 bool result;
02a34c4c 11451 bool temp2 = False ;
d14a1e28 11452 PyObject * obj0 = 0 ;
02a34c4c
RD
11453 PyObject * obj1 = 0 ;
11454 PyObject * obj2 = 0 ;
d14a1e28 11455
02a34c4c 11456 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11459 {
11460 arg2 = wxString_in_helper(obj1);
11461 if (arg2 == NULL) SWIG_fail;
11462 temp2 = True;
11463 }
11464 if (obj2) {
2f4c0a16
RD
11465 arg3 = (bool) SWIG_AsBool(obj2);
11466 if (PyErr_Occurred()) SWIG_fail;
02a34c4c 11467 }
d14a1e28
RD
11468 {
11469 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11470 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11471
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
02a34c4c
RD
11475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11476 {
11477 if (temp2)
11478 delete arg2;
11479 }
d14a1e28
RD
11480 return resultobj;
11481 fail:
02a34c4c
RD
11482 {
11483 if (temp2)
11484 delete arg2;
11485 }
d14a1e28
RD
11486 return NULL;
11487}
11488
11489
2f4c0a16 11490static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *, PyObject *args) {
d14a1e28 11491 PyObject *resultobj;
02a34c4c
RD
11492 wxSound *arg1 = (wxSound *) 0 ;
11493 int arg2 ;
11494 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11495 bool result;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498 PyObject * obj2 = 0 ;
02a34c4c
RD
11499
11500 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11503 arg2 = (int) SWIG_AsInt(obj1);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (bool)wxSound_Create__SWIG_1(arg1,arg2,(wxByte const *)arg3);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11515 return resultobj;
11516 fail:
11517 return NULL;
11518}
11519
11520
11521static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11522 int argc;
11523 PyObject *argv[4];
11524 int ii;
11525
11526 argc = PyObject_Length(args);
11527 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11528 argv[ii] = PyTuple_GetItem(args,ii);
11529 }
11530 if ((argc >= 2) && (argc <= 3)) {
11531 int _v;
11532 {
11533 void *ptr;
2f4c0a16 11534 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
02a34c4c
RD
11535 _v = 0;
11536 PyErr_Clear();
11537 } else {
11538 _v = 1;
11539 }
11540 }
11541 if (_v) {
11542 {
11543 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11544 }
11545 if (_v) {
11546 if (argc <= 2) {
11547 return _wrap_Sound_Create__SWIG_0(self,args);
11548 }
2f4c0a16 11549 _v = SWIG_CheckBool(argv[2]);
02a34c4c
RD
11550 if (_v) {
11551 return _wrap_Sound_Create__SWIG_0(self,args);
11552 }
11553 }
11554 }
11555 }
11556 if (argc == 3) {
11557 int _v;
11558 {
11559 void *ptr;
2f4c0a16 11560 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
02a34c4c
RD
11561 _v = 0;
11562 PyErr_Clear();
11563 } else {
11564 _v = 1;
11565 }
11566 }
11567 if (_v) {
2f4c0a16 11568 _v = SWIG_CheckInt(argv[1]);
02a34c4c
RD
11569 if (_v) {
11570 {
11571 void *ptr;
2f4c0a16 11572 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
02a34c4c
RD
11573 _v = 0;
11574 PyErr_Clear();
11575 } else {
11576 _v = 1;
11577 }
11578 }
11579 if (_v) {
11580 return _wrap_Sound_Create__SWIG_1(self,args);
11581 }
11582 }
11583 }
11584 }
11585
11586 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11587 return NULL;
11588}
11589
11590
2f4c0a16 11591static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
02a34c4c
RD
11592 PyObject *resultobj;
11593 wxSound *arg1 = (wxSound *) 0 ;
11594 bool result;
11595 PyObject * obj0 = 0 ;
d14a1e28 11596 char *kwnames[] = {
02a34c4c 11597 (char *) "self", NULL
d14a1e28
RD
11598 };
11599
02a34c4c 11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
02a34c4c
RD
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (bool)(arg1)->IsOk();
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
2f4c0a16 11617static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args) {
02a34c4c
RD
11618 PyObject *resultobj;
11619 wxSound *arg1 = (wxSound *) 0 ;
11620 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11621 bool result;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624
11625 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11628 if (obj1) {
2f4c0a16
RD
11629 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11631 }
02a34c4c
RD
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (bool)((wxSound const *)arg1)->Play(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11640 return resultobj;
11641 fail:
11642 return NULL;
11643}
11644
11645
2f4c0a16 11646static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args) {
02a34c4c
RD
11647 PyObject *resultobj;
11648 wxString *arg1 = 0 ;
11649 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11650 bool result;
11651 bool temp1 = False ;
11652 PyObject * obj0 = 0 ;
11653 PyObject * obj1 = 0 ;
11654
11655 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11656 {
11657 arg1 = wxString_in_helper(obj0);
11658 if (arg1 == NULL) SWIG_fail;
11659 temp1 = True;
11660 }
11661 if (obj1) {
2f4c0a16
RD
11662 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11664 }
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
02a34c4c 11667 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
02a34c4c
RD
11672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11673 {
11674 if (temp1)
11675 delete arg1;
11676 }
d14a1e28
RD
11677 return resultobj;
11678 fail:
02a34c4c
RD
11679 {
11680 if (temp1)
11681 delete arg1;
11682 }
d14a1e28
RD
11683 return NULL;
11684}
11685
11686
2f4c0a16 11687static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
02a34c4c
RD
11688 PyObject *resultobj;
11689 char *kwnames[] = {
11690 NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 Sound_Stop();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 Py_INCREF(Py_None); resultobj = Py_None;
11702 return resultobj;
11703 fail:
11704 return NULL;
11705}
11706
11707
2f4c0a16 11708static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11709 PyObject *obj;
11710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
02a34c4c 11711 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11712 Py_INCREF(obj);
11713 return Py_BuildValue((char *)"");
11714}
2f4c0a16 11715static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11716 PyObject *resultobj;
11717 wxString *arg1 = 0 ;
11718 wxString *arg2 = 0 ;
11719 wxString *arg3 = 0 ;
11720 wxString *arg4 = 0 ;
11721 wxFileTypeInfo *result;
423f194a
RD
11722 bool temp1 = False ;
11723 bool temp2 = False ;
11724 bool temp3 = False ;
11725 bool temp4 = False ;
d14a1e28
RD
11726 PyObject * obj0 = 0 ;
11727 PyObject * obj1 = 0 ;
11728 PyObject * obj2 = 0 ;
11729 PyObject * obj3 = 0 ;
11730 char *kwnames[] = {
11731 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11732 };
11733
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11735 {
11736 arg1 = wxString_in_helper(obj0);
11737 if (arg1 == NULL) SWIG_fail;
423f194a 11738 temp1 = True;
d14a1e28
RD
11739 }
11740 {
11741 arg2 = wxString_in_helper(obj1);
11742 if (arg2 == NULL) SWIG_fail;
423f194a 11743 temp2 = True;
d14a1e28
RD
11744 }
11745 {
11746 arg3 = wxString_in_helper(obj2);
11747 if (arg3 == NULL) SWIG_fail;
423f194a 11748 temp3 = True;
d14a1e28
RD
11749 }
11750 {
11751 arg4 = wxString_in_helper(obj3);
11752 if (arg4 == NULL) SWIG_fail;
423f194a 11753 temp4 = True;
d14a1e28
RD
11754 }
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
2f4c0a16 11762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11763 {
11764 if (temp1)
11765 delete arg1;
11766 }
11767 {
11768 if (temp2)
11769 delete arg2;
11770 }
11771 {
11772 if (temp3)
11773 delete arg3;
11774 }
11775 {
11776 if (temp4)
11777 delete arg4;
11778 }
11779 return resultobj;
11780 fail:
11781 {
11782 if (temp1)
11783 delete arg1;
11784 }
11785 {
11786 if (temp2)
11787 delete arg2;
11788 }
11789 {
11790 if (temp3)
11791 delete arg3;
11792 }
11793 {
11794 if (temp4)
11795 delete arg4;
11796 }
11797 return NULL;
11798}
11799
11800
2f4c0a16 11801static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11802 PyObject *resultobj;
11803 wxArrayString *arg1 = 0 ;
11804 wxFileTypeInfo *result;
0ffb2aa6 11805 bool temp1 = False ;
d14a1e28
RD
11806 PyObject * obj0 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "sArray", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11812 {
11813 if (! PySequence_Check(obj0)) {
11814 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11815 SWIG_fail;
11816 }
11817 arg1 = new wxArrayString;
0ffb2aa6 11818 temp1 = True;
d14a1e28
RD
11819 int i, len=PySequence_Length(obj0);
11820 for (i=0; i<len; i++) {
11821 PyObject* item = PySequence_GetItem(obj0, i);
11822#if wxUSE_UNICODE
11823 PyObject* str = PyObject_Unicode(item);
11824#else
11825 PyObject* str = PyObject_Str(item);
11826#endif
11827 arg1->Add(Py2wxString(str));
11828 Py_DECREF(item);
11829 Py_DECREF(str);
11830 }
11831 }
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
2f4c0a16 11839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 11840 {
0ffb2aa6 11841 if (temp1) delete arg1;
d14a1e28
RD
11842 }
11843 return resultobj;
11844 fail:
11845 {
0ffb2aa6 11846 if (temp1) delete arg1;
d14a1e28
RD
11847 }
11848 return NULL;
11849}
11850
11851
2f4c0a16 11852static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11853 PyObject *resultobj;
11854 wxFileTypeInfo *result;
11855 char *kwnames[] = {
11856 NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
2f4c0a16 11867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11868 return resultobj;
11869 fail:
11870 return NULL;
11871}
11872
11873
2f4c0a16 11874static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11875 PyObject *resultobj;
11876 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11877 bool result;
11878 PyObject * obj0 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
02a34c4c 11893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11894 return resultobj;
11895 fail:
11896 return NULL;
11897}
11898
11899
2f4c0a16 11900static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11901 PyObject *resultobj;
11902 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11903 wxString *arg2 = 0 ;
11904 int arg3 = (int) 0 ;
423f194a 11905 bool temp2 = False ;
d14a1e28
RD
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
8edf1c75 11908 PyObject * obj2 = 0 ;
d14a1e28
RD
11909 char *kwnames[] = {
11910 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11911 };
11912
8edf1c75 11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11916 {
11917 arg2 = wxString_in_helper(obj1);
11918 if (arg2 == NULL) SWIG_fail;
423f194a 11919 temp2 = True;
d14a1e28 11920 }
8edf1c75 11921 if (obj2) {
2f4c0a16
RD
11922 arg3 = (int) SWIG_AsInt(obj2);
11923 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11924 }
d14a1e28
RD
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetIcon((wxString const &)*arg2,arg3);
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_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11948 PyObject *resultobj;
11949 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11950 wxString *arg2 = 0 ;
423f194a 11951 bool temp2 = False ;
d14a1e28
RD
11952 PyObject * obj0 = 0 ;
11953 PyObject * obj1 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self",(char *) "shortDesc", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11961 {
11962 arg2 = wxString_in_helper(obj1);
11963 if (arg2 == NULL) SWIG_fail;
423f194a 11964 temp2 = True;
d14a1e28
RD
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 (arg1)->SetShortDesc((wxString const &)*arg2);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 Py_INCREF(Py_None); resultobj = Py_None;
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 return resultobj;
11979 fail:
11980 {
11981 if (temp2)
11982 delete arg2;
11983 }
11984 return NULL;
11985}
11986
11987
2f4c0a16 11988static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11989 PyObject *resultobj;
11990 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11991 wxString *result;
11992 PyObject * obj0 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 {
12003 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12004 result = (wxString *) &_result_ref;
12005 }
12006
12007 wxPyEndAllowThreads(__tstate);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
0f774bef
RD
12010 {
12011#if wxUSE_UNICODE
12012 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12013#else
12014 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12015#endif
12016 }
d14a1e28
RD
12017 return resultobj;
12018 fail:
12019 return NULL;
12020}
12021
12022
2f4c0a16 12023static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12024 PyObject *resultobj;
12025 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12026 wxString *result;
12027 PyObject * obj0 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 {
12038 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12039 result = (wxString *) &_result_ref;
12040 }
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
0f774bef
RD
12045 {
12046#if wxUSE_UNICODE
12047 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12048#else
12049 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12050#endif
12051 }
d14a1e28
RD
12052 return resultobj;
12053 fail:
12054 return NULL;
12055}
12056
12057
2f4c0a16 12058static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12059 PyObject *resultobj;
12060 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12061 wxString *result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 {
12073 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12074 result = (wxString *) &_result_ref;
12075 }
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
0f774bef
RD
12080 {
12081#if wxUSE_UNICODE
12082 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12083#else
12084 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12085#endif
12086 }
d14a1e28
RD
12087 return resultobj;
12088 fail:
12089 return NULL;
12090}
12091
12092
2f4c0a16 12093static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12094 PyObject *resultobj;
12095 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12096 wxString *result;
12097 PyObject * obj0 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 {
12108 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12109 result = (wxString *) &_result_ref;
12110 }
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
0f774bef
RD
12115 {
12116#if wxUSE_UNICODE
12117 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12118#else
12119 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12120#endif
12121 }
d14a1e28
RD
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
2f4c0a16 12128static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12129 PyObject *resultobj;
12130 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12131 wxString *result;
12132 PyObject * obj0 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 {
12143 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12144 result = (wxString *) &_result_ref;
12145 }
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
0f774bef
RD
12150 {
12151#if wxUSE_UNICODE
12152 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12153#else
12154 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12155#endif
12156 }
d14a1e28
RD
12157 return resultobj;
12158 fail:
12159 return NULL;
12160}
12161
12162
2f4c0a16 12163static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12164 PyObject *resultobj;
12165 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12166 wxArrayString *result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 {
12178 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12179 result = (wxArrayString *) &_result_ref;
12180 }
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 {
12186 resultobj = wxArrayString2PyList_helper(*result);
12187 }
12188 return resultobj;
12189 fail:
12190 return NULL;
12191}
12192
12193
2f4c0a16 12194static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12195 PyObject *resultobj;
12196 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12197 int result;
12198 PyObject * obj0 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
2f4c0a16 12213 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12214 return resultobj;
12215 fail:
12216 return NULL;
12217}
12218
12219
2f4c0a16 12220static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12221 PyObject *resultobj;
12222 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12223 wxString *result;
12224 PyObject * obj0 = 0 ;
12225 char *kwnames[] = {
12226 (char *) "self", NULL
12227 };
12228
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 {
12235 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12236 result = (wxString *) &_result_ref;
12237 }
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
0f774bef
RD
12242 {
12243#if wxUSE_UNICODE
12244 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12245#else
12246 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12247#endif
12248 }
d14a1e28
RD
12249 return resultobj;
12250 fail:
12251 return NULL;
12252}
12253
12254
2f4c0a16 12255static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12256 PyObject *resultobj;
12257 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12258 int result;
12259 PyObject * obj0 = 0 ;
12260 char *kwnames[] = {
12261 (char *) "self", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12267 {
12268 PyThreadState* __tstate = wxPyBeginAllowThreads();
12269 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12270
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
2f4c0a16 12274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12275 return resultobj;
12276 fail:
12277 return NULL;
12278}
12279
12280
2f4c0a16 12281static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12282 PyObject *obj;
12283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12284 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12285 Py_INCREF(obj);
12286 return Py_BuildValue((char *)"");
12287}
2f4c0a16 12288static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12289 PyObject *resultobj;
12290 wxFileTypeInfo *arg1 = 0 ;
12291 wxFileType *result;
12292 PyObject * obj0 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "ftInfo", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12299 SWIG_POINTER_EXCEPTION | 0)) == -1)
12300 SWIG_fail;
d14a1e28 12301 if (arg1 == NULL) {
2f4c0a16
RD
12302 PyErr_SetString(PyExc_TypeError,"null reference");
12303 SWIG_fail;
d14a1e28
RD
12304 }
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
2f4c0a16 12312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
12313 return resultobj;
12314 fail:
12315 return NULL;
12316}
12317
12318
2f4c0a16 12319static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12320 PyObject *resultobj;
12321 wxFileType *arg1 = (wxFileType *) 0 ;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 delete arg1;
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 Py_INCREF(Py_None); resultobj = Py_None;
12338 return resultobj;
12339 fail:
12340 return NULL;
12341}
12342
12343
2f4c0a16 12344static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12345 PyObject *resultobj;
12346 wxFileType *arg1 = (wxFileType *) 0 ;
12347 PyObject *result;
12348 PyObject * obj0 = 0 ;
12349 char *kwnames[] = {
12350 (char *) "self", NULL
12351 };
12352
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = (PyObject *)wxFileType_GetMimeType(arg1);
12359
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 resultobj = result;
12364 return resultobj;
12365 fail:
12366 return NULL;
12367}
12368
12369
2f4c0a16 12370static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12371 PyObject *resultobj;
12372 wxFileType *arg1 = (wxFileType *) 0 ;
12373 PyObject *result;
12374 PyObject * obj0 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = result;
12390 return resultobj;
12391 fail:
12392 return NULL;
12393}
12394
12395
2f4c0a16 12396static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12397 PyObject *resultobj;
12398 wxFileType *arg1 = (wxFileType *) 0 ;
12399 PyObject *result;
12400 PyObject * obj0 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "self", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 result = (PyObject *)wxFileType_GetExtensions(arg1);
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = result;
12416 return resultobj;
12417 fail:
12418 return NULL;
12419}
12420
12421
2f4c0a16 12422static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12423 PyObject *resultobj;
12424 wxFileType *arg1 = (wxFileType *) 0 ;
12425 wxIcon *result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (wxIcon *)wxFileType_GetIcon(arg1);
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
2f4c0a16 12441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
2f4c0a16 12448static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12449 PyObject *resultobj;
12450 wxFileType *arg1 = (wxFileType *) 0 ;
12451 PyObject *result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = result;
12468 return resultobj;
12469 fail:
12470 return NULL;
12471}
12472
12473
2f4c0a16 12474static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12475 PyObject *resultobj;
12476 wxFileType *arg1 = (wxFileType *) 0 ;
12477 PyObject *result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (PyObject *)wxFileType_GetDescription(arg1);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = result;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
2f4c0a16 12500static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12501 PyObject *resultobj;
12502 wxFileType *arg1 = (wxFileType *) 0 ;
12503 wxString *arg2 = 0 ;
12504 wxString const &arg3_defvalue = wxPyEmptyString ;
12505 wxString *arg3 = (wxString *) &arg3_defvalue ;
12506 PyObject *result;
423f194a
RD
12507 bool temp2 = False ;
12508 bool temp3 = False ;
d14a1e28
RD
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 PyObject * obj2 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12519 {
12520 arg2 = wxString_in_helper(obj1);
12521 if (arg2 == NULL) SWIG_fail;
423f194a 12522 temp2 = True;
d14a1e28
RD
12523 }
12524 if (obj2) {
12525 {
12526 arg3 = wxString_in_helper(obj2);
12527 if (arg3 == NULL) SWIG_fail;
423f194a 12528 temp3 = True;
d14a1e28
RD
12529 }
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = result;
12539 {
12540 if (temp2)
12541 delete arg2;
12542 }
12543 {
12544 if (temp3)
12545 delete arg3;
12546 }
12547 return resultobj;
12548 fail:
12549 {
12550 if (temp2)
12551 delete arg2;
12552 }
12553 {
12554 if (temp3)
12555 delete arg3;
12556 }
12557 return NULL;
12558}
12559
12560
2f4c0a16 12561static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12562 PyObject *resultobj;
12563 wxFileType *arg1 = (wxFileType *) 0 ;
12564 wxString *arg2 = 0 ;
12565 wxString const &arg3_defvalue = wxPyEmptyString ;
12566 wxString *arg3 = (wxString *) &arg3_defvalue ;
12567 PyObject *result;
423f194a
RD
12568 bool temp2 = False ;
12569 bool temp3 = False ;
d14a1e28
RD
12570 PyObject * obj0 = 0 ;
12571 PyObject * obj1 = 0 ;
12572 PyObject * obj2 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12580 {
12581 arg2 = wxString_in_helper(obj1);
12582 if (arg2 == NULL) SWIG_fail;
423f194a 12583 temp2 = True;
d14a1e28
RD
12584 }
12585 if (obj2) {
12586 {
12587 arg3 = wxString_in_helper(obj2);
12588 if (arg3 == NULL) SWIG_fail;
423f194a 12589 temp3 = True;
d14a1e28
RD
12590 }
12591 }
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12595
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 resultobj = result;
12600 {
12601 if (temp2)
12602 delete arg2;
12603 }
12604 {
12605 if (temp3)
12606 delete arg3;
12607 }
12608 return resultobj;
12609 fail:
12610 {
12611 if (temp2)
12612 delete arg2;
12613 }
12614 {
12615 if (temp3)
12616 delete arg3;
12617 }
12618 return NULL;
12619}
12620
12621
2f4c0a16 12622static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12623 PyObject *resultobj;
12624 wxFileType *arg1 = (wxFileType *) 0 ;
12625 wxString *arg2 = 0 ;
12626 wxString const &arg3_defvalue = wxPyEmptyString ;
12627 wxString *arg3 = (wxString *) &arg3_defvalue ;
12628 PyObject *result;
423f194a
RD
12629 bool temp2 = False ;
12630 bool temp3 = False ;
d14a1e28
RD
12631 PyObject * obj0 = 0 ;
12632 PyObject * obj1 = 0 ;
12633 PyObject * obj2 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12641 {
12642 arg2 = wxString_in_helper(obj1);
12643 if (arg2 == NULL) SWIG_fail;
423f194a 12644 temp2 = True;
d14a1e28
RD
12645 }
12646 if (obj2) {
12647 {
12648 arg3 = wxString_in_helper(obj2);
12649 if (arg3 == NULL) SWIG_fail;
423f194a 12650 temp3 = True;
d14a1e28
RD
12651 }
12652 }
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = result;
12661 {
12662 if (temp2)
12663 delete arg2;
12664 }
12665 {
12666 if (temp3)
12667 delete arg3;
12668 }
12669 return resultobj;
12670 fail:
12671 {
12672 if (temp2)
12673 delete arg2;
12674 }
12675 {
12676 if (temp3)
12677 delete arg3;
12678 }
12679 return NULL;
12680}
12681
12682
2f4c0a16 12683static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12684 PyObject *resultobj;
12685 wxFileType *arg1 = (wxFileType *) 0 ;
12686 wxString *arg2 = 0 ;
12687 wxString *arg3 = 0 ;
423f194a 12688 bool arg4 = (bool) True ;
d14a1e28 12689 bool result;
423f194a
RD
12690 bool temp2 = False ;
12691 bool temp3 = False ;
d14a1e28
RD
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12694 PyObject * obj2 = 0 ;
12695 PyObject * obj3 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12703 {
12704 arg2 = wxString_in_helper(obj1);
12705 if (arg2 == NULL) SWIG_fail;
423f194a 12706 temp2 = True;
d14a1e28
RD
12707 }
12708 {
12709 arg3 = wxString_in_helper(obj2);
12710 if (arg3 == NULL) SWIG_fail;
423f194a 12711 temp3 = True;
d14a1e28
RD
12712 }
12713 if (obj3) {
2f4c0a16
RD
12714 arg4 = (bool) SWIG_AsBool(obj3);
12715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12716 }
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
02a34c4c 12724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12725 {
12726 if (temp2)
12727 delete arg2;
12728 }
12729 {
12730 if (temp3)
12731 delete arg3;
12732 }
12733 return resultobj;
12734 fail:
12735 {
12736 if (temp2)
12737 delete arg2;
12738 }
12739 {
12740 if (temp3)
12741 delete arg3;
12742 }
12743 return NULL;
12744}
12745
12746
2f4c0a16 12747static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12748 PyObject *resultobj;
12749 wxFileType *arg1 = (wxFileType *) 0 ;
12750 wxString const &arg2_defvalue = wxPyEmptyString ;
12751 wxString *arg2 = (wxString *) &arg2_defvalue ;
12752 int arg3 = (int) 0 ;
12753 bool result;
423f194a 12754 bool temp2 = False ;
d14a1e28
RD
12755 PyObject * obj0 = 0 ;
12756 PyObject * obj1 = 0 ;
8edf1c75 12757 PyObject * obj2 = 0 ;
d14a1e28
RD
12758 char *kwnames[] = {
12759 (char *) "self",(char *) "cmd",(char *) "index", NULL
12760 };
12761
8edf1c75 12762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12765 if (obj1) {
12766 {
12767 arg2 = wxString_in_helper(obj1);
12768 if (arg2 == NULL) SWIG_fail;
423f194a 12769 temp2 = True;
d14a1e28
RD
12770 }
12771 }
8edf1c75 12772 if (obj2) {
2f4c0a16
RD
12773 arg3 = (int) SWIG_AsInt(obj2);
12774 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12775 }
d14a1e28
RD
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
02a34c4c 12783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 return resultobj;
12789 fail:
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return NULL;
12795}
12796
12797
2f4c0a16 12798static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12799 PyObject *resultobj;
12800 wxFileType *arg1 = (wxFileType *) 0 ;
12801 bool result;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (bool)(arg1)->Unassociate();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
02a34c4c 12817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
2f4c0a16 12824static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12825 PyObject *resultobj;
12826 wxString *arg1 = 0 ;
12827 wxString *arg2 = 0 ;
12828 wxString const &arg3_defvalue = wxPyEmptyString ;
12829 wxString *arg3 = (wxString *) &arg3_defvalue ;
12830 wxString result;
423f194a
RD
12831 bool temp1 = False ;
12832 bool temp2 = False ;
12833 bool temp3 = False ;
d14a1e28
RD
12834 PyObject * obj0 = 0 ;
12835 PyObject * obj1 = 0 ;
12836 PyObject * obj2 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12842 {
12843 arg1 = wxString_in_helper(obj0);
12844 if (arg1 == NULL) SWIG_fail;
423f194a 12845 temp1 = True;
d14a1e28
RD
12846 }
12847 {
12848 arg2 = wxString_in_helper(obj1);
12849 if (arg2 == NULL) SWIG_fail;
423f194a 12850 temp2 = True;
d14a1e28
RD
12851 }
12852 if (obj2) {
12853 {
12854 arg3 = wxString_in_helper(obj2);
12855 if (arg3 == NULL) SWIG_fail;
423f194a 12856 temp3 = True;
d14a1e28
RD
12857 }
12858 }
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 {
12867#if wxUSE_UNICODE
12868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12869#else
12870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12871#endif
12872 }
12873 {
12874 if (temp1)
12875 delete arg1;
12876 }
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 {
12882 if (temp3)
12883 delete arg3;
12884 }
12885 return resultobj;
12886 fail:
12887 {
12888 if (temp1)
12889 delete arg1;
12890 }
12891 {
12892 if (temp2)
12893 delete arg2;
12894 }
12895 {
12896 if (temp3)
12897 delete arg3;
12898 }
12899 return NULL;
12900}
12901
12902
2f4c0a16 12903static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12904 PyObject *obj;
12905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12906 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12907 Py_INCREF(obj);
12908 return Py_BuildValue((char *)"");
12909}
8edf1c75 12910static int _wrap_TheMimeTypesManager_set(PyObject *) {
d14a1e28
RD
12911 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12912 return 1;
12913}
12914
12915
12916static PyObject *_wrap_TheMimeTypesManager_get() {
12917 PyObject *pyobj;
12918
2f4c0a16 12919 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
12920 return pyobj;
12921}
12922
12923
2f4c0a16 12924static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12925 PyObject *resultobj;
12926 wxString *arg1 = 0 ;
12927 wxString *arg2 = 0 ;
12928 bool result;
423f194a
RD
12929 bool temp1 = False ;
12930 bool temp2 = False ;
d14a1e28
RD
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "mimeType",(char *) "wildcard", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12938 {
12939 arg1 = wxString_in_helper(obj0);
12940 if (arg1 == NULL) SWIG_fail;
423f194a 12941 temp1 = True;
d14a1e28
RD
12942 }
12943 {
12944 arg2 = wxString_in_helper(obj1);
12945 if (arg2 == NULL) SWIG_fail;
423f194a 12946 temp2 = True;
d14a1e28
RD
12947 }
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
02a34c4c 12955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12956 {
12957 if (temp1)
12958 delete arg1;
12959 }
12960 {
12961 if (temp2)
12962 delete arg2;
12963 }
12964 return resultobj;
12965 fail:
12966 {
12967 if (temp1)
12968 delete arg1;
12969 }
12970 {
12971 if (temp2)
12972 delete arg2;
12973 }
12974 return NULL;
12975}
12976
12977
2f4c0a16 12978static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12979 PyObject *resultobj;
12980 wxMimeTypesManager *result;
12981 char *kwnames[] = {
12982 NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
2f4c0a16 12993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
12994 return resultobj;
12995 fail:
12996 return NULL;
12997}
12998
12999
2f4c0a16 13000static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13001 PyObject *resultobj;
13002 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13003 int arg2 = (int) wxMAILCAP_ALL ;
13004 wxString const &arg3_defvalue = wxPyEmptyString ;
13005 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 13006 bool temp3 = False ;
d14a1e28 13007 PyObject * obj0 = 0 ;
8edf1c75 13008 PyObject * obj1 = 0 ;
d14a1e28
RD
13009 PyObject * obj2 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13012 };
13013
8edf1c75 13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13017 if (obj1) {
2f4c0a16
RD
13018 arg2 = (int) SWIG_AsInt(obj1);
13019 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13020 }
d14a1e28
RD
13021 if (obj2) {
13022 {
13023 arg3 = wxString_in_helper(obj2);
13024 if (arg3 == NULL) SWIG_fail;
423f194a 13025 temp3 = True;
d14a1e28
RD
13026 }
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 {
13037 if (temp3)
13038 delete arg3;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp3)
13044 delete arg3;
13045 }
13046 return NULL;
13047}
13048
13049
2f4c0a16 13050static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13051 PyObject *resultobj;
13052 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13053 PyObject * obj0 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 (arg1)->ClearData();
13064
13065 wxPyEndAllowThreads(__tstate);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 Py_INCREF(Py_None); resultobj = Py_None;
13069 return resultobj;
13070 fail:
13071 return NULL;
13072}
13073
13074
2f4c0a16 13075static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13076 PyObject *resultobj;
13077 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13078 wxString *arg2 = 0 ;
13079 wxFileType *result;
423f194a 13080 bool temp2 = False ;
d14a1e28
RD
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "ext", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13090 {
13091 arg2 = wxString_in_helper(obj1);
13092 if (arg2 == NULL) SWIG_fail;
423f194a 13093 temp2 = True;
d14a1e28
RD
13094 }
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
2f4c0a16 13102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13103 {
13104 if (temp2)
13105 delete arg2;
13106 }
13107 return resultobj;
13108 fail:
13109 {
13110 if (temp2)
13111 delete arg2;
13112 }
13113 return NULL;
13114}
13115
13116
2f4c0a16 13117static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13118 PyObject *resultobj;
13119 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13120 wxString *arg2 = 0 ;
13121 wxFileType *result;
423f194a 13122 bool temp2 = False ;
d14a1e28
RD
13123 PyObject * obj0 = 0 ;
13124 PyObject * obj1 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self",(char *) "mimeType", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13132 {
13133 arg2 = wxString_in_helper(obj1);
13134 if (arg2 == NULL) SWIG_fail;
423f194a 13135 temp2 = True;
d14a1e28
RD
13136 }
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
2f4c0a16 13144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13145 {
13146 if (temp2)
13147 delete arg2;
13148 }
13149 return resultobj;
13150 fail:
13151 {
13152 if (temp2)
13153 delete arg2;
13154 }
13155 return NULL;
13156}
13157
13158
2f4c0a16 13159static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13160 PyObject *resultobj;
13161 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13162 wxString *arg2 = 0 ;
423f194a 13163 bool arg3 = (bool) False ;
d14a1e28 13164 bool result;
423f194a 13165 bool temp2 = False ;
d14a1e28
RD
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168 PyObject * obj2 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13176 {
13177 arg2 = wxString_in_helper(obj1);
13178 if (arg2 == NULL) SWIG_fail;
423f194a 13179 temp2 = True;
d14a1e28
RD
13180 }
13181 if (obj2) {
2f4c0a16
RD
13182 arg3 = (bool) SWIG_AsBool(obj2);
13183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13184 }
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
02a34c4c 13192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13193 {
13194 if (temp2)
13195 delete arg2;
13196 }
13197 return resultobj;
13198 fail:
13199 {
13200 if (temp2)
13201 delete arg2;
13202 }
13203 return NULL;
13204}
13205
13206
2f4c0a16 13207static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13208 PyObject *resultobj;
13209 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13210 wxString *arg2 = 0 ;
13211 bool result;
423f194a 13212 bool temp2 = False ;
d14a1e28
RD
13213 PyObject * obj0 = 0 ;
13214 PyObject * obj1 = 0 ;
13215 char *kwnames[] = {
13216 (char *) "self",(char *) "filename", NULL
13217 };
13218
13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13222 {
13223 arg2 = wxString_in_helper(obj1);
13224 if (arg2 == NULL) SWIG_fail;
423f194a 13225 temp2 = True;
d14a1e28
RD
13226 }
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
02a34c4c 13234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13235 {
13236 if (temp2)
13237 delete arg2;
13238 }
13239 return resultobj;
13240 fail:
13241 {
13242 if (temp2)
13243 delete arg2;
13244 }
13245 return NULL;
13246}
13247
13248
2f4c0a16 13249static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13250 PyObject *resultobj;
13251 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13252 PyObject *result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = result;
13269 return resultobj;
13270 fail:
13271 return NULL;
13272}
13273
13274
2f4c0a16 13275static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13276 PyObject *resultobj;
13277 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13278 wxFileTypeInfo *arg2 = 0 ;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj1 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self",(char *) "ft", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13289 SWIG_POINTER_EXCEPTION | 0)) == -1)
13290 SWIG_fail;
d14a1e28 13291 if (arg2 == NULL) {
2f4c0a16
RD
13292 PyErr_SetString(PyExc_TypeError,"null reference");
13293 SWIG_fail;
d14a1e28
RD
13294 }
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 Py_INCREF(Py_None); resultobj = Py_None;
13303 return resultobj;
13304 fail:
13305 return NULL;
13306}
13307
13308
2f4c0a16 13309static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13310 PyObject *resultobj;
13311 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13312 wxFileTypeInfo *arg2 = 0 ;
13313 wxFileType *result;
13314 PyObject * obj0 = 0 ;
13315 PyObject * obj1 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self",(char *) "ftInfo", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1)
13325 SWIG_fail;
d14a1e28 13326 if (arg2 == NULL) {
2f4c0a16
RD
13327 PyErr_SetString(PyExc_TypeError,"null reference");
13328 SWIG_fail;
d14a1e28
RD
13329 }
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
2f4c0a16 13337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13338 return resultobj;
13339 fail:
13340 return NULL;
13341}
13342
13343
2f4c0a16 13344static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13345 PyObject *resultobj;
13346 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13347 wxFileType *arg2 = (wxFileType *) 0 ;
13348 bool result;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "ft", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (bool)(arg1)->Unassociate(arg2);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
02a34c4c 13367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
2f4c0a16 13374static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13375 PyObject *resultobj;
13376 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13377 PyObject * obj0 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 delete arg1;
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
2f4c0a16 13399static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13400 PyObject *obj;
13401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13403 Py_INCREF(obj);
13404 return Py_BuildValue((char *)"");
13405}
8edf1c75 13406static int _wrap_ART_TOOLBAR_set(PyObject *) {
d14a1e28
RD
13407 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13408 return 1;
13409}
13410
13411
13412static PyObject *_wrap_ART_TOOLBAR_get() {
13413 PyObject *pyobj;
13414
13415 {
13416#if wxUSE_UNICODE
13417 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13418#else
13419 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13420#endif
13421 }
13422 return pyobj;
13423}
13424
13425
8edf1c75 13426static int _wrap_ART_MENU_set(PyObject *) {
d14a1e28
RD
13427 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13428 return 1;
13429}
13430
13431
13432static PyObject *_wrap_ART_MENU_get() {
13433 PyObject *pyobj;
13434
13435 {
13436#if wxUSE_UNICODE
13437 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13438#else
13439 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13440#endif
13441 }
13442 return pyobj;
13443}
13444
13445
8edf1c75 13446static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d14a1e28
RD
13447 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13448 return 1;
13449}
13450
13451
13452static PyObject *_wrap_ART_FRAME_ICON_get() {
13453 PyObject *pyobj;
13454
13455 {
13456#if wxUSE_UNICODE
13457 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13458#else
13459 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13460#endif
13461 }
13462 return pyobj;
13463}
13464
13465
8edf1c75 13466static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d14a1e28
RD
13467 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13468 return 1;
13469}
13470
13471
13472static PyObject *_wrap_ART_CMN_DIALOG_get() {
13473 PyObject *pyobj;
13474
13475 {
13476#if wxUSE_UNICODE
13477 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13478#else
13479 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13480#endif
13481 }
13482 return pyobj;
13483}
13484
13485
8edf1c75 13486static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d14a1e28
RD
13487 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13488 return 1;
13489}
13490
13491
13492static PyObject *_wrap_ART_HELP_BROWSER_get() {
13493 PyObject *pyobj;
13494
13495 {
13496#if wxUSE_UNICODE
13497 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13498#else
13499 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13500#endif
13501 }
13502 return pyobj;
13503}
13504
13505
8edf1c75 13506static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d14a1e28
RD
13507 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13508 return 1;
13509}
13510
13511
13512static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13513 PyObject *pyobj;
13514
13515 {
13516#if wxUSE_UNICODE
13517 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13518#else
13519 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13520#endif
13521 }
13522 return pyobj;
13523}
13524
13525
8edf1c75 13526static int _wrap_ART_OTHER_set(PyObject *) {
d14a1e28
RD
13527 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13528 return 1;
13529}
13530
13531
13532static PyObject *_wrap_ART_OTHER_get() {
13533 PyObject *pyobj;
13534
13535 {
13536#if wxUSE_UNICODE
13537 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13538#else
13539 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13540#endif
13541 }
13542 return pyobj;
13543}
13544
13545
8edf1c75 13546static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13547 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13548 return 1;
13549}
13550
13551
13552static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13553 PyObject *pyobj;
13554
13555 {
13556#if wxUSE_UNICODE
13557 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13558#else
13559 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13560#endif
13561 }
13562 return pyobj;
13563}
13564
13565
8edf1c75 13566static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d14a1e28
RD
13567 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13568 return 1;
13569}
13570
13571
13572static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13573 PyObject *pyobj;
13574
13575 {
13576#if wxUSE_UNICODE
13577 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13578#else
13579 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13580#endif
13581 }
13582 return pyobj;
13583}
13584
13585
8edf1c75 13586static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d14a1e28
RD
13587 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13588 return 1;
13589}
13590
13591
13592static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13593 PyObject *pyobj;
13594
13595 {
13596#if wxUSE_UNICODE
13597 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13598#else
13599 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13600#endif
13601 }
13602 return pyobj;
13603}
13604
13605
8edf1c75 13606static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d14a1e28
RD
13607 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13608 return 1;
13609}
13610
13611
13612static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13613 PyObject *pyobj;
13614
13615 {
13616#if wxUSE_UNICODE
13617 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13618#else
13619 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13620#endif
13621 }
13622 return pyobj;
13623}
13624
13625
8edf1c75 13626static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d14a1e28
RD
13627 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13628 return 1;
13629}
13630
13631
13632static PyObject *_wrap_ART_HELP_BOOK_get() {
13633 PyObject *pyobj;
13634
13635 {
13636#if wxUSE_UNICODE
13637 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13638#else
13639 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13640#endif
13641 }
13642 return pyobj;
13643}
13644
13645
8edf1c75 13646static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d14a1e28
RD
13647 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13648 return 1;
13649}
13650
13651
13652static PyObject *_wrap_ART_HELP_FOLDER_get() {
13653 PyObject *pyobj;
13654
13655 {
13656#if wxUSE_UNICODE
13657 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13658#else
13659 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13660#endif
13661 }
13662 return pyobj;
13663}
13664
13665
8edf1c75 13666static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d14a1e28
RD
13667 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13668 return 1;
13669}
13670
13671
13672static PyObject *_wrap_ART_HELP_PAGE_get() {
13673 PyObject *pyobj;
13674
13675 {
13676#if wxUSE_UNICODE
13677 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13678#else
13679 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13680#endif
13681 }
13682 return pyobj;
13683}
13684
13685
8edf1c75 13686static int _wrap_ART_GO_BACK_set(PyObject *) {
d14a1e28
RD
13687 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13688 return 1;
13689}
13690
13691
13692static PyObject *_wrap_ART_GO_BACK_get() {
13693 PyObject *pyobj;
13694
13695 {
13696#if wxUSE_UNICODE
13697 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13698#else
13699 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13700#endif
13701 }
13702 return pyobj;
13703}
13704
13705
8edf1c75 13706static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d14a1e28
RD
13707 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13708 return 1;
13709}
13710
13711
13712static PyObject *_wrap_ART_GO_FORWARD_get() {
13713 PyObject *pyobj;
13714
13715 {
13716#if wxUSE_UNICODE
13717 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13718#else
13719 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13720#endif
13721 }
13722 return pyobj;
13723}
13724
13725
8edf1c75 13726static int _wrap_ART_GO_UP_set(PyObject *) {
d14a1e28
RD
13727 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13728 return 1;
13729}
13730
13731
13732static PyObject *_wrap_ART_GO_UP_get() {
13733 PyObject *pyobj;
13734
13735 {
13736#if wxUSE_UNICODE
13737 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13738#else
13739 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13740#endif
13741 }
13742 return pyobj;
13743}
13744
13745
8edf1c75 13746static int _wrap_ART_GO_DOWN_set(PyObject *) {
d14a1e28
RD
13747 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13748 return 1;
13749}
13750
13751
13752static PyObject *_wrap_ART_GO_DOWN_get() {
13753 PyObject *pyobj;
13754
13755 {
13756#if wxUSE_UNICODE
13757 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13758#else
13759 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13760#endif
13761 }
13762 return pyobj;
13763}
13764
13765
8edf1c75 13766static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d14a1e28
RD
13767 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13768 return 1;
13769}
13770
13771
13772static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13773 PyObject *pyobj;
13774
13775 {
13776#if wxUSE_UNICODE
13777 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13778#else
13779 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13780#endif
13781 }
13782 return pyobj;
13783}
13784
13785
8edf1c75 13786static int _wrap_ART_GO_HOME_set(PyObject *) {
d14a1e28
RD
13787 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13788 return 1;
13789}
13790
13791
13792static PyObject *_wrap_ART_GO_HOME_get() {
13793 PyObject *pyobj;
13794
13795 {
13796#if wxUSE_UNICODE
13797 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13798#else
13799 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13800#endif
13801 }
13802 return pyobj;
13803}
13804
13805
8edf1c75 13806static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d14a1e28
RD
13807 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13808 return 1;
13809}
13810
13811
13812static PyObject *_wrap_ART_FILE_OPEN_get() {
13813 PyObject *pyobj;
13814
13815 {
13816#if wxUSE_UNICODE
13817 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13818#else
13819 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13820#endif
13821 }
13822 return pyobj;
13823}
13824
13825
8edf1c75 13826static int _wrap_ART_PRINT_set(PyObject *) {
d14a1e28
RD
13827 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13828 return 1;
13829}
13830
13831
13832static PyObject *_wrap_ART_PRINT_get() {
13833 PyObject *pyobj;
13834
13835 {
13836#if wxUSE_UNICODE
13837 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13838#else
13839 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13840#endif
13841 }
13842 return pyobj;
13843}
13844
13845
8edf1c75 13846static int _wrap_ART_HELP_set(PyObject *) {
d14a1e28
RD
13847 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13848 return 1;
13849}
13850
13851
13852static PyObject *_wrap_ART_HELP_get() {
13853 PyObject *pyobj;
13854
13855 {
13856#if wxUSE_UNICODE
13857 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13858#else
13859 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13860#endif
13861 }
13862 return pyobj;
13863}
13864
13865
8edf1c75 13866static int _wrap_ART_TIP_set(PyObject *) {
d14a1e28
RD
13867 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13868 return 1;
13869}
13870
13871
13872static PyObject *_wrap_ART_TIP_get() {
13873 PyObject *pyobj;
13874
13875 {
13876#if wxUSE_UNICODE
13877 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13878#else
13879 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13880#endif
13881 }
13882 return pyobj;
13883}
13884
13885
8edf1c75 13886static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d14a1e28
RD
13887 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13888 return 1;
13889}
13890
13891
13892static PyObject *_wrap_ART_REPORT_VIEW_get() {
13893 PyObject *pyobj;
13894
13895 {
13896#if wxUSE_UNICODE
13897 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13898#else
13899 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13900#endif
13901 }
13902 return pyobj;
13903}
13904
13905
8edf1c75 13906static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d14a1e28
RD
13907 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13908 return 1;
13909}
13910
13911
13912static PyObject *_wrap_ART_LIST_VIEW_get() {
13913 PyObject *pyobj;
13914
13915 {
13916#if wxUSE_UNICODE
13917 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13918#else
13919 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13920#endif
13921 }
13922 return pyobj;
13923}
13924
13925
8edf1c75 13926static int _wrap_ART_NEW_DIR_set(PyObject *) {
d14a1e28
RD
13927 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13928 return 1;
13929}
13930
13931
13932static PyObject *_wrap_ART_NEW_DIR_get() {
13933 PyObject *pyobj;
13934
13935 {
13936#if wxUSE_UNICODE
13937 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13938#else
13939 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13940#endif
13941 }
13942 return pyobj;
13943}
13944
13945
8edf1c75 13946static int _wrap_ART_FOLDER_set(PyObject *) {
d14a1e28
RD
13947 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13948 return 1;
13949}
13950
13951
13952static PyObject *_wrap_ART_FOLDER_get() {
13953 PyObject *pyobj;
13954
13955 {
13956#if wxUSE_UNICODE
13957 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13958#else
13959 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13960#endif
13961 }
13962 return pyobj;
13963}
13964
13965
8edf1c75 13966static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d14a1e28
RD
13967 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13968 return 1;
13969}
13970
13971
13972static PyObject *_wrap_ART_GO_DIR_UP_get() {
13973 PyObject *pyobj;
13974
13975 {
13976#if wxUSE_UNICODE
13977 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13978#else
13979 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13980#endif
13981 }
13982 return pyobj;
13983}
13984
13985
8edf1c75 13986static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d14a1e28
RD
13987 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13988 return 1;
13989}
13990
13991
13992static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13993 PyObject *pyobj;
13994
13995 {
13996#if wxUSE_UNICODE
13997 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13998#else
13999 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14000#endif
14001 }
14002 return pyobj;
14003}
14004
14005
8edf1c75 14006static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d14a1e28
RD
14007 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14008 return 1;
14009}
14010
14011
14012static PyObject *_wrap_ART_NORMAL_FILE_get() {
14013 PyObject *pyobj;
14014
14015 {
14016#if wxUSE_UNICODE
14017 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14018#else
14019 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14020#endif
14021 }
14022 return pyobj;
14023}
14024
14025
8edf1c75 14026static int _wrap_ART_TICK_MARK_set(PyObject *) {
d14a1e28
RD
14027 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14028 return 1;
14029}
14030
14031
14032static PyObject *_wrap_ART_TICK_MARK_get() {
14033 PyObject *pyobj;
14034
14035 {
14036#if wxUSE_UNICODE
14037 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14038#else
14039 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14040#endif
14041 }
14042 return pyobj;
14043}
14044
14045
8edf1c75 14046static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d14a1e28
RD
14047 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14048 return 1;
14049}
14050
14051
14052static PyObject *_wrap_ART_CROSS_MARK_get() {
14053 PyObject *pyobj;
14054
14055 {
14056#if wxUSE_UNICODE
14057 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14058#else
14059 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14060#endif
14061 }
14062 return pyobj;
14063}
14064
14065
8edf1c75 14066static int _wrap_ART_ERROR_set(PyObject *) {
d14a1e28
RD
14067 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14068 return 1;
14069}
14070
14071
14072static PyObject *_wrap_ART_ERROR_get() {
14073 PyObject *pyobj;
14074
14075 {
14076#if wxUSE_UNICODE
14077 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14078#else
14079 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14080#endif
14081 }
14082 return pyobj;
14083}
14084
14085
8edf1c75 14086static int _wrap_ART_QUESTION_set(PyObject *) {
d14a1e28
RD
14087 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14088 return 1;
14089}
14090
14091
14092static PyObject *_wrap_ART_QUESTION_get() {
14093 PyObject *pyobj;
14094
14095 {
14096#if wxUSE_UNICODE
14097 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14098#else
14099 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14100#endif
14101 }
14102 return pyobj;
14103}
14104
14105
8edf1c75 14106static int _wrap_ART_WARNING_set(PyObject *) {
d14a1e28
RD
14107 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14108 return 1;
14109}
14110
14111
14112static PyObject *_wrap_ART_WARNING_get() {
14113 PyObject *pyobj;
14114
14115 {
14116#if wxUSE_UNICODE
14117 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14118#else
14119 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14120#endif
14121 }
14122 return pyobj;
14123}
14124
14125
8edf1c75 14126static int _wrap_ART_INFORMATION_set(PyObject *) {
d14a1e28
RD
14127 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14128 return 1;
14129}
14130
14131
14132static PyObject *_wrap_ART_INFORMATION_get() {
14133 PyObject *pyobj;
14134
14135 {
14136#if wxUSE_UNICODE
14137 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14138#else
14139 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14140#endif
14141 }
14142 return pyobj;
14143}
14144
14145
8edf1c75 14146static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d14a1e28
RD
14147 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14148 return 1;
14149}
14150
14151
14152static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14153 PyObject *pyobj;
14154
14155 {
14156#if wxUSE_UNICODE
14157 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14158#else
14159 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14160#endif
14161 }
14162 return pyobj;
14163}
14164
14165
2f4c0a16 14166static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14167 PyObject *resultobj;
14168 wxPyArtProvider *result;
14169 char *kwnames[] = {
14170 NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 result = (wxPyArtProvider *)new wxPyArtProvider();
14177
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
2f4c0a16 14181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
14182 return resultobj;
14183 fail:
14184 return NULL;
14185}
14186
14187
2f4c0a16 14188static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14189 PyObject *resultobj;
14190 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14191 PyObject *arg2 = (PyObject *) 0 ;
14192 PyObject *arg3 = (PyObject *) 0 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 PyObject * obj2 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "self",(char *) "_class", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14203 arg2 = obj1;
14204 arg3 = obj2;
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 (arg1)->_setCallbackInfo(arg2,arg3);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 Py_INCREF(Py_None); resultobj = Py_None;
14213 return resultobj;
14214 fail:
14215 return NULL;
14216}
14217
14218
2f4c0a16 14219static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14220 PyObject *resultobj;
14221 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "provider", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 wxPyArtProvider::PushProvider(arg1);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 return resultobj;
14239 fail:
14240 return NULL;
14241}
14242
14243
2f4c0a16 14244static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14245 PyObject *resultobj;
14246 bool result;
14247 char *kwnames[] = {
14248 NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14252 {
14253 PyThreadState* __tstate = wxPyBeginAllowThreads();
14254 result = (bool)wxPyArtProvider::PopProvider();
14255
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
02a34c4c 14259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14260 return resultobj;
14261 fail:
14262 return NULL;
14263}
14264
14265
2f4c0a16 14266static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14267 PyObject *resultobj;
14268 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14269 bool result;
14270 PyObject * obj0 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "provider", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
02a34c4c 14285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14286 return resultobj;
14287 fail:
14288 return NULL;
14289}
14290
14291
2f4c0a16 14292static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14293 PyObject *resultobj;
14294 wxString *arg1 = 0 ;
14295 wxString const &arg2_defvalue = wxPyART_OTHER ;
14296 wxString *arg2 = (wxString *) &arg2_defvalue ;
14297 wxSize const &arg3_defvalue = wxDefaultSize ;
14298 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14299 wxBitmap result;
423f194a
RD
14300 bool temp1 = False ;
14301 bool temp2 = False ;
d14a1e28
RD
14302 wxSize temp3 ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "id",(char *) "client",(char *) "size", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14311 {
14312 arg1 = wxString_in_helper(obj0);
14313 if (arg1 == NULL) SWIG_fail;
423f194a 14314 temp1 = True;
d14a1e28
RD
14315 }
14316 if (obj1) {
14317 {
14318 arg2 = wxString_in_helper(obj1);
14319 if (arg2 == NULL) SWIG_fail;
423f194a 14320 temp2 = True;
d14a1e28
RD
14321 }
14322 }
14323 if (obj2) {
14324 {
14325 arg3 = &temp3;
14326 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14327 }
14328 }
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 {
14337 wxBitmap * resultptr;
14338 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 14339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14340 }
14341 {
14342 if (temp1)
14343 delete arg1;
14344 }
14345 {
14346 if (temp2)
14347 delete arg2;
14348 }
14349 return resultobj;
14350 fail:
14351 {
14352 if (temp1)
14353 delete arg1;
14354 }
14355 {
14356 if (temp2)
14357 delete arg2;
14358 }
14359 return NULL;
14360}
14361
14362
2f4c0a16 14363static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14364 PyObject *resultobj;
14365 wxString *arg1 = 0 ;
14366 wxString const &arg2_defvalue = wxPyART_OTHER ;
14367 wxString *arg2 = (wxString *) &arg2_defvalue ;
14368 wxSize const &arg3_defvalue = wxDefaultSize ;
14369 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14370 wxIcon result;
423f194a
RD
14371 bool temp1 = False ;
14372 bool temp2 = False ;
d14a1e28
RD
14373 wxSize temp3 ;
14374 PyObject * obj0 = 0 ;
14375 PyObject * obj1 = 0 ;
14376 PyObject * obj2 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "id",(char *) "client",(char *) "size", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14382 {
14383 arg1 = wxString_in_helper(obj0);
14384 if (arg1 == NULL) SWIG_fail;
423f194a 14385 temp1 = True;
d14a1e28
RD
14386 }
14387 if (obj1) {
14388 {
14389 arg2 = wxString_in_helper(obj1);
14390 if (arg2 == NULL) SWIG_fail;
423f194a 14391 temp2 = True;
d14a1e28
RD
14392 }
14393 }
14394 if (obj2) {
14395 {
14396 arg3 = &temp3;
14397 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14398 }
14399 }
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408 wxIcon * resultptr;
14409 resultptr = new wxIcon((wxIcon &) result);
2f4c0a16 14410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
14411 }
14412 {
14413 if (temp1)
14414 delete arg1;
14415 }
14416 {
14417 if (temp2)
14418 delete arg2;
14419 }
14420 return resultobj;
14421 fail:
14422 {
14423 if (temp1)
14424 delete arg1;
14425 }
14426 {
14427 if (temp2)
14428 delete arg2;
14429 }
14430 return NULL;
14431}
14432
14433
2f4c0a16 14434static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
14435 PyObject *resultobj;
14436 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 wxPyArtProvider_Destroy(arg1);
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 Py_INCREF(Py_None); resultobj = Py_None;
14453 return resultobj;
14454 fail:
14455 return NULL;
14456}
14457
14458
2f4c0a16 14459static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14460 PyObject *obj;
14461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14462 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14463 Py_INCREF(obj);
14464 return Py_BuildValue((char *)"");
14465}
2f4c0a16 14466static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14467 PyObject *resultobj;
14468 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 delete arg1;
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488}
14489
14490
2f4c0a16 14491static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14492 PyObject *resultobj;
14493 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14494 wxConfigBase *result;
14495 PyObject * obj0 = 0 ;
14496 char *kwnames[] = {
38f59159 14497 (char *) "config", NULL
d14a1e28
RD
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
2f4c0a16 14510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14511 return resultobj;
14512 fail:
14513 return NULL;
14514}
14515
14516
2f4c0a16 14517static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14518 PyObject *resultobj;
423f194a 14519 bool arg1 = (bool) True ;
d14a1e28
RD
14520 wxConfigBase *result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "createOnDemand", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14527 if (obj0) {
2f4c0a16
RD
14528 arg1 = (bool) SWIG_AsBool(obj0);
14529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14530 }
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
2f4c0a16 14538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14539 return resultobj;
14540 fail:
14541 return NULL;
14542}
14543
14544
2f4c0a16 14545static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14546 PyObject *resultobj;
14547 wxConfigBase *result;
14548 char *kwnames[] = {
14549 NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (wxConfigBase *)wxConfigBase::Create();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
2f4c0a16 14560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14561 return resultobj;
14562 fail:
14563 return NULL;
14564}
14565
14566
2f4c0a16 14567static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14568 PyObject *resultobj;
14569 char *kwnames[] = {
14570 NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 wxConfigBase::DontCreateOnDemand();
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 Py_INCREF(Py_None); resultobj = Py_None;
14582 return resultobj;
14583 fail:
14584 return NULL;
14585}
14586
14587
2f4c0a16 14588static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14589 PyObject *resultobj;
14590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14591 wxString *arg2 = 0 ;
423f194a 14592 bool temp2 = False ;
d14a1e28
RD
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj1 = 0 ;
14595 char *kwnames[] = {
38f59159 14596 (char *) "self",(char *) "path", NULL
d14a1e28
RD
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14602 {
14603 arg2 = wxString_in_helper(obj1);
14604 if (arg2 == NULL) SWIG_fail;
423f194a 14605 temp2 = True;
d14a1e28
RD
14606 }
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 (arg1)->SetPath((wxString const &)*arg2);
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 Py_INCREF(Py_None); resultobj = Py_None;
14615 {
14616 if (temp2)
14617 delete arg2;
14618 }
14619 return resultobj;
14620 fail:
14621 {
14622 if (temp2)
14623 delete arg2;
14624 }
14625 return NULL;
14626}
14627
14628
2f4c0a16 14629static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14630 PyObject *resultobj;
14631 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14632 wxString *result;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 {
14644 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14645 result = (wxString *) &_result_ref;
14646 }
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
0f774bef
RD
14651 {
14652#if wxUSE_UNICODE
14653 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14654#else
14655 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14656#endif
14657 }
d14a1e28
RD
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
2f4c0a16 14664static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14665 PyObject *resultobj;
14666 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14667 PyObject *result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = result;
14684 return resultobj;
14685 fail:
14686 return NULL;
14687}
14688
14689
2f4c0a16 14690static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14691 PyObject *resultobj;
14692 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14693 long arg2 ;
14694 PyObject *result;
14695 PyObject * obj0 = 0 ;
8edf1c75 14696 PyObject * obj1 = 0 ;
d14a1e28
RD
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "index", NULL
14699 };
14700
8edf1c75 14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14704 arg2 = (long) SWIG_AsLong(obj1);
14705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 resultobj = result;
14714 return resultobj;
14715 fail:
14716 return NULL;
14717}
14718
14719
2f4c0a16 14720static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14721 PyObject *resultobj;
14722 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14723 PyObject *result;
14724 PyObject * obj0 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = result;
14740 return resultobj;
14741 fail:
14742 return NULL;
14743}
14744
14745
2f4c0a16 14746static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14747 PyObject *resultobj;
14748 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14749 long arg2 ;
14750 PyObject *result;
14751 PyObject * obj0 = 0 ;
8edf1c75 14752 PyObject * obj1 = 0 ;
d14a1e28
RD
14753 char *kwnames[] = {
14754 (char *) "self",(char *) "index", NULL
14755 };
14756
8edf1c75 14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14760 arg2 = (long) SWIG_AsLong(obj1);
14761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = result;
14770 return resultobj;
14771 fail:
14772 return NULL;
14773}
14774
14775
2f4c0a16 14776static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14777 PyObject *resultobj;
14778 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14779 bool arg2 = (bool) False ;
d14a1e28
RD
14780 size_t result;
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 char *kwnames[] = {
38f59159 14784 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14790 if (obj1) {
2f4c0a16
RD
14791 arg2 = (bool) SWIG_AsBool(obj1);
14792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14793 }
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
2f4c0a16 14801 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
2f4c0a16 14808static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14809 PyObject *resultobj;
14810 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14811 bool arg2 = (bool) False ;
d14a1e28
RD
14812 size_t result;
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 char *kwnames[] = {
38f59159 14816 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14822 if (obj1) {
2f4c0a16
RD
14823 arg2 = (bool) SWIG_AsBool(obj1);
14824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14825 }
14826 {
14827 PyThreadState* __tstate = wxPyBeginAllowThreads();
14828 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14829
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
2f4c0a16 14833 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14834 return resultobj;
14835 fail:
14836 return NULL;
14837}
14838
14839
2f4c0a16 14840static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14841 PyObject *resultobj;
14842 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14843 wxString *arg2 = 0 ;
14844 bool result;
423f194a 14845 bool temp2 = False ;
d14a1e28
RD
14846 PyObject * obj0 = 0 ;
14847 PyObject * obj1 = 0 ;
14848 char *kwnames[] = {
38f59159 14849 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14850 };
14851
14852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14855 {
14856 arg2 = wxString_in_helper(obj1);
14857 if (arg2 == NULL) SWIG_fail;
423f194a 14858 temp2 = True;
d14a1e28
RD
14859 }
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
02a34c4c 14867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14868 {
14869 if (temp2)
14870 delete arg2;
14871 }
14872 return resultobj;
14873 fail:
14874 {
14875 if (temp2)
14876 delete arg2;
14877 }
14878 return NULL;
14879}
14880
14881
2f4c0a16 14882static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14883 PyObject *resultobj;
14884 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14885 wxString *arg2 = 0 ;
14886 bool result;
423f194a 14887 bool temp2 = False ;
d14a1e28
RD
14888 PyObject * obj0 = 0 ;
14889 PyObject * obj1 = 0 ;
14890 char *kwnames[] = {
38f59159 14891 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14897 {
14898 arg2 = wxString_in_helper(obj1);
14899 if (arg2 == NULL) SWIG_fail;
423f194a 14900 temp2 = True;
d14a1e28
RD
14901 }
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
02a34c4c 14909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14910 {
14911 if (temp2)
14912 delete arg2;
14913 }
14914 return resultobj;
14915 fail:
14916 {
14917 if (temp2)
14918 delete arg2;
14919 }
14920 return NULL;
14921}
14922
14923
2f4c0a16 14924static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14925 PyObject *resultobj;
14926 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14927 wxString *arg2 = 0 ;
14928 bool result;
423f194a 14929 bool temp2 = False ;
d14a1e28
RD
14930 PyObject * obj0 = 0 ;
14931 PyObject * obj1 = 0 ;
14932 char *kwnames[] = {
38f59159 14933 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14934 };
14935
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14939 {
14940 arg2 = wxString_in_helper(obj1);
14941 if (arg2 == NULL) SWIG_fail;
423f194a 14942 temp2 = True;
d14a1e28
RD
14943 }
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
02a34c4c 14951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14952 {
14953 if (temp2)
14954 delete arg2;
14955 }
14956 return resultobj;
14957 fail:
14958 {
14959 if (temp2)
14960 delete arg2;
14961 }
14962 return NULL;
14963}
14964
14965
2f4c0a16 14966static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14967 PyObject *resultobj;
14968 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14969 wxString *arg2 = 0 ;
14970 int result;
423f194a 14971 bool temp2 = False ;
d14a1e28
RD
14972 PyObject * obj0 = 0 ;
14973 PyObject * obj1 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "self",(char *) "name", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14981 {
14982 arg2 = wxString_in_helper(obj1);
14983 if (arg2 == NULL) SWIG_fail;
423f194a 14984 temp2 = True;
d14a1e28
RD
14985 }
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
2f4c0a16 14993 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14994 {
14995 if (temp2)
14996 delete arg2;
14997 }
14998 return resultobj;
14999 fail:
15000 {
15001 if (temp2)
15002 delete arg2;
15003 }
15004 return NULL;
15005}
15006
15007
2f4c0a16 15008static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15009 PyObject *resultobj;
15010 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15011 wxString *arg2 = 0 ;
15012 wxString const &arg3_defvalue = wxPyEmptyString ;
15013 wxString *arg3 = (wxString *) &arg3_defvalue ;
15014 wxString result;
423f194a
RD
15015 bool temp2 = False ;
15016 bool temp3 = False ;
d14a1e28
RD
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 PyObject * obj2 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15027 {
15028 arg2 = wxString_in_helper(obj1);
15029 if (arg2 == NULL) SWIG_fail;
423f194a 15030 temp2 = True;
d14a1e28
RD
15031 }
15032 if (obj2) {
15033 {
15034 arg3 = wxString_in_helper(obj2);
15035 if (arg3 == NULL) SWIG_fail;
423f194a 15036 temp3 = True;
d14a1e28
RD
15037 }
15038 }
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 {
15047#if wxUSE_UNICODE
15048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15049#else
15050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15051#endif
15052 }
15053 {
15054 if (temp2)
15055 delete arg2;
15056 }
15057 {
15058 if (temp3)
15059 delete arg3;
15060 }
15061 return resultobj;
15062 fail:
15063 {
15064 if (temp2)
15065 delete arg2;
15066 }
15067 {
15068 if (temp3)
15069 delete arg3;
15070 }
15071 return NULL;
15072}
15073
15074
2f4c0a16 15075static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15076 PyObject *resultobj;
15077 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15078 wxString *arg2 = 0 ;
15079 long arg3 = (long) 0 ;
15080 long result;
423f194a 15081 bool temp2 = False ;
d14a1e28
RD
15082 PyObject * obj0 = 0 ;
15083 PyObject * obj1 = 0 ;
8edf1c75 15084 PyObject * obj2 = 0 ;
d14a1e28
RD
15085 char *kwnames[] = {
15086 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15087 };
15088
8edf1c75 15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15092 {
15093 arg2 = wxString_in_helper(obj1);
15094 if (arg2 == NULL) SWIG_fail;
423f194a 15095 temp2 = True;
d14a1e28 15096 }
8edf1c75 15097 if (obj2) {
2f4c0a16
RD
15098 arg3 = (long) SWIG_AsLong(obj2);
15099 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15100 }
d14a1e28
RD
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
2f4c0a16 15108 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15109 {
15110 if (temp2)
15111 delete arg2;
15112 }
15113 return resultobj;
15114 fail:
15115 {
15116 if (temp2)
15117 delete arg2;
15118 }
15119 return NULL;
15120}
15121
15122
2f4c0a16 15123static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15124 PyObject *resultobj;
15125 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15126 wxString *arg2 = 0 ;
15127 double arg3 = (double) 0.0 ;
15128 double result;
423f194a 15129 bool temp2 = False ;
d14a1e28
RD
15130 PyObject * obj0 = 0 ;
15131 PyObject * obj1 = 0 ;
8edf1c75 15132 PyObject * obj2 = 0 ;
d14a1e28
RD
15133 char *kwnames[] = {
15134 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15135 };
15136
8edf1c75 15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15140 {
15141 arg2 = wxString_in_helper(obj1);
15142 if (arg2 == NULL) SWIG_fail;
423f194a 15143 temp2 = True;
d14a1e28 15144 }
8edf1c75 15145 if (obj2) {
2f4c0a16
RD
15146 arg3 = (double) SWIG_AsDouble(obj2);
15147 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15148 }
d14a1e28
RD
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
2f4c0a16 15156 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
15157 {
15158 if (temp2)
15159 delete arg2;
15160 }
15161 return resultobj;
15162 fail:
15163 {
15164 if (temp2)
15165 delete arg2;
15166 }
15167 return NULL;
15168}
15169
15170
2f4c0a16 15171static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15172 PyObject *resultobj;
15173 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15174 wxString *arg2 = 0 ;
423f194a 15175 bool arg3 = (bool) False ;
d14a1e28 15176 bool result;
423f194a 15177 bool temp2 = False ;
d14a1e28
RD
15178 PyObject * obj0 = 0 ;
15179 PyObject * obj1 = 0 ;
15180 PyObject * obj2 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15188 {
15189 arg2 = wxString_in_helper(obj1);
15190 if (arg2 == NULL) SWIG_fail;
423f194a 15191 temp2 = True;
d14a1e28
RD
15192 }
15193 if (obj2) {
2f4c0a16
RD
15194 arg3 = (bool) SWIG_AsBool(obj2);
15195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15196 }
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
02a34c4c 15204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15205 {
15206 if (temp2)
15207 delete arg2;
15208 }
15209 return resultobj;
15210 fail:
15211 {
15212 if (temp2)
15213 delete arg2;
15214 }
15215 return NULL;
15216}
15217
15218
2f4c0a16 15219static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15220 PyObject *resultobj;
15221 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15222 wxString *arg2 = 0 ;
15223 wxString *arg3 = 0 ;
15224 bool result;
423f194a
RD
15225 bool temp2 = False ;
15226 bool temp3 = False ;
d14a1e28
RD
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 PyObject * obj2 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "self",(char *) "key",(char *) "value", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15237 {
15238 arg2 = wxString_in_helper(obj1);
15239 if (arg2 == NULL) SWIG_fail;
423f194a 15240 temp2 = True;
d14a1e28
RD
15241 }
15242 {
15243 arg3 = wxString_in_helper(obj2);
15244 if (arg3 == NULL) SWIG_fail;
423f194a 15245 temp3 = True;
d14a1e28
RD
15246 }
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
02a34c4c 15254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15255 {
15256 if (temp2)
15257 delete arg2;
15258 }
15259 {
15260 if (temp3)
15261 delete arg3;
15262 }
15263 return resultobj;
15264 fail:
15265 {
15266 if (temp2)
15267 delete arg2;
15268 }
15269 {
15270 if (temp3)
15271 delete arg3;
15272 }
15273 return NULL;
15274}
15275
15276
2f4c0a16 15277static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15278 PyObject *resultobj;
15279 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15280 wxString *arg2 = 0 ;
15281 long arg3 ;
15282 bool result;
423f194a 15283 bool temp2 = False ;
d14a1e28
RD
15284 PyObject * obj0 = 0 ;
15285 PyObject * obj1 = 0 ;
8edf1c75 15286 PyObject * obj2 = 0 ;
d14a1e28
RD
15287 char *kwnames[] = {
15288 (char *) "self",(char *) "key",(char *) "value", NULL
15289 };
15290
8edf1c75 15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15294 {
15295 arg2 = wxString_in_helper(obj1);
15296 if (arg2 == NULL) SWIG_fail;
423f194a 15297 temp2 = True;
d14a1e28 15298 }
2f4c0a16
RD
15299 arg3 = (long) SWIG_AsLong(obj2);
15300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
02a34c4c 15308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15309 {
15310 if (temp2)
15311 delete arg2;
15312 }
15313 return resultobj;
15314 fail:
15315 {
15316 if (temp2)
15317 delete arg2;
15318 }
15319 return NULL;
15320}
15321
15322
2f4c0a16 15323static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15324 PyObject *resultobj;
15325 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15326 wxString *arg2 = 0 ;
15327 double arg3 ;
15328 bool result;
423f194a 15329 bool temp2 = False ;
d14a1e28
RD
15330 PyObject * obj0 = 0 ;
15331 PyObject * obj1 = 0 ;
8edf1c75 15332 PyObject * obj2 = 0 ;
d14a1e28
RD
15333 char *kwnames[] = {
15334 (char *) "self",(char *) "key",(char *) "value", NULL
15335 };
15336
8edf1c75 15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15340 {
15341 arg2 = wxString_in_helper(obj1);
15342 if (arg2 == NULL) SWIG_fail;
423f194a 15343 temp2 = True;
d14a1e28 15344 }
2f4c0a16
RD
15345 arg3 = (double) SWIG_AsDouble(obj2);
15346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
02a34c4c 15354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15355 {
15356 if (temp2)
15357 delete arg2;
15358 }
15359 return resultobj;
15360 fail:
15361 {
15362 if (temp2)
15363 delete arg2;
15364 }
15365 return NULL;
15366}
15367
15368
2f4c0a16 15369static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15370 PyObject *resultobj;
15371 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15372 wxString *arg2 = 0 ;
15373 bool arg3 ;
15374 bool result;
423f194a 15375 bool temp2 = False ;
d14a1e28
RD
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 PyObject * obj2 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self",(char *) "key",(char *) "value", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15386 {
15387 arg2 = wxString_in_helper(obj1);
15388 if (arg2 == NULL) SWIG_fail;
423f194a 15389 temp2 = True;
d14a1e28 15390 }
2f4c0a16
RD
15391 arg3 = (bool) SWIG_AsBool(obj2);
15392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
02a34c4c 15400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15401 {
15402 if (temp2)
15403 delete arg2;
15404 }
15405 return resultobj;
15406 fail:
15407 {
15408 if (temp2)
15409 delete arg2;
15410 }
15411 return NULL;
15412}
15413
15414
2f4c0a16 15415static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15416 PyObject *resultobj;
15417 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15418 bool arg2 = (bool) False ;
d14a1e28
RD
15419 bool result;
15420 PyObject * obj0 = 0 ;
15421 PyObject * obj1 = 0 ;
15422 char *kwnames[] = {
38f59159 15423 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
15424 };
15425
15426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15429 if (obj1) {
2f4c0a16
RD
15430 arg2 = (bool) SWIG_AsBool(obj1);
15431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15432 }
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (bool)(arg1)->Flush(arg2);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
02a34c4c 15440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15441 return resultobj;
15442 fail:
15443 return NULL;
15444}
15445
15446
2f4c0a16 15447static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15448 PyObject *resultobj;
15449 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15450 wxString *arg2 = 0 ;
15451 wxString *arg3 = 0 ;
15452 bool result;
423f194a
RD
15453 bool temp2 = False ;
15454 bool temp3 = False ;
d14a1e28
RD
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 PyObject * obj2 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15465 {
15466 arg2 = wxString_in_helper(obj1);
15467 if (arg2 == NULL) SWIG_fail;
423f194a 15468 temp2 = True;
d14a1e28
RD
15469 }
15470 {
15471 arg3 = wxString_in_helper(obj2);
15472 if (arg3 == NULL) SWIG_fail;
423f194a 15473 temp3 = True;
d14a1e28
RD
15474 }
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
02a34c4c 15482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15483 {
15484 if (temp2)
15485 delete arg2;
15486 }
15487 {
15488 if (temp3)
15489 delete arg3;
15490 }
15491 return resultobj;
15492 fail:
15493 {
15494 if (temp2)
15495 delete arg2;
15496 }
15497 {
15498 if (temp3)
15499 delete arg3;
15500 }
15501 return NULL;
15502}
15503
15504
2f4c0a16 15505static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15506 PyObject *resultobj;
15507 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15508 wxString *arg2 = 0 ;
15509 wxString *arg3 = 0 ;
15510 bool result;
423f194a
RD
15511 bool temp2 = False ;
15512 bool temp3 = False ;
d14a1e28
RD
15513 PyObject * obj0 = 0 ;
15514 PyObject * obj1 = 0 ;
15515 PyObject * obj2 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15518 };
15519
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15523 {
15524 arg2 = wxString_in_helper(obj1);
15525 if (arg2 == NULL) SWIG_fail;
423f194a 15526 temp2 = True;
d14a1e28
RD
15527 }
15528 {
15529 arg3 = wxString_in_helper(obj2);
15530 if (arg3 == NULL) SWIG_fail;
423f194a 15531 temp3 = True;
d14a1e28
RD
15532 }
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
02a34c4c 15540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15541 {
15542 if (temp2)
15543 delete arg2;
15544 }
15545 {
15546 if (temp3)
15547 delete arg3;
15548 }
15549 return resultobj;
15550 fail:
15551 {
15552 if (temp2)
15553 delete arg2;
15554 }
15555 {
15556 if (temp3)
15557 delete arg3;
15558 }
15559 return NULL;
15560}
15561
15562
2f4c0a16 15563static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15564 PyObject *resultobj;
15565 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15566 wxString *arg2 = 0 ;
423f194a 15567 bool arg3 = (bool) True ;
d14a1e28 15568 bool result;
423f194a 15569 bool temp2 = False ;
d14a1e28
RD
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 char *kwnames[] = {
38f59159 15574 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15580 {
15581 arg2 = wxString_in_helper(obj1);
15582 if (arg2 == NULL) SWIG_fail;
423f194a 15583 temp2 = True;
d14a1e28
RD
15584 }
15585 if (obj2) {
2f4c0a16
RD
15586 arg3 = (bool) SWIG_AsBool(obj2);
15587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15588 }
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
02a34c4c 15596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15597 {
15598 if (temp2)
15599 delete arg2;
15600 }
15601 return resultobj;
15602 fail:
15603 {
15604 if (temp2)
15605 delete arg2;
15606 }
15607 return NULL;
15608}
15609
15610
2f4c0a16 15611static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15612 PyObject *resultobj;
15613 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15614 wxString *arg2 = 0 ;
15615 bool result;
423f194a 15616 bool temp2 = False ;
d14a1e28
RD
15617 PyObject * obj0 = 0 ;
15618 PyObject * obj1 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self",(char *) "key", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15626 {
15627 arg2 = wxString_in_helper(obj1);
15628 if (arg2 == NULL) SWIG_fail;
423f194a 15629 temp2 = True;
d14a1e28
RD
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
02a34c4c 15638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15639 {
15640 if (temp2)
15641 delete arg2;
15642 }
15643 return resultobj;
15644 fail:
15645 {
15646 if (temp2)
15647 delete arg2;
15648 }
15649 return NULL;
15650}
15651
15652
2f4c0a16 15653static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15654 PyObject *resultobj;
15655 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15656 bool result;
15657 PyObject * obj0 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (bool)(arg1)->DeleteAll();
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
02a34c4c 15672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15673 return resultobj;
15674 fail:
15675 return NULL;
15676}
15677
15678
2f4c0a16 15679static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15680 PyObject *resultobj;
15681 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
38f59159 15682 bool arg2 = (bool) True ;
d14a1e28 15683 PyObject * obj0 = 0 ;
38f59159 15684 PyObject * obj1 = 0 ;
d14a1e28 15685 char *kwnames[] = {
38f59159 15686 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15687 };
15688
38f59159 15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159 15692 if (obj1) {
2f4c0a16
RD
15693 arg2 = (bool) SWIG_AsBool(obj1);
15694 if (PyErr_Occurred()) SWIG_fail;
38f59159 15695 }
d14a1e28
RD
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15698 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
38f59159 15703 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15704 return resultobj;
15705 fail:
15706 return NULL;
15707}
15708
15709
2f4c0a16 15710static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15711 PyObject *resultobj;
15712 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
38f59159 15713 bool result;
d14a1e28 15714 PyObject * obj0 = 0 ;
d14a1e28 15715 char *kwnames[] = {
38f59159 15716 (char *) "self", NULL
d14a1e28
RD
15717 };
15718
38f59159 15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15724 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
38f59159 15729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15730 return resultobj;
15731 fail:
15732 return NULL;
15733}
15734
15735
2f4c0a16 15736static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15737 PyObject *resultobj;
15738 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15739 bool arg2 = (bool) True ;
d14a1e28
RD
15740 PyObject * obj0 = 0 ;
15741 PyObject * obj1 = 0 ;
15742 char *kwnames[] = {
38f59159 15743 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15749 if (obj1) {
2f4c0a16
RD
15750 arg2 = (bool) SWIG_AsBool(obj1);
15751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15752 }
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->SetRecordDefaults(arg2);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764}
15765
15766
2f4c0a16 15767static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15768 PyObject *resultobj;
15769 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15770 bool result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
02a34c4c 15786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15787 return resultobj;
15788 fail:
15789 return NULL;
15790}
15791
15792
2f4c0a16 15793static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15794 PyObject *resultobj;
15795 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15796 wxString *arg2 = 0 ;
15797 wxString result;
423f194a 15798 bool temp2 = False ;
d14a1e28
RD
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self",(char *) "str", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15808 {
15809 arg2 = wxString_in_helper(obj1);
15810 if (arg2 == NULL) SWIG_fail;
423f194a 15811 temp2 = True;
d14a1e28
RD
15812 }
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821#if wxUSE_UNICODE
15822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15823#else
15824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15825#endif
15826 }
15827 {
15828 if (temp2)
15829 delete arg2;
15830 }
15831 return resultobj;
15832 fail:
15833 {
15834 if (temp2)
15835 delete arg2;
15836 }
15837 return NULL;
15838}
15839
15840
2f4c0a16 15841static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15842 PyObject *resultobj;
15843 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15844 wxString result;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 result = ((wxConfigBase const *)arg1)->GetAppName();
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 {
15861#if wxUSE_UNICODE
15862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15863#else
15864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15865#endif
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
2f4c0a16 15873static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15874 PyObject *resultobj;
15875 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15876 wxString result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = ((wxConfigBase const *)arg1)->GetVendorName();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 {
15893#if wxUSE_UNICODE
15894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15895#else
15896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15897#endif
15898 }
15899 return resultobj;
15900 fail:
15901 return NULL;
15902}
15903
15904
2f4c0a16 15905static PyObject *_wrap_ConfigBase_SetAppName(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 *) "appName", NULL
15914 };
15915
15916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",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)->SetAppName((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_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15947 PyObject *resultobj;
15948 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15949 wxString *arg2 = 0 ;
423f194a 15950 bool temp2 = False ;
d14a1e28
RD
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self",(char *) "vendorName", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15960 {
15961 arg2 = wxString_in_helper(obj1);
15962 if (arg2 == NULL) SWIG_fail;
423f194a 15963 temp2 = True;
d14a1e28
RD
15964 }
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 (arg1)->SetVendorName((wxString const &)*arg2);
15968
15969 wxPyEndAllowThreads(__tstate);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 }
15972 Py_INCREF(Py_None); resultobj = Py_None;
15973 {
15974 if (temp2)
15975 delete arg2;
15976 }
15977 return resultobj;
15978 fail:
15979 {
15980 if (temp2)
15981 delete arg2;
15982 }
15983 return NULL;
15984}
15985
15986
2f4c0a16 15987static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15988 PyObject *resultobj;
15989 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15990 long arg2 ;
15991 PyObject * obj0 = 0 ;
8edf1c75 15992 PyObject * obj1 = 0 ;
d14a1e28
RD
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "style", NULL
15995 };
15996
8edf1c75 15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16000 arg2 = (long) SWIG_AsLong(obj1);
16001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->SetStyle(arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
2f4c0a16 16016static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16017 PyObject *resultobj;
16018 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16019 long result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
2f4c0a16 16035 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
16036 return resultobj;
16037 fail:
16038 return NULL;
16039}
16040
16041
2f4c0a16 16042static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16043 PyObject *obj;
16044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16046 Py_INCREF(obj);
16047 return Py_BuildValue((char *)"");
16048}
2f4c0a16 16049static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16050 PyObject *resultobj;
16051 wxString const &arg1_defvalue = wxPyEmptyString ;
16052 wxString *arg1 = (wxString *) &arg1_defvalue ;
16053 wxString const &arg2_defvalue = wxPyEmptyString ;
16054 wxString *arg2 = (wxString *) &arg2_defvalue ;
16055 wxString const &arg3_defvalue = wxPyEmptyString ;
16056 wxString *arg3 = (wxString *) &arg3_defvalue ;
16057 wxString const &arg4_defvalue = wxPyEmptyString ;
16058 wxString *arg4 = (wxString *) &arg4_defvalue ;
16059 long arg5 = (long) 0 ;
16060 wxConfig *result;
423f194a
RD
16061 bool temp1 = False ;
16062 bool temp2 = False ;
16063 bool temp3 = False ;
16064 bool temp4 = False ;
d14a1e28
RD
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
16067 PyObject * obj2 = 0 ;
16068 PyObject * obj3 = 0 ;
8edf1c75 16069 PyObject * obj4 = 0 ;
d14a1e28
RD
16070 char *kwnames[] = {
16071 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16072 };
16073
8edf1c75 16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16075 if (obj0) {
16076 {
16077 arg1 = wxString_in_helper(obj0);
16078 if (arg1 == NULL) SWIG_fail;
423f194a 16079 temp1 = True;
d14a1e28
RD
16080 }
16081 }
16082 if (obj1) {
16083 {
16084 arg2 = wxString_in_helper(obj1);
16085 if (arg2 == NULL) SWIG_fail;
423f194a 16086 temp2 = True;
d14a1e28
RD
16087 }
16088 }
16089 if (obj2) {
16090 {
16091 arg3 = wxString_in_helper(obj2);
16092 if (arg3 == NULL) SWIG_fail;
423f194a 16093 temp3 = True;
d14a1e28
RD
16094 }
16095 }
16096 if (obj3) {
16097 {
16098 arg4 = wxString_in_helper(obj3);
16099 if (arg4 == NULL) SWIG_fail;
423f194a 16100 temp4 = True;
d14a1e28
RD
16101 }
16102 }
8edf1c75 16103 if (obj4) {
2f4c0a16
RD
16104 arg5 = (long) SWIG_AsLong(obj4);
16105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16106 }
d14a1e28
RD
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
2f4c0a16 16114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
16115 {
16116 if (temp1)
16117 delete arg1;
16118 }
16119 {
16120 if (temp2)
16121 delete arg2;
16122 }
16123 {
16124 if (temp3)
16125 delete arg3;
16126 }
16127 {
16128 if (temp4)
16129 delete arg4;
16130 }
16131 return resultobj;
16132 fail:
16133 {
16134 if (temp1)
16135 delete arg1;
16136 }
16137 {
16138 if (temp2)
16139 delete arg2;
16140 }
16141 {
16142 if (temp3)
16143 delete arg3;
16144 }
16145 {
16146 if (temp4)
16147 delete arg4;
16148 }
16149 return NULL;
16150}
16151
16152
2f4c0a16 16153static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16154 PyObject *resultobj;
16155 wxConfig *arg1 = (wxConfig *) 0 ;
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 delete arg1;
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 Py_INCREF(Py_None); resultobj = Py_None;
16172 return resultobj;
16173 fail:
16174 return NULL;
16175}
16176
16177
2f4c0a16 16178static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16179 PyObject *obj;
16180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16181 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16182 Py_INCREF(obj);
16183 return Py_BuildValue((char *)"");
16184}
2f4c0a16 16185static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16186 PyObject *resultobj;
16187 wxString const &arg1_defvalue = wxPyEmptyString ;
16188 wxString *arg1 = (wxString *) &arg1_defvalue ;
16189 wxString const &arg2_defvalue = wxPyEmptyString ;
16190 wxString *arg2 = (wxString *) &arg2_defvalue ;
16191 wxString const &arg3_defvalue = wxPyEmptyString ;
16192 wxString *arg3 = (wxString *) &arg3_defvalue ;
16193 wxString const &arg4_defvalue = wxPyEmptyString ;
16194 wxString *arg4 = (wxString *) &arg4_defvalue ;
ce7284bd 16195 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16196 wxFileConfig *result;
423f194a
RD
16197 bool temp1 = False ;
16198 bool temp2 = False ;
16199 bool temp3 = False ;
16200 bool temp4 = False ;
d14a1e28
RD
16201 PyObject * obj0 = 0 ;
16202 PyObject * obj1 = 0 ;
16203 PyObject * obj2 = 0 ;
16204 PyObject * obj3 = 0 ;
8edf1c75 16205 PyObject * obj4 = 0 ;
d14a1e28
RD
16206 char *kwnames[] = {
16207 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16208 };
16209
8edf1c75 16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16211 if (obj0) {
16212 {
16213 arg1 = wxString_in_helper(obj0);
16214 if (arg1 == NULL) SWIG_fail;
423f194a 16215 temp1 = True;
d14a1e28
RD
16216 }
16217 }
16218 if (obj1) {
16219 {
16220 arg2 = wxString_in_helper(obj1);
16221 if (arg2 == NULL) SWIG_fail;
423f194a 16222 temp2 = True;
d14a1e28
RD
16223 }
16224 }
16225 if (obj2) {
16226 {
16227 arg3 = wxString_in_helper(obj2);
16228 if (arg3 == NULL) SWIG_fail;
423f194a 16229 temp3 = True;
d14a1e28
RD
16230 }
16231 }
16232 if (obj3) {
16233 {
16234 arg4 = wxString_in_helper(obj3);
16235 if (arg4 == NULL) SWIG_fail;
423f194a 16236 temp4 = True;
d14a1e28
RD
16237 }
16238 }
8edf1c75 16239 if (obj4) {
2f4c0a16
RD
16240 arg5 = (long) SWIG_AsLong(obj4);
16241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16242 }
d14a1e28
RD
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
2f4c0a16 16250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
16251 {
16252 if (temp1)
16253 delete arg1;
16254 }
16255 {
16256 if (temp2)
16257 delete arg2;
16258 }
16259 {
16260 if (temp3)
16261 delete arg3;
16262 }
16263 {
16264 if (temp4)
16265 delete arg4;
16266 }
16267 return resultobj;
16268 fail:
16269 {
16270 if (temp1)
16271 delete arg1;
16272 }
16273 {
16274 if (temp2)
16275 delete arg2;
16276 }
16277 {
16278 if (temp3)
16279 delete arg3;
16280 }
16281 {
16282 if (temp4)
16283 delete arg4;
16284 }
16285 return NULL;
16286}
16287
16288
2f4c0a16 16289static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16290 PyObject *resultobj;
16291 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16292 PyObject * obj0 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 delete arg1;
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 Py_INCREF(Py_None); resultobj = Py_None;
16308 return resultobj;
16309 fail:
16310 return NULL;
16311}
16312
16313
2f4c0a16 16314static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16315 PyObject *obj;
16316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16317 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16318 Py_INCREF(obj);
16319 return Py_BuildValue((char *)"");
16320}
2f4c0a16 16321static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16322 PyObject *resultobj;
16323 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16324 wxString *arg2 = 0 ;
16325 wxConfigPathChanger *result;
16326 bool temp2 = False ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "config",(char *) "entry", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16336 {
16337 arg2 = wxString_in_helper(obj1);
16338 if (arg2 == NULL) SWIG_fail;
16339 temp2 = True;
16340 }
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
2f4c0a16 16348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
38f59159
RD
16349 {
16350 if (temp2)
16351 delete arg2;
16352 }
16353 return resultobj;
16354 fail:
16355 {
16356 if (temp2)
16357 delete arg2;
16358 }
16359 return NULL;
16360}
16361
16362
2f4c0a16 16363static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16364 PyObject *resultobj;
16365 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16366 PyObject * obj0 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 delete arg1;
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 Py_INCREF(Py_None); resultobj = Py_None;
16382 return resultobj;
16383 fail:
16384 return NULL;
16385}
16386
16387
2f4c0a16 16388static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
16389 PyObject *resultobj;
16390 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16391 wxString *result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 {
16403 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16404 result = (wxString *) &_result_ref;
16405 }
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 {
16411#if wxUSE_UNICODE
16412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16413#else
16414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16415#endif
16416 }
16417 return resultobj;
16418 fail:
16419 return NULL;
16420}
16421
16422
2f4c0a16 16423static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
38f59159
RD
16424 PyObject *obj;
16425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16426 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16427 Py_INCREF(obj);
16428 return Py_BuildValue((char *)"");
16429}
2f4c0a16 16430static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16431 PyObject *resultobj;
16432 wxString *arg1 = 0 ;
16433 wxString result;
423f194a 16434 bool temp1 = False ;
d14a1e28
RD
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "sz", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16441 {
16442 arg1 = wxString_in_helper(obj0);
16443 if (arg1 == NULL) SWIG_fail;
423f194a 16444 temp1 = True;
d14a1e28
RD
16445 }
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 result = wxExpandEnvVars((wxString const &)*arg1);
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 {
16454#if wxUSE_UNICODE
16455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16456#else
16457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16458#endif
16459 }
16460 {
16461 if (temp1)
16462 delete arg1;
16463 }
16464 return resultobj;
16465 fail:
16466 {
16467 if (temp1)
16468 delete arg1;
16469 }
16470 return NULL;
16471}
16472
16473
8edf1c75 16474static int _wrap_DateFormatStr_set(PyObject *) {
cbd72d4f
RD
16475 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16476 return 1;
16477}
16478
16479
16480static PyObject *_wrap_DateFormatStr_get() {
16481 PyObject *pyobj;
16482
16483 {
16484#if wxUSE_UNICODE
16485 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16486#else
16487 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16488#endif
16489 }
16490 return pyobj;
16491}
16492
16493
8edf1c75 16494static int _wrap_TimeSpanFormatStr_set(PyObject *) {
cbd72d4f
RD
16495 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16496 return 1;
16497}
16498
16499
16500static PyObject *_wrap_TimeSpanFormatStr_get() {
16501 PyObject *pyobj;
16502
16503 {
16504#if wxUSE_UNICODE
16505 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16506#else
16507 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16508#endif
16509 }
16510 return pyobj;
16511}
16512
16513
2f4c0a16 16514static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16515 PyObject *resultobj;
16516 int arg1 ;
8edf1c75 16517 PyObject * obj0 = 0 ;
d14a1e28
RD
16518 char *kwnames[] = {
16519 (char *) "country", NULL
16520 };
16521
8edf1c75 16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16523 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 Py_INCREF(Py_None); resultobj = Py_None;
16533 return resultobj;
16534 fail:
16535 return NULL;
16536}
16537
16538
2f4c0a16 16539static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16540 PyObject *resultobj;
16541 int result;
16542 char *kwnames[] = {
16543 NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (int)wxDateTime::GetCountry();
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
2f4c0a16 16554 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16555 return resultobj;
16556 fail:
16557 return NULL;
16558}
16559
16560
2f4c0a16 16561static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16562 PyObject *resultobj;
16563 int arg1 = (int) wxDateTime::Country_Default ;
16564 bool result;
8edf1c75 16565 PyObject * obj0 = 0 ;
d14a1e28
RD
16566 char *kwnames[] = {
16567 (char *) "country", NULL
16568 };
16569
8edf1c75
RD
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16571 if (obj0) {
2f4c0a16
RD
16572 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16574 }
d14a1e28
RD
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
02a34c4c 16582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16583 return resultobj;
16584 fail:
16585 return NULL;
16586}
16587
16588
2f4c0a16 16589static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16590 PyObject *resultobj;
16591 int arg1 = (int) wxDateTime::Gregorian ;
16592 int result;
8edf1c75 16593 PyObject * obj0 = 0 ;
d14a1e28
RD
16594 char *kwnames[] = {
16595 (char *) "cal", NULL
16596 };
16597
8edf1c75
RD
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16599 if (obj0) {
2f4c0a16
RD
16600 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16601 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16602 }
d14a1e28
RD
16603 {
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
16605 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
2f4c0a16 16610 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16611 return resultobj;
16612 fail:
16613 return NULL;
16614}
16615
16616
2f4c0a16 16617static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16618 PyObject *resultobj;
16619 int arg1 ;
16620 int result;
8edf1c75 16621 PyObject * obj0 = 0 ;
d14a1e28
RD
16622 char *kwnames[] = {
16623 (char *) "year", NULL
16624 };
16625
8edf1c75 16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16627 arg1 = (int) SWIG_AsInt(obj0);
16628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = (int)wxDateTime::ConvertYearToBC(arg1);
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
2f4c0a16 16636 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16637 return resultobj;
16638 fail:
16639 return NULL;
16640}
16641
16642
2f4c0a16 16643static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16644 PyObject *resultobj;
16645 int arg1 = (int) wxDateTime::Gregorian ;
16646 int result;
8edf1c75 16647 PyObject * obj0 = 0 ;
d14a1e28
RD
16648 char *kwnames[] = {
16649 (char *) "cal", NULL
16650 };
16651
8edf1c75
RD
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16653 if (obj0) {
2f4c0a16
RD
16654 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16655 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16656 }
d14a1e28
RD
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
2f4c0a16 16664 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16665 return resultobj;
16666 fail:
16667 return NULL;
16668}
16669
16670
2f4c0a16 16671static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16672 PyObject *resultobj;
16673 int arg1 = (int) wxDateTime::Inv_Year ;
16674 int arg2 = (int) wxDateTime::Gregorian ;
16675 bool result;
8edf1c75
RD
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
d14a1e28
RD
16678 char *kwnames[] = {
16679 (char *) "year",(char *) "cal", NULL
16680 };
16681
8edf1c75
RD
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16683 if (obj0) {
2f4c0a16
RD
16684 arg1 = (int) SWIG_AsInt(obj0);
16685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16686 }
16687 if (obj1) {
2f4c0a16
RD
16688 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16689 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16690 }
d14a1e28
RD
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
02a34c4c 16698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16699 return resultobj;
16700 fail:
16701 return NULL;
16702}
16703
16704
2f4c0a16 16705static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16706 PyObject *resultobj;
16707 int arg1 = (int) wxDateTime::Inv_Year ;
16708 int result;
8edf1c75 16709 PyObject * obj0 = 0 ;
d14a1e28
RD
16710 char *kwnames[] = {
16711 (char *) "year", NULL
16712 };
16713
8edf1c75
RD
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16715 if (obj0) {
2f4c0a16
RD
16716 arg1 = (int) SWIG_AsInt(obj0);
16717 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16718 }
d14a1e28
RD
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (int)wxDateTime::GetCentury(arg1);
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
2f4c0a16 16726 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16727 return resultobj;
16728 fail:
16729 return NULL;
16730}
16731
16732
2f4c0a16 16733static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16734 PyObject *resultobj;
16735 int arg1 ;
16736 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 16737 int result;
8edf1c75
RD
16738 PyObject * obj0 = 0 ;
16739 PyObject * obj1 = 0 ;
d14a1e28
RD
16740 char *kwnames[] = {
16741 (char *) "year",(char *) "cal", NULL
16742 };
16743
8edf1c75 16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16745 arg1 = (int) SWIG_AsInt(obj0);
16746 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16747 if (obj1) {
2f4c0a16
RD
16748 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16749 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16750 }
d14a1e28
RD
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16753 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
2f4c0a16 16758 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16759 return resultobj;
16760 fail:
16761 return NULL;
16762}
16763
16764
2f4c0a16 16765static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16766 PyObject *resultobj;
16767 int arg1 ;
16768 int arg2 = (int) wxDateTime::Inv_Year ;
16769 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 16770 int result;
8edf1c75
RD
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 PyObject * obj2 = 0 ;
d14a1e28
RD
16774 char *kwnames[] = {
16775 (char *) "month",(char *) "year",(char *) "cal", NULL
16776 };
16777
8edf1c75 16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16779 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16780 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16781 if (obj1) {
2f4c0a16
RD
16782 arg2 = (int) SWIG_AsInt(obj1);
16783 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16784 }
16785 if (obj2) {
2f4c0a16
RD
16786 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16788 }
d14a1e28
RD
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16791 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
2f4c0a16 16796 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16797 return resultobj;
16798 fail:
16799 return NULL;
16800}
16801
16802
2f4c0a16 16803static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16804 PyObject *resultobj;
16805 int arg1 ;
16806 int arg2 = (int) wxDateTime::Name_Full ;
16807 wxString result;
8edf1c75
RD
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
d14a1e28
RD
16810 char *kwnames[] = {
16811 (char *) "month",(char *) "flags", NULL
16812 };
16813
8edf1c75 16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16815 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16817 if (obj1) {
2f4c0a16
RD
16818 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16820 }
d14a1e28
RD
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 {
16829#if wxUSE_UNICODE
16830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16831#else
16832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16833#endif
16834 }
16835 return resultobj;
16836 fail:
16837 return NULL;
16838}
16839
16840
2f4c0a16 16841static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16842 PyObject *resultobj;
16843 int arg1 ;
16844 int arg2 = (int) wxDateTime::Name_Full ;
16845 wxString result;
8edf1c75
RD
16846 PyObject * obj0 = 0 ;
16847 PyObject * obj1 = 0 ;
d14a1e28
RD
16848 char *kwnames[] = {
16849 (char *) "weekday",(char *) "flags", NULL
16850 };
16851
8edf1c75 16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16853 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
16854 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16855 if (obj1) {
2f4c0a16
RD
16856 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16857 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16858 }
d14a1e28
RD
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867#if wxUSE_UNICODE
16868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16869#else
16870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16871#endif
16872 }
16873 return resultobj;
16874 fail:
16875 return NULL;
16876}
16877
16878
2f4c0a16 16879static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16880 PyObject *resultobj;
16881 wxString *arg1 = (wxString *) 0 ;
16882 wxString *arg2 = (wxString *) 0 ;
dae0faa6
RD
16883 bool temp1 = False ;
16884 bool temp2 = False ;
d14a1e28
RD
16885 PyObject * obj0 = 0 ;
16886 PyObject * obj1 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
dae0faa6
RD
16892 {
16893 arg1 = wxString_in_helper(obj0);
16894 if (arg1 == NULL) SWIG_fail;
16895 temp1 = True;
16896 }
16897 {
16898 arg2 = wxString_in_helper(obj1);
16899 if (arg2 == NULL) SWIG_fail;
16900 temp2 = True;
16901 }
d14a1e28
RD
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 wxDateTime::GetAmPmStrings(arg1,arg2);
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 Py_INCREF(Py_None); resultobj = Py_None;
dae0faa6
RD
16910 {
16911 if (temp1)
16912 delete arg1;
16913 }
16914 {
16915 if (temp2)
16916 delete arg2;
16917 }
d14a1e28
RD
16918 return resultobj;
16919 fail:
dae0faa6
RD
16920 {
16921 if (temp1)
16922 delete arg1;
16923 }
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
d14a1e28
RD
16928 return NULL;
16929}
16930
16931
2f4c0a16 16932static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16933 PyObject *resultobj;
16934 int arg1 = (int) wxDateTime::Inv_Year ;
16935 int arg2 = (int) wxDateTime::Country_Default ;
16936 bool result;
8edf1c75
RD
16937 PyObject * obj0 = 0 ;
16938 PyObject * obj1 = 0 ;
d14a1e28
RD
16939 char *kwnames[] = {
16940 (char *) "year",(char *) "country", NULL
16941 };
16942
8edf1c75
RD
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16944 if (obj0) {
2f4c0a16
RD
16945 arg1 = (int) SWIG_AsInt(obj0);
16946 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16947 }
16948 if (obj1) {
2f4c0a16
RD
16949 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
16950 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16951 }
d14a1e28
RD
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
02a34c4c 16959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16960 return resultobj;
16961 fail:
16962 return NULL;
16963}
16964
16965
2f4c0a16 16966static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16967 PyObject *resultobj;
16968 int arg1 = (int) wxDateTime::Inv_Year ;
16969 int arg2 = (int) wxDateTime::Country_Default ;
16970 wxDateTime result;
8edf1c75
RD
16971 PyObject * obj0 = 0 ;
16972 PyObject * obj1 = 0 ;
d14a1e28
RD
16973 char *kwnames[] = {
16974 (char *) "year",(char *) "country", NULL
16975 };
16976
8edf1c75
RD
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16978 if (obj0) {
2f4c0a16
RD
16979 arg1 = (int) SWIG_AsInt(obj0);
16980 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16981 }
16982 if (obj1) {
2f4c0a16
RD
16983 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
16984 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16985 }
d14a1e28
RD
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16989
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 {
16994 wxDateTime * resultptr;
16995 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 16996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
16997 }
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
2f4c0a16 17004static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17005 PyObject *resultobj;
17006 int arg1 = (int) wxDateTime::Inv_Year ;
17007 int arg2 = (int) wxDateTime::Country_Default ;
17008 wxDateTime result;
8edf1c75
RD
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
d14a1e28
RD
17011 char *kwnames[] = {
17012 (char *) "year",(char *) "country", NULL
17013 };
17014
8edf1c75
RD
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17016 if (obj0) {
2f4c0a16
RD
17017 arg1 = (int) SWIG_AsInt(obj0);
17018 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17019 }
17020 if (obj1) {
2f4c0a16
RD
17021 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17022 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17023 }
d14a1e28
RD
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17027
17028 wxPyEndAllowThreads(__tstate);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 {
17032 wxDateTime * resultptr;
17033 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17035 }
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
2f4c0a16 17042static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17043 PyObject *resultobj;
17044 wxDateTime result;
17045 char *kwnames[] = {
17046 NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = wxDateTime::Now();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 {
17058 wxDateTime * resultptr;
17059 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17061 }
17062 return resultobj;
17063 fail:
17064 return NULL;
17065}
17066
17067
2f4c0a16 17068static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17069 PyObject *resultobj;
17070 wxDateTime result;
17071 char *kwnames[] = {
17072 NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = wxDateTime::UNow();
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 {
17084 wxDateTime * resultptr;
17085 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17087 }
17088 return resultobj;
17089 fail:
17090 return NULL;
17091}
17092
17093
2f4c0a16 17094static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17095 PyObject *resultobj;
17096 wxDateTime result;
17097 char *kwnames[] = {
17098 NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = wxDateTime::Today();
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 {
17110 wxDateTime * resultptr;
17111 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17113 }
17114 return resultobj;
17115 fail:
17116 return NULL;
17117}
17118
17119
2f4c0a16 17120static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17121 PyObject *resultobj;
17122 wxDateTime *result;
17123 char *kwnames[] = {
17124 NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (wxDateTime *)new wxDateTime();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
2f4c0a16 17135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
2f4c0a16 17142static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17143 PyObject *resultobj;
17144 time_t arg1 ;
17145 wxDateTime *result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "timet", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17152 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17153 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (wxDateTime *)new wxDateTime(arg1);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
2f4c0a16 17161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17162 return resultobj;
17163 fail:
17164 return NULL;
17165}
17166
17167
2f4c0a16 17168static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17169 PyObject *resultobj;
17170 double arg1 ;
17171 wxDateTime *result;
8edf1c75 17172 PyObject * obj0 = 0 ;
d14a1e28
RD
17173 char *kwnames[] = {
17174 (char *) "jdn", NULL
17175 };
17176
8edf1c75 17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17178 arg1 = (double) SWIG_AsDouble(obj0);
17179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = (wxDateTime *)new wxDateTime(arg1);
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
2f4c0a16 17187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17188 return resultobj;
17189 fail:
17190 return NULL;
17191}
17192
17193
2f4c0a16 17194static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17195 PyObject *resultobj;
44127b65
RD
17196 int arg1 ;
17197 int arg2 = (int) 0 ;
17198 int arg3 = (int) 0 ;
17199 int arg4 = (int) 0 ;
d14a1e28 17200 wxDateTime *result;
8edf1c75
RD
17201 PyObject * obj0 = 0 ;
17202 PyObject * obj1 = 0 ;
17203 PyObject * obj2 = 0 ;
17204 PyObject * obj3 = 0 ;
d14a1e28
RD
17205 char *kwnames[] = {
17206 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17207 };
17208
8edf1c75 17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17210 arg1 = (int) SWIG_AsInt(obj0);
17211 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17212 if (obj1) {
2f4c0a16
RD
17213 arg2 = (int) SWIG_AsInt(obj1);
17214 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17215 }
17216 if (obj2) {
2f4c0a16
RD
17217 arg3 = (int) SWIG_AsInt(obj2);
17218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17219 }
17220 if (obj3) {
2f4c0a16
RD
17221 arg4 = (int) SWIG_AsInt(obj3);
17222 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17223 }
d14a1e28
RD
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
2f4c0a16 17231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17232 return resultobj;
17233 fail:
17234 return NULL;
17235}
17236
17237
2f4c0a16 17238static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17239 PyObject *resultobj;
44127b65 17240 int arg1 ;
d14a1e28
RD
17241 int arg2 = (int) wxDateTime::Inv_Month ;
17242 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17243 int arg4 = (int) 0 ;
17244 int arg5 = (int) 0 ;
17245 int arg6 = (int) 0 ;
17246 int arg7 = (int) 0 ;
d14a1e28 17247 wxDateTime *result;
8edf1c75
RD
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 PyObject * obj2 = 0 ;
17251 PyObject * obj3 = 0 ;
17252 PyObject * obj4 = 0 ;
17253 PyObject * obj5 = 0 ;
17254 PyObject * obj6 = 0 ;
d14a1e28
RD
17255 char *kwnames[] = {
17256 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17257 };
17258
8edf1c75 17259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
17260 arg1 = (int) SWIG_AsInt(obj0);
17261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17262 if (obj1) {
2f4c0a16
RD
17263 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17264 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17265 }
17266 if (obj2) {
2f4c0a16
RD
17267 arg3 = (int) SWIG_AsInt(obj2);
17268 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17269 }
17270 if (obj3) {
2f4c0a16
RD
17271 arg4 = (int) SWIG_AsInt(obj3);
17272 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17273 }
17274 if (obj4) {
2f4c0a16
RD
17275 arg5 = (int) SWIG_AsInt(obj4);
17276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17277 }
17278 if (obj5) {
2f4c0a16
RD
17279 arg6 = (int) SWIG_AsInt(obj5);
17280 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17281 }
17282 if (obj6) {
2f4c0a16
RD
17283 arg7 = (int) SWIG_AsInt(obj6);
17284 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17285 }
d14a1e28
RD
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
2f4c0a16 17293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17294 return resultobj;
17295 fail:
17296 return NULL;
17297}
17298
17299
2f4c0a16 17300static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17301 PyObject *resultobj;
17302 wxDateTime *arg1 = (wxDateTime *) 0 ;
17303 PyObject * obj0 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 delete arg1;
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 return resultobj;
17320 fail:
17321 return NULL;
17322}
17323
17324
2f4c0a16 17325static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17326 PyObject *resultobj;
17327 wxDateTime *arg1 = (wxDateTime *) 0 ;
17328 wxDateTime *result;
17329 PyObject * obj0 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 {
17340 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17341 result = (wxDateTime *) &_result_ref;
17342 }
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
2f4c0a16 17347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
2f4c0a16 17354static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17355 PyObject *resultobj;
17356 wxDateTime *arg1 = (wxDateTime *) 0 ;
17357 time_t arg2 ;
17358 wxDateTime *result;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "timet", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17368 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 {
17373 wxDateTime &_result_ref = (arg1)->Set(arg2);
17374 result = (wxDateTime *) &_result_ref;
17375 }
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
2f4c0a16 17380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17381 return resultobj;
17382 fail:
17383 return NULL;
17384}
17385
17386
2f4c0a16 17387static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17388 PyObject *resultobj;
17389 wxDateTime *arg1 = (wxDateTime *) 0 ;
17390 double arg2 ;
17391 wxDateTime *result;
17392 PyObject * obj0 = 0 ;
8edf1c75 17393 PyObject * obj1 = 0 ;
d14a1e28
RD
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "jdn", NULL
17396 };
17397
8edf1c75 17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17401 arg2 = (double) SWIG_AsDouble(obj1);
17402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 {
17406 wxDateTime &_result_ref = (arg1)->Set(arg2);
17407 result = (wxDateTime *) &_result_ref;
17408 }
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
2f4c0a16 17413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17414 return resultobj;
17415 fail:
17416 return NULL;
17417}
17418
17419
2f4c0a16 17420static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17421 PyObject *resultobj;
17422 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
17423 int arg2 ;
17424 int arg3 = (int) 0 ;
17425 int arg4 = (int) 0 ;
17426 int arg5 = (int) 0 ;
d14a1e28
RD
17427 wxDateTime *result;
17428 PyObject * obj0 = 0 ;
8edf1c75
RD
17429 PyObject * obj1 = 0 ;
17430 PyObject * obj2 = 0 ;
17431 PyObject * obj3 = 0 ;
17432 PyObject * obj4 = 0 ;
d14a1e28
RD
17433 char *kwnames[] = {
17434 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17435 };
17436
8edf1c75 17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 arg2 = (int) SWIG_AsInt(obj1);
17441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17442 if (obj2) {
2f4c0a16
RD
17443 arg3 = (int) SWIG_AsInt(obj2);
17444 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17445 }
17446 if (obj3) {
2f4c0a16
RD
17447 arg4 = (int) SWIG_AsInt(obj3);
17448 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17449 }
17450 if (obj4) {
2f4c0a16
RD
17451 arg5 = (int) SWIG_AsInt(obj4);
17452 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17453 }
d14a1e28
RD
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 {
17457 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17458 result = (wxDateTime *) &_result_ref;
17459 }
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
2f4c0a16 17464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
2f4c0a16 17471static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17472 PyObject *resultobj;
17473 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17474 int arg2 ;
d14a1e28
RD
17475 int arg3 = (int) wxDateTime::Inv_Month ;
17476 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17477 int arg5 = (int) 0 ;
17478 int arg6 = (int) 0 ;
17479 int arg7 = (int) 0 ;
17480 int arg8 = (int) 0 ;
d14a1e28
RD
17481 wxDateTime *result;
17482 PyObject * obj0 = 0 ;
8edf1c75
RD
17483 PyObject * obj1 = 0 ;
17484 PyObject * obj2 = 0 ;
17485 PyObject * obj3 = 0 ;
17486 PyObject * obj4 = 0 ;
17487 PyObject * obj5 = 0 ;
17488 PyObject * obj6 = 0 ;
17489 PyObject * obj7 = 0 ;
d14a1e28
RD
17490 char *kwnames[] = {
17491 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17492 };
17493
8edf1c75 17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 arg2 = (int) SWIG_AsInt(obj1);
17498 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17499 if (obj2) {
2f4c0a16
RD
17500 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17502 }
17503 if (obj3) {
2f4c0a16
RD
17504 arg4 = (int) SWIG_AsInt(obj3);
17505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17506 }
17507 if (obj4) {
2f4c0a16
RD
17508 arg5 = (int) SWIG_AsInt(obj4);
17509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17510 }
17511 if (obj5) {
2f4c0a16
RD
17512 arg6 = (int) SWIG_AsInt(obj5);
17513 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17514 }
17515 if (obj6) {
2f4c0a16
RD
17516 arg7 = (int) SWIG_AsInt(obj6);
17517 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17518 }
17519 if (obj7) {
2f4c0a16
RD
17520 arg8 = (int) SWIG_AsInt(obj7);
17521 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17522 }
d14a1e28
RD
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 {
17526 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17527 result = (wxDateTime *) &_result_ref;
17528 }
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
2f4c0a16 17533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17534 return resultobj;
17535 fail:
17536 return NULL;
17537}
17538
17539
2f4c0a16 17540static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17541 PyObject *resultobj;
17542 wxDateTime *arg1 = (wxDateTime *) 0 ;
17543 wxDateTime *result;
17544 PyObject * obj0 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 {
17555 wxDateTime &_result_ref = (arg1)->ResetTime();
17556 result = (wxDateTime *) &_result_ref;
17557 }
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
2f4c0a16 17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17563 return resultobj;
17564 fail:
17565 return NULL;
17566}
17567
17568
2f4c0a16 17569static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17570 PyObject *resultobj;
17571 wxDateTime *arg1 = (wxDateTime *) 0 ;
17572 int arg2 ;
17573 wxDateTime *result;
17574 PyObject * obj0 = 0 ;
8edf1c75 17575 PyObject * obj1 = 0 ;
d14a1e28
RD
17576 char *kwnames[] = {
17577 (char *) "self",(char *) "year", NULL
17578 };
17579
8edf1c75 17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17583 arg2 = (int) SWIG_AsInt(obj1);
17584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17585 {
17586 PyThreadState* __tstate = wxPyBeginAllowThreads();
17587 {
17588 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17589 result = (wxDateTime *) &_result_ref;
17590 }
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
2f4c0a16 17595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17596 return resultobj;
17597 fail:
17598 return NULL;
17599}
17600
17601
2f4c0a16 17602static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17603 PyObject *resultobj;
17604 wxDateTime *arg1 = (wxDateTime *) 0 ;
17605 int arg2 ;
17606 wxDateTime *result;
17607 PyObject * obj0 = 0 ;
8edf1c75 17608 PyObject * obj1 = 0 ;
d14a1e28
RD
17609 char *kwnames[] = {
17610 (char *) "self",(char *) "month", NULL
17611 };
17612
8edf1c75 17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17616 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 {
17621 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17622 result = (wxDateTime *) &_result_ref;
17623 }
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
2f4c0a16 17628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17629 return resultobj;
17630 fail:
17631 return NULL;
17632}
17633
17634
2f4c0a16 17635static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17636 PyObject *resultobj;
17637 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17638 int arg2 ;
d14a1e28
RD
17639 wxDateTime *result;
17640 PyObject * obj0 = 0 ;
8edf1c75 17641 PyObject * obj1 = 0 ;
d14a1e28
RD
17642 char *kwnames[] = {
17643 (char *) "self",(char *) "day", NULL
17644 };
17645
8edf1c75 17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17649 arg2 = (int) SWIG_AsInt(obj1);
17650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17651 {
17652 PyThreadState* __tstate = wxPyBeginAllowThreads();
17653 {
17654 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17655 result = (wxDateTime *) &_result_ref;
17656 }
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
2f4c0a16 17661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17662 return resultobj;
17663 fail:
17664 return NULL;
17665}
17666
17667
2f4c0a16 17668static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17669 PyObject *resultobj;
17670 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17671 int arg2 ;
d14a1e28
RD
17672 wxDateTime *result;
17673 PyObject * obj0 = 0 ;
8edf1c75 17674 PyObject * obj1 = 0 ;
d14a1e28
RD
17675 char *kwnames[] = {
17676 (char *) "self",(char *) "hour", NULL
17677 };
17678
8edf1c75 17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17682 arg2 = (int) SWIG_AsInt(obj1);
17683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 {
17687 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17688 result = (wxDateTime *) &_result_ref;
17689 }
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
2f4c0a16 17694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17695 return resultobj;
17696 fail:
17697 return NULL;
17698}
17699
17700
2f4c0a16 17701static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17702 PyObject *resultobj;
17703 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17704 int arg2 ;
d14a1e28
RD
17705 wxDateTime *result;
17706 PyObject * obj0 = 0 ;
8edf1c75 17707 PyObject * obj1 = 0 ;
d14a1e28
RD
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "minute", NULL
17710 };
17711
8edf1c75 17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 arg2 = (int) SWIG_AsInt(obj1);
17716 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 {
17720 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17721 result = (wxDateTime *) &_result_ref;
17722 }
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
2f4c0a16 17727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
2f4c0a16 17734static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17735 PyObject *resultobj;
17736 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17737 int arg2 ;
d14a1e28
RD
17738 wxDateTime *result;
17739 PyObject * obj0 = 0 ;
8edf1c75 17740 PyObject * obj1 = 0 ;
d14a1e28
RD
17741 char *kwnames[] = {
17742 (char *) "self",(char *) "second", NULL
17743 };
17744
8edf1c75 17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17748 arg2 = (int) SWIG_AsInt(obj1);
17749 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 {
17753 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17754 result = (wxDateTime *) &_result_ref;
17755 }
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
2f4c0a16 17760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17761 return resultobj;
17762 fail:
17763 return NULL;
17764}
17765
17766
2f4c0a16 17767static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17768 PyObject *resultobj;
17769 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17770 int arg2 ;
d14a1e28
RD
17771 wxDateTime *result;
17772 PyObject * obj0 = 0 ;
8edf1c75 17773 PyObject * obj1 = 0 ;
d14a1e28
RD
17774 char *kwnames[] = {
17775 (char *) "self",(char *) "millisecond", NULL
17776 };
17777
8edf1c75 17778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17781 arg2 = (int) SWIG_AsInt(obj1);
17782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 {
17786 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17787 result = (wxDateTime *) &_result_ref;
17788 }
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
2f4c0a16 17793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17794 return resultobj;
17795 fail:
17796 return NULL;
17797}
17798
17799
2f4c0a16 17800static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17801 PyObject *resultobj;
17802 wxDateTime *arg1 = (wxDateTime *) 0 ;
17803 int arg2 ;
17804 int arg3 = (int) wxDateTime::Monday_First ;
17805 wxDateTime *result;
17806 PyObject * obj0 = 0 ;
8edf1c75
RD
17807 PyObject * obj1 = 0 ;
17808 PyObject * obj2 = 0 ;
d14a1e28
RD
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17811 };
17812
8edf1c75 17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17818 if (obj2) {
2f4c0a16
RD
17819 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17821 }
d14a1e28
RD
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 {
17825 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17826 result = (wxDateTime *) &_result_ref;
17827 }
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
2f4c0a16 17832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
2f4c0a16 17839static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17840 PyObject *resultobj;
17841 wxDateTime *arg1 = (wxDateTime *) 0 ;
17842 int arg2 ;
17843 int arg3 = (int) wxDateTime::Monday_First ;
17844 wxDateTime result;
17845 PyObject * obj0 = 0 ;
8edf1c75
RD
17846 PyObject * obj1 = 0 ;
17847 PyObject * obj2 = 0 ;
d14a1e28
RD
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17850 };
17851
8edf1c75 17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17855 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17856 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17857 if (obj2) {
2f4c0a16
RD
17858 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17859 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17860 }
d14a1e28
RD
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 {
17869 wxDateTime * resultptr;
17870 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17872 }
17873 return resultobj;
17874 fail:
17875 return NULL;
17876}
17877
17878
2f4c0a16 17879static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17880 PyObject *resultobj;
17881 wxDateTime *arg1 = (wxDateTime *) 0 ;
17882 int arg2 ;
17883 wxDateTime *result;
17884 PyObject * obj0 = 0 ;
8edf1c75 17885 PyObject * obj1 = 0 ;
d14a1e28
RD
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "weekday", NULL
17888 };
17889
8edf1c75 17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 {
17898 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17899 result = (wxDateTime *) &_result_ref;
17900 }
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
2f4c0a16 17905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17906 return resultobj;
17907 fail:
17908 return NULL;
17909}
17910
17911
2f4c0a16 17912static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17913 PyObject *resultobj;
17914 wxDateTime *arg1 = (wxDateTime *) 0 ;
17915 int arg2 ;
17916 wxDateTime result;
17917 PyObject * obj0 = 0 ;
8edf1c75 17918 PyObject * obj1 = 0 ;
d14a1e28
RD
17919 char *kwnames[] = {
17920 (char *) "self",(char *) "weekday", NULL
17921 };
17922
8edf1c75 17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 {
17936 wxDateTime * resultptr;
17937 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17939 }
17940 return resultobj;
17941 fail:
17942 return NULL;
17943}
17944
17945
2f4c0a16 17946static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17947 PyObject *resultobj;
17948 wxDateTime *arg1 = (wxDateTime *) 0 ;
17949 int arg2 ;
17950 wxDateTime *result;
17951 PyObject * obj0 = 0 ;
8edf1c75 17952 PyObject * obj1 = 0 ;
d14a1e28
RD
17953 char *kwnames[] = {
17954 (char *) "self",(char *) "weekday", NULL
17955 };
17956
8edf1c75 17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17960 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 {
17965 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17966 result = (wxDateTime *) &_result_ref;
17967 }
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
2f4c0a16 17972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17973 return resultobj;
17974 fail:
17975 return NULL;
17976}
17977
17978
2f4c0a16 17979static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17980 PyObject *resultobj;
17981 wxDateTime *arg1 = (wxDateTime *) 0 ;
17982 int arg2 ;
17983 wxDateTime result;
17984 PyObject * obj0 = 0 ;
8edf1c75 17985 PyObject * obj1 = 0 ;
d14a1e28
RD
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "weekday", NULL
17988 };
17989
8edf1c75 17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17993 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 {
18003 wxDateTime * resultptr;
18004 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18005 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18006 }
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
2f4c0a16 18013static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18014 PyObject *resultobj;
18015 wxDateTime *arg1 = (wxDateTime *) 0 ;
18016 int arg2 ;
18017 int arg3 = (int) 1 ;
18018 int arg4 = (int) wxDateTime::Inv_Month ;
18019 int arg5 = (int) wxDateTime::Inv_Year ;
18020 bool result;
18021 PyObject * obj0 = 0 ;
8edf1c75
RD
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
18024 PyObject * obj3 = 0 ;
18025 PyObject * obj4 = 0 ;
d14a1e28
RD
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18028 };
18029
8edf1c75 18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18033 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18034 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18035 if (obj2) {
2f4c0a16
RD
18036 arg3 = (int) SWIG_AsInt(obj2);
18037 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18038 }
18039 if (obj3) {
2f4c0a16
RD
18040 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18041 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18042 }
18043 if (obj4) {
2f4c0a16
RD
18044 arg5 = (int) SWIG_AsInt(obj4);
18045 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18046 }
d14a1e28
RD
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
02a34c4c 18054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18055 return resultobj;
18056 fail:
18057 return NULL;
18058}
18059
18060
2f4c0a16 18061static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18062 PyObject *resultobj;
18063 wxDateTime *arg1 = (wxDateTime *) 0 ;
18064 int arg2 ;
18065 int arg3 = (int) wxDateTime::Inv_Month ;
18066 int arg4 = (int) wxDateTime::Inv_Year ;
18067 bool result;
18068 PyObject * obj0 = 0 ;
8edf1c75
RD
18069 PyObject * obj1 = 0 ;
18070 PyObject * obj2 = 0 ;
18071 PyObject * obj3 = 0 ;
d14a1e28
RD
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18074 };
18075
8edf1c75 18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18079 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18080 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18081 if (obj2) {
2f4c0a16
RD
18082 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18083 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18084 }
18085 if (obj3) {
2f4c0a16
RD
18086 arg4 = (int) SWIG_AsInt(obj3);
18087 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18088 }
d14a1e28
RD
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
02a34c4c 18096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18097 return resultobj;
18098 fail:
18099 return NULL;
18100}
18101
18102
2f4c0a16 18103static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18104 PyObject *resultobj;
18105 wxDateTime *arg1 = (wxDateTime *) 0 ;
18106 int arg2 ;
18107 int arg3 = (int) wxDateTime::Inv_Month ;
18108 int arg4 = (int) wxDateTime::Inv_Year ;
18109 wxDateTime result;
18110 PyObject * obj0 = 0 ;
8edf1c75
RD
18111 PyObject * obj1 = 0 ;
18112 PyObject * obj2 = 0 ;
18113 PyObject * obj3 = 0 ;
d14a1e28
RD
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18116 };
18117
8edf1c75 18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18121 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18123 if (obj2) {
2f4c0a16
RD
18124 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18125 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18126 }
18127 if (obj3) {
2f4c0a16
RD
18128 arg4 = (int) SWIG_AsInt(obj3);
18129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18130 }
d14a1e28
RD
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 wxDateTime * resultptr;
18140 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18142 }
18143 return resultobj;
18144 fail:
18145 return NULL;
18146}
18147
18148
2f4c0a16 18149static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18150 PyObject *resultobj;
18151 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18152 int arg2 ;
d14a1e28
RD
18153 int arg3 = (int) wxDateTime::Mon ;
18154 int arg4 = (int) wxDateTime::Monday_First ;
18155 bool result;
18156 PyObject * obj0 = 0 ;
8edf1c75
RD
18157 PyObject * obj1 = 0 ;
18158 PyObject * obj2 = 0 ;
18159 PyObject * obj3 = 0 ;
d14a1e28
RD
18160 char *kwnames[] = {
18161 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18162 };
18163
8edf1c75 18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18167 arg2 = (int) SWIG_AsInt(obj1);
18168 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18169 if (obj2) {
2f4c0a16
RD
18170 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18171 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18172 }
18173 if (obj3) {
2f4c0a16
RD
18174 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18175 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18176 }
d14a1e28
RD
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
02a34c4c 18184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18185 return resultobj;
18186 fail:
18187 return NULL;
18188}
18189
18190
2f4c0a16 18191static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18192 PyObject *resultobj;
18193 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18194 int arg2 ;
d14a1e28
RD
18195 int arg3 = (int) wxDateTime::Mon ;
18196 int arg4 = (int) wxDateTime::Monday_First ;
18197 wxDateTime result;
18198 PyObject * obj0 = 0 ;
8edf1c75
RD
18199 PyObject * obj1 = 0 ;
18200 PyObject * obj2 = 0 ;
18201 PyObject * obj3 = 0 ;
d14a1e28
RD
18202 char *kwnames[] = {
18203 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18204 };
18205
8edf1c75 18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 arg2 = (int) SWIG_AsInt(obj1);
18210 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18211 if (obj2) {
2f4c0a16
RD
18212 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18213 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18214 }
18215 if (obj3) {
2f4c0a16
RD
18216 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18217 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18218 }
d14a1e28
RD
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 wxDateTime * resultptr;
18228 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18230 }
18231 return resultobj;
18232 fail:
18233 return NULL;
18234}
18235
18236
2f4c0a16 18237static PyObject *_wrap_DateTime_SetToLastMonthDay(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_SetToLastMonthDay",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 {
18264 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18265 result = (wxDateTime *) &_result_ref;
18266 }
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
2f4c0a16 18271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18272 return resultobj;
18273 fail:
18274 return NULL;
18275}
18276
18277
2f4c0a16 18278static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18279 PyObject *resultobj;
18280 wxDateTime *arg1 = (wxDateTime *) 0 ;
18281 int arg2 = (int) wxDateTime::Inv_Month ;
18282 int arg3 = (int) wxDateTime::Inv_Year ;
18283 wxDateTime result;
18284 PyObject * obj0 = 0 ;
8edf1c75
RD
18285 PyObject * obj1 = 0 ;
18286 PyObject * obj2 = 0 ;
d14a1e28
RD
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "month",(char *) "year", NULL
18289 };
18290
8edf1c75 18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18294 if (obj1) {
2f4c0a16
RD
18295 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18296 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18297 }
18298 if (obj2) {
2f4c0a16
RD
18299 arg3 = (int) SWIG_AsInt(obj2);
18300 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18301 }
d14a1e28
RD
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 {
18310 wxDateTime * resultptr;
18311 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18313 }
18314 return resultobj;
18315 fail:
18316 return NULL;
18317}
18318
18319
2f4c0a16 18320static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18321 PyObject *resultobj;
18322 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18323 int arg2 ;
d14a1e28
RD
18324 wxDateTime *result;
18325 PyObject * obj0 = 0 ;
8edf1c75 18326 PyObject * obj1 = 0 ;
d14a1e28
RD
18327 char *kwnames[] = {
18328 (char *) "self",(char *) "yday", NULL
18329 };
18330
8edf1c75 18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18334 arg2 = (int) SWIG_AsInt(obj1);
18335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 {
18339 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18340 result = (wxDateTime *) &_result_ref;
18341 }
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
2f4c0a16 18346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18347 return resultobj;
18348 fail:
18349 return NULL;
18350}
18351
18352
2f4c0a16 18353static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18354 PyObject *resultobj;
18355 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18356 int arg2 ;
d14a1e28
RD
18357 wxDateTime result;
18358 PyObject * obj0 = 0 ;
8edf1c75 18359 PyObject * obj1 = 0 ;
d14a1e28
RD
18360 char *kwnames[] = {
18361 (char *) "self",(char *) "yday", NULL
18362 };
18363
8edf1c75 18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18367 arg2 = (int) SWIG_AsInt(obj1);
18368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (arg1)->GetYearDay(arg2);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 {
18377 wxDateTime * resultptr;
18378 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384}
18385
18386
2f4c0a16 18387static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18388 PyObject *resultobj;
18389 wxDateTime *arg1 = (wxDateTime *) 0 ;
18390 double result;
18391 PyObject * obj0 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 result = (double)(arg1)->GetJulianDayNumber();
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
2f4c0a16 18406 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18407 return resultobj;
18408 fail:
18409 return NULL;
18410}
18411
18412
2f4c0a16 18413static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18414 PyObject *resultobj;
18415 wxDateTime *arg1 = (wxDateTime *) 0 ;
18416 double result;
18417 PyObject * obj0 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self", NULL
18420 };
18421
18422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (double)(arg1)->GetJDN();
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
2f4c0a16 18432 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18433 return resultobj;
18434 fail:
18435 return NULL;
18436}
18437
18438
2f4c0a16 18439static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18440 PyObject *resultobj;
18441 wxDateTime *arg1 = (wxDateTime *) 0 ;
18442 double result;
18443 PyObject * obj0 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
2f4c0a16 18458 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18459 return resultobj;
18460 fail:
18461 return NULL;
18462}
18463
18464
2f4c0a16 18465static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18466 PyObject *resultobj;
18467 wxDateTime *arg1 = (wxDateTime *) 0 ;
18468 double result;
18469 PyObject * obj0 = 0 ;
18470 char *kwnames[] = {
18471 (char *) "self", NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 result = (double)(arg1)->GetMJD();
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
2f4c0a16 18484 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
2f4c0a16 18491static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18492 PyObject *resultobj;
18493 wxDateTime *arg1 = (wxDateTime *) 0 ;
18494 double result;
18495 PyObject * obj0 = 0 ;
18496 char *kwnames[] = {
18497 (char *) "self", NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (double)(arg1)->GetRataDie();
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
2f4c0a16 18510 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
2f4c0a16 18517static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18518 PyObject *resultobj;
18519 wxDateTime *arg1 = (wxDateTime *) 0 ;
18520 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18521 bool arg3 = (bool) False ;
d14a1e28 18522 wxDateTime result;
44127b65 18523 bool temp2 = False ;
d14a1e28
RD
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 PyObject * obj2 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18534 {
18535 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18536 temp2 = True;
d14a1e28
RD
18537 }
18538 if (obj2) {
2f4c0a16
RD
18539 arg3 = (bool) SWIG_AsBool(obj2);
18540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 wxDateTime * resultptr;
18551 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18553 }
18554 {
44127b65 18555 if (temp2) delete arg2;
d14a1e28
RD
18556 }
18557 return resultobj;
18558 fail:
18559 {
44127b65 18560 if (temp2) delete arg2;
d14a1e28
RD
18561 }
18562 return NULL;
18563}
18564
18565
2f4c0a16 18566static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18567 PyObject *resultobj;
18568 wxDateTime *arg1 = (wxDateTime *) 0 ;
18569 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18570 bool arg3 = (bool) False ;
d14a1e28 18571 wxDateTime *result;
44127b65 18572 bool temp2 = False ;
d14a1e28
RD
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 PyObject * obj2 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18583 {
18584 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18585 temp2 = True;
d14a1e28
RD
18586 }
18587 if (obj2) {
2f4c0a16
RD
18588 arg3 = (bool) SWIG_AsBool(obj2);
18589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18590 }
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 {
18594 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18595 result = (wxDateTime *) &_result_ref;
18596 }
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
2f4c0a16 18601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 18602 {
44127b65 18603 if (temp2) delete arg2;
d14a1e28
RD
18604 }
18605 return resultobj;
18606 fail:
18607 {
44127b65 18608 if (temp2) delete arg2;
d14a1e28
RD
18609 }
18610 return NULL;
18611}
18612
18613
2f4c0a16 18614static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18615 PyObject *resultobj;
18616 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18617 bool arg2 = (bool) False ;
d14a1e28
RD
18618 wxDateTime result;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self",(char *) "noDST", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18628 if (obj1) {
2f4c0a16
RD
18629 arg2 = (bool) SWIG_AsBool(obj1);
18630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18631 }
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 result = (arg1)->ToGMT(arg2);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 {
18640 wxDateTime * resultptr;
18641 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647}
18648
18649
2f4c0a16 18650static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18651 PyObject *resultobj;
18652 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18653 bool arg2 = (bool) False ;
d14a1e28
RD
18654 wxDateTime *result;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj1 = 0 ;
18657 char *kwnames[] = {
18658 (char *) "self",(char *) "noDST", NULL
18659 };
18660
18661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18664 if (obj1) {
2f4c0a16
RD
18665 arg2 = (bool) SWIG_AsBool(obj1);
18666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18667 }
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 {
18671 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18672 result = (wxDateTime *) &_result_ref;
18673 }
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
2f4c0a16 18678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18679 return resultobj;
18680 fail:
18681 return NULL;
18682}
18683
18684
2f4c0a16 18685static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18686 PyObject *resultobj;
18687 wxDateTime *arg1 = (wxDateTime *) 0 ;
18688 int arg2 = (int) wxDateTime::Country_Default ;
18689 int result;
18690 PyObject * obj0 = 0 ;
8edf1c75 18691 PyObject * obj1 = 0 ;
d14a1e28
RD
18692 char *kwnames[] = {
18693 (char *) "self",(char *) "country", NULL
18694 };
18695
8edf1c75 18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18699 if (obj1) {
2f4c0a16
RD
18700 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18702 }
d14a1e28
RD
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
2f4c0a16 18710 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18711 return resultobj;
18712 fail:
18713 return NULL;
18714}
18715
18716
2f4c0a16 18717static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18718 PyObject *resultobj;
18719 wxDateTime *arg1 = (wxDateTime *) 0 ;
18720 bool result;
18721 PyObject * obj0 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = (bool)((wxDateTime const *)arg1)->IsValid();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
02a34c4c 18736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18737 return resultobj;
18738 fail:
18739 return NULL;
18740}
18741
18742
2f4c0a16 18743static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18744 PyObject *resultobj;
18745 wxDateTime *arg1 = (wxDateTime *) 0 ;
18746 time_t result;
18747 PyObject * obj0 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18755 {
18756 PyThreadState* __tstate = wxPyBeginAllowThreads();
18757 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18758
18759 wxPyEndAllowThreads(__tstate);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 }
2f4c0a16 18762 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18763 return resultobj;
18764 fail:
18765 return NULL;
18766}
18767
18768
2f4c0a16 18769static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18770 PyObject *resultobj;
18771 wxDateTime *arg1 = (wxDateTime *) 0 ;
18772 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18773 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18774 int result;
44127b65 18775 bool temp2 = False ;
d14a1e28
RD
18776 PyObject * obj0 = 0 ;
18777 PyObject * obj1 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self",(char *) "tz", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18785 if (obj1) {
18786 {
18787 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18788 temp2 = True;
d14a1e28
RD
18789 }
18790 }
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
2f4c0a16 18798 resultobj = SWIG_FromInt((int)result);
d14a1e28 18799 {
44127b65 18800 if (temp2) delete arg2;
d14a1e28
RD
18801 }
18802 return resultobj;
18803 fail:
18804 {
44127b65 18805 if (temp2) delete arg2;
d14a1e28
RD
18806 }
18807 return NULL;
18808}
18809
18810
2f4c0a16 18811static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18812 PyObject *resultobj;
18813 wxDateTime *arg1 = (wxDateTime *) 0 ;
18814 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18815 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18816 int result;
44127b65 18817 bool temp2 = False ;
d14a1e28
RD
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self",(char *) "tz", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18827 if (obj1) {
18828 {
18829 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18830 temp2 = True;
d14a1e28
RD
18831 }
18832 }
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
2f4c0a16 18840 resultobj = SWIG_FromInt((int)result);
d14a1e28 18841 {
44127b65 18842 if (temp2) delete arg2;
d14a1e28
RD
18843 }
18844 return resultobj;
18845 fail:
18846 {
44127b65 18847 if (temp2) delete arg2;
d14a1e28
RD
18848 }
18849 return NULL;
18850}
18851
18852
2f4c0a16 18853static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18854 PyObject *resultobj;
18855 wxDateTime *arg1 = (wxDateTime *) 0 ;
18856 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18857 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18858 int result;
18859 bool temp2 = False ;
d14a1e28
RD
18860 PyObject * obj0 = 0 ;
18861 PyObject * obj1 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self",(char *) "tz", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18869 if (obj1) {
18870 {
18871 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18872 temp2 = True;
d14a1e28
RD
18873 }
18874 }
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18877 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
2f4c0a16 18882 resultobj = SWIG_FromInt((int)result);
d14a1e28 18883 {
44127b65 18884 if (temp2) delete arg2;
d14a1e28
RD
18885 }
18886 return resultobj;
18887 fail:
18888 {
44127b65 18889 if (temp2) delete arg2;
d14a1e28
RD
18890 }
18891 return NULL;
18892}
18893
18894
2f4c0a16 18895static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18896 PyObject *resultobj;
18897 wxDateTime *arg1 = (wxDateTime *) 0 ;
18898 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18899 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18900 int result;
44127b65 18901 bool temp2 = False ;
d14a1e28
RD
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "tz", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18911 if (obj1) {
18912 {
18913 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18914 temp2 = True;
d14a1e28
RD
18915 }
18916 }
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
2f4c0a16 18924 resultobj = SWIG_FromInt((int)result);
d14a1e28 18925 {
44127b65 18926 if (temp2) delete arg2;
d14a1e28
RD
18927 }
18928 return resultobj;
18929 fail:
18930 {
44127b65 18931 if (temp2) delete arg2;
d14a1e28
RD
18932 }
18933 return NULL;
18934}
18935
18936
2f4c0a16 18937static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18938 PyObject *resultobj;
18939 wxDateTime *arg1 = (wxDateTime *) 0 ;
18940 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18941 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18942 int result;
18943 bool temp2 = False ;
d14a1e28
RD
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "tz", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18953 if (obj1) {
18954 {
18955 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18956 temp2 = True;
d14a1e28
RD
18957 }
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18961 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
2f4c0a16 18966 resultobj = SWIG_FromInt((int)result);
d14a1e28 18967 {
44127b65 18968 if (temp2) delete arg2;
d14a1e28
RD
18969 }
18970 return resultobj;
18971 fail:
18972 {
44127b65 18973 if (temp2) delete arg2;
d14a1e28
RD
18974 }
18975 return NULL;
18976}
18977
18978
2f4c0a16 18979static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18980 PyObject *resultobj;
18981 wxDateTime *arg1 = (wxDateTime *) 0 ;
18982 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18983 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
18984 int result;
18985 bool temp2 = False ;
d14a1e28
RD
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self",(char *) "tz", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18995 if (obj1) {
18996 {
18997 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18998 temp2 = True;
d14a1e28
RD
18999 }
19000 }
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19003 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
2f4c0a16 19008 resultobj = SWIG_FromInt((int)result);
d14a1e28 19009 {
44127b65 19010 if (temp2) delete arg2;
d14a1e28
RD
19011 }
19012 return resultobj;
19013 fail:
19014 {
44127b65 19015 if (temp2) delete arg2;
d14a1e28
RD
19016 }
19017 return NULL;
19018}
19019
19020
2f4c0a16 19021static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19022 PyObject *resultobj;
19023 wxDateTime *arg1 = (wxDateTime *) 0 ;
19024 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19025 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19026 int result;
19027 bool temp2 = False ;
d14a1e28
RD
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self",(char *) "tz", NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19037 if (obj1) {
19038 {
19039 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19040 temp2 = True;
d14a1e28
RD
19041 }
19042 }
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19045 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
2f4c0a16 19050 resultobj = SWIG_FromInt((int)result);
d14a1e28 19051 {
44127b65 19052 if (temp2) delete arg2;
d14a1e28
RD
19053 }
19054 return resultobj;
19055 fail:
19056 {
44127b65 19057 if (temp2) delete arg2;
d14a1e28
RD
19058 }
19059 return NULL;
19060}
19061
19062
2f4c0a16 19063static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19064 PyObject *resultobj;
19065 wxDateTime *arg1 = (wxDateTime *) 0 ;
19066 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19067 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19068 int result;
19069 bool temp2 = False ;
d14a1e28
RD
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "tz", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19079 if (obj1) {
19080 {
19081 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19082 temp2 = True;
d14a1e28
RD
19083 }
19084 }
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19087 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
2f4c0a16 19092 resultobj = SWIG_FromInt((int)result);
d14a1e28 19093 {
44127b65 19094 if (temp2) delete arg2;
d14a1e28
RD
19095 }
19096 return resultobj;
19097 fail:
19098 {
44127b65 19099 if (temp2) delete arg2;
d14a1e28
RD
19100 }
19101 return NULL;
19102}
19103
19104
2f4c0a16 19105static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19106 PyObject *resultobj;
19107 wxDateTime *arg1 = (wxDateTime *) 0 ;
19108 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19109 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19110 int result;
19111 bool temp2 = False ;
d14a1e28
RD
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "tz", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19121 if (obj1) {
19122 {
19123 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19124 temp2 = True;
d14a1e28
RD
19125 }
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19129 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
2f4c0a16 19134 resultobj = SWIG_FromInt((int)result);
d14a1e28 19135 {
44127b65 19136 if (temp2) delete arg2;
d14a1e28
RD
19137 }
19138 return resultobj;
19139 fail:
19140 {
44127b65 19141 if (temp2) delete arg2;
d14a1e28
RD
19142 }
19143 return NULL;
19144}
19145
19146
2f4c0a16 19147static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19148 PyObject *resultobj;
19149 wxDateTime *arg1 = (wxDateTime *) 0 ;
19150 int arg2 = (int) wxDateTime::Monday_First ;
19151 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19152 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19153 int result;
19154 bool temp3 = False ;
d14a1e28 19155 PyObject * obj0 = 0 ;
8edf1c75 19156 PyObject * obj1 = 0 ;
d14a1e28
RD
19157 PyObject * obj2 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self",(char *) "flags",(char *) "tz", NULL
19160 };
19161
8edf1c75 19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19165 if (obj1) {
2f4c0a16
RD
19166 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19167 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19168 }
d14a1e28
RD
19169 if (obj2) {
19170 {
19171 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19172 temp3 = True;
d14a1e28
RD
19173 }
19174 }
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19177 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19178
19179 wxPyEndAllowThreads(__tstate);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 }
2f4c0a16 19182 resultobj = SWIG_FromInt((int)result);
d14a1e28 19183 {
44127b65 19184 if (temp3) delete arg3;
d14a1e28
RD
19185 }
19186 return resultobj;
19187 fail:
19188 {
44127b65 19189 if (temp3) delete arg3;
d14a1e28
RD
19190 }
19191 return NULL;
19192}
19193
19194
2f4c0a16 19195static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19196 PyObject *resultobj;
19197 wxDateTime *arg1 = (wxDateTime *) 0 ;
19198 int arg2 = (int) wxDateTime::Monday_First ;
19199 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19200 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19201 int result;
19202 bool temp3 = False ;
d14a1e28 19203 PyObject * obj0 = 0 ;
8edf1c75 19204 PyObject * obj1 = 0 ;
d14a1e28
RD
19205 PyObject * obj2 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self",(char *) "flags",(char *) "tz", NULL
19208 };
19209
8edf1c75 19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19213 if (obj1) {
2f4c0a16
RD
19214 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19216 }
d14a1e28
RD
19217 if (obj2) {
19218 {
19219 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19220 temp3 = True;
d14a1e28
RD
19221 }
19222 }
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19225 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
2f4c0a16 19230 resultobj = SWIG_FromInt((int)result);
d14a1e28 19231 {
44127b65 19232 if (temp3) delete arg3;
d14a1e28
RD
19233 }
19234 return resultobj;
19235 fail:
19236 {
44127b65 19237 if (temp3) delete arg3;
d14a1e28
RD
19238 }
19239 return NULL;
19240}
19241
19242
2f4c0a16 19243static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19244 PyObject *resultobj;
19245 wxDateTime *arg1 = (wxDateTime *) 0 ;
19246 int arg2 = (int) wxDateTime::Country_Default ;
19247 bool result;
19248 PyObject * obj0 = 0 ;
8edf1c75 19249 PyObject * obj1 = 0 ;
d14a1e28
RD
19250 char *kwnames[] = {
19251 (char *) "self",(char *) "country", NULL
19252 };
19253
8edf1c75 19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19257 if (obj1) {
2f4c0a16
RD
19258 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19260 }
d14a1e28
RD
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
02a34c4c 19268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19269 return resultobj;
19270 fail:
19271 return NULL;
19272}
19273
19274
2f4c0a16 19275static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19276 PyObject *resultobj;
19277 wxDateTime *arg1 = (wxDateTime *) 0 ;
19278 wxDateTime *arg2 = 0 ;
19279 bool result;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "datetime", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19290 SWIG_POINTER_EXCEPTION | 0)) == -1)
19291 SWIG_fail;
d14a1e28 19292 if (arg2 == NULL) {
2f4c0a16
RD
19293 PyErr_SetString(PyExc_TypeError,"null reference");
19294 SWIG_fail;
d14a1e28
RD
19295 }
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
02a34c4c 19303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19304 return resultobj;
19305 fail:
19306 return NULL;
19307}
19308
19309
2f4c0a16 19310static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19311 PyObject *resultobj;
19312 wxDateTime *arg1 = (wxDateTime *) 0 ;
19313 wxDateTime *arg2 = 0 ;
19314 bool result;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "datetime", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19325 SWIG_POINTER_EXCEPTION | 0)) == -1)
19326 SWIG_fail;
d14a1e28 19327 if (arg2 == NULL) {
2f4c0a16
RD
19328 PyErr_SetString(PyExc_TypeError,"null reference");
19329 SWIG_fail;
d14a1e28
RD
19330 }
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
02a34c4c 19338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
2f4c0a16 19345static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19346 PyObject *resultobj;
19347 wxDateTime *arg1 = (wxDateTime *) 0 ;
19348 wxDateTime *arg2 = 0 ;
19349 bool result;
19350 PyObject * obj0 = 0 ;
19351 PyObject * obj1 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "self",(char *) "datetime", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1)
19361 SWIG_fail;
d14a1e28 19362 if (arg2 == NULL) {
2f4c0a16
RD
19363 PyErr_SetString(PyExc_TypeError,"null reference");
19364 SWIG_fail;
d14a1e28
RD
19365 }
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
02a34c4c 19373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19374 return resultobj;
19375 fail:
19376 return NULL;
19377}
19378
19379
2f4c0a16 19380static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19381 PyObject *resultobj;
19382 wxDateTime *arg1 = (wxDateTime *) 0 ;
19383 wxDateTime *arg2 = 0 ;
19384 wxDateTime *arg3 = 0 ;
19385 bool result;
19386 PyObject * obj0 = 0 ;
19387 PyObject * obj1 = 0 ;
19388 PyObject * obj2 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self",(char *) "t1",(char *) "t2", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19397 SWIG_POINTER_EXCEPTION | 0)) == -1)
19398 SWIG_fail;
d14a1e28 19399 if (arg2 == NULL) {
2f4c0a16
RD
19400 PyErr_SetString(PyExc_TypeError,"null reference");
19401 SWIG_fail;
d14a1e28 19402 }
2f4c0a16
RD
19403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19404 SWIG_POINTER_EXCEPTION | 0)) == -1)
19405 SWIG_fail;
d14a1e28 19406 if (arg3 == NULL) {
2f4c0a16
RD
19407 PyErr_SetString(PyExc_TypeError,"null reference");
19408 SWIG_fail;
d14a1e28
RD
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
02a34c4c 19417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19418 return resultobj;
19419 fail:
19420 return NULL;
19421}
19422
19423
2f4c0a16 19424static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19425 PyObject *resultobj;
19426 wxDateTime *arg1 = (wxDateTime *) 0 ;
19427 wxDateTime *arg2 = 0 ;
19428 wxDateTime *arg3 = 0 ;
19429 bool result;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj1 = 0 ;
19432 PyObject * obj2 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self",(char *) "t1",(char *) "t2", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1)
19442 SWIG_fail;
d14a1e28 19443 if (arg2 == NULL) {
2f4c0a16
RD
19444 PyErr_SetString(PyExc_TypeError,"null reference");
19445 SWIG_fail;
d14a1e28 19446 }
2f4c0a16
RD
19447 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19448 SWIG_POINTER_EXCEPTION | 0)) == -1)
19449 SWIG_fail;
d14a1e28 19450 if (arg3 == NULL) {
2f4c0a16
RD
19451 PyErr_SetString(PyExc_TypeError,"null reference");
19452 SWIG_fail;
d14a1e28
RD
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
02a34c4c 19461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19462 return resultobj;
19463 fail:
19464 return NULL;
19465}
19466
19467
2f4c0a16 19468static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19469 PyObject *resultobj;
19470 wxDateTime *arg1 = (wxDateTime *) 0 ;
19471 wxDateTime *arg2 = 0 ;
19472 bool result;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "dt", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1)
19484 SWIG_fail;
d14a1e28 19485 if (arg2 == NULL) {
2f4c0a16
RD
19486 PyErr_SetString(PyExc_TypeError,"null reference");
19487 SWIG_fail;
d14a1e28
RD
19488 }
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
02a34c4c 19496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19497 return resultobj;
19498 fail:
19499 return NULL;
19500}
19501
19502
2f4c0a16 19503static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19504 PyObject *resultobj;
19505 wxDateTime *arg1 = (wxDateTime *) 0 ;
19506 wxDateTime *arg2 = 0 ;
19507 bool result;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "dt", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19518 SWIG_POINTER_EXCEPTION | 0)) == -1)
19519 SWIG_fail;
d14a1e28 19520 if (arg2 == NULL) {
2f4c0a16
RD
19521 PyErr_SetString(PyExc_TypeError,"null reference");
19522 SWIG_fail;
d14a1e28
RD
19523 }
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
02a34c4c 19531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19532 return resultobj;
19533 fail:
19534 return NULL;
19535}
19536
19537
2f4c0a16 19538static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19539 PyObject *resultobj;
19540 wxDateTime *arg1 = (wxDateTime *) 0 ;
19541 wxDateTime *arg2 = 0 ;
19542 wxTimeSpan *arg3 = 0 ;
19543 bool result;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 PyObject * obj2 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self",(char *) "dt",(char *) "ts", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19555 SWIG_POINTER_EXCEPTION | 0)) == -1)
19556 SWIG_fail;
d14a1e28 19557 if (arg2 == NULL) {
2f4c0a16
RD
19558 PyErr_SetString(PyExc_TypeError,"null reference");
19559 SWIG_fail;
d14a1e28 19560 }
2f4c0a16
RD
19561 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1)
19563 SWIG_fail;
d14a1e28 19564 if (arg3 == NULL) {
2f4c0a16
RD
19565 PyErr_SetString(PyExc_TypeError,"null reference");
19566 SWIG_fail;
d14a1e28
RD
19567 }
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
02a34c4c 19575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19576 return resultobj;
19577 fail:
19578 return NULL;
19579}
19580
19581
2f4c0a16 19582static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19583 PyObject *resultobj;
19584 wxDateTime *arg1 = (wxDateTime *) 0 ;
19585 wxTimeSpan *arg2 = 0 ;
19586 wxDateTime *result;
19587 PyObject * obj0 = 0 ;
19588 PyObject * obj1 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self",(char *) "diff", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1)
19598 SWIG_fail;
d14a1e28 19599 if (arg2 == NULL) {
2f4c0a16
RD
19600 PyErr_SetString(PyExc_TypeError,"null reference");
19601 SWIG_fail;
d14a1e28
RD
19602 }
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 {
19606 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19607 result = (wxDateTime *) &_result_ref;
19608 }
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
2f4c0a16 19613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19614 return resultobj;
19615 fail:
19616 return NULL;
19617}
19618
19619
2f4c0a16 19620static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19621 PyObject *resultobj;
19622 wxDateTime *arg1 = (wxDateTime *) 0 ;
19623 wxDateSpan *arg2 = 0 ;
19624 wxDateTime *result;
19625 PyObject * obj0 = 0 ;
19626 PyObject * obj1 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "self",(char *) "diff", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19635 SWIG_POINTER_EXCEPTION | 0)) == -1)
19636 SWIG_fail;
d14a1e28 19637 if (arg2 == NULL) {
2f4c0a16
RD
19638 PyErr_SetString(PyExc_TypeError,"null reference");
19639 SWIG_fail;
d14a1e28
RD
19640 }
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 {
19644 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19645 result = (wxDateTime *) &_result_ref;
19646 }
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
2f4c0a16 19651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
2f4c0a16 19658static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19659 PyObject *resultobj;
19660 wxDateTime *arg1 = (wxDateTime *) 0 ;
19661 wxTimeSpan *arg2 = 0 ;
19662 wxDateTime *result;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "diff", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1)
19674 SWIG_fail;
d14a1e28 19675 if (arg2 == NULL) {
2f4c0a16
RD
19676 PyErr_SetString(PyExc_TypeError,"null reference");
19677 SWIG_fail;
d14a1e28
RD
19678 }
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 {
19682 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19683 result = (wxDateTime *) &_result_ref;
19684 }
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
2f4c0a16 19689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19690 return resultobj;
19691 fail:
19692 return NULL;
19693}
19694
19695
2f4c0a16 19696static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19697 PyObject *resultobj;
19698 wxDateTime *arg1 = (wxDateTime *) 0 ;
19699 wxDateSpan *arg2 = 0 ;
19700 wxDateTime *result;
19701 PyObject * obj0 = 0 ;
19702 PyObject * obj1 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self",(char *) "diff", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19711 SWIG_POINTER_EXCEPTION | 0)) == -1)
19712 SWIG_fail;
d14a1e28 19713 if (arg2 == NULL) {
2f4c0a16
RD
19714 PyErr_SetString(PyExc_TypeError,"null reference");
19715 SWIG_fail;
d14a1e28
RD
19716 }
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 {
19720 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19721 result = (wxDateTime *) &_result_ref;
19722 }
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
2f4c0a16 19727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19728 return resultobj;
19729 fail:
19730 return NULL;
19731}
19732
19733
2f4c0a16 19734static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19735 PyObject *resultobj;
19736 wxDateTime *arg1 = (wxDateTime *) 0 ;
19737 wxDateTime *arg2 = 0 ;
19738 wxTimeSpan result;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "dt", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1)
19750 SWIG_fail;
d14a1e28 19751 if (arg2 == NULL) {
2f4c0a16
RD
19752 PyErr_SetString(PyExc_TypeError,"null reference");
19753 SWIG_fail;
d14a1e28
RD
19754 }
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 wxTimeSpan * resultptr;
19764 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 19765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
2f4c0a16 19773static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19774 PyObject *resultobj;
19775 wxDateTime *arg1 = (wxDateTime *) 0 ;
19776 wxTimeSpan *arg2 = 0 ;
19777 wxDateTime *result;
19778 PyObject * obj0 = 0 ;
19779 PyObject * obj1 = 0 ;
19780
19781 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1)
19786 SWIG_fail;
d14a1e28 19787 if (arg2 == NULL) {
2f4c0a16
RD
19788 PyErr_SetString(PyExc_TypeError,"null reference");
19789 SWIG_fail;
d14a1e28
RD
19790 }
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 {
19794 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19795 result = (wxDateTime *) &_result_ref;
19796 }
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
2f4c0a16 19801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19802 return resultobj;
19803 fail:
19804 return NULL;
19805}
19806
19807
2f4c0a16 19808static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
19809 PyObject *resultobj;
19810 wxDateTime *arg1 = (wxDateTime *) 0 ;
19811 wxDateSpan *arg2 = 0 ;
19812 wxDateTime *result;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815
19816 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1)
19821 SWIG_fail;
d14a1e28 19822 if (arg2 == NULL) {
2f4c0a16
RD
19823 PyErr_SetString(PyExc_TypeError,"null reference");
19824 SWIG_fail;
d14a1e28
RD
19825 }
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 {
19829 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19830 result = (wxDateTime *) &_result_ref;
19831 }
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
2f4c0a16 19836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19837 return resultobj;
19838 fail:
19839 return NULL;
19840}
19841
19842
19843static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19844 int argc;
19845 PyObject *argv[3];
19846 int ii;
19847
19848 argc = PyObject_Length(args);
19849 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19850 argv[ii] = PyTuple_GetItem(args,ii);
19851 }
19852 if (argc == 2) {
19853 int _v;
19854 {
19855 void *ptr;
2f4c0a16 19856 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19857 _v = 0;
19858 PyErr_Clear();
19859 } else {
19860 _v = 1;
19861 }
19862 }
19863 if (_v) {
19864 {
19865 void *ptr;
2f4c0a16 19866 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
19867 _v = 0;
19868 PyErr_Clear();
19869 } else {
19870 _v = 1;
19871 }
19872 }
19873 if (_v) {
19874 return _wrap_DateTime___iadd____SWIG_0(self,args);
19875 }
19876 }
19877 }
19878 if (argc == 2) {
19879 int _v;
19880 {
19881 void *ptr;
2f4c0a16 19882 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19883 _v = 0;
19884 PyErr_Clear();
19885 } else {
19886 _v = 1;
19887 }
19888 }
19889 if (_v) {
19890 {
19891 void *ptr;
2f4c0a16 19892 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
19893 _v = 0;
19894 PyErr_Clear();
19895 } else {
19896 _v = 1;
19897 }
19898 }
19899 if (_v) {
19900 return _wrap_DateTime___iadd____SWIG_1(self,args);
19901 }
19902 }
19903 }
19904
19905 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19906 return NULL;
19907}
19908
19909
2f4c0a16 19910static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19911 PyObject *resultobj;
19912 wxDateTime *arg1 = (wxDateTime *) 0 ;
19913 wxTimeSpan *arg2 = 0 ;
19914 wxDateTime *result;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917
19918 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19922 SWIG_POINTER_EXCEPTION | 0)) == -1)
19923 SWIG_fail;
d14a1e28 19924 if (arg2 == NULL) {
2f4c0a16
RD
19925 PyErr_SetString(PyExc_TypeError,"null reference");
19926 SWIG_fail;
d14a1e28
RD
19927 }
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 {
19931 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19932 result = (wxDateTime *) &_result_ref;
19933 }
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
2f4c0a16 19938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
2f4c0a16 19945static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
19946 PyObject *resultobj;
19947 wxDateTime *arg1 = (wxDateTime *) 0 ;
19948 wxDateSpan *arg2 = 0 ;
19949 wxDateTime *result;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952
19953 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19957 SWIG_POINTER_EXCEPTION | 0)) == -1)
19958 SWIG_fail;
d14a1e28 19959 if (arg2 == NULL) {
2f4c0a16
RD
19960 PyErr_SetString(PyExc_TypeError,"null reference");
19961 SWIG_fail;
d14a1e28
RD
19962 }
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 {
19966 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19967 result = (wxDateTime *) &_result_ref;
19968 }
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
2f4c0a16 19973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
19980static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19981 int argc;
19982 PyObject *argv[3];
19983 int ii;
19984
19985 argc = PyObject_Length(args);
19986 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19987 argv[ii] = PyTuple_GetItem(args,ii);
19988 }
19989 if (argc == 2) {
19990 int _v;
19991 {
19992 void *ptr;
2f4c0a16 19993 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
19994 _v = 0;
19995 PyErr_Clear();
19996 } else {
19997 _v = 1;
19998 }
19999 }
20000 if (_v) {
20001 {
20002 void *ptr;
2f4c0a16 20003 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20004 _v = 0;
20005 PyErr_Clear();
20006 } else {
20007 _v = 1;
20008 }
20009 }
20010 if (_v) {
20011 return _wrap_DateTime___isub____SWIG_0(self,args);
20012 }
20013 }
20014 }
20015 if (argc == 2) {
20016 int _v;
20017 {
20018 void *ptr;
2f4c0a16 20019 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20020 _v = 0;
20021 PyErr_Clear();
20022 } else {
20023 _v = 1;
20024 }
20025 }
20026 if (_v) {
20027 {
20028 void *ptr;
2f4c0a16 20029 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20030 _v = 0;
20031 PyErr_Clear();
20032 } else {
20033 _v = 1;
20034 }
20035 }
20036 if (_v) {
20037 return _wrap_DateTime___isub____SWIG_1(self,args);
20038 }
20039 }
20040 }
20041
20042 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20043 return NULL;
20044}
20045
20046
2f4c0a16 20047static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20048 PyObject *resultobj;
20049 wxDateTime *arg1 = (wxDateTime *) 0 ;
20050 wxTimeSpan *arg2 = 0 ;
20051 wxDateTime result;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054
20055 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20059 SWIG_POINTER_EXCEPTION | 0)) == -1)
20060 SWIG_fail;
d14a1e28 20061 if (arg2 == NULL) {
2f4c0a16
RD
20062 PyErr_SetString(PyExc_TypeError,"null reference");
20063 SWIG_fail;
d14a1e28
RD
20064 }
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 {
20073 wxDateTime * resultptr;
20074 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20076 }
20077 return resultobj;
20078 fail:
20079 return NULL;
20080}
20081
20082
2f4c0a16 20083static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20084 PyObject *resultobj;
20085 wxDateTime *arg1 = (wxDateTime *) 0 ;
20086 wxDateSpan *arg2 = 0 ;
20087 wxDateTime result;
20088 PyObject * obj0 = 0 ;
20089 PyObject * obj1 = 0 ;
20090
20091 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20095 SWIG_POINTER_EXCEPTION | 0)) == -1)
20096 SWIG_fail;
d14a1e28 20097 if (arg2 == NULL) {
2f4c0a16
RD
20098 PyErr_SetString(PyExc_TypeError,"null reference");
20099 SWIG_fail;
d14a1e28
RD
20100 }
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 {
20109 wxDateTime * resultptr;
20110 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20112 }
20113 return resultobj;
20114 fail:
20115 return NULL;
20116}
20117
20118
20119static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20120 int argc;
20121 PyObject *argv[3];
20122 int ii;
20123
20124 argc = PyObject_Length(args);
20125 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20126 argv[ii] = PyTuple_GetItem(args,ii);
20127 }
20128 if (argc == 2) {
20129 int _v;
20130 {
20131 void *ptr;
2f4c0a16 20132 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20133 _v = 0;
20134 PyErr_Clear();
20135 } else {
20136 _v = 1;
20137 }
20138 }
20139 if (_v) {
20140 {
20141 void *ptr;
2f4c0a16 20142 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20143 _v = 0;
20144 PyErr_Clear();
20145 } else {
20146 _v = 1;
20147 }
20148 }
20149 if (_v) {
20150 return _wrap_DateTime___add____SWIG_0(self,args);
20151 }
20152 }
20153 }
20154 if (argc == 2) {
20155 int _v;
20156 {
20157 void *ptr;
2f4c0a16 20158 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20159 _v = 0;
20160 PyErr_Clear();
20161 } else {
20162 _v = 1;
20163 }
20164 }
20165 if (_v) {
20166 {
20167 void *ptr;
2f4c0a16 20168 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20169 _v = 0;
20170 PyErr_Clear();
20171 } else {
20172 _v = 1;
20173 }
20174 }
20175 if (_v) {
20176 return _wrap_DateTime___add____SWIG_1(self,args);
20177 }
20178 }
20179 }
20180
20181 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20182 return NULL;
20183}
20184
20185
2f4c0a16 20186static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20187 PyObject *resultobj;
20188 wxDateTime *arg1 = (wxDateTime *) 0 ;
20189 wxDateTime *arg2 = 0 ;
20190 wxTimeSpan result;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193
20194 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20198 SWIG_POINTER_EXCEPTION | 0)) == -1)
20199 SWIG_fail;
d14a1e28 20200 if (arg2 == NULL) {
2f4c0a16
RD
20201 PyErr_SetString(PyExc_TypeError,"null reference");
20202 SWIG_fail;
d14a1e28
RD
20203 }
20204 {
20205 PyThreadState* __tstate = wxPyBeginAllowThreads();
20206 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20207
20208 wxPyEndAllowThreads(__tstate);
20209 if (PyErr_Occurred()) SWIG_fail;
20210 }
20211 {
20212 wxTimeSpan * resultptr;
20213 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 20214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20215 }
20216 return resultobj;
20217 fail:
20218 return NULL;
20219}
20220
20221
2f4c0a16 20222static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
20223 PyObject *resultobj;
20224 wxDateTime *arg1 = (wxDateTime *) 0 ;
20225 wxTimeSpan *arg2 = 0 ;
20226 wxDateTime result;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229
20230 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20234 SWIG_POINTER_EXCEPTION | 0)) == -1)
20235 SWIG_fail;
d14a1e28 20236 if (arg2 == NULL) {
2f4c0a16
RD
20237 PyErr_SetString(PyExc_TypeError,"null reference");
20238 SWIG_fail;
d14a1e28
RD
20239 }
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 wxDateTime * resultptr;
20249 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20251 }
20252 return resultobj;
20253 fail:
20254 return NULL;
20255}
20256
20257
2f4c0a16 20258static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
20259 PyObject *resultobj;
20260 wxDateTime *arg1 = (wxDateTime *) 0 ;
20261 wxDateSpan *arg2 = 0 ;
20262 wxDateTime result;
20263 PyObject * obj0 = 0 ;
20264 PyObject * obj1 = 0 ;
20265
20266 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20270 SWIG_POINTER_EXCEPTION | 0)) == -1)
20271 SWIG_fail;
d14a1e28 20272 if (arg2 == NULL) {
2f4c0a16
RD
20273 PyErr_SetString(PyExc_TypeError,"null reference");
20274 SWIG_fail;
d14a1e28
RD
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 {
20284 wxDateTime * resultptr;
20285 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20287 }
20288 return resultobj;
20289 fail:
20290 return NULL;
20291}
20292
20293
20294static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20295 int argc;
20296 PyObject *argv[3];
20297 int ii;
20298
20299 argc = PyObject_Length(args);
20300 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20301 argv[ii] = PyTuple_GetItem(args,ii);
20302 }
20303 if (argc == 2) {
20304 int _v;
20305 {
20306 void *ptr;
2f4c0a16 20307 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20308 _v = 0;
20309 PyErr_Clear();
20310 } else {
20311 _v = 1;
20312 }
20313 }
20314 if (_v) {
20315 {
20316 void *ptr;
2f4c0a16 20317 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20318 _v = 0;
20319 PyErr_Clear();
20320 } else {
20321 _v = 1;
20322 }
20323 }
20324 if (_v) {
20325 return _wrap_DateTime___sub____SWIG_0(self,args);
20326 }
20327 }
20328 }
20329 if (argc == 2) {
20330 int _v;
20331 {
20332 void *ptr;
2f4c0a16 20333 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20334 _v = 0;
20335 PyErr_Clear();
20336 } else {
20337 _v = 1;
20338 }
20339 }
20340 if (_v) {
20341 {
20342 void *ptr;
2f4c0a16 20343 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20344 _v = 0;
20345 PyErr_Clear();
20346 } else {
20347 _v = 1;
20348 }
20349 }
20350 if (_v) {
20351 return _wrap_DateTime___sub____SWIG_1(self,args);
20352 }
20353 }
20354 }
20355 if (argc == 2) {
20356 int _v;
20357 {
20358 void *ptr;
2f4c0a16 20359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20360 _v = 0;
20361 PyErr_Clear();
20362 } else {
20363 _v = 1;
20364 }
20365 }
20366 if (_v) {
20367 {
20368 void *ptr;
2f4c0a16 20369 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20370 _v = 0;
20371 PyErr_Clear();
20372 } else {
20373 _v = 1;
20374 }
20375 }
20376 if (_v) {
20377 return _wrap_DateTime___sub____SWIG_2(self,args);
20378 }
20379 }
20380 }
20381
20382 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20383 return NULL;
20384}
20385
20386
2f4c0a16 20387static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
d14a1e28
RD
20388 PyObject *resultobj;
20389 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20390 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20391 bool result;
20392 PyObject * obj0 = 0 ;
20393 PyObject * obj1 = 0 ;
20394
20395 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20402 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
02a34c4c 20407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20408 return resultobj;
20409 fail:
20410 return NULL;
20411}
20412
20413
2f4c0a16 20414static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
d14a1e28
RD
20415 PyObject *resultobj;
20416 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20417 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20418 bool result;
20419 PyObject * obj0 = 0 ;
20420 PyObject * obj1 = 0 ;
20421
20422 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20429 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
02a34c4c 20434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
2f4c0a16 20441static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
d14a1e28
RD
20442 PyObject *resultobj;
20443 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20444 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20445 bool result;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448
20449 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20456 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
02a34c4c 20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20462 return resultobj;
20463 fail:
20464 return NULL;
20465}
20466
20467
2f4c0a16 20468static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
d14a1e28
RD
20469 PyObject *resultobj;
20470 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20471 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20472 bool result;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475
20476 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20483 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
02a34c4c 20488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
2f4c0a16 20495static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
d14a1e28
RD
20496 PyObject *resultobj;
20497 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20498 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20499 bool result;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502
20503 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20510 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
02a34c4c 20515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20516 return resultobj;
20517 fail:
20518 return NULL;
20519}
20520
20521
2f4c0a16 20522static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
d14a1e28
RD
20523 PyObject *resultobj;
20524 wxDateTime *arg1 = (wxDateTime *) 0 ;
38f59159 20525 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20526 bool result;
20527 PyObject * obj0 = 0 ;
20528 PyObject * obj1 = 0 ;
20529
20530 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 20537 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
02a34c4c 20542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20543 return resultobj;
20544 fail:
20545 return NULL;
20546}
20547
20548
2f4c0a16 20549static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20550 PyObject *resultobj;
20551 wxDateTime *arg1 = (wxDateTime *) 0 ;
20552 wxString *arg2 = 0 ;
20553 int result;
423f194a 20554 bool temp2 = False ;
d14a1e28
RD
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self",(char *) "date", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20564 {
20565 arg2 = wxString_in_helper(obj1);
20566 if (arg2 == NULL) SWIG_fail;
423f194a 20567 temp2 = True;
d14a1e28
RD
20568 }
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
2f4c0a16 20576 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20577 {
20578 if (temp2)
20579 delete arg2;
20580 }
20581 return resultobj;
20582 fail:
20583 {
20584 if (temp2)
20585 delete arg2;
20586 }
20587 return NULL;
20588}
20589
20590
2f4c0a16 20591static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20592 PyObject *resultobj;
20593 wxDateTime *arg1 = (wxDateTime *) 0 ;
20594 wxString *arg2 = 0 ;
20595 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20596 wxString *arg3 = (wxString *) &arg3_defvalue ;
20597 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20598 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20599 int result;
423f194a
RD
20600 bool temp2 = False ;
20601 bool temp3 = False ;
d14a1e28
RD
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 PyObject * obj2 = 0 ;
20605 PyObject * obj3 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20613 {
20614 arg2 = wxString_in_helper(obj1);
20615 if (arg2 == NULL) SWIG_fail;
423f194a 20616 temp2 = True;
d14a1e28
RD
20617 }
20618 if (obj2) {
20619 {
20620 arg3 = wxString_in_helper(obj2);
20621 if (arg3 == NULL) SWIG_fail;
423f194a 20622 temp3 = True;
d14a1e28
RD
20623 }
20624 }
20625 if (obj3) {
2f4c0a16
RD
20626 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1)
20628 SWIG_fail;
d14a1e28 20629 if (arg4 == NULL) {
2f4c0a16
RD
20630 PyErr_SetString(PyExc_TypeError,"null reference");
20631 SWIG_fail;
d14a1e28
RD
20632 }
20633 }
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
2f4c0a16 20641 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20642 {
20643 if (temp2)
20644 delete arg2;
20645 }
20646 {
20647 if (temp3)
20648 delete arg3;
20649 }
20650 return resultobj;
20651 fail:
20652 {
20653 if (temp2)
20654 delete arg2;
20655 }
20656 {
20657 if (temp3)
20658 delete arg3;
20659 }
20660 return NULL;
20661}
20662
20663
2f4c0a16 20664static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20665 PyObject *resultobj;
20666 wxDateTime *arg1 = (wxDateTime *) 0 ;
20667 wxString *arg2 = 0 ;
20668 int result;
423f194a 20669 bool temp2 = False ;
d14a1e28
RD
20670 PyObject * obj0 = 0 ;
20671 PyObject * obj1 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "datetime", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20679 {
20680 arg2 = wxString_in_helper(obj1);
20681 if (arg2 == NULL) SWIG_fail;
423f194a 20682 temp2 = True;
d14a1e28
RD
20683 }
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
2f4c0a16 20691 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20692 {
20693 if (temp2)
20694 delete arg2;
20695 }
20696 return resultobj;
20697 fail:
20698 {
20699 if (temp2)
20700 delete arg2;
20701 }
20702 return NULL;
20703}
20704
20705
2f4c0a16 20706static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20707 PyObject *resultobj;
20708 wxDateTime *arg1 = (wxDateTime *) 0 ;
20709 wxString *arg2 = 0 ;
20710 int result;
423f194a 20711 bool temp2 = False ;
d14a1e28
RD
20712 PyObject * obj0 = 0 ;
20713 PyObject * obj1 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self",(char *) "date", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20721 {
20722 arg2 = wxString_in_helper(obj1);
20723 if (arg2 == NULL) SWIG_fail;
423f194a 20724 temp2 = True;
d14a1e28
RD
20725 }
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
2f4c0a16 20733 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20734 {
20735 if (temp2)
20736 delete arg2;
20737 }
20738 return resultobj;
20739 fail:
20740 {
20741 if (temp2)
20742 delete arg2;
20743 }
20744 return NULL;
20745}
20746
20747
2f4c0a16 20748static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20749 PyObject *resultobj;
20750 wxDateTime *arg1 = (wxDateTime *) 0 ;
20751 wxString *arg2 = 0 ;
20752 int result;
423f194a 20753 bool temp2 = False ;
d14a1e28
RD
20754 PyObject * obj0 = 0 ;
20755 PyObject * obj1 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self",(char *) "time", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20763 {
20764 arg2 = wxString_in_helper(obj1);
20765 if (arg2 == NULL) SWIG_fail;
423f194a 20766 temp2 = True;
d14a1e28
RD
20767 }
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
2f4c0a16 20775 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20776 {
20777 if (temp2)
20778 delete arg2;
20779 }
20780 return resultobj;
20781 fail:
20782 {
20783 if (temp2)
20784 delete arg2;
20785 }
20786 return NULL;
20787}
20788
20789
2f4c0a16 20790static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20791 PyObject *resultobj;
20792 wxDateTime *arg1 = (wxDateTime *) 0 ;
20793 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20794 wxString *arg2 = (wxString *) &arg2_defvalue ;
20795 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20796 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20797 wxString result;
423f194a 20798 bool temp2 = False ;
44127b65 20799 bool temp3 = False ;
d14a1e28
RD
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 PyObject * obj2 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "format",(char *) "tz", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20810 if (obj1) {
20811 {
20812 arg2 = wxString_in_helper(obj1);
20813 if (arg2 == NULL) SWIG_fail;
423f194a 20814 temp2 = True;
d14a1e28
RD
20815 }
20816 }
20817 if (obj2) {
20818 {
20819 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 20820 temp3 = True;
d14a1e28
RD
20821 }
20822 }
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831#if wxUSE_UNICODE
20832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20833#else
20834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20835#endif
20836 }
20837 {
20838 if (temp2)
20839 delete arg2;
20840 }
20841 {
44127b65 20842 if (temp3) delete arg3;
d14a1e28
RD
20843 }
20844 return resultobj;
20845 fail:
20846 {
20847 if (temp2)
20848 delete arg2;
20849 }
20850 {
44127b65 20851 if (temp3) delete arg3;
d14a1e28
RD
20852 }
20853 return NULL;
20854}
20855
20856
2f4c0a16 20857static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20858 PyObject *resultobj;
20859 wxDateTime *arg1 = (wxDateTime *) 0 ;
20860 wxString result;
20861 PyObject * obj0 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = ((wxDateTime const *)arg1)->FormatDate();
20872
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 {
20877#if wxUSE_UNICODE
20878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20879#else
20880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20881#endif
20882 }
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
2f4c0a16 20889static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20890 PyObject *resultobj;
20891 wxDateTime *arg1 = (wxDateTime *) 0 ;
20892 wxString result;
20893 PyObject * obj0 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = ((wxDateTime const *)arg1)->FormatTime();
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 {
20909#if wxUSE_UNICODE
20910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20911#else
20912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20913#endif
20914 }
20915 return resultobj;
20916 fail:
20917 return NULL;
20918}
20919
20920
2f4c0a16 20921static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20922 PyObject *resultobj;
20923 wxDateTime *arg1 = (wxDateTime *) 0 ;
20924 wxString result;
20925 PyObject * obj0 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = ((wxDateTime const *)arg1)->FormatISODate();
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941#if wxUSE_UNICODE
20942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20943#else
20944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20945#endif
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
2f4c0a16 20953static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20954 PyObject *resultobj;
20955 wxDateTime *arg1 = (wxDateTime *) 0 ;
20956 wxString result;
20957 PyObject * obj0 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = ((wxDateTime const *)arg1)->FormatISOTime();
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 {
20973#if wxUSE_UNICODE
20974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20975#else
20976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20977#endif
20978 }
20979 return resultobj;
20980 fail:
20981 return NULL;
20982}
20983
20984
2f4c0a16 20985static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20986 PyObject *obj;
20987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20988 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20989 Py_INCREF(obj);
20990 return Py_BuildValue((char *)"");
20991}
2f4c0a16 20992static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20993 PyObject *resultobj;
20994 long arg1 ;
20995 wxTimeSpan result;
8edf1c75 20996 PyObject * obj0 = 0 ;
d14a1e28
RD
20997 char *kwnames[] = {
20998 (char *) "sec", NULL
20999 };
21000
8edf1c75 21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21002 arg1 = (long) SWIG_AsLong(obj0);
21003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = wxTimeSpan::Seconds(arg1);
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 {
21012 wxTimeSpan * resultptr;
21013 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21015 }
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
2f4c0a16 21022static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21023 PyObject *resultobj;
21024 wxTimeSpan result;
21025 char *kwnames[] = {
21026 NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = wxTimeSpan::Second();
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 {
21038 wxTimeSpan * resultptr;
21039 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21041 }
21042 return resultobj;
21043 fail:
21044 return NULL;
21045}
21046
21047
2f4c0a16 21048static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21049 PyObject *resultobj;
21050 long arg1 ;
21051 wxTimeSpan result;
8edf1c75 21052 PyObject * obj0 = 0 ;
d14a1e28
RD
21053 char *kwnames[] = {
21054 (char *) "min", NULL
21055 };
21056
8edf1c75 21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21058 arg1 = (long) SWIG_AsLong(obj0);
21059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 result = wxTimeSpan::Minutes(arg1);
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 {
21068 wxTimeSpan * resultptr;
21069 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21071 }
21072 return resultobj;
21073 fail:
21074 return NULL;
21075}
21076
21077
2f4c0a16 21078static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21079 PyObject *resultobj;
21080 wxTimeSpan result;
21081 char *kwnames[] = {
21082 NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = wxTimeSpan::Minute();
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 {
21094 wxTimeSpan * resultptr;
21095 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21097 }
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
2f4c0a16 21104static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21105 PyObject *resultobj;
21106 long arg1 ;
21107 wxTimeSpan result;
8edf1c75 21108 PyObject * obj0 = 0 ;
d14a1e28
RD
21109 char *kwnames[] = {
21110 (char *) "hours", NULL
21111 };
21112
8edf1c75 21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21114 arg1 = (long) SWIG_AsLong(obj0);
21115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = wxTimeSpan::Hours(arg1);
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 {
21124 wxTimeSpan * resultptr;
21125 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21127 }
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
2f4c0a16 21134static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21135 PyObject *resultobj;
21136 wxTimeSpan result;
21137 char *kwnames[] = {
21138 NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 result = wxTimeSpan::Hour();
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 {
21150 wxTimeSpan * resultptr;
21151 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21153 }
21154 return resultobj;
21155 fail:
21156 return NULL;
21157}
21158
21159
2f4c0a16 21160static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21161 PyObject *resultobj;
21162 long arg1 ;
21163 wxTimeSpan result;
8edf1c75 21164 PyObject * obj0 = 0 ;
d14a1e28
RD
21165 char *kwnames[] = {
21166 (char *) "days", NULL
21167 };
21168
8edf1c75 21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21170 arg1 = (long) SWIG_AsLong(obj0);
21171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = wxTimeSpan::Days(arg1);
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 wxTimeSpan * resultptr;
21181 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21183 }
21184 return resultobj;
21185 fail:
21186 return NULL;
21187}
21188
21189
2f4c0a16 21190static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21191 PyObject *resultobj;
21192 wxTimeSpan result;
21193 char *kwnames[] = {
21194 NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = wxTimeSpan::Day();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 {
21206 wxTimeSpan * resultptr;
21207 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21209 }
21210 return resultobj;
21211 fail:
21212 return NULL;
21213}
21214
21215
2f4c0a16 21216static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21217 PyObject *resultobj;
21218 long arg1 ;
21219 wxTimeSpan result;
8edf1c75 21220 PyObject * obj0 = 0 ;
d14a1e28
RD
21221 char *kwnames[] = {
21222 (char *) "days", NULL
21223 };
21224
8edf1c75 21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21226 arg1 = (long) SWIG_AsLong(obj0);
21227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = wxTimeSpan::Weeks(arg1);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 wxTimeSpan * resultptr;
21237 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21239 }
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
2f4c0a16 21246static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21247 PyObject *resultobj;
21248 wxTimeSpan result;
21249 char *kwnames[] = {
21250 NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = wxTimeSpan::Week();
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 {
21262 wxTimeSpan * resultptr;
21263 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269}
21270
21271
2f4c0a16 21272static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21273 PyObject *resultobj;
21274 long arg1 = (long) 0 ;
21275 long arg2 = (long) 0 ;
21276 long arg3 = (long) 0 ;
21277 long arg4 = (long) 0 ;
21278 wxTimeSpan *result;
8edf1c75
RD
21279 PyObject * obj0 = 0 ;
21280 PyObject * obj1 = 0 ;
21281 PyObject * obj2 = 0 ;
21282 PyObject * obj3 = 0 ;
d14a1e28
RD
21283 char *kwnames[] = {
21284 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21285 };
21286
8edf1c75
RD
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21288 if (obj0) {
2f4c0a16
RD
21289 arg1 = (long) SWIG_AsLong(obj0);
21290 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21291 }
21292 if (obj1) {
2f4c0a16
RD
21293 arg2 = (long) SWIG_AsLong(obj1);
21294 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21295 }
21296 if (obj2) {
2f4c0a16
RD
21297 arg3 = (long) SWIG_AsLong(obj2);
21298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21299 }
21300 if (obj3) {
2f4c0a16
RD
21301 arg4 = (long) SWIG_AsLong(obj3);
21302 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21303 }
d14a1e28
RD
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
2f4c0a16 21311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21312 return resultobj;
21313 fail:
21314 return NULL;
21315}
21316
21317
2f4c0a16 21318static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21319 PyObject *resultobj;
21320 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21321 PyObject * obj0 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 delete arg1;
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340}
21341
21342
2f4c0a16 21343static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21344 PyObject *resultobj;
21345 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21346 wxTimeSpan *arg2 = 0 ;
21347 wxTimeSpan *result;
21348 PyObject * obj0 = 0 ;
21349 PyObject * obj1 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "diff", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21358 SWIG_POINTER_EXCEPTION | 0)) == -1)
21359 SWIG_fail;
d14a1e28 21360 if (arg2 == NULL) {
2f4c0a16
RD
21361 PyErr_SetString(PyExc_TypeError,"null reference");
21362 SWIG_fail;
d14a1e28
RD
21363 }
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 {
21367 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21368 result = (wxTimeSpan *) &_result_ref;
21369 }
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
2f4c0a16 21374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21375 return resultobj;
21376 fail:
21377 return NULL;
21378}
21379
21380
2f4c0a16 21381static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21382 PyObject *resultobj;
21383 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21384 wxTimeSpan *arg2 = 0 ;
21385 wxTimeSpan *result;
21386 PyObject * obj0 = 0 ;
21387 PyObject * obj1 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "self",(char *) "diff", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21396 SWIG_POINTER_EXCEPTION | 0)) == -1)
21397 SWIG_fail;
d14a1e28 21398 if (arg2 == NULL) {
2f4c0a16
RD
21399 PyErr_SetString(PyExc_TypeError,"null reference");
21400 SWIG_fail;
d14a1e28
RD
21401 }
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 {
21405 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21406 result = (wxTimeSpan *) &_result_ref;
21407 }
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
2f4c0a16 21412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
2f4c0a16 21419static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21420 PyObject *resultobj;
21421 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21422 int arg2 ;
21423 wxTimeSpan *result;
21424 PyObject * obj0 = 0 ;
8edf1c75 21425 PyObject * obj1 = 0 ;
d14a1e28
RD
21426 char *kwnames[] = {
21427 (char *) "self",(char *) "n", NULL
21428 };
21429
8edf1c75 21430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21433 arg2 = (int) SWIG_AsInt(obj1);
21434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 {
21438 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21439 result = (wxTimeSpan *) &_result_ref;
21440 }
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
2f4c0a16 21445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21446 return resultobj;
21447 fail:
21448 return NULL;
21449}
21450
21451
2f4c0a16 21452static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21453 PyObject *resultobj;
21454 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21455 wxTimeSpan *result;
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "self", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 {
21467 wxTimeSpan &_result_ref = (arg1)->Neg();
21468 result = (wxTimeSpan *) &_result_ref;
21469 }
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
2f4c0a16 21474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21475 return resultobj;
21476 fail:
21477 return NULL;
21478}
21479
21480
2f4c0a16 21481static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21482 PyObject *resultobj;
21483 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21484 wxTimeSpan result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = ((wxTimeSpan const *)arg1)->Abs();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 wxTimeSpan * resultptr;
21502 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21504 }
21505 return resultobj;
21506 fail:
21507 return NULL;
21508}
21509
21510
2f4c0a16 21511static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21512 PyObject *resultobj;
21513 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21514 wxTimeSpan *arg2 = 0 ;
21515 wxTimeSpan *result;
21516 PyObject * obj0 = 0 ;
21517 PyObject * obj1 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self",(char *) "diff", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1)
21527 SWIG_fail;
d14a1e28 21528 if (arg2 == NULL) {
2f4c0a16
RD
21529 PyErr_SetString(PyExc_TypeError,"null reference");
21530 SWIG_fail;
d14a1e28
RD
21531 }
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 {
21535 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21536 result = (wxTimeSpan *) &_result_ref;
21537 }
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
2f4c0a16 21542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21543 return resultobj;
21544 fail:
21545 return NULL;
21546}
21547
21548
2f4c0a16 21549static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21550 PyObject *resultobj;
21551 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21552 wxTimeSpan *arg2 = 0 ;
21553 wxTimeSpan *result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self",(char *) "diff", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21564 SWIG_POINTER_EXCEPTION | 0)) == -1)
21565 SWIG_fail;
d14a1e28 21566 if (arg2 == NULL) {
2f4c0a16
RD
21567 PyErr_SetString(PyExc_TypeError,"null reference");
21568 SWIG_fail;
d14a1e28
RD
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 {
21573 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21574 result = (wxTimeSpan *) &_result_ref;
21575 }
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
2f4c0a16 21580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
2f4c0a16 21587static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21588 PyObject *resultobj;
21589 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21590 int arg2 ;
21591 wxTimeSpan *result;
21592 PyObject * obj0 = 0 ;
8edf1c75 21593 PyObject * obj1 = 0 ;
d14a1e28
RD
21594 char *kwnames[] = {
21595 (char *) "self",(char *) "n", NULL
21596 };
21597
8edf1c75 21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21601 arg2 = (int) SWIG_AsInt(obj1);
21602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 {
21606 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21607 result = (wxTimeSpan *) &_result_ref;
21608 }
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
2f4c0a16 21613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21614 return resultobj;
21615 fail:
21616 return NULL;
21617}
21618
21619
2f4c0a16 21620static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21621 PyObject *resultobj;
21622 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21623 wxTimeSpan *result;
21624 PyObject * obj0 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 {
21635 wxTimeSpan &_result_ref = (arg1)->operator -();
21636 result = (wxTimeSpan *) &_result_ref;
21637 }
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
2f4c0a16 21642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
2f4c0a16 21649static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21650 PyObject *resultobj;
21651 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21652 wxTimeSpan *arg2 = 0 ;
21653 wxTimeSpan result;
21654 PyObject * obj0 = 0 ;
21655 PyObject * obj1 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "other", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21664 SWIG_POINTER_EXCEPTION | 0)) == -1)
21665 SWIG_fail;
d14a1e28 21666 if (arg2 == NULL) {
2f4c0a16
RD
21667 PyErr_SetString(PyExc_TypeError,"null reference");
21668 SWIG_fail;
d14a1e28
RD
21669 }
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 {
21678 wxTimeSpan * resultptr;
21679 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21681 }
21682 return resultobj;
21683 fail:
21684 return NULL;
21685}
21686
21687
2f4c0a16 21688static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21689 PyObject *resultobj;
21690 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21691 wxTimeSpan *arg2 = 0 ;
21692 wxTimeSpan result;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 char *kwnames[] = {
21696 (char *) "self",(char *) "other", NULL
21697 };
21698
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21703 SWIG_POINTER_EXCEPTION | 0)) == -1)
21704 SWIG_fail;
d14a1e28 21705 if (arg2 == NULL) {
2f4c0a16
RD
21706 PyErr_SetString(PyExc_TypeError,"null reference");
21707 SWIG_fail;
d14a1e28
RD
21708 }
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 {
21717 wxTimeSpan * resultptr;
21718 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21720 }
21721 return resultobj;
21722 fail:
21723 return NULL;
21724}
21725
21726
2f4c0a16 21727static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21728 PyObject *resultobj;
21729 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21730 int arg2 ;
21731 wxTimeSpan result;
21732 PyObject * obj0 = 0 ;
8edf1c75 21733 PyObject * obj1 = 0 ;
d14a1e28
RD
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "n", NULL
21736 };
21737
8edf1c75 21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21741 arg2 = (int) SWIG_AsInt(obj1);
21742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = wxTimeSpan___mul__(arg1,arg2);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 {
21751 wxTimeSpan * resultptr;
21752 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21754 }
21755 return resultobj;
21756 fail:
21757 return NULL;
21758}
21759
21760
2f4c0a16 21761static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21762 PyObject *resultobj;
21763 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21764 int arg2 ;
21765 wxTimeSpan result;
21766 PyObject * obj0 = 0 ;
8edf1c75 21767 PyObject * obj1 = 0 ;
d14a1e28
RD
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "n", NULL
21770 };
21771
8edf1c75 21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 arg2 = (int) SWIG_AsInt(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = wxTimeSpan___rmul__(arg1,arg2);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 {
21785 wxTimeSpan * resultptr;
21786 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21788 }
21789 return resultobj;
21790 fail:
21791 return NULL;
21792}
21793
21794
2f4c0a16 21795static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21796 PyObject *resultobj;
21797 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21798 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21799 bool result;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "other", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21813 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
02a34c4c 21818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21819 return resultobj;
21820 fail:
21821 return NULL;
21822}
21823
21824
2f4c0a16 21825static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21826 PyObject *resultobj;
21827 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21828 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21829 bool result;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self",(char *) "other", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21843 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
02a34c4c 21848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21849 return resultobj;
21850 fail:
21851 return NULL;
21852}
21853
21854
2f4c0a16 21855static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21856 PyObject *resultobj;
21857 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21858 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21859 bool result;
21860 PyObject * obj0 = 0 ;
21861 PyObject * obj1 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self",(char *) "other", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21873 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
02a34c4c 21878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21879 return resultobj;
21880 fail:
21881 return NULL;
21882}
21883
21884
2f4c0a16 21885static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21886 PyObject *resultobj;
21887 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21888 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21889 bool result;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "other", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21903 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
02a34c4c 21908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21909 return resultobj;
21910 fail:
21911 return NULL;
21912}
21913
21914
2f4c0a16 21915static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21916 PyObject *resultobj;
21917 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21918 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21919 bool result;
21920 PyObject * obj0 = 0 ;
21921 PyObject * obj1 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self",(char *) "other", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21931 {
21932 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21933 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21934
21935 wxPyEndAllowThreads(__tstate);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
02a34c4c 21938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21939 return resultobj;
21940 fail:
21941 return NULL;
21942}
21943
21944
2f4c0a16 21945static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21946 PyObject *resultobj;
21947 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
38f59159 21948 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21949 bool result;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 char *kwnames[] = {
21953 (char *) "self",(char *) "other", NULL
21954 };
21955
21956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 21963 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
02a34c4c 21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21969 return resultobj;
21970 fail:
21971 return NULL;
21972}
21973
21974
2f4c0a16 21975static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21976 PyObject *resultobj;
21977 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21978 bool result;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
02a34c4c 21994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21995 return resultobj;
21996 fail:
21997 return NULL;
21998}
21999
22000
2f4c0a16 22001static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22002 PyObject *resultobj;
22003 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22004 bool result;
22005 PyObject * obj0 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
02a34c4c 22020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
2f4c0a16 22027static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22028 PyObject *resultobj;
22029 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22030 bool result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
02a34c4c 22046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22047 return resultobj;
22048 fail:
22049 return NULL;
22050}
22051
22052
2f4c0a16 22053static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22054 PyObject *resultobj;
22055 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22056 wxTimeSpan *arg2 = 0 ;
22057 bool result;
22058 PyObject * obj0 = 0 ;
22059 PyObject * obj1 = 0 ;
22060 char *kwnames[] = {
22061 (char *) "self",(char *) "ts", NULL
22062 };
22063
22064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1)
22069 SWIG_fail;
d14a1e28 22070 if (arg2 == NULL) {
2f4c0a16
RD
22071 PyErr_SetString(PyExc_TypeError,"null reference");
22072 SWIG_fail;
d14a1e28
RD
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
02a34c4c 22081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22082 return resultobj;
22083 fail:
22084 return NULL;
22085}
22086
22087
2f4c0a16 22088static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22089 PyObject *resultobj;
22090 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22091 wxTimeSpan *arg2 = 0 ;
22092 bool result;
22093 PyObject * obj0 = 0 ;
22094 PyObject * obj1 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self",(char *) "ts", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1)
22104 SWIG_fail;
d14a1e28 22105 if (arg2 == NULL) {
2f4c0a16
RD
22106 PyErr_SetString(PyExc_TypeError,"null reference");
22107 SWIG_fail;
d14a1e28
RD
22108 }
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
02a34c4c 22116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22117 return resultobj;
22118 fail:
22119 return NULL;
22120}
22121
22122
2f4c0a16 22123static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22124 PyObject *resultobj;
22125 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22126 wxTimeSpan *arg2 = 0 ;
22127 bool result;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self",(char *) "t", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22138 SWIG_POINTER_EXCEPTION | 0)) == -1)
22139 SWIG_fail;
d14a1e28 22140 if (arg2 == NULL) {
2f4c0a16
RD
22141 PyErr_SetString(PyExc_TypeError,"null reference");
22142 SWIG_fail;
d14a1e28
RD
22143 }
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
02a34c4c 22151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22152 return resultobj;
22153 fail:
22154 return NULL;
22155}
22156
22157
2f4c0a16 22158static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22159 PyObject *resultobj;
22160 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22161 int result;
22162 PyObject * obj0 = 0 ;
22163 char *kwnames[] = {
22164 (char *) "self", NULL
22165 };
22166
22167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
2f4c0a16 22177 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22178 return resultobj;
22179 fail:
22180 return NULL;
22181}
22182
22183
2f4c0a16 22184static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22185 PyObject *resultobj;
22186 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22187 int result;
22188 PyObject * obj0 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
2f4c0a16 22203 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22204 return resultobj;
22205 fail:
22206 return NULL;
22207}
22208
22209
2f4c0a16 22210static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22211 PyObject *resultobj;
22212 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22213 int result;
22214 PyObject * obj0 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
2f4c0a16 22229 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22230 return resultobj;
22231 fail:
22232 return NULL;
22233}
22234
22235
2f4c0a16 22236static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22237 PyObject *resultobj;
22238 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22239 int result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
2f4c0a16 22255 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22256 return resultobj;
22257 fail:
22258 return NULL;
22259}
22260
22261
2f4c0a16 22262static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22263 PyObject *resultobj;
22264 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22265 wxLongLong result;
22266 PyObject * obj0 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 {
22282 PyObject *hi, *lo, *shifter, *shifted;
22283 hi = PyLong_FromLong( (&result)->GetHi() );
22284 lo = PyLong_FromLong( (&result)->GetLo() );
22285 shifter = PyLong_FromLong(32);
22286 shifted = PyNumber_Lshift(hi, shifter);
22287 resultobj = PyNumber_Or(shifted, lo);
22288 Py_DECREF(hi);
22289 Py_DECREF(lo);
22290 Py_DECREF(shifter);
22291 Py_DECREF(shifted);
22292 }
22293 return resultobj;
22294 fail:
22295 return NULL;
22296}
22297
22298
2f4c0a16 22299static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22300 PyObject *resultobj;
22301 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22302 wxLongLong result;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) 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 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 {
22319 PyObject *hi, *lo, *shifter, *shifted;
22320 hi = PyLong_FromLong( (&result)->GetHi() );
22321 lo = PyLong_FromLong( (&result)->GetLo() );
22322 shifter = PyLong_FromLong(32);
22323 shifted = PyNumber_Lshift(hi, shifter);
22324 resultobj = PyNumber_Or(shifted, lo);
22325 Py_DECREF(hi);
22326 Py_DECREF(lo);
22327 Py_DECREF(shifter);
22328 Py_DECREF(shifted);
22329 }
22330 return resultobj;
22331 fail:
22332 return NULL;
22333}
22334
22335
2f4c0a16 22336static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22337 PyObject *resultobj;
22338 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22339 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22340 wxString *arg2 = (wxString *) &arg2_defvalue ;
22341 wxString result;
423f194a 22342 bool temp2 = False ;
d14a1e28
RD
22343 PyObject * obj0 = 0 ;
22344 PyObject * obj1 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self",(char *) "format", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22352 if (obj1) {
22353 {
22354 arg2 = wxString_in_helper(obj1);
22355 if (arg2 == NULL) SWIG_fail;
423f194a 22356 temp2 = True;
d14a1e28
RD
22357 }
22358 }
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 {
22367#if wxUSE_UNICODE
22368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22369#else
22370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22371#endif
22372 }
22373 {
22374 if (temp2)
22375 delete arg2;
22376 }
22377 return resultobj;
22378 fail:
22379 {
22380 if (temp2)
22381 delete arg2;
22382 }
22383 return NULL;
22384}
22385
22386
2f4c0a16 22387static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22388 PyObject *obj;
22389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22390 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22391 Py_INCREF(obj);
22392 return Py_BuildValue((char *)"");
22393}
2f4c0a16 22394static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22395 PyObject *resultobj;
22396 int arg1 = (int) 0 ;
22397 int arg2 = (int) 0 ;
22398 int arg3 = (int) 0 ;
22399 int arg4 = (int) 0 ;
22400 wxDateSpan *result;
8edf1c75
RD
22401 PyObject * obj0 = 0 ;
22402 PyObject * obj1 = 0 ;
22403 PyObject * obj2 = 0 ;
22404 PyObject * obj3 = 0 ;
d14a1e28
RD
22405 char *kwnames[] = {
22406 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22407 };
22408
8edf1c75
RD
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22410 if (obj0) {
2f4c0a16
RD
22411 arg1 = (int) SWIG_AsInt(obj0);
22412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22413 }
22414 if (obj1) {
2f4c0a16
RD
22415 arg2 = (int) SWIG_AsInt(obj1);
22416 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22417 }
22418 if (obj2) {
2f4c0a16
RD
22419 arg3 = (int) SWIG_AsInt(obj2);
22420 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22421 }
22422 if (obj3) {
2f4c0a16
RD
22423 arg4 = (int) SWIG_AsInt(obj3);
22424 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22425 }
d14a1e28
RD
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
2f4c0a16 22433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22434 return resultobj;
22435 fail:
22436 return NULL;
22437}
22438
22439
2f4c0a16 22440static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22441 PyObject *resultobj;
22442 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22443 PyObject * obj0 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 delete arg1;
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 Py_INCREF(Py_None); resultobj = Py_None;
22459 return resultobj;
22460 fail:
22461 return NULL;
22462}
22463
22464
2f4c0a16 22465static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22466 PyObject *resultobj;
22467 int arg1 ;
22468 wxDateSpan result;
8edf1c75 22469 PyObject * obj0 = 0 ;
d14a1e28
RD
22470 char *kwnames[] = {
22471 (char *) "days", NULL
22472 };
22473
8edf1c75 22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22475 arg1 = (int) SWIG_AsInt(obj0);
22476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 result = wxDateSpan::Days(arg1);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 {
22485 wxDateSpan * resultptr;
22486 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22488 }
22489 return resultobj;
22490 fail:
22491 return NULL;
22492}
22493
22494
2f4c0a16 22495static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22496 PyObject *resultobj;
22497 wxDateSpan result;
22498 char *kwnames[] = {
22499 NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22503 {
22504 PyThreadState* __tstate = wxPyBeginAllowThreads();
22505 result = wxDateSpan::Day();
22506
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 {
22511 wxDateSpan * resultptr;
22512 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22514 }
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
2f4c0a16 22521static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22522 PyObject *resultobj;
22523 int arg1 ;
22524 wxDateSpan result;
8edf1c75 22525 PyObject * obj0 = 0 ;
d14a1e28
RD
22526 char *kwnames[] = {
22527 (char *) "weeks", NULL
22528 };
22529
8edf1c75 22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22531 arg1 = (int) SWIG_AsInt(obj0);
22532 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = wxDateSpan::Weeks(arg1);
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 wxDateSpan * resultptr;
22542 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
2f4c0a16 22551static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22552 PyObject *resultobj;
22553 wxDateSpan result;
22554 char *kwnames[] = {
22555 NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 result = wxDateSpan::Week();
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 {
22567 wxDateSpan * resultptr;
22568 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22570 }
22571 return resultobj;
22572 fail:
22573 return NULL;
22574}
22575
22576
2f4c0a16 22577static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22578 PyObject *resultobj;
22579 int arg1 ;
22580 wxDateSpan result;
8edf1c75 22581 PyObject * obj0 = 0 ;
d14a1e28
RD
22582 char *kwnames[] = {
22583 (char *) "mon", NULL
22584 };
22585
8edf1c75 22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22587 arg1 = (int) SWIG_AsInt(obj0);
22588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = wxDateSpan::Months(arg1);
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 {
22597 wxDateSpan * resultptr;
22598 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22600 }
22601 return resultobj;
22602 fail:
22603 return NULL;
22604}
22605
22606
2f4c0a16 22607static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22608 PyObject *resultobj;
22609 wxDateSpan result;
22610 char *kwnames[] = {
22611 NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = wxDateSpan::Month();
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 {
22623 wxDateSpan * resultptr;
22624 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22625 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22626 }
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
2f4c0a16 22633static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22634 PyObject *resultobj;
22635 int arg1 ;
22636 wxDateSpan result;
8edf1c75 22637 PyObject * obj0 = 0 ;
d14a1e28
RD
22638 char *kwnames[] = {
22639 (char *) "years", NULL
22640 };
22641
8edf1c75 22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22643 arg1 = (int) SWIG_AsInt(obj0);
22644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 result = wxDateSpan::Years(arg1);
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 {
22653 wxDateSpan * resultptr;
22654 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22656 }
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
2f4c0a16 22663static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22664 PyObject *resultobj;
22665 wxDateSpan result;
22666 char *kwnames[] = {
22667 NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22671 {
22672 PyThreadState* __tstate = wxPyBeginAllowThreads();
22673 result = wxDateSpan::Year();
22674
22675 wxPyEndAllowThreads(__tstate);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 }
22678 {
22679 wxDateSpan * resultptr;
22680 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22682 }
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
2f4c0a16 22689static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22690 PyObject *resultobj;
22691 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22692 int arg2 ;
22693 wxDateSpan *result;
22694 PyObject * obj0 = 0 ;
8edf1c75 22695 PyObject * obj1 = 0 ;
d14a1e28
RD
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "n", NULL
22698 };
22699
8edf1c75 22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22703 arg2 = (int) SWIG_AsInt(obj1);
22704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 {
22708 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22709 result = (wxDateSpan *) &_result_ref;
22710 }
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
2f4c0a16 22715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22716 return resultobj;
22717 fail:
22718 return NULL;
22719}
22720
22721
2f4c0a16 22722static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22723 PyObject *resultobj;
22724 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22725 int arg2 ;
22726 wxDateSpan *result;
22727 PyObject * obj0 = 0 ;
8edf1c75 22728 PyObject * obj1 = 0 ;
d14a1e28
RD
22729 char *kwnames[] = {
22730 (char *) "self",(char *) "n", NULL
22731 };
22732
8edf1c75 22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22736 arg2 = (int) SWIG_AsInt(obj1);
22737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 {
22741 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22742 result = (wxDateSpan *) &_result_ref;
22743 }
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
2f4c0a16 22748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22749 return resultobj;
22750 fail:
22751 return NULL;
22752}
22753
22754
2f4c0a16 22755static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22756 PyObject *resultobj;
22757 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22758 int arg2 ;
22759 wxDateSpan *result;
22760 PyObject * obj0 = 0 ;
8edf1c75 22761 PyObject * obj1 = 0 ;
d14a1e28
RD
22762 char *kwnames[] = {
22763 (char *) "self",(char *) "n", NULL
22764 };
22765
8edf1c75 22766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22769 arg2 = (int) SWIG_AsInt(obj1);
22770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 {
22774 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22775 result = (wxDateSpan *) &_result_ref;
22776 }
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
2f4c0a16 22781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22782 return resultobj;
22783 fail:
22784 return NULL;
22785}
22786
22787
2f4c0a16 22788static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22789 PyObject *resultobj;
22790 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22791 int arg2 ;
22792 wxDateSpan *result;
22793 PyObject * obj0 = 0 ;
8edf1c75 22794 PyObject * obj1 = 0 ;
d14a1e28
RD
22795 char *kwnames[] = {
22796 (char *) "self",(char *) "n", NULL
22797 };
22798
8edf1c75 22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22802 arg2 = (int) SWIG_AsInt(obj1);
22803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 {
22807 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22808 result = (wxDateSpan *) &_result_ref;
22809 }
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
2f4c0a16 22814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
2f4c0a16 22821static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22822 PyObject *resultobj;
22823 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22824 int result;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = (int)((wxDateSpan const *)arg1)->GetYears();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
2f4c0a16 22840 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22841 return resultobj;
22842 fail:
22843 return NULL;
22844}
22845
22846
2f4c0a16 22847static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22848 PyObject *resultobj;
22849 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22850 int result;
22851 PyObject * obj0 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
2f4c0a16 22866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22867 return resultobj;
22868 fail:
22869 return NULL;
22870}
22871
22872
2f4c0a16 22873static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22874 PyObject *resultobj;
22875 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22876 int result;
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
2f4c0a16 22892 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22893 return resultobj;
22894 fail:
22895 return NULL;
22896}
22897
22898
2f4c0a16 22899static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22900 PyObject *resultobj;
22901 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22902 int result;
22903 PyObject * obj0 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 result = (int)((wxDateSpan const *)arg1)->GetDays();
22914
22915 wxPyEndAllowThreads(__tstate);
22916 if (PyErr_Occurred()) SWIG_fail;
22917 }
2f4c0a16 22918 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22919 return resultobj;
22920 fail:
22921 return NULL;
22922}
22923
22924
2f4c0a16 22925static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22926 PyObject *resultobj;
22927 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22928 int result;
22929 PyObject * obj0 = 0 ;
22930 char *kwnames[] = {
22931 (char *) "self", NULL
22932 };
22933
22934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
2f4c0a16 22944 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22945 return resultobj;
22946 fail:
22947 return NULL;
22948}
22949
22950
2f4c0a16 22951static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22952 PyObject *resultobj;
22953 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22954 wxDateSpan *arg2 = 0 ;
22955 wxDateSpan *result;
22956 PyObject * obj0 = 0 ;
22957 PyObject * obj1 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "other", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1)
22967 SWIG_fail;
d14a1e28 22968 if (arg2 == NULL) {
2f4c0a16
RD
22969 PyErr_SetString(PyExc_TypeError,"null reference");
22970 SWIG_fail;
d14a1e28
RD
22971 }
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 {
22975 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22976 result = (wxDateSpan *) &_result_ref;
22977 }
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
2f4c0a16 22982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22983 return resultobj;
22984 fail:
22985 return NULL;
22986}
22987
22988
2f4c0a16 22989static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22990 PyObject *resultobj;
22991 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22992 wxDateSpan *arg2 = 0 ;
22993 wxDateSpan *result;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "other", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1)
23005 SWIG_fail;
d14a1e28 23006 if (arg2 == NULL) {
2f4c0a16
RD
23007 PyErr_SetString(PyExc_TypeError,"null reference");
23008 SWIG_fail;
d14a1e28
RD
23009 }
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 {
23013 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23014 result = (wxDateSpan *) &_result_ref;
23015 }
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
2f4c0a16 23020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23021 return resultobj;
23022 fail:
23023 return NULL;
23024}
23025
23026
2f4c0a16 23027static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23028 PyObject *resultobj;
23029 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23030 wxDateSpan *result;
23031 PyObject * obj0 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 {
23042 wxDateSpan &_result_ref = (arg1)->Neg();
23043 result = (wxDateSpan *) &_result_ref;
23044 }
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
2f4c0a16 23049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23050 return resultobj;
23051 fail:
23052 return NULL;
23053}
23054
23055
2f4c0a16 23056static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23057 PyObject *resultobj;
23058 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23059 int arg2 ;
23060 wxDateSpan *result;
23061 PyObject * obj0 = 0 ;
8edf1c75 23062 PyObject * obj1 = 0 ;
d14a1e28
RD
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "factor", NULL
23065 };
23066
8edf1c75 23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23070 arg2 = (int) SWIG_AsInt(obj1);
23071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 {
23075 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23076 result = (wxDateSpan *) &_result_ref;
23077 }
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
2f4c0a16 23082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
2f4c0a16 23089static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23090 PyObject *resultobj;
23091 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23092 wxDateSpan *arg2 = 0 ;
23093 wxDateSpan *result;
23094 PyObject * obj0 = 0 ;
23095 PyObject * obj1 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self",(char *) "other", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23104 SWIG_POINTER_EXCEPTION | 0)) == -1)
23105 SWIG_fail;
d14a1e28 23106 if (arg2 == NULL) {
2f4c0a16
RD
23107 PyErr_SetString(PyExc_TypeError,"null reference");
23108 SWIG_fail;
d14a1e28
RD
23109 }
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 {
23113 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23114 result = (wxDateSpan *) &_result_ref;
23115 }
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
2f4c0a16 23120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23121 return resultobj;
23122 fail:
23123 return NULL;
23124}
23125
23126
2f4c0a16 23127static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23128 PyObject *resultobj;
23129 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23130 wxDateSpan *arg2 = 0 ;
23131 wxDateSpan *result;
23132 PyObject * obj0 = 0 ;
23133 PyObject * obj1 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self",(char *) "other", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1)
23143 SWIG_fail;
d14a1e28 23144 if (arg2 == NULL) {
2f4c0a16
RD
23145 PyErr_SetString(PyExc_TypeError,"null reference");
23146 SWIG_fail;
d14a1e28
RD
23147 }
23148 {
23149 PyThreadState* __tstate = wxPyBeginAllowThreads();
23150 {
23151 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23152 result = (wxDateSpan *) &_result_ref;
23153 }
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
2f4c0a16 23158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23159 return resultobj;
23160 fail:
23161 return NULL;
23162}
23163
23164
2f4c0a16 23165static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23166 PyObject *resultobj;
23167 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23168 wxDateSpan *result;
23169 PyObject * obj0 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 {
23180 wxDateSpan &_result_ref = (arg1)->operator -();
23181 result = (wxDateSpan *) &_result_ref;
23182 }
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
2f4c0a16 23187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23188 return resultobj;
23189 fail:
23190 return NULL;
23191}
23192
23193
2f4c0a16 23194static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23195 PyObject *resultobj;
23196 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23197 int arg2 ;
23198 wxDateSpan *result;
23199 PyObject * obj0 = 0 ;
8edf1c75 23200 PyObject * obj1 = 0 ;
d14a1e28
RD
23201 char *kwnames[] = {
23202 (char *) "self",(char *) "factor", NULL
23203 };
23204
8edf1c75 23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23208 arg2 = (int) SWIG_AsInt(obj1);
23209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 {
23213 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23214 result = (wxDateSpan *) &_result_ref;
23215 }
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
2f4c0a16 23220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
2f4c0a16 23227static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23228 PyObject *resultobj;
23229 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23230 wxDateSpan *arg2 = 0 ;
23231 wxDateSpan result;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "self",(char *) "other", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23242 SWIG_POINTER_EXCEPTION | 0)) == -1)
23243 SWIG_fail;
d14a1e28 23244 if (arg2 == NULL) {
2f4c0a16
RD
23245 PyErr_SetString(PyExc_TypeError,"null reference");
23246 SWIG_fail;
d14a1e28
RD
23247 }
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23251
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 {
23256 wxDateSpan * resultptr;
23257 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23259 }
23260 return resultobj;
23261 fail:
23262 return NULL;
23263}
23264
23265
2f4c0a16 23266static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23267 PyObject *resultobj;
23268 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23269 wxDateSpan *arg2 = 0 ;
23270 wxDateSpan result;
23271 PyObject * obj0 = 0 ;
23272 PyObject * obj1 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self",(char *) "other", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23281 SWIG_POINTER_EXCEPTION | 0)) == -1)
23282 SWIG_fail;
d14a1e28 23283 if (arg2 == NULL) {
2f4c0a16
RD
23284 PyErr_SetString(PyExc_TypeError,"null reference");
23285 SWIG_fail;
d14a1e28
RD
23286 }
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 {
23295 wxDateSpan * resultptr;
23296 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23298 }
23299 return resultobj;
23300 fail:
23301 return NULL;
23302}
23303
23304
2f4c0a16 23305static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23306 PyObject *resultobj;
23307 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23308 int arg2 ;
23309 wxDateSpan result;
23310 PyObject * obj0 = 0 ;
8edf1c75 23311 PyObject * obj1 = 0 ;
d14a1e28
RD
23312 char *kwnames[] = {
23313 (char *) "self",(char *) "n", NULL
23314 };
23315
8edf1c75 23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 arg2 = (int) SWIG_AsInt(obj1);
23320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 result = wxDateSpan___mul__(arg1,arg2);
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 {
23329 wxDateSpan * resultptr;
23330 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23332 }
23333 return resultobj;
23334 fail:
23335 return NULL;
23336}
23337
23338
2f4c0a16 23339static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23340 PyObject *resultobj;
23341 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23342 int arg2 ;
23343 wxDateSpan result;
23344 PyObject * obj0 = 0 ;
8edf1c75 23345 PyObject * obj1 = 0 ;
d14a1e28
RD
23346 char *kwnames[] = {
23347 (char *) "self",(char *) "n", NULL
23348 };
23349
8edf1c75 23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23353 arg2 = (int) SWIG_AsInt(obj1);
23354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 result = wxDateSpan___rmul__(arg1,arg2);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 {
23363 wxDateSpan * resultptr;
23364 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23366 }
23367 return resultobj;
23368 fail:
23369 return NULL;
23370}
23371
23372
2f4c0a16 23373static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23374 PyObject *resultobj;
23375 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
38f59159 23376 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23377 bool result;
23378 PyObject * obj0 = 0 ;
23379 PyObject * obj1 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "other", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 23391 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23392
23393 wxPyEndAllowThreads(__tstate);
23394 if (PyErr_Occurred()) SWIG_fail;
23395 }
02a34c4c 23396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23397 return resultobj;
23398 fail:
23399 return NULL;
23400}
23401
23402
2f4c0a16 23403static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23404 PyObject *resultobj;
23405 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
38f59159 23406 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23407 bool result;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "other", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 23421 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
02a34c4c 23426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23427 return resultobj;
23428 fail:
23429 return NULL;
23430}
23431
23432
2f4c0a16 23433static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23434 PyObject *obj;
23435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23436 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23437 Py_INCREF(obj);
23438 return Py_BuildValue((char *)"");
23439}
2f4c0a16 23440static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23441 PyObject *resultobj;
23442 long result;
23443 char *kwnames[] = {
23444 NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23448 {
23449 PyThreadState* __tstate = wxPyBeginAllowThreads();
23450 result = (long)wxGetLocalTime();
23451
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
2f4c0a16 23455 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23456 return resultobj;
23457 fail:
23458 return NULL;
23459}
23460
23461
2f4c0a16 23462static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23463 PyObject *resultobj;
23464 long result;
23465 char *kwnames[] = {
23466 NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (long)wxGetUTCTime();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
2f4c0a16 23477 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
2f4c0a16 23484static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23485 PyObject *resultobj;
23486 long result;
23487 char *kwnames[] = {
23488 NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 result = (long)wxGetCurrentTime();
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
2f4c0a16 23499 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23500 return resultobj;
23501 fail:
23502 return NULL;
23503}
23504
23505
2f4c0a16 23506static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23507 PyObject *resultobj;
23508 wxLongLong result;
23509 char *kwnames[] = {
23510 NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = wxGetLocalTimeMillis();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
23522 PyObject *hi, *lo, *shifter, *shifted;
23523 hi = PyLong_FromLong( (&result)->GetHi() );
23524 lo = PyLong_FromLong( (&result)->GetLo() );
23525 shifter = PyLong_FromLong(32);
23526 shifted = PyNumber_Lshift(hi, shifter);
23527 resultobj = PyNumber_Or(shifted, lo);
23528 Py_DECREF(hi);
23529 Py_DECREF(lo);
23530 Py_DECREF(shifter);
23531 Py_DECREF(shifted);
23532 }
23533 return resultobj;
23534 fail:
23535 return NULL;
23536}
23537
23538
98e665d3
RD
23539static int _wrap_DefaultDateTime_set(PyObject *) {
23540 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23541 return 1;
23542}
23543
23544
23545static PyObject *_wrap_DefaultDateTime_get() {
23546 PyObject *pyobj;
23547
2f4c0a16 23548 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
23549 return pyobj;
23550}
23551
23552
2f4c0a16 23553static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23554 PyObject *resultobj;
23555 int arg1 ;
23556 wxDataFormat *result;
8edf1c75 23557 PyObject * obj0 = 0 ;
d14a1e28
RD
23558 char *kwnames[] = {
23559 (char *) "type", NULL
23560 };
23561
8edf1c75 23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23563 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23568
23569 wxPyEndAllowThreads(__tstate);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
2f4c0a16 23572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23573 return resultobj;
23574 fail:
23575 return NULL;
23576}
23577
23578
2f4c0a16 23579static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23580 PyObject *resultobj;
23581 wxString *arg1 = 0 ;
23582 wxDataFormat *result;
423f194a 23583 bool temp1 = False ;
d14a1e28
RD
23584 PyObject * obj0 = 0 ;
23585 char *kwnames[] = {
23586 (char *) "format", NULL
23587 };
23588
23589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23590 {
23591 arg1 = wxString_in_helper(obj0);
23592 if (arg1 == NULL) SWIG_fail;
423f194a 23593 temp1 = True;
d14a1e28
RD
23594 }
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
2f4c0a16 23602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23603 {
23604 if (temp1)
23605 delete arg1;
23606 }
23607 return resultobj;
23608 fail:
23609 {
23610 if (temp1)
23611 delete arg1;
23612 }
23613 return NULL;
23614}
23615
23616
2f4c0a16 23617static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23618 PyObject *resultobj;
23619 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23620 PyObject * obj0 = 0 ;
23621 char *kwnames[] = {
23622 (char *) "self", NULL
23623 };
23624
23625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 delete arg1;
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 Py_INCREF(Py_None); resultobj = Py_None;
23636 return resultobj;
23637 fail:
23638 return NULL;
23639}
23640
23641
2f4c0a16 23642static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23643 PyObject *resultobj;
23644 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23645 int arg2 ;
23646 bool result;
23647 PyObject * obj0 = 0 ;
8edf1c75 23648 PyObject * obj1 = 0 ;
d14a1e28 23649
8edf1c75 23650 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23653 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ffb2aa6 23657 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
02a34c4c 23662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23663 return resultobj;
23664 fail:
23665 return NULL;
23666}
23667
23668
2f4c0a16 23669static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23670 PyObject *resultobj;
23671 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23672 int arg2 ;
23673 bool result;
23674 PyObject * obj0 = 0 ;
8edf1c75 23675 PyObject * obj1 = 0 ;
d14a1e28 23676
8edf1c75 23677 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23680 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ffb2aa6 23684 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
02a34c4c 23689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23690 return resultobj;
23691 fail:
23692 return NULL;
23693}
23694
23695
2f4c0a16 23696static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23697 PyObject *resultobj;
23698 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23699 wxDataFormat *arg2 = 0 ;
23700 bool result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703
23704 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23708 SWIG_POINTER_EXCEPTION | 0)) == -1)
23709 SWIG_fail;
d14a1e28 23710 if (arg2 == NULL) {
2f4c0a16
RD
23711 PyErr_SetString(PyExc_TypeError,"null reference");
23712 SWIG_fail;
d14a1e28
RD
23713 }
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
02a34c4c 23721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23722 return resultobj;
23723 fail:
23724 return NULL;
23725}
23726
23727
23728static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23729 int argc;
23730 PyObject *argv[3];
23731 int ii;
23732
23733 argc = PyObject_Length(args);
23734 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23735 argv[ii] = PyTuple_GetItem(args,ii);
23736 }
23737 if (argc == 2) {
23738 int _v;
23739 {
23740 void *ptr;
2f4c0a16 23741 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23742 _v = 0;
23743 PyErr_Clear();
23744 } else {
23745 _v = 1;
23746 }
23747 }
23748 if (_v) {
23749 {
23750 void *ptr;
2f4c0a16 23751 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23752 _v = 0;
23753 PyErr_Clear();
23754 } else {
23755 _v = 1;
23756 }
23757 }
23758 if (_v) {
23759 return _wrap_DataFormat___eq____SWIG_1(self,args);
23760 }
23761 }
23762 }
23763 if (argc == 2) {
23764 int _v;
23765 {
23766 void *ptr;
2f4c0a16 23767 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23768 _v = 0;
23769 PyErr_Clear();
23770 } else {
23771 _v = 1;
23772 }
23773 }
23774 if (_v) {
2f4c0a16 23775 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
23776 if (_v) {
23777 return _wrap_DataFormat___eq____SWIG_0(self,args);
23778 }
23779 }
23780 }
23781
23782 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23783 return NULL;
23784}
23785
23786
2f4c0a16 23787static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23788 PyObject *resultobj;
23789 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23790 wxDataFormat *arg2 = 0 ;
23791 bool result;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794
23795 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23799 SWIG_POINTER_EXCEPTION | 0)) == -1)
23800 SWIG_fail;
d14a1e28 23801 if (arg2 == NULL) {
2f4c0a16
RD
23802 PyErr_SetString(PyExc_TypeError,"null reference");
23803 SWIG_fail;
d14a1e28
RD
23804 }
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
02a34c4c 23812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23813 return resultobj;
23814 fail:
23815 return NULL;
23816}
23817
23818
23819static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23820 int argc;
23821 PyObject *argv[3];
23822 int ii;
23823
23824 argc = PyObject_Length(args);
23825 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23826 argv[ii] = PyTuple_GetItem(args,ii);
23827 }
23828 if (argc == 2) {
23829 int _v;
23830 {
23831 void *ptr;
2f4c0a16 23832 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23833 _v = 0;
23834 PyErr_Clear();
23835 } else {
23836 _v = 1;
23837 }
23838 }
23839 if (_v) {
23840 {
23841 void *ptr;
2f4c0a16 23842 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23843 _v = 0;
23844 PyErr_Clear();
23845 } else {
23846 _v = 1;
23847 }
23848 }
23849 if (_v) {
23850 return _wrap_DataFormat___ne____SWIG_1(self,args);
23851 }
23852 }
23853 }
23854 if (argc == 2) {
23855 int _v;
23856 {
23857 void *ptr;
2f4c0a16 23858 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23859 _v = 0;
23860 PyErr_Clear();
23861 } else {
23862 _v = 1;
23863 }
23864 }
23865 if (_v) {
2f4c0a16 23866 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
23867 if (_v) {
23868 return _wrap_DataFormat___ne____SWIG_0(self,args);
23869 }
23870 }
23871 }
23872
23873 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23874 return NULL;
23875}
23876
23877
2f4c0a16 23878static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23879 PyObject *resultobj;
23880 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23881 int arg2 ;
23882 PyObject * obj0 = 0 ;
8edf1c75 23883 PyObject * obj1 = 0 ;
d14a1e28
RD
23884 char *kwnames[] = {
23885 (char *) "self",(char *) "format", NULL
23886 };
23887
8edf1c75 23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23891 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 (arg1)->SetType((wxDataFormatId )arg2);
23896
23897 wxPyEndAllowThreads(__tstate);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
23900 Py_INCREF(Py_None); resultobj = Py_None;
23901 return resultobj;
23902 fail:
23903 return NULL;
23904}
23905
23906
2f4c0a16 23907static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23908 PyObject *resultobj;
23909 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23910 int result;
23911 PyObject * obj0 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23919 {
23920 PyThreadState* __tstate = wxPyBeginAllowThreads();
23921 result = (int)((wxDataFormat const *)arg1)->GetType();
23922
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
2f4c0a16 23926 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23927 return resultobj;
23928 fail:
23929 return NULL;
23930}
23931
23932
2f4c0a16 23933static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23934 PyObject *resultobj;
23935 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23936 wxString result;
23937 PyObject * obj0 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self", NULL
23940 };
23941
23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = ((wxDataFormat const *)arg1)->GetId();
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 {
23953#if wxUSE_UNICODE
23954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23955#else
23956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23957#endif
23958 }
23959 return resultobj;
23960 fail:
23961 return NULL;
23962}
23963
23964
2f4c0a16 23965static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23966 PyObject *resultobj;
23967 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23968 wxString *arg2 = 0 ;
423f194a 23969 bool temp2 = False ;
d14a1e28
RD
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "format", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23979 {
23980 arg2 = wxString_in_helper(obj1);
23981 if (arg2 == NULL) SWIG_fail;
423f194a 23982 temp2 = True;
d14a1e28
RD
23983 }
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 (arg1)->SetId((wxString const &)*arg2);
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 Py_INCREF(Py_None); resultobj = Py_None;
23992 {
23993 if (temp2)
23994 delete arg2;
23995 }
23996 return resultobj;
23997 fail:
23998 {
23999 if (temp2)
24000 delete arg2;
24001 }
24002 return NULL;
24003}
24004
24005
2f4c0a16 24006static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24007 PyObject *obj;
24008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24009 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24010 Py_INCREF(obj);
24011 return Py_BuildValue((char *)"");
24012}
8edf1c75 24013static int _wrap_FormatInvalid_set(PyObject *) {
d14a1e28
RD
24014 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24015 return 1;
24016}
24017
24018
24019static PyObject *_wrap_FormatInvalid_get() {
24020 PyObject *pyobj;
24021
2f4c0a16 24022 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24023 return pyobj;
24024}
24025
24026
2f4c0a16 24027static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24028 PyObject *resultobj;
24029 wxDataObject *arg1 = (wxDataObject *) 0 ;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 delete arg1;
24041
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 Py_INCREF(Py_None); resultobj = Py_None;
24046 return resultobj;
24047 fail:
24048 return NULL;
24049}
24050
24051
2f4c0a16 24052static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24053 PyObject *resultobj;
24054 wxDataObject *arg1 = (wxDataObject *) 0 ;
24055 int arg2 = (int) wxDataObject::Get ;
24056 SwigValueWrapper< wxDataFormat > result;
24057 PyObject * obj0 = 0 ;
8edf1c75 24058 PyObject * obj1 = 0 ;
d14a1e28
RD
24059 char *kwnames[] = {
24060 (char *) "self",(char *) "dir", NULL
24061 };
24062
8edf1c75 24063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24066 if (obj1) {
2f4c0a16
RD
24067 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24068 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24069 }
d14a1e28
RD
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24073
24074 wxPyEndAllowThreads(__tstate);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 {
24078 wxDataFormat * resultptr;
24079 resultptr = new wxDataFormat((wxDataFormat &) result);
2f4c0a16 24080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24081 }
24082 return resultobj;
24083 fail:
24084 return NULL;
24085}
24086
24087
2f4c0a16 24088static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24089 PyObject *resultobj;
24090 wxDataObject *arg1 = (wxDataObject *) 0 ;
24091 int arg2 = (int) wxDataObject::Get ;
24092 size_t result;
24093 PyObject * obj0 = 0 ;
8edf1c75 24094 PyObject * obj1 = 0 ;
d14a1e28
RD
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "dir", NULL
24097 };
24098
8edf1c75 24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24102 if (obj1) {
2f4c0a16
RD
24103 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24104 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24105 }
d14a1e28
RD
24106 {
24107 PyThreadState* __tstate = wxPyBeginAllowThreads();
24108 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24109
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
2f4c0a16 24113 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
2f4c0a16 24120static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24121 PyObject *resultobj;
24122 wxDataObject *arg1 = (wxDataObject *) 0 ;
24123 wxDataFormat *arg2 = 0 ;
24124 int arg3 = (int) wxDataObject::Get ;
24125 bool result;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
8edf1c75 24128 PyObject * obj2 = 0 ;
d14a1e28
RD
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "format",(char *) "dir", NULL
24131 };
24132
8edf1c75 24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24137 SWIG_POINTER_EXCEPTION | 0)) == -1)
24138 SWIG_fail;
d14a1e28 24139 if (arg2 == NULL) {
2f4c0a16
RD
24140 PyErr_SetString(PyExc_TypeError,"null reference");
24141 SWIG_fail;
d14a1e28 24142 }
8edf1c75 24143 if (obj2) {
2f4c0a16
RD
24144 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24145 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24146 }
d14a1e28
RD
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
02a34c4c 24154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24155 return resultobj;
24156 fail:
24157 return NULL;
24158}
24159
24160
2f4c0a16 24161static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24162 PyObject *resultobj;
24163 wxDataObject *arg1 = (wxDataObject *) 0 ;
24164 wxDataFormat *arg2 = 0 ;
24165 size_t result;
24166 PyObject * obj0 = 0 ;
24167 PyObject * obj1 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self",(char *) "format", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24176 SWIG_POINTER_EXCEPTION | 0)) == -1)
24177 SWIG_fail;
d14a1e28 24178 if (arg2 == NULL) {
2f4c0a16
RD
24179 PyErr_SetString(PyExc_TypeError,"null reference");
24180 SWIG_fail;
d14a1e28
RD
24181 }
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
2f4c0a16 24189 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24190 return resultobj;
24191 fail:
24192 return NULL;
24193}
24194
24195
2f4c0a16 24196static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24197 PyObject *resultobj;
24198 wxDataObject *arg1 = (wxDataObject *) 0 ;
24199 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24200 int arg3 = (int) wxDataObject::Get ;
24201 PyObject * obj0 = 0 ;
24202 PyObject * obj1 = 0 ;
8edf1c75 24203 PyObject * obj2 = 0 ;
d14a1e28
RD
24204 char *kwnames[] = {
24205 (char *) "self",(char *) "formats",(char *) "dir", NULL
24206 };
24207
8edf1c75 24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24213 if (obj2) {
2f4c0a16
RD
24214 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24216 }
d14a1e28
RD
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 Py_INCREF(Py_None); resultobj = Py_None;
24225 return resultobj;
24226 fail:
24227 return NULL;
24228}
24229
24230
2f4c0a16 24231static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24232 PyObject *resultobj;
24233 wxDataObject *arg1 = (wxDataObject *) 0 ;
24234 wxDataFormat *arg2 = 0 ;
24235 void *arg3 = (void *) 0 ;
24236 bool result;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 PyObject * obj2 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "format",(char *) "buf", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1)
24249 SWIG_fail;
d14a1e28 24250 if (arg2 == NULL) {
2f4c0a16
RD
24251 PyErr_SetString(PyExc_TypeError,"null reference");
24252 SWIG_fail;
d14a1e28 24253 }
2f4c0a16 24254 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
02a34c4c 24262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
2f4c0a16 24269static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24270 PyObject *resultobj;
24271 wxDataObject *arg1 = (wxDataObject *) 0 ;
24272 wxDataFormat *arg2 = 0 ;
24273 size_t arg3 ;
24274 void *arg4 = (void *) 0 ;
24275 bool result;
24276 PyObject * obj0 = 0 ;
24277 PyObject * obj1 = 0 ;
24278 PyObject * obj2 = 0 ;
24279 PyObject * obj3 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24288 SWIG_POINTER_EXCEPTION | 0)) == -1)
24289 SWIG_fail;
d14a1e28 24290 if (arg2 == NULL) {
2f4c0a16
RD
24291 PyErr_SetString(PyExc_TypeError,"null reference");
24292 SWIG_fail;
2dbef272 24293 }
2f4c0a16
RD
24294 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
02a34c4c 24304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24305 return resultobj;
24306 fail:
24307 return NULL;
24308}
24309
24310
2f4c0a16 24311static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24312 PyObject *obj;
24313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24314 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24315 Py_INCREF(obj);
24316 return Py_BuildValue((char *)"");
24317}
2f4c0a16 24318static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24319 PyObject *resultobj;
24320 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24321 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24322 wxDataObjectSimple *result;
24323 PyObject * obj0 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "format", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24329 if (obj0) {
2f4c0a16
RD
24330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24331 SWIG_POINTER_EXCEPTION | 0)) == -1)
24332 SWIG_fail;
d14a1e28 24333 if (arg1 == NULL) {
2f4c0a16
RD
24334 PyErr_SetString(PyExc_TypeError,"null reference");
24335 SWIG_fail;
d14a1e28
RD
24336 }
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
2f4c0a16 24345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
24346 return resultobj;
24347 fail:
24348 return NULL;
24349}
24350
24351
2f4c0a16 24352static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24353 PyObject *resultobj;
24354 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24355 wxDataFormat *result;
24356 PyObject * obj0 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 {
24367 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24368 result = (wxDataFormat *) &_result_ref;
24369 }
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
2f4c0a16 24374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
2f4c0a16 24381static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24382 PyObject *resultobj;
24383 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24384 wxDataFormat *arg2 = 0 ;
24385 PyObject * obj0 = 0 ;
24386 PyObject * obj1 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self",(char *) "format", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24395 SWIG_POINTER_EXCEPTION | 0)) == -1)
24396 SWIG_fail;
d14a1e28 24397 if (arg2 == NULL) {
2f4c0a16
RD
24398 PyErr_SetString(PyExc_TypeError,"null reference");
24399 SWIG_fail;
d14a1e28
RD
24400 }
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 Py_INCREF(Py_None); resultobj = Py_None;
24409 return resultobj;
24410 fail:
24411 return NULL;
24412}
24413
24414
2f4c0a16 24415static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24416 PyObject *obj;
24417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24418 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24419 Py_INCREF(obj);
24420 return Py_BuildValue((char *)"");
24421}
2f4c0a16 24422static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24423 PyObject *resultobj;
24424 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24425 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24426 wxPyDataObjectSimple *result;
24427 PyObject * obj0 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "format", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24433 if (obj0) {
2f4c0a16
RD
24434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24435 SWIG_POINTER_EXCEPTION | 0)) == -1)
24436 SWIG_fail;
d14a1e28 24437 if (arg1 == NULL) {
2f4c0a16
RD
24438 PyErr_SetString(PyExc_TypeError,"null reference");
24439 SWIG_fail;
d14a1e28
RD
24440 }
24441 }
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
2f4c0a16 24449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
24450 return resultobj;
24451 fail:
24452 return NULL;
24453}
24454
24455
2f4c0a16 24456static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24457 PyObject *resultobj;
24458 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24459 PyObject *arg2 = (PyObject *) 0 ;
24460 PyObject *arg3 = (PyObject *) 0 ;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 PyObject * obj2 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self",(char *) "self",(char *) "_class", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24471 arg2 = obj1;
24472 arg3 = obj2;
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 (arg1)->_setCallbackInfo(arg2,arg3);
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 Py_INCREF(Py_None); resultobj = Py_None;
24481 return resultobj;
24482 fail:
24483 return NULL;
24484}
24485
24486
2f4c0a16 24487static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24488 PyObject *obj;
24489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24490 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24491 Py_INCREF(obj);
24492 return Py_BuildValue((char *)"");
24493}
2f4c0a16 24494static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24495 PyObject *resultobj;
24496 wxDataObjectComposite *result;
24497 char *kwnames[] = {
24498 NULL
24499 };
24500
24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24502 {
24503 PyThreadState* __tstate = wxPyBeginAllowThreads();
24504 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24505
24506 wxPyEndAllowThreads(__tstate);
24507 if (PyErr_Occurred()) SWIG_fail;
24508 }
2f4c0a16 24509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
24510 return resultobj;
24511 fail:
24512 return NULL;
24513}
24514
24515
2f4c0a16 24516static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24517 PyObject *resultobj;
24518 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24519 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 24520 int arg3 = (int) False ;
d14a1e28
RD
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
8edf1c75 24523 PyObject * obj2 = 0 ;
d14a1e28
RD
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24526 };
24527
8edf1c75 24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24532 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
8edf1c75 24533 if (obj2) {
2f4c0a16
RD
24534 arg3 = (int) SWIG_AsInt(obj2);
24535 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24536 }
d14a1e28
RD
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 (arg1)->Add(arg2,arg3);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 Py_INCREF(Py_None); resultobj = Py_None;
24545 return resultobj;
24546 fail:
24547 return NULL;
24548}
24549
24550
2f4c0a16 24551static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24552 PyObject *obj;
24553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24554 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24555 Py_INCREF(obj);
24556 return Py_BuildValue((char *)"");
24557}
2f4c0a16 24558static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24559 PyObject *resultobj;
24560 wxString const &arg1_defvalue = wxPyEmptyString ;
24561 wxString *arg1 = (wxString *) &arg1_defvalue ;
24562 wxTextDataObject *result;
423f194a 24563 bool temp1 = False ;
d14a1e28
RD
24564 PyObject * obj0 = 0 ;
24565 char *kwnames[] = {
24566 (char *) "text", NULL
24567 };
24568
24569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24570 if (obj0) {
24571 {
24572 arg1 = wxString_in_helper(obj0);
24573 if (arg1 == NULL) SWIG_fail;
423f194a 24574 temp1 = True;
d14a1e28
RD
24575 }
24576 }
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
2f4c0a16 24584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
24585 {
24586 if (temp1)
24587 delete arg1;
24588 }
24589 return resultobj;
24590 fail:
24591 {
24592 if (temp1)
24593 delete arg1;
24594 }
24595 return NULL;
24596}
24597
24598
2f4c0a16 24599static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24600 PyObject *resultobj;
24601 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24602 size_t result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 result = (size_t)(arg1)->GetTextLength();
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
2f4c0a16 24618 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
2f4c0a16 24625static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24626 PyObject *resultobj;
24627 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24628 wxString result;
24629 PyObject * obj0 = 0 ;
24630 char *kwnames[] = {
24631 (char *) "self", NULL
24632 };
24633
24634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 result = (arg1)->GetText();
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 {
24645#if wxUSE_UNICODE
24646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24647#else
24648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24649#endif
24650 }
24651 return resultobj;
24652 fail:
24653 return NULL;
24654}
24655
24656
2f4c0a16 24657static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24658 PyObject *resultobj;
24659 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24660 wxString *arg2 = 0 ;
423f194a 24661 bool temp2 = False ;
d14a1e28
RD
24662 PyObject * obj0 = 0 ;
24663 PyObject * obj1 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "text", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24671 {
24672 arg2 = wxString_in_helper(obj1);
24673 if (arg2 == NULL) SWIG_fail;
423f194a 24674 temp2 = True;
d14a1e28
RD
24675 }
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->SetText((wxString const &)*arg2);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
24684 {
24685 if (temp2)
24686 delete arg2;
24687 }
24688 return resultobj;
24689 fail:
24690 {
24691 if (temp2)
24692 delete arg2;
24693 }
24694 return NULL;
24695}
24696
24697
2f4c0a16 24698static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24699 PyObject *obj;
24700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24701 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24702 Py_INCREF(obj);
24703 return Py_BuildValue((char *)"");
24704}
2f4c0a16 24705static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24706 PyObject *resultobj;
24707 wxString const &arg1_defvalue = wxPyEmptyString ;
24708 wxString *arg1 = (wxString *) &arg1_defvalue ;
24709 wxPyTextDataObject *result;
423f194a 24710 bool temp1 = False ;
d14a1e28
RD
24711 PyObject * obj0 = 0 ;
24712 char *kwnames[] = {
24713 (char *) "text", NULL
24714 };
24715
24716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24717 if (obj0) {
24718 {
24719 arg1 = wxString_in_helper(obj0);
24720 if (arg1 == NULL) SWIG_fail;
423f194a 24721 temp1 = True;
d14a1e28
RD
24722 }
24723 }
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24727
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
2f4c0a16 24731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
24732 {
24733 if (temp1)
24734 delete arg1;
24735 }
24736 return resultobj;
24737 fail:
24738 {
24739 if (temp1)
24740 delete arg1;
24741 }
24742 return NULL;
24743}
24744
24745
2f4c0a16 24746static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24747 PyObject *resultobj;
24748 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24749 PyObject *arg2 = (PyObject *) 0 ;
24750 PyObject *arg3 = (PyObject *) 0 ;
24751 PyObject * obj0 = 0 ;
24752 PyObject * obj1 = 0 ;
24753 PyObject * obj2 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self",(char *) "self",(char *) "_class", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
24760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24761 arg2 = obj1;
24762 arg3 = obj2;
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 (arg1)->_setCallbackInfo(arg2,arg3);
24766
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 Py_INCREF(Py_None); resultobj = Py_None;
24771 return resultobj;
24772 fail:
24773 return NULL;
24774}
24775
24776
2f4c0a16 24777static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24778 PyObject *obj;
24779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24780 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24781 Py_INCREF(obj);
24782 return Py_BuildValue((char *)"");
24783}
2f4c0a16 24784static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24785 PyObject *resultobj;
24786 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24787 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24788 wxBitmapDataObject *result;
24789 PyObject * obj0 = 0 ;
24790 char *kwnames[] = {
24791 (char *) "bitmap", NULL
24792 };
24793
24794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24795 if (obj0) {
2f4c0a16
RD
24796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1)
24798 SWIG_fail;
d14a1e28 24799 if (arg1 == NULL) {
2f4c0a16
RD
24800 PyErr_SetString(PyExc_TypeError,"null reference");
24801 SWIG_fail;
d14a1e28
RD
24802 }
24803 }
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
2f4c0a16 24811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
24812 return resultobj;
24813 fail:
24814 return NULL;
24815}
24816
24817
2f4c0a16 24818static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24819 PyObject *resultobj;
24820 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24821 wxBitmap result;
24822 PyObject * obj0 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "self", NULL
24825 };
24826
24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
24829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 {
24838 wxBitmap * resultptr;
24839 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 24840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
24841 }
24842 return resultobj;
24843 fail:
24844 return NULL;
24845}
24846
24847
2f4c0a16 24848static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24849 PyObject *resultobj;
24850 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24851 wxBitmap *arg2 = 0 ;
24852 PyObject * obj0 = 0 ;
24853 PyObject * obj1 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "bitmap", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
24862 SWIG_POINTER_EXCEPTION | 0)) == -1)
24863 SWIG_fail;
d14a1e28 24864 if (arg2 == NULL) {
2f4c0a16
RD
24865 PyErr_SetString(PyExc_TypeError,"null reference");
24866 SWIG_fail;
d14a1e28
RD
24867 }
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 Py_INCREF(Py_None); resultobj = Py_None;
24876 return resultobj;
24877 fail:
24878 return NULL;
24879}
24880
24881
2f4c0a16 24882static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24883 PyObject *obj;
24884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24885 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24886 Py_INCREF(obj);
24887 return Py_BuildValue((char *)"");
24888}
2f4c0a16 24889static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24890 PyObject *resultobj;
24891 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24892 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24893 wxPyBitmapDataObject *result;
24894 PyObject * obj0 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "bitmap", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24900 if (obj0) {
2f4c0a16
RD
24901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1)
24903 SWIG_fail;
d14a1e28 24904 if (arg1 == NULL) {
2f4c0a16
RD
24905 PyErr_SetString(PyExc_TypeError,"null reference");
24906 SWIG_fail;
d14a1e28
RD
24907 }
24908 }
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
2f4c0a16 24916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
24917 return resultobj;
24918 fail:
24919 return NULL;
24920}
24921
24922
2f4c0a16 24923static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24924 PyObject *resultobj;
24925 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24926 PyObject *arg2 = (PyObject *) 0 ;
24927 PyObject *arg3 = (PyObject *) 0 ;
24928 PyObject * obj0 = 0 ;
24929 PyObject * obj1 = 0 ;
24930 PyObject * obj2 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "self",(char *) "_class", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
24937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24938 arg2 = obj1;
24939 arg3 = obj2;
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 (arg1)->_setCallbackInfo(arg2,arg3);
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 Py_INCREF(Py_None); resultobj = Py_None;
24948 return resultobj;
24949 fail:
24950 return NULL;
24951}
24952
24953
2f4c0a16 24954static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24955 PyObject *obj;
24956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24958 Py_INCREF(obj);
24959 return Py_BuildValue((char *)"");
24960}
2f4c0a16 24961static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24962 PyObject *resultobj;
24963 wxFileDataObject *result;
24964 char *kwnames[] = {
24965 NULL
24966 };
24967
24968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24969 {
24970 PyThreadState* __tstate = wxPyBeginAllowThreads();
24971 result = (wxFileDataObject *)new wxFileDataObject();
24972
24973 wxPyEndAllowThreads(__tstate);
24974 if (PyErr_Occurred()) SWIG_fail;
24975 }
2f4c0a16 24976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
2f4c0a16 24983static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24984 PyObject *resultobj;
24985 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24986 wxArrayString *result;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 {
24998 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24999 result = (wxArrayString *) &_result_ref;
25000 }
25001
25002 wxPyEndAllowThreads(__tstate);
25003 if (PyErr_Occurred()) SWIG_fail;
25004 }
25005 {
25006 resultobj = wxArrayString2PyList_helper(*result);
25007 }
25008 return resultobj;
25009 fail:
25010 return NULL;
25011}
25012
25013
2f4c0a16
RD
25014static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
25015 PyObject *resultobj;
25016 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25017 wxString *arg2 = 0 ;
25018 bool temp2 = False ;
25019 PyObject * obj0 = 0 ;
25020 PyObject * obj1 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "self",(char *) "filename", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25028 {
25029 arg2 = wxString_in_helper(obj1);
25030 if (arg2 == NULL) SWIG_fail;
25031 temp2 = True;
25032 }
25033 {
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 (arg1)->AddFile((wxString const &)*arg2);
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 Py_INCREF(Py_None); resultobj = Py_None;
25041 {
25042 if (temp2)
25043 delete arg2;
25044 }
25045 return resultobj;
25046 fail:
25047 {
25048 if (temp2)
25049 delete arg2;
25050 }
25051 return NULL;
25052}
25053
25054
25055static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25056 PyObject *obj;
25057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25059 Py_INCREF(obj);
25060 return Py_BuildValue((char *)"");
25061}
2f4c0a16 25062static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25063 PyObject *resultobj;
25064 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25065 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25066 wxCustomDataObject *result;
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "format", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25073 if (obj0) {
2f4c0a16
RD
25074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25075 SWIG_POINTER_EXCEPTION | 0)) == -1)
25076 SWIG_fail;
d14a1e28 25077 if (arg1 == NULL) {
2f4c0a16
RD
25078 PyErr_SetString(PyExc_TypeError,"null reference");
25079 SWIG_fail;
d14a1e28
RD
25080 }
25081 }
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25085
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
2f4c0a16 25089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
25090 return resultobj;
25091 fail:
25092 return NULL;
25093}
25094
25095
2f4c0a16 25096static PyObject *_wrap_CustomDataObject_TakeData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25097 PyObject *resultobj;
25098 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25099 PyObject *arg2 = (PyObject *) 0 ;
25100 PyObject * obj0 = 0 ;
25101 PyObject * obj1 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self",(char *) "data", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25109 arg2 = obj1;
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 wxCustomDataObject_TakeData(arg1,arg2);
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 Py_INCREF(Py_None); resultobj = Py_None;
25118 return resultobj;
25119 fail:
25120 return NULL;
25121}
25122
25123
2f4c0a16 25124static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25125 PyObject *resultobj;
25126 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25127 PyObject *arg2 = (PyObject *) 0 ;
25128 bool result;
25129 PyObject * obj0 = 0 ;
25130 PyObject * obj1 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self",(char *) "data", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25138 arg2 = obj1;
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
02a34c4c 25146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25147 return resultobj;
25148 fail:
25149 return NULL;
25150}
25151
25152
2f4c0a16 25153static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25154 PyObject *resultobj;
25155 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25156 size_t result;
25157 PyObject * obj0 = 0 ;
25158 char *kwnames[] = {
25159 (char *) "self", NULL
25160 };
25161
25162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (size_t)(arg1)->GetSize();
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
2f4c0a16 25172 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25173 return resultobj;
25174 fail:
25175 return NULL;
25176}
25177
25178
2f4c0a16 25179static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25180 PyObject *resultobj;
25181 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25182 PyObject *result;
25183 PyObject * obj0 = 0 ;
25184 char *kwnames[] = {
25185 (char *) "self", NULL
25186 };
25187
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 resultobj = result;
25199 return resultobj;
25200 fail:
25201 return NULL;
25202}
25203
25204
2f4c0a16 25205static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25206 PyObject *obj;
25207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25208 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25209 Py_INCREF(obj);
25210 return Py_BuildValue((char *)"");
25211}
2f4c0a16 25212static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25213 PyObject *resultobj;
25214 wxURLDataObject *result;
25215 char *kwnames[] = {
25216 NULL
25217 };
25218
25219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (wxURLDataObject *)new wxURLDataObject();
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
2f4c0a16 25227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
25228 return resultobj;
25229 fail:
25230 return NULL;
25231}
25232
25233
2f4c0a16 25234static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25235 PyObject *resultobj;
25236 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25237 wxString result;
25238 PyObject * obj0 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 result = (arg1)->GetURL();
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 {
25254#if wxUSE_UNICODE
25255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25256#else
25257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25258#endif
25259 }
25260 return resultobj;
25261 fail:
25262 return NULL;
25263}
25264
25265
2f4c0a16 25266static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25267 PyObject *resultobj;
25268 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25269 wxString *arg2 = 0 ;
423f194a 25270 bool temp2 = False ;
d14a1e28
RD
25271 PyObject * obj0 = 0 ;
25272 PyObject * obj1 = 0 ;
25273 char *kwnames[] = {
25274 (char *) "self",(char *) "url", NULL
25275 };
25276
25277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25280 {
25281 arg2 = wxString_in_helper(obj1);
25282 if (arg2 == NULL) SWIG_fail;
423f194a 25283 temp2 = True;
d14a1e28
RD
25284 }
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 (arg1)->SetURL((wxString const &)*arg2);
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 Py_INCREF(Py_None); resultobj = Py_None;
25293 {
25294 if (temp2)
25295 delete arg2;
25296 }
25297 return resultobj;
25298 fail:
25299 {
25300 if (temp2)
25301 delete arg2;
25302 }
25303 return NULL;
25304}
25305
25306
2f4c0a16 25307static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25308 PyObject *obj;
25309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25310 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25311 Py_INCREF(obj);
25312 return Py_BuildValue((char *)"");
25313}
2f4c0a16 25314static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25315 PyObject *resultobj;
25316 wxMetafileDataObject *result;
25317 char *kwnames[] = {
25318 NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
2f4c0a16 25329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
25330 return resultobj;
25331 fail:
25332 return NULL;
25333}
25334
25335
2f4c0a16 25336static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25337 PyObject *resultobj;
25338 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25339 wxMetafile *arg2 = 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "metafile", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25350 SWIG_POINTER_EXCEPTION | 0)) == -1)
25351 SWIG_fail;
d14a1e28 25352 if (arg2 == NULL) {
2f4c0a16
RD
25353 PyErr_SetString(PyExc_TypeError,"null reference");
25354 SWIG_fail;
d14a1e28
RD
25355 }
25356 {
25357 PyThreadState* __tstate = wxPyBeginAllowThreads();
25358 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25359
25360 wxPyEndAllowThreads(__tstate);
25361 if (PyErr_Occurred()) SWIG_fail;
25362 }
25363 Py_INCREF(Py_None); resultobj = Py_None;
25364 return resultobj;
25365 fail:
25366 return NULL;
25367}
25368
25369
2f4c0a16 25370static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25371 PyObject *resultobj;
25372 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25373 wxMetafile result;
25374 PyObject * obj0 = 0 ;
25375 char *kwnames[] = {
25376 (char *) "self", NULL
25377 };
25378
25379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 {
25390 wxMetafile * resultptr;
25391 resultptr = new wxMetafile((wxMetafile &) result);
2f4c0a16 25392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
d14a1e28
RD
25393 }
25394 return resultobj;
25395 fail:
25396 return NULL;
25397}
25398
25399
2f4c0a16 25400static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25401 PyObject *obj;
25402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25403 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25404 Py_INCREF(obj);
25405 return Py_BuildValue((char *)"");
25406}
2f4c0a16 25407static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25408 PyObject *resultobj;
25409 int arg1 ;
25410 bool result;
8edf1c75 25411 PyObject * obj0 = 0 ;
d14a1e28
RD
25412 char *kwnames[] = {
25413 (char *) "res", NULL
25414 };
25415
8edf1c75 25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25417 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
02a34c4c 25426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25427 return resultobj;
25428 fail:
25429 return NULL;
25430}
25431
25432
2f4c0a16 25433static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 25434 PyObject *resultobj;
d896a793 25435 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25436 wxCursor const &arg2_defvalue = wxNullCursor ;
25437 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25438 wxCursor const &arg3_defvalue = wxNullCursor ;
25439 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25440 wxCursor const &arg4_defvalue = wxNullCursor ;
25441 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25442 wxPyDropSource *result;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 PyObject * obj2 = 0 ;
25446 PyObject * obj3 = 0 ;
25447 char *kwnames[] = {
25448 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25449 };
25450
d896a793 25451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25454 if (obj1) {
2f4c0a16
RD
25455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25456 SWIG_POINTER_EXCEPTION | 0)) == -1)
25457 SWIG_fail;
d14a1e28 25458 if (arg2 == NULL) {
2f4c0a16
RD
25459 PyErr_SetString(PyExc_TypeError,"null reference");
25460 SWIG_fail;
d14a1e28
RD
25461 }
25462 }
25463 if (obj2) {
2f4c0a16
RD
25464 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25465 SWIG_POINTER_EXCEPTION | 0)) == -1)
25466 SWIG_fail;
d14a1e28 25467 if (arg3 == NULL) {
2f4c0a16
RD
25468 PyErr_SetString(PyExc_TypeError,"null reference");
25469 SWIG_fail;
d14a1e28
RD
25470 }
25471 }
25472 if (obj3) {
2f4c0a16
RD
25473 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25474 SWIG_POINTER_EXCEPTION | 0)) == -1)
25475 SWIG_fail;
d14a1e28 25476 if (arg4 == NULL) {
2f4c0a16
RD
25477 PyErr_SetString(PyExc_TypeError,"null reference");
25478 SWIG_fail;
d14a1e28
RD
25479 }
25480 }
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
2f4c0a16 25488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
25489 return resultobj;
25490 fail:
25491 return NULL;
25492}
25493
25494
2f4c0a16 25495static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25496 PyObject *resultobj;
25497 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25498 PyObject *arg2 = (PyObject *) 0 ;
25499 PyObject *arg3 = (PyObject *) 0 ;
25500 int arg4 ;
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 PyObject * obj2 = 0 ;
8edf1c75 25504 PyObject * obj3 = 0 ;
d14a1e28
RD
25505 char *kwnames[] = {
25506 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25507 };
25508
8edf1c75 25509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25512 arg2 = obj1;
25513 arg3 = obj2;
2f4c0a16
RD
25514 arg4 = (int) SWIG_AsInt(obj3);
25515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 Py_INCREF(Py_None); resultobj = Py_None;
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
2f4c0a16 25530static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25531 PyObject *resultobj;
25532 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25533 PyObject * obj0 = 0 ;
25534 char *kwnames[] = {
25535 (char *) "self", NULL
25536 };
25537
25538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 delete arg1;
25544
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 Py_INCREF(Py_None); resultobj = Py_None;
25549 return resultobj;
25550 fail:
25551 return NULL;
25552}
25553
25554
2f4c0a16 25555static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25556 PyObject *resultobj;
25557 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25558 wxDataObject *arg2 = 0 ;
25559 PyObject * obj0 = 0 ;
25560 PyObject * obj1 = 0 ;
25561 char *kwnames[] = {
25562 (char *) "self",(char *) "data", NULL
25563 };
25564
25565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25569 SWIG_POINTER_EXCEPTION | 0)) == -1)
25570 SWIG_fail;
d14a1e28 25571 if (arg2 == NULL) {
2f4c0a16
RD
25572 PyErr_SetString(PyExc_TypeError,"null reference");
25573 SWIG_fail;
d14a1e28
RD
25574 }
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 (arg1)->SetData(*arg2);
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 Py_INCREF(Py_None); resultobj = Py_None;
25583 return resultobj;
25584 fail:
25585 return NULL;
25586}
25587
25588
2f4c0a16 25589static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25590 PyObject *resultobj;
25591 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25592 wxDataObject *result;
25593 PyObject * obj0 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (wxDataObject *)(arg1)->GetDataObject();
25604
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
2f4c0a16 25608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25609 return resultobj;
25610 fail:
25611 return NULL;
25612}
25613
25614
2f4c0a16 25615static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25616 PyObject *resultobj;
25617 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25618 int arg2 ;
25619 wxCursor *arg3 = 0 ;
25620 PyObject * obj0 = 0 ;
8edf1c75 25621 PyObject * obj1 = 0 ;
d14a1e28
RD
25622 PyObject * obj2 = 0 ;
25623 char *kwnames[] = {
25624 (char *) "self",(char *) "res",(char *) "cursor", NULL
25625 };
25626
8edf1c75 25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25630 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25633 SWIG_POINTER_EXCEPTION | 0)) == -1)
25634 SWIG_fail;
d14a1e28 25635 if (arg3 == NULL) {
2f4c0a16
RD
25636 PyErr_SetString(PyExc_TypeError,"null reference");
25637 SWIG_fail;
d14a1e28
RD
25638 }
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 Py_INCREF(Py_None); resultobj = Py_None;
25647 return resultobj;
25648 fail:
25649 return NULL;
25650}
25651
25652
2f4c0a16 25653static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25654 PyObject *resultobj;
25655 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25656 int arg2 = (int) wxDrag_CopyOnly ;
25657 int result;
25658 PyObject * obj0 = 0 ;
8edf1c75 25659 PyObject * obj1 = 0 ;
d14a1e28
RD
25660 char *kwnames[] = {
25661 (char *) "self",(char *) "flags", NULL
25662 };
25663
8edf1c75 25664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25667 if (obj1) {
2f4c0a16
RD
25668 arg2 = (int) SWIG_AsInt(obj1);
25669 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25670 }
d14a1e28
RD
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 result = (int)(arg1)->DoDragDrop(arg2);
25674
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
2f4c0a16 25678 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25679 return resultobj;
25680 fail:
25681 return NULL;
25682}
25683
25684
2f4c0a16 25685static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25686 PyObject *resultobj;
25687 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25688 int arg2 ;
25689 bool result;
25690 PyObject * obj0 = 0 ;
8edf1c75 25691 PyObject * obj1 = 0 ;
d14a1e28
RD
25692 char *kwnames[] = {
25693 (char *) "self",(char *) "effect", NULL
25694 };
25695
8edf1c75 25696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25699 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
02a34c4c 25708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25709 return resultobj;
25710 fail:
25711 return NULL;
25712}
25713
25714
2f4c0a16 25715static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25716 PyObject *obj;
25717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25718 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25719 Py_INCREF(obj);
25720 return Py_BuildValue((char *)"");
25721}
2f4c0a16 25722static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25723 PyObject *resultobj;
25724 wxDataObject *arg1 = (wxDataObject *) NULL ;
25725 wxPyDropTarget *result;
25726 PyObject * obj0 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "dataObject", NULL
25729 };
25730
2f4c0a16 25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25732 if (obj0) {
2f4c0a16
RD
25733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25734 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25735 }
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25739
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
2f4c0a16 25743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
25744 return resultobj;
25745 fail:
25746 return NULL;
25747}
25748
25749
2f4c0a16 25750static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25751 PyObject *resultobj;
25752 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25753 PyObject *arg2 = (PyObject *) 0 ;
25754 PyObject *arg3 = (PyObject *) 0 ;
25755 PyObject * obj0 = 0 ;
25756 PyObject * obj1 = 0 ;
25757 PyObject * obj2 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "self",(char *) "_class", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25765 arg2 = obj1;
25766 arg3 = obj2;
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 (arg1)->_setCallbackInfo(arg2,arg3);
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 Py_INCREF(Py_None); resultobj = Py_None;
25775 return resultobj;
25776 fail:
25777 return NULL;
25778}
25779
25780
2f4c0a16 25781static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25782 PyObject *resultobj;
25783 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25784 PyObject * obj0 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self", NULL
25787 };
25788
25789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 delete arg1;
25795
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 Py_INCREF(Py_None); resultobj = Py_None;
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
2f4c0a16 25806static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25807 PyObject *resultobj;
25808 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25809 wxDataObject *result;
25810 PyObject * obj0 = 0 ;
25811 char *kwnames[] = {
25812 (char *) "self", NULL
25813 };
25814
25815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25818 {
25819 PyThreadState* __tstate = wxPyBeginAllowThreads();
25820 result = (wxDataObject *)(arg1)->GetDataObject();
25821
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
2f4c0a16 25825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25826 return resultobj;
25827 fail:
25828 return NULL;
25829}
25830
25831
2f4c0a16 25832static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25833 PyObject *resultobj;
25834 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25835 wxDataObject *arg2 = (wxDataObject *) 0 ;
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self",(char *) "dataObject", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25846 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25847 {
25848 PyThreadState* __tstate = wxPyBeginAllowThreads();
25849 (arg1)->SetDataObject(arg2);
25850
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 Py_INCREF(Py_None); resultobj = Py_None;
25855 return resultobj;
25856 fail:
25857 return NULL;
25858}
25859
25860
2f4c0a16 25861static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25862 PyObject *resultobj;
25863 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25864 int arg2 ;
25865 int arg3 ;
d14a1e28
RD
25866 int arg4 ;
25867 int result;
25868 PyObject * obj0 = 0 ;
8edf1c75
RD
25869 PyObject * obj1 = 0 ;
25870 PyObject * obj2 = 0 ;
25871 PyObject * obj3 = 0 ;
d14a1e28
RD
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25874 };
25875
8edf1c75 25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25879 arg2 = (int) SWIG_AsInt(obj1);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 arg3 = (int) SWIG_AsInt(obj2);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 arg4 = (wxDragResult) SWIG_AsInt(obj3);
25884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
2f4c0a16 25892 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25893 return resultobj;
25894 fail:
25895 return NULL;
25896}
25897
25898
2f4c0a16 25899static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25900 PyObject *resultobj;
25901 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25902 int arg2 ;
25903 int arg3 ;
d14a1e28
RD
25904 int arg4 ;
25905 int result;
25906 PyObject * obj0 = 0 ;
8edf1c75
RD
25907 PyObject * obj1 = 0 ;
25908 PyObject * obj2 = 0 ;
25909 PyObject * obj3 = 0 ;
d14a1e28
RD
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25912 };
25913
8edf1c75 25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 arg2 = (int) SWIG_AsInt(obj1);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 arg3 = (int) SWIG_AsInt(obj2);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 arg4 = (wxDragResult) SWIG_AsInt(obj3);
25922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
2f4c0a16 25930 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25931 return resultobj;
25932 fail:
25933 return NULL;
25934}
25935
25936
2f4c0a16 25937static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25938 PyObject *resultobj;
25939 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25940 PyObject * obj0 = 0 ;
25941 char *kwnames[] = {
25942 (char *) "self", NULL
25943 };
25944
25945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 (arg1)->base_OnLeave();
25951
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 Py_INCREF(Py_None); resultobj = Py_None;
25956 return resultobj;
25957 fail:
25958 return NULL;
25959}
25960
25961
2f4c0a16 25962static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25963 PyObject *resultobj;
25964 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
25965 int arg2 ;
25966 int arg3 ;
d14a1e28
RD
25967 bool result;
25968 PyObject * obj0 = 0 ;
8edf1c75
RD
25969 PyObject * obj1 = 0 ;
25970 PyObject * obj2 = 0 ;
d14a1e28
RD
25971 char *kwnames[] = {
25972 (char *) "self",(char *) "x",(char *) "y", NULL
25973 };
25974
8edf1c75 25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25978 arg2 = (int) SWIG_AsInt(obj1);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 arg3 = (int) SWIG_AsInt(obj2);
25981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
02a34c4c 25989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25990 return resultobj;
25991 fail:
25992 return NULL;
25993}
25994
25995
2f4c0a16 25996static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25997 PyObject *resultobj;
25998 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25999 bool result;
26000 PyObject * obj0 = 0 ;
26001 char *kwnames[] = {
26002 (char *) "self", NULL
26003 };
26004
26005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (bool)(arg1)->GetData();
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
02a34c4c 26015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26016 return resultobj;
26017 fail:
26018 return NULL;
26019}
26020
26021
2f4c0a16 26022static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26023 PyObject *obj;
26024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26025 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26026 Py_INCREF(obj);
26027 return Py_BuildValue((char *)"");
26028}
2f4c0a16 26029static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26030 PyObject *resultobj;
26031 wxPyTextDropTarget *result;
26032 char *kwnames[] = {
26033 NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26037 {
26038 PyThreadState* __tstate = wxPyBeginAllowThreads();
26039 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26040
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
2f4c0a16 26044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
26045 return resultobj;
26046 fail:
26047 return NULL;
26048}
26049
26050
2f4c0a16 26051static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26052 PyObject *resultobj;
26053 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26054 PyObject *arg2 = (PyObject *) 0 ;
26055 PyObject *arg3 = (PyObject *) 0 ;
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 PyObject * obj2 = 0 ;
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "self",(char *) "_class", NULL
26061 };
26062
26063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26066 arg2 = obj1;
26067 arg3 = obj2;
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 (arg1)->_setCallbackInfo(arg2,arg3);
26071
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 Py_INCREF(Py_None); resultobj = Py_None;
26076 return resultobj;
26077 fail:
26078 return NULL;
26079}
26080
26081
2f4c0a16 26082static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26083 PyObject *resultobj;
26084 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26085 int arg2 ;
26086 int arg3 ;
d14a1e28
RD
26087 int arg4 ;
26088 int result;
26089 PyObject * obj0 = 0 ;
8edf1c75
RD
26090 PyObject * obj1 = 0 ;
26091 PyObject * obj2 = 0 ;
26092 PyObject * obj3 = 0 ;
d14a1e28
RD
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26095 };
26096
8edf1c75 26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26100 arg2 = (int) SWIG_AsInt(obj1);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 arg3 = (int) SWIG_AsInt(obj2);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26106 {
26107 PyThreadState* __tstate = wxPyBeginAllowThreads();
26108 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26109
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
2f4c0a16 26113 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26114 return resultobj;
26115 fail:
26116 return NULL;
26117}
26118
26119
2f4c0a16 26120static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26121 PyObject *resultobj;
26122 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26123 int arg2 ;
26124 int arg3 ;
d14a1e28
RD
26125 int arg4 ;
26126 int result;
26127 PyObject * obj0 = 0 ;
8edf1c75
RD
26128 PyObject * obj1 = 0 ;
26129 PyObject * obj2 = 0 ;
26130 PyObject * obj3 = 0 ;
d14a1e28
RD
26131 char *kwnames[] = {
26132 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26133 };
26134
8edf1c75 26135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26138 arg2 = (int) SWIG_AsInt(obj1);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 arg3 = (int) SWIG_AsInt(obj2);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
2f4c0a16 26151 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26152 return resultobj;
26153 fail:
26154 return NULL;
26155}
26156
26157
2f4c0a16 26158static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26159 PyObject *resultobj;
26160 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26161 PyObject * obj0 = 0 ;
26162 char *kwnames[] = {
26163 (char *) "self", NULL
26164 };
26165
26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 (arg1)->base_OnLeave();
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 Py_INCREF(Py_None); resultobj = Py_None;
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
2f4c0a16 26183static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26184 PyObject *resultobj;
26185 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26186 int arg2 ;
26187 int arg3 ;
d14a1e28
RD
26188 bool result;
26189 PyObject * obj0 = 0 ;
8edf1c75
RD
26190 PyObject * obj1 = 0 ;
26191 PyObject * obj2 = 0 ;
d14a1e28
RD
26192 char *kwnames[] = {
26193 (char *) "self",(char *) "x",(char *) "y", NULL
26194 };
26195
8edf1c75 26196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26199 arg2 = (int) SWIG_AsInt(obj1);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 arg3 = (int) SWIG_AsInt(obj2);
26202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
02a34c4c 26210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26211 return resultobj;
26212 fail:
26213 return NULL;
26214}
26215
26216
2f4c0a16 26217static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26218 PyObject *resultobj;
26219 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26220 int arg2 ;
26221 int arg3 ;
d14a1e28
RD
26222 int arg4 ;
26223 int result;
26224 PyObject * obj0 = 0 ;
8edf1c75
RD
26225 PyObject * obj1 = 0 ;
26226 PyObject * obj2 = 0 ;
26227 PyObject * obj3 = 0 ;
d14a1e28
RD
26228 char *kwnames[] = {
26229 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26230 };
26231
8edf1c75 26232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26235 arg2 = (int) SWIG_AsInt(obj1);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 arg3 = (int) SWIG_AsInt(obj2);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
2f4c0a16 26248 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26249 return resultobj;
26250 fail:
26251 return NULL;
26252}
26253
26254
2f4c0a16 26255static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26256 PyObject *obj;
26257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26258 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26259 Py_INCREF(obj);
26260 return Py_BuildValue((char *)"");
26261}
2f4c0a16 26262static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26263 PyObject *resultobj;
26264 wxPyFileDropTarget *result;
26265 char *kwnames[] = {
26266 NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26273
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
2f4c0a16 26277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
26278 return resultobj;
26279 fail:
26280 return NULL;
26281}
26282
26283
2f4c0a16 26284static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26285 PyObject *resultobj;
26286 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26287 PyObject *arg2 = (PyObject *) 0 ;
26288 PyObject *arg3 = (PyObject *) 0 ;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 PyObject * obj2 = 0 ;
26292 char *kwnames[] = {
26293 (char *) "self",(char *) "self",(char *) "_class", NULL
26294 };
26295
26296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26299 arg2 = obj1;
26300 arg3 = obj2;
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 (arg1)->_setCallbackInfo(arg2,arg3);
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 Py_INCREF(Py_None); resultobj = Py_None;
26309 return resultobj;
26310 fail:
26311 return NULL;
26312}
26313
26314
2f4c0a16 26315static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26316 PyObject *resultobj;
26317 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26318 int arg2 ;
26319 int arg3 ;
d14a1e28
RD
26320 int arg4 ;
26321 int result;
26322 PyObject * obj0 = 0 ;
8edf1c75
RD
26323 PyObject * obj1 = 0 ;
26324 PyObject * obj2 = 0 ;
26325 PyObject * obj3 = 0 ;
d14a1e28
RD
26326 char *kwnames[] = {
26327 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26328 };
26329
8edf1c75 26330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26333 arg2 = (int) SWIG_AsInt(obj1);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 arg3 = (int) SWIG_AsInt(obj2);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26342
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
2f4c0a16 26346 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26347 return resultobj;
26348 fail:
26349 return NULL;
26350}
26351
26352
2f4c0a16 26353static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26354 PyObject *resultobj;
26355 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26356 int arg2 ;
26357 int arg3 ;
d14a1e28
RD
26358 int arg4 ;
26359 int result;
26360 PyObject * obj0 = 0 ;
8edf1c75
RD
26361 PyObject * obj1 = 0 ;
26362 PyObject * obj2 = 0 ;
26363 PyObject * obj3 = 0 ;
d14a1e28
RD
26364 char *kwnames[] = {
26365 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26366 };
26367
8edf1c75 26368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26371 arg2 = (int) SWIG_AsInt(obj1);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 arg3 = (int) SWIG_AsInt(obj2);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
2f4c0a16 26384 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26385 return resultobj;
26386 fail:
26387 return NULL;
26388}
26389
26390
2f4c0a16 26391static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26392 PyObject *resultobj;
26393 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26394 PyObject * obj0 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 (arg1)->base_OnLeave();
26405
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 Py_INCREF(Py_None); resultobj = Py_None;
26410 return resultobj;
26411 fail:
26412 return NULL;
26413}
26414
26415
2f4c0a16 26416static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26417 PyObject *resultobj;
26418 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26419 int arg2 ;
26420 int arg3 ;
d14a1e28
RD
26421 bool result;
26422 PyObject * obj0 = 0 ;
8edf1c75
RD
26423 PyObject * obj1 = 0 ;
26424 PyObject * obj2 = 0 ;
d14a1e28
RD
26425 char *kwnames[] = {
26426 (char *) "self",(char *) "x",(char *) "y", NULL
26427 };
26428
8edf1c75 26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26432 arg2 = (int) SWIG_AsInt(obj1);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 arg3 = (int) SWIG_AsInt(obj2);
26435 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
02a34c4c 26443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26444 return resultobj;
26445 fail:
26446 return NULL;
26447}
26448
26449
2f4c0a16 26450static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26451 PyObject *resultobj;
26452 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26453 int arg2 ;
26454 int arg3 ;
d14a1e28
RD
26455 int arg4 ;
26456 int result;
26457 PyObject * obj0 = 0 ;
8edf1c75
RD
26458 PyObject * obj1 = 0 ;
26459 PyObject * obj2 = 0 ;
26460 PyObject * obj3 = 0 ;
d14a1e28
RD
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26463 };
26464
8edf1c75 26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 arg2 = (int) SWIG_AsInt(obj1);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 arg3 = (int) SWIG_AsInt(obj2);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26477
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
2f4c0a16 26481 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26482 return resultobj;
26483 fail:
26484 return NULL;
26485}
26486
26487
2f4c0a16 26488static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26489 PyObject *obj;
26490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26491 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26492 Py_INCREF(obj);
26493 return Py_BuildValue((char *)"");
26494}
2f4c0a16 26495static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26496 PyObject *resultobj;
26497 wxClipboard *result;
26498 char *kwnames[] = {
26499 NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = (wxClipboard *)new wxClipboard();
26506
26507 wxPyEndAllowThreads(__tstate);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
2f4c0a16 26510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
26511 return resultobj;
26512 fail:
26513 return NULL;
26514}
26515
26516
2f4c0a16 26517static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26518 PyObject *resultobj;
26519 wxClipboard *arg1 = (wxClipboard *) 0 ;
26520 PyObject * obj0 = 0 ;
26521 char *kwnames[] = {
26522 (char *) "self", NULL
26523 };
26524
26525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26528 {
26529 PyThreadState* __tstate = wxPyBeginAllowThreads();
26530 delete arg1;
26531
26532 wxPyEndAllowThreads(__tstate);
26533 if (PyErr_Occurred()) SWIG_fail;
26534 }
26535 Py_INCREF(Py_None); resultobj = Py_None;
26536 return resultobj;
26537 fail:
26538 return NULL;
26539}
26540
26541
2f4c0a16 26542static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26543 PyObject *resultobj;
26544 wxClipboard *arg1 = (wxClipboard *) 0 ;
26545 bool result;
26546 PyObject * obj0 = 0 ;
26547 char *kwnames[] = {
26548 (char *) "self", NULL
26549 };
26550
26551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (bool)(arg1)->Open();
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
02a34c4c 26561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26562 return resultobj;
26563 fail:
26564 return NULL;
26565}
26566
26567
2f4c0a16 26568static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26569 PyObject *resultobj;
26570 wxClipboard *arg1 = (wxClipboard *) 0 ;
26571 PyObject * obj0 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 (arg1)->Close();
26582
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 Py_INCREF(Py_None); resultobj = Py_None;
26587 return resultobj;
26588 fail:
26589 return NULL;
26590}
26591
26592
2f4c0a16 26593static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26594 PyObject *resultobj;
26595 wxClipboard *arg1 = (wxClipboard *) 0 ;
26596 bool result;
26597 PyObject * obj0 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
02a34c4c 26612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26613 return resultobj;
26614 fail:
26615 return NULL;
26616}
26617
26618
2f4c0a16 26619static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26620 PyObject *resultobj;
26621 wxClipboard *arg1 = (wxClipboard *) 0 ;
26622 wxDataObject *arg2 = (wxDataObject *) 0 ;
26623 bool result;
26624 PyObject * obj0 = 0 ;
26625 PyObject * obj1 = 0 ;
26626 char *kwnames[] = {
26627 (char *) "self",(char *) "data", NULL
26628 };
26629
26630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26634 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26635 {
26636 PyThreadState* __tstate = wxPyBeginAllowThreads();
26637 result = (bool)(arg1)->AddData(arg2);
26638
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
02a34c4c 26642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26643 return resultobj;
26644 fail:
26645 return NULL;
26646}
26647
26648
2f4c0a16 26649static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26650 PyObject *resultobj;
26651 wxClipboard *arg1 = (wxClipboard *) 0 ;
26652 wxDataObject *arg2 = (wxDataObject *) 0 ;
26653 bool result;
26654 PyObject * obj0 = 0 ;
26655 PyObject * obj1 = 0 ;
26656 char *kwnames[] = {
26657 (char *) "self",(char *) "data", NULL
26658 };
26659
26660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26664 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (bool)(arg1)->SetData(arg2);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
02a34c4c 26672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
2f4c0a16 26679static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26680 PyObject *resultobj;
26681 wxClipboard *arg1 = (wxClipboard *) 0 ;
26682 wxDataFormat *arg2 = 0 ;
26683 bool result;
26684 PyObject * obj0 = 0 ;
26685 PyObject * obj1 = 0 ;
26686 char *kwnames[] = {
26687 (char *) "self",(char *) "format", NULL
26688 };
26689
26690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26694 SWIG_POINTER_EXCEPTION | 0)) == -1)
26695 SWIG_fail;
d14a1e28 26696 if (arg2 == NULL) {
2f4c0a16
RD
26697 PyErr_SetString(PyExc_TypeError,"null reference");
26698 SWIG_fail;
d14a1e28
RD
26699 }
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26703
26704 wxPyEndAllowThreads(__tstate);
26705 if (PyErr_Occurred()) SWIG_fail;
26706 }
02a34c4c 26707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26708 return resultobj;
26709 fail:
26710 return NULL;
26711}
26712
26713
2f4c0a16 26714static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26715 PyObject *resultobj;
26716 wxClipboard *arg1 = (wxClipboard *) 0 ;
26717 wxDataObject *arg2 = 0 ;
26718 bool result;
26719 PyObject * obj0 = 0 ;
26720 PyObject * obj1 = 0 ;
26721 char *kwnames[] = {
26722 (char *) "self",(char *) "data", NULL
26723 };
26724
26725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1)
26730 SWIG_fail;
d14a1e28 26731 if (arg2 == NULL) {
2f4c0a16
RD
26732 PyErr_SetString(PyExc_TypeError,"null reference");
26733 SWIG_fail;
d14a1e28
RD
26734 }
26735 {
26736 PyThreadState* __tstate = wxPyBeginAllowThreads();
26737 result = (bool)(arg1)->GetData(*arg2);
26738
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
02a34c4c 26742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26743 return resultobj;
26744 fail:
26745 return NULL;
26746}
26747
26748
2f4c0a16 26749static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26750 PyObject *resultobj;
26751 wxClipboard *arg1 = (wxClipboard *) 0 ;
26752 PyObject * obj0 = 0 ;
26753 char *kwnames[] = {
26754 (char *) "self", NULL
26755 };
26756
26757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26760 {
26761 PyThreadState* __tstate = wxPyBeginAllowThreads();
26762 (arg1)->Clear();
26763
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 Py_INCREF(Py_None); resultobj = Py_None;
26768 return resultobj;
26769 fail:
26770 return NULL;
26771}
26772
26773
2f4c0a16 26774static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26775 PyObject *resultobj;
26776 wxClipboard *arg1 = (wxClipboard *) 0 ;
26777 bool result;
26778 PyObject * obj0 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 result = (bool)(arg1)->Flush();
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
02a34c4c 26793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26794 return resultobj;
26795 fail:
26796 return NULL;
26797}
26798
26799
2f4c0a16 26800static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26801 PyObject *resultobj;
26802 wxClipboard *arg1 = (wxClipboard *) 0 ;
1f05e33b 26803 bool arg2 = (bool) True ;
d14a1e28
RD
26804 PyObject * obj0 = 0 ;
26805 PyObject * obj1 = 0 ;
26806 char *kwnames[] = {
26807 (char *) "self",(char *) "primary", NULL
26808 };
26809
26810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26813 if (obj1) {
2f4c0a16
RD
26814 arg2 = (bool) SWIG_AsBool(obj1);
26815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26816 }
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 (arg1)->UsePrimarySelection(arg2);
26820
26821 wxPyEndAllowThreads(__tstate);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
26824 Py_INCREF(Py_None); resultobj = Py_None;
26825 return resultobj;
26826 fail:
26827 return NULL;
26828}
26829
26830
2f4c0a16 26831static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26832 PyObject *obj;
26833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26834 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26835 Py_INCREF(obj);
26836 return Py_BuildValue((char *)"");
26837}
8edf1c75 26838static int _wrap_TheClipboard_set(PyObject *) {
d14a1e28
RD
26839 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26840 return 1;
26841}
26842
26843
26844static PyObject *_wrap_TheClipboard_get() {
26845 PyObject *pyobj;
26846
2f4c0a16 26847 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
d14a1e28
RD
26848 return pyobj;
26849}
26850
26851
2f4c0a16 26852static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26853 PyObject *resultobj;
26854 wxClipboard *arg1 = (wxClipboard *) NULL ;
26855 wxClipboardLocker *result;
26856 PyObject * obj0 = 0 ;
26857 char *kwnames[] = {
26858 (char *) "clipboard", NULL
26859 };
26860
26861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26862 if (obj0) {
2f4c0a16
RD
26863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26865 }
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26869
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
2f4c0a16 26873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
26874 return resultobj;
26875 fail:
26876 return NULL;
26877}
26878
26879
2f4c0a16 26880static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26881 PyObject *resultobj;
26882 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26883 PyObject * obj0 = 0 ;
26884 char *kwnames[] = {
26885 (char *) "self", NULL
26886 };
26887
26888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
26890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26891 {
26892 PyThreadState* __tstate = wxPyBeginAllowThreads();
26893 delete arg1;
26894
26895 wxPyEndAllowThreads(__tstate);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 Py_INCREF(Py_None); resultobj = Py_None;
26899 return resultobj;
26900 fail:
26901 return NULL;
26902}
26903
26904
2f4c0a16 26905static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26906 PyObject *resultobj;
26907 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26908 bool result;
26909 PyObject * obj0 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
26916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 result = (bool)wxClipboardLocker___nonzero__(arg1);
26920
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
02a34c4c 26924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26925 return resultobj;
26926 fail:
26927 return NULL;
26928}
26929
26930
2f4c0a16 26931static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26932 PyObject *obj;
26933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26934 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26935 Py_INCREF(obj);
26936 return Py_BuildValue((char *)"");
26937}
ce7284bd
RD
26938static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 int arg1 = (int) 0 ;
26941 int arg2 = (int) 0 ;
26942 int arg3 = (int) 0 ;
26943 int arg4 = (int) 0 ;
26944 wxVideoMode *result;
26945 PyObject * obj0 = 0 ;
26946 PyObject * obj1 = 0 ;
26947 PyObject * obj2 = 0 ;
26948 PyObject * obj3 = 0 ;
26949 char *kwnames[] = {
26950 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26954 if (obj0) {
26955 arg1 = (int) SWIG_AsInt(obj0);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 if (obj1) {
26959 arg2 = (int) SWIG_AsInt(obj1);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 if (obj2) {
26963 arg3 = (int) SWIG_AsInt(obj2);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 if (obj3) {
26967 arg4 = (int) SWIG_AsInt(obj3);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 {
26971 PyThreadState* __tstate = wxPyBeginAllowThreads();
26972 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
26973
26974 wxPyEndAllowThreads(__tstate);
26975 if (PyErr_Occurred()) SWIG_fail;
26976 }
26977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
26978 return resultobj;
26979 fail:
26980 return NULL;
26981}
26982
26983
26984static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
26985 PyObject *resultobj;
26986 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
26987 PyObject * obj0 = 0 ;
26988 char *kwnames[] = {
26989 (char *) "self", NULL
26990 };
26991
26992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
26993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
26994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 delete arg1;
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 Py_INCREF(Py_None); resultobj = Py_None;
27003 return resultobj;
27004 fail:
27005 return NULL;
27006}
27007
27008
27009static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27012 wxVideoMode *arg2 = 0 ;
27013 bool result;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj1 = 0 ;
27016 char *kwnames[] = {
27017 (char *) "self",(char *) "other", NULL
27018 };
27019
27020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27024 SWIG_POINTER_EXCEPTION | 0)) == -1)
27025 SWIG_fail;
27026 if (arg2 == NULL) {
27027 PyErr_SetString(PyExc_TypeError,"null reference");
27028 SWIG_fail;
27029 }
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27033
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
27037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27038 return resultobj;
27039 fail:
27040 return NULL;
27041}
27042
27043
27044static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27045 PyObject *resultobj;
27046 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27047 int result;
27048 PyObject * obj0 = 0 ;
27049 char *kwnames[] = {
27050 (char *) "self", NULL
27051 };
27052
27053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27059
27060 wxPyEndAllowThreads(__tstate);
27061 if (PyErr_Occurred()) SWIG_fail;
27062 }
27063 resultobj = SWIG_FromInt((int)result);
27064 return resultobj;
27065 fail:
27066 return NULL;
27067}
27068
27069
27070static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj;
27072 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27073 int result;
27074 PyObject * obj0 = 0 ;
27075 char *kwnames[] = {
27076 (char *) "self", NULL
27077 };
27078
27079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27085
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 resultobj = SWIG_FromInt((int)result);
27090 return resultobj;
27091 fail:
27092 return NULL;
27093}
27094
27095
27096static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27099 int result;
27100 PyObject * obj0 = 0 ;
27101 char *kwnames[] = {
27102 (char *) "self", NULL
27103 };
27104
27105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27111
27112 wxPyEndAllowThreads(__tstate);
27113 if (PyErr_Occurred()) SWIG_fail;
27114 }
27115 resultobj = SWIG_FromInt((int)result);
27116 return resultobj;
27117 fail:
27118 return NULL;
27119}
27120
27121
27122static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27123 PyObject *resultobj;
27124 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27125 bool result;
27126 PyObject * obj0 = 0 ;
27127 char *kwnames[] = {
27128 (char *) "self", NULL
27129 };
27130
27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27134 {
27135 PyThreadState* __tstate = wxPyBeginAllowThreads();
27136 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27137
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27142 return resultobj;
27143 fail:
27144 return NULL;
27145}
27146
27147
27148static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj;
27150 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27151 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27152 bool result;
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self",(char *) "other", NULL
27157 };
27158
27159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27164 {
27165 PyThreadState* __tstate = wxPyBeginAllowThreads();
27166 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27167
27168 wxPyEndAllowThreads(__tstate);
27169 if (PyErr_Occurred()) SWIG_fail;
27170 }
27171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27172 return resultobj;
27173 fail:
27174 return NULL;
27175}
27176
27177
27178static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj;
27180 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27181 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27182 bool result;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self",(char *) "other", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
27201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27202 return resultobj;
27203 fail:
27204 return NULL;
27205}
27206
27207
27208static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj;
27210 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27211 int arg2 ;
27212 PyObject * obj0 = 0 ;
27213 PyObject * obj1 = 0 ;
27214 char *kwnames[] = {
27215 (char *) "self",(char *) "w", NULL
27216 };
27217
27218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27221 arg2 = (int) SWIG_AsInt(obj1);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 if (arg1) (arg1)->w = arg2;
27224
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
27232static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27235 int result;
27236 PyObject * obj0 = 0 ;
27237 char *kwnames[] = {
27238 (char *) "self", NULL
27239 };
27240
27241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27244 result = (int) ((arg1)->w);
27245
27246 resultobj = SWIG_FromInt((int)result);
27247 return resultobj;
27248 fail:
27249 return NULL;
27250}
27251
27252
27253static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
27254 PyObject *resultobj;
27255 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27256 int arg2 ;
27257 PyObject * obj0 = 0 ;
27258 PyObject * obj1 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self",(char *) "h", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27266 arg2 = (int) SWIG_AsInt(obj1);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 if (arg1) (arg1)->h = arg2;
27269
27270 Py_INCREF(Py_None); resultobj = Py_None;
27271 return resultobj;
27272 fail:
27273 return NULL;
27274}
27275
27276
27277static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27280 int result;
27281 PyObject * obj0 = 0 ;
27282 char *kwnames[] = {
27283 (char *) "self", NULL
27284 };
27285
27286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27289 result = (int) ((arg1)->h);
27290
27291 resultobj = SWIG_FromInt((int)result);
27292 return resultobj;
27293 fail:
27294 return NULL;
27295}
27296
27297
27298static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27301 int arg2 ;
27302 PyObject * obj0 = 0 ;
27303 PyObject * obj1 = 0 ;
27304 char *kwnames[] = {
27305 (char *) "self",(char *) "bpp", NULL
27306 };
27307
27308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27311 arg2 = (int) SWIG_AsInt(obj1);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 if (arg1) (arg1)->bpp = arg2;
27314
27315 Py_INCREF(Py_None); resultobj = Py_None;
27316 return resultobj;
27317 fail:
27318 return NULL;
27319}
27320
27321
27322static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj;
27324 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27325 int result;
27326 PyObject * obj0 = 0 ;
27327 char *kwnames[] = {
27328 (char *) "self", NULL
27329 };
27330
27331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27334 result = (int) ((arg1)->bpp);
27335
27336 resultobj = SWIG_FromInt((int)result);
27337 return resultobj;
27338 fail:
27339 return NULL;
27340}
27341
27342
27343static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27346 int arg2 ;
27347 PyObject * obj0 = 0 ;
27348 PyObject * obj1 = 0 ;
27349 char *kwnames[] = {
27350 (char *) "self",(char *) "refresh", NULL
27351 };
27352
27353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27356 arg2 = (int) SWIG_AsInt(obj1);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 if (arg1) (arg1)->refresh = arg2;
27359
27360 Py_INCREF(Py_None); resultobj = Py_None;
27361 return resultobj;
27362 fail:
27363 return NULL;
27364}
27365
27366
27367static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
27368 PyObject *resultobj;
27369 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27370 int result;
27371 PyObject * obj0 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27379 result = (int) ((arg1)->refresh);
27380
27381 resultobj = SWIG_FromInt((int)result);
27382 return resultobj;
27383 fail:
27384 return NULL;
27385}
27386
27387
27388static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
27389 PyObject *obj;
27390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27391 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27392 Py_INCREF(obj);
27393 return Py_BuildValue((char *)"");
27394}
27395static int _wrap_DefaultVideoMode_set(PyObject *) {
27396 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27397 return 1;
27398}
27399
27400
27401static PyObject *_wrap_DefaultVideoMode_get() {
27402 PyObject *pyobj;
27403
27404 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27405 return pyobj;
27406}
27407
27408
27409static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27410 PyObject *resultobj;
27411 size_t arg1 = (size_t) 0 ;
27412 wxDisplay *result;
27413 PyObject * obj0 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "index", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27419 if (obj0) {
27420 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 result = (wxDisplay *)new wxDisplay(arg1);
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27431 return resultobj;
27432 fail:
27433 return NULL;
27434}
27435
27436
27437static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj;
27439 wxDisplay *arg1 = (wxDisplay *) 0 ;
27440 PyObject * obj0 = 0 ;
27441 char *kwnames[] = {
27442 (char *) "self", NULL
27443 };
27444
27445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 delete arg1;
27451
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 Py_INCREF(Py_None); resultobj = Py_None;
27456 return resultobj;
27457 fail:
27458 return NULL;
27459}
27460
27461
27462static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
27463 PyObject *resultobj;
27464 size_t result;
27465 char *kwnames[] = {
27466 NULL
27467 };
27468
27469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 result = (size_t)wxDisplay::GetCount();
27473
27474 wxPyEndAllowThreads(__tstate);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27478 return resultobj;
27479 fail:
27480 return NULL;
27481}
27482
27483
27484static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27485 PyObject *resultobj;
27486 wxPoint *arg1 = 0 ;
27487 int result;
27488 wxPoint temp1 ;
27489 PyObject * obj0 = 0 ;
27490 char *kwnames[] = {
27491 (char *) "pt", NULL
27492 };
27493
27494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27495 {
27496 arg1 = &temp1;
27497 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27498 }
27499 {
27500 PyThreadState* __tstate = wxPyBeginAllowThreads();
27501 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27502
27503 wxPyEndAllowThreads(__tstate);
27504 if (PyErr_Occurred()) SWIG_fail;
27505 }
27506 resultobj = SWIG_FromInt((int)result);
27507 return resultobj;
27508 fail:
27509 return NULL;
27510}
27511
27512
27513static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj;
27515 wxWindow *arg1 = (wxWindow *) 0 ;
27516 int result;
27517 PyObject * obj0 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "window", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 result = (int)Display_GetFromWindow(arg1);
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 resultobj = SWIG_FromInt((int)result);
27533 return resultobj;
27534 fail:
27535 return NULL;
27536}
27537
27538
27539static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxDisplay *arg1 = (wxDisplay *) 0 ;
27542 bool result;
27543 PyObject * obj0 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 {
27552 PyThreadState* __tstate = wxPyBeginAllowThreads();
27553 result = (bool)((wxDisplay const *)arg1)->IsOk();
27554
27555 wxPyEndAllowThreads(__tstate);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 }
27558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27559 return resultobj;
27560 fail:
27561 return NULL;
27562}
27563
27564
27565static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
27566 PyObject *resultobj;
27567 wxDisplay *arg1 = (wxDisplay *) 0 ;
27568 wxRect result;
27569 PyObject * obj0 = 0 ;
27570 char *kwnames[] = {
27571 (char *) "self", NULL
27572 };
27573
27574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27577 {
27578 PyThreadState* __tstate = wxPyBeginAllowThreads();
27579 result = ((wxDisplay const *)arg1)->GetGeometry();
27580
27581 wxPyEndAllowThreads(__tstate);
27582 if (PyErr_Occurred()) SWIG_fail;
27583 }
27584 {
27585 wxRect * resultptr;
27586 resultptr = new wxRect((wxRect &) result);
27587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27588 }
27589 return resultobj;
27590 fail:
27591 return NULL;
27592}
27593
27594
27595static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
27596 PyObject *resultobj;
27597 wxDisplay *arg1 = (wxDisplay *) 0 ;
27598 wxString result;
27599 PyObject * obj0 = 0 ;
27600 char *kwnames[] = {
27601 (char *) "self", NULL
27602 };
27603
27604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27607 {
27608 PyThreadState* __tstate = wxPyBeginAllowThreads();
27609 result = ((wxDisplay const *)arg1)->GetName();
27610
27611 wxPyEndAllowThreads(__tstate);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 }
27614 {
27615#if wxUSE_UNICODE
27616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27617#else
27618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27619#endif
27620 }
27621 return resultobj;
27622 fail:
27623 return NULL;
27624}
27625
27626
27627static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj;
27629 wxDisplay *arg1 = (wxDisplay *) 0 ;
27630 bool result;
27631 PyObject * obj0 = 0 ;
27632 char *kwnames[] = {
27633 (char *) "self", NULL
27634 };
27635
27636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27639 {
27640 PyThreadState* __tstate = wxPyBeginAllowThreads();
27641 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27642
27643 wxPyEndAllowThreads(__tstate);
27644 if (PyErr_Occurred()) SWIG_fail;
27645 }
27646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27647 return resultobj;
27648 fail:
27649 return NULL;
27650}
27651
27652
27653static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
27654 PyObject *resultobj;
27655 wxDisplay *arg1 = (wxDisplay *) 0 ;
27656 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27657 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27658 PyObject *result;
27659 PyObject * obj0 = 0 ;
27660 PyObject * obj1 = 0 ;
27661 char *kwnames[] = {
27662 (char *) "self",(char *) "mode", NULL
27663 };
27664
27665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27668 if (obj1) {
27669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27670 SWIG_POINTER_EXCEPTION | 0)) == -1)
27671 SWIG_fail;
27672 if (arg2 == NULL) {
27673 PyErr_SetString(PyExc_TypeError,"null reference");
27674 SWIG_fail;
27675 }
27676 }
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
27679 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27680
27681 wxPyEndAllowThreads(__tstate);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 }
27684 resultobj = result;
27685 return resultobj;
27686 fail:
27687 return NULL;
27688}
27689
27690
27691static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxDisplay *arg1 = (wxDisplay *) 0 ;
27694 wxVideoMode result;
27695 PyObject * obj0 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 {
27711 wxVideoMode * resultptr;
27712 resultptr = new wxVideoMode((wxVideoMode &) result);
27713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27714 }
27715 return resultobj;
27716 fail:
27717 return NULL;
27718}
27719
27720
27721static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj;
27723 wxDisplay *arg1 = (wxDisplay *) 0 ;
27724 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27725 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27726 bool result;
27727 PyObject * obj0 = 0 ;
27728 PyObject * obj1 = 0 ;
27729 char *kwnames[] = {
27730 (char *) "self",(char *) "mode", NULL
27731 };
27732
27733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
27734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27736 if (obj1) {
27737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27738 SWIG_POINTER_EXCEPTION | 0)) == -1)
27739 SWIG_fail;
27740 if (arg2 == NULL) {
27741 PyErr_SetString(PyExc_TypeError,"null reference");
27742 SWIG_fail;
27743 }
27744 }
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
27747 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27753 return resultobj;
27754 fail:
27755 return NULL;
27756}
27757
27758
27759static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
27760 PyObject *resultobj;
27761 wxDisplay *arg1 = (wxDisplay *) 0 ;
27762 PyObject * obj0 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
27768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27770 {
27771 PyThreadState* __tstate = wxPyBeginAllowThreads();
27772 (arg1)->ResetMode();
27773
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 Py_INCREF(Py_None); resultobj = Py_None;
27778 return resultobj;
27779 fail:
27780 return NULL;
27781}
27782
27783
27784static PyObject * Display_swigregister(PyObject *, PyObject *args) {
27785 PyObject *obj;
27786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27787 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
27788 Py_INCREF(obj);
27789 return Py_BuildValue((char *)"");
27790}
d14a1e28 27791static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
27792 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
27793 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
27794 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
27795 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
27796 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
27797 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
27798 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
27799 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
27800 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
27801 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
27802 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
27803 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
27804 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
27805 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
27806 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
27807 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
27808 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
27809 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
27810 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27811 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
27812 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
27813 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
27814 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
27815 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
27816 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
27817 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
27818 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
27819 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
27820 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
27821 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
27822 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS, NULL },
27823 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
27824 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
27825 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
27826 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
27827 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
27828 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
27829 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
27830 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
27831 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
27832 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
27833 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
27834 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
27835 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
27836 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
27837 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
27838 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
27839 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
27840 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
27841 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
27842 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
27843 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
27844 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
27845 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
27846 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
27847 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
27848 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
27849 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
27850 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
27851 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
27852 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
27853 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27854 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27855 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
27856 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
27857 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
27858 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
27859 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
27860 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
27861 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
27862 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
27863 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
27864 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
27865 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
27866 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
27867 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
27868 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
27869 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
27870 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
27871 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
27872 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
27873 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
27874 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
27875 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
27876 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
27877 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
27878 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
27879 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
27880 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
27881 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
27882 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
27883 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
27884 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
27885 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
27886 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
27887 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
27888 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
27889 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
27890 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
27891 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
27892 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27893 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
27894 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
27895 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
27896 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
27897 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
27898 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27899 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27900 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
27901 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
27902 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27903 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
27904 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
27905 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
27906 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
27907 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27908 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27909 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27910 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
27911 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
27912 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27913 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27914 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
27915 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
27916 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27917 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
27918 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
27919 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
27920 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
27921 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27922 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27923 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
27924 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
27925 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
27926 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
27927 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
27928 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27929 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
27930 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
27931 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
27932 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
27933 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27934 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27935 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
27936 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
27937 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
27938 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
27939 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
27940 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
27941 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
27942 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27943 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
27944 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
27945 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
27946 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
27947 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
27948 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
27949 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
27950 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
27951 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
27952 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
27953 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
27954 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
27955 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
27956 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
27957 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
27958 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
27959 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
27960 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
27961 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
27962 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27963 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
27964 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
27965 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
27966 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
27967 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
27968 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
27969 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27970 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27971 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27972 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
27973 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
27974 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
27975 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
27976 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27977 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
27978 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
27979 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
27980 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
27981 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
27982 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
27983 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
27984 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
27985 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
27986 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
27987 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
27988 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
27989 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
27990 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
27991 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
27992 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
27993 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27994 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27995 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
27996 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
27997 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
27998 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
27999 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28000 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28001 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
28002 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
28003 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
28004 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
28005 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
28006 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
28007 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28008 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28009 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
28010 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28011 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
28012 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28013 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
28014 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
28015 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
28016 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28017 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28018 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28019 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
28020 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
28021 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28022 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
28023 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
28024 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28025 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28026 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
28027 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28028 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
28029 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
28030 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
28031 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
28032 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28033 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
28034 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28035 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
28036 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28037 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28038 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28039 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
28040 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28041 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
28042 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
28043 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
28044 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
28045 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
28046 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
28047 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
28048 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
28049 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28050 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28051 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28052 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28053 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28054 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28055 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28056 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28057 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28058 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28059 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28060 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28061 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28062 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
28063 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
28064 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
28065 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
28066 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
28067 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
28068 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
28069 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
28070 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
28071 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
28072 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28073 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28074 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28075 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28076 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
28077 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
28078 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
28079 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
28080 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
28081 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
28082 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
28083 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
28084 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
28085 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
28086 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
28087 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
28088 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
28089 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
28090 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
28091 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28092 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28093 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
28094 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
28095 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
28096 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
28097 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
28098 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
28099 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
28100 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
28101 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
28102 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
28103 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
28104 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28105 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28106 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28107 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28108 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28109 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28110 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28111 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28112 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28113 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28114 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28115 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
28116 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
28117 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
28118 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
28119 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
28120 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
28121 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
28122 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS, NULL },
28123 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
28124 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS, NULL },
28125 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28126 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS, NULL },
28127 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS, NULL },
28128 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28129 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
28130 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28131 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
28132 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28133 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28134 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28135 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28136 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28137 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28138 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28139 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28140 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28141 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28142 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
28143 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
28144 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28145 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
28146 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28147 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28148 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28149 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28150 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28151 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28152 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28153 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28154 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28155 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28156 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
28157 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28158 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28159 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28160 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28161 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
28162 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
28163 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28164 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
28165 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
28166 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
28167 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28168 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
28169 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28170 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28171 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
28172 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
28173 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28174 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28175 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
28176 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28177 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28178 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28179 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28180 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28181 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28182 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28183 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28184 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
28185 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
28186 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28187 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
28188 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28189 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28190 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28191 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28192 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28193 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28194 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28195 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28196 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
28197 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
28198 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28199 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28200 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28201 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
28202 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
28203 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
28204 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28205 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
28206 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
28207 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
28208 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28209 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
28210 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28211 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28212 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28213 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28214 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28215 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
28216 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28217 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28218 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28219 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28220 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28221 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28222 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28223 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28224 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28225 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28226 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28227 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
28228 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28229 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28230 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
28231 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28232 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28233 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
28234 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28235 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28236 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
28237 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
28238 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28239 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28240 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28241 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28242 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
28243 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
28244 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28245 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
28246 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
28247 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
28248 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28249 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
28250 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
28251 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
28252 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
28253 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
28254 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
28255 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28256 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
28257 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
28258 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28259 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28260 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28261 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28262 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
28263 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28264 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
28265 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28266 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28267 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28268 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28269 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
28270 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28271 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28272 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28273 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28274 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28275 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28276 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28277 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28278 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28279 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28280 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28281 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28282 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28283 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28284 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28285 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28286 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28287 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28288 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28289 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28290 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28291 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28292 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28293 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28294 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28295 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
28296 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
28297 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28298 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28299 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28300 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28301 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
28302 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28303 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
28304 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28305 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28306 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28307 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28308 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28309 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28310 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28311 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28312 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28313 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28314 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28315 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
28316 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28317 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
28318 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28319 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28320 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28321 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
28322 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
28323 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
28324 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
28325 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
28326 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
28327 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
28328 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28329 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
28330 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
28331 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
28332 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
28333 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
28334 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
28335 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
28336 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
28337 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
28338 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
28339 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
28340 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28341 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28342 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
28343 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
28344 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28345 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
28346 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
28347 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
28348 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
28349 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
28350 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
28351 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
28352 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
28353 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
28354 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
28355 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
28356 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28357 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28358 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28359 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28360 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28361 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28362 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28363 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28364 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28365 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28366 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
28367 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28368 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28369 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28370 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28371 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28372 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28373 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28374 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28375 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
28376 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
28377 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
28378 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
28379 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28380 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28381 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
28382 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
28383 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
28384 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28385 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
28386 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28387 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28388 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28389 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
28390 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
28391 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
28392 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
28393 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28394 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
28395 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28396 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28397 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28398 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28399 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28400 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28401 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
28402 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
28403 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
28404 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
28405 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28406 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28407 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28408 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28409 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28410 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28411 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28412 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28413 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
28414 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28415 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28416 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28417 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28418 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28419 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28420 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28421 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28422 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28423 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28424 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28425 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28426 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28427 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28428 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
28429 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
28430 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
28431 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
28432 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
28433 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28434 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28435 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28436 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
28437 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
28438 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
28439 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
28440 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28441 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
28442 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
28443 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28444 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28445 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
28446 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28447 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
28448 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
28449 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
28450 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28451 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
28452 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28453 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28454 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28455 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
28456 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28457 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28458 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
28459 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
28460 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28461 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
28462 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28463 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
28464 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
28465 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
28466 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
28467 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28468 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28469 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
28470 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28471 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28472 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28473 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
28474 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28475 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28476 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
28477 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28478 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
28479 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
28480 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
28481 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28482 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS, NULL },
28483 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28484 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28485 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28486 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
28487 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28488 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28489 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28490 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
28491 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28492 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28493 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28494 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
28495 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
28496 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28497 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28498 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28499 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28500 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28501 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28502 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28503 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
28504 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
28505 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28506 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28507 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28508 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28509 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28510 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28511 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28512 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28513 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28514 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28515 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
28516 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28517 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28518 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28519 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28520 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28521 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28522 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28523 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
28524 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28525 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28526 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28527 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28528 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28529 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28530 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28531 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
28532 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28533 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28534 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28535 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
28536 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28537 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
28538 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28539 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28540 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28541 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
28542 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28543 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
28544 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
28545 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28546 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28547 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
28548 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
ce7284bd
RD
28549 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28550 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28551 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
28552 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
28553 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
28554 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28555 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28556 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28557 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28558 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
28559 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
28560 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
28561 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
28562 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
28563 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
28564 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
28565 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
28566 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
28567 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28568 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28569 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28570 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28571 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28572 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28573 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
28574 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
28575 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
28576 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
28577 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
28578 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
28579 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
28580 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
2f4c0a16 28581 { NULL, NULL, 0, NULL }
d14a1e28
RD
28582};
28583
28584
28585/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28586
28587static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28589}
28590static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28591 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28592}
28593static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28594 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28595}
28596static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28597 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28598}
28599static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28600 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28601}
28602static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28603 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28604}
28605static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28606 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28607}
28608static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28609 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28610}
28611static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28613}
28614static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28615 return (void *)((wxEvent *) ((wxPyEvent *) x));
28616}
28617static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28618 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28619}
28620static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28621 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28622}
28623static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28624 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28625}
28626static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28628}
28629static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28630 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28631}
28632static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28633 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28634}
28635static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28636 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28637}
28638static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28639 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28640}
28641static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28642 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28643}
28644static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28645 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28646}
28647static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28648 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28649}
28650static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28651 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28652}
28653static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28654 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28655}
28656static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28657 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28658}
28659static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28660 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28661}
28662static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28663 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28664}
28665static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28666 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28667}
28668static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28669 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28670}
28671static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28672 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28673}
28674static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28676}
28677static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28678 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28679}
28680static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28681 return (void *)((wxEvent *) ((wxShowEvent *) x));
28682}
28683static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28684 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28685}
28686static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28687 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28688}
28689static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28690 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28691}
28692static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28693 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28694}
28695static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28696 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28697}
28698static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28699 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28700}
28701static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28702 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28703}
28704static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28705 return (void *)((wxConfigBase *) ((wxConfig *) x));
28706}
28707static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28708 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28709}
28710static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28711 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28712}
28713static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28714 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28715}
28716static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
28717 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28718}
28719static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
28720 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
28721}
28722static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
28723 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
28724}
28725static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
28726 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
28727}
28728static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
28729 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
28730}
28731static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
28732 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28733}
28734static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
28735 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
28736}
28737static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
28738 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
28739}
28740static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
28741 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
28742}
28743static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
28744 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
28745}
28746static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
28747 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
28748}
28749static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
28750 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28751}
28752static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
28753 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
28754}
28755static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
28756 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
28757}
28758static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
28759 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
28760}
28761static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
28762 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28763}
28764static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
28765 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
28766}
28767static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
28768 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
28769}
28770static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
28771 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
28772}
28773static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28775}
28776static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28777 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28778}
28779static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28780 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28781}
28782static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28783 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28784}
28785static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
28786 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
28787}
28788static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28789 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28790}
28791static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28792 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28793}
28794static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28795 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28796}
28797static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28798 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28799}
28800static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
28801 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
28802}
28803static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
28804 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
28805}
28806static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28808}
28809static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28811}
28812static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) ((wxSizerItem *) x));
28814}
28815static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28817}
28818static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28820}
28821static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28823}
28824static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28826}
28827static void *_p_wxSizerTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) ((wxSizer *) x));
28829}
28830static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28832}
28833static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) ((wxFileHistory *) x));
28835}
28836static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28838}
28839static void *_p_wxEventTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) ((wxEvent *) x));
28841}
28842static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28844}
28845static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28847}
28848static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28850}
28851static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28853}
28854static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28856}
28857static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28859}
28860static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28862}
28863static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28865}
28866static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28868}
28869static void *_p_wxControlTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28871}
28872static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28874}
28875static void *_p_wxTimerEventTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
28877}
28878static void *_p_wxFSFileTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) ((wxFSFile *) x));
28880}
28881static void *_p_wxClipboardTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) ((wxClipboard *) x));
28883}
28884static void *_p_wxPySizerTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28886}
28887static void *_p_wxPyEventTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28889}
28890static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28892}
28893static void *_p_wxShowEventTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28895}
28896static void *_p_wxToolTipTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) ((wxToolTip *) x));
28898}
28899static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) ((wxMenuItem *) x));
28901}
28902static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28904}
28905static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28907}
28908static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28910}
28911static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28913}
28914static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28916}
28917static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28919}
28920static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28922}
28923static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28925}
28926static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28928}
28929static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28931}
28932static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28934}
28935static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28937}
28938static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28940}
28941static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28943}
28944static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28946}
28947static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28949}
28950static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28952}
28953static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28955}
28956static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) ((wxImageHandler *) x));
28958}
28959static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28961}
28962static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) ((wxEvtHandler *) x));
28964}
41f1cec7
RD
28965static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28967}
d14a1e28
RD
28968static void *_p_wxImageTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) ((wxImage *) x));
28970}
28971static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28973}
28974static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) ((wxSystemOptions *) x));
28976}
28977static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
28979}
28980static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28982}
28983static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28985}
28986static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28988}
28989static void *_p_wxWindowTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28991}
28992static void *_p_wxMenuTo_p_wxObject(void *x) {
28993 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28994}
28995static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28997}
28998static void *_p_wxPyProcessTo_p_wxObject(void *x) {
28999 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29000}
29001static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29002 return (void *)((wxObject *) ((wxFileSystem *) x));
29003}
29004static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29006}
29007static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29008 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29009}
29010static void *_p_wxPyAppTo_p_wxObject(void *x) {
29011 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29012}
29013static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29014 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29015}
29016static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29017 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29018}
29019static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29020 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29021}
29022static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29023 return (void *)((wxObject *) ((wxBusyInfo *) x));
29024}
29025static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29027}
29028static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29030}
29031static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29033}
29034static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29036}
29037static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29039}
29040static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29042}
29043static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29045}
29046static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29048}
29049static void *_p_wxValidatorTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29051}
29052static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29054}
29055static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29056 return (void *)((wxLog *) ((wxLogStderr *) x));
29057}
29058static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29059 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29060}
29061static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29062 return (void *)((wxLog *) ((wxLogWindow *) x));
29063}
29064static void *_p_wxLogChainTo_p_wxLog(void *x) {
29065 return (void *)((wxLog *) ((wxLogChain *) x));
29066}
29067static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29068 return (void *)((wxLog *) ((wxLogGui *) x));
29069}
29070static void *_p_wxPyLogTo_p_wxLog(void *x) {
29071 return (void *)((wxLog *) ((wxPyLog *) x));
29072}
29073static void *_p_wxControlTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) ((wxControl *) x));
29075}
29076static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29078}
29079static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) ((wxMenuBar *) x));
29081}
29082static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29083 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29084}
29085static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29086 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29087}
2f4c0a16
RD
29088static 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}};
29089static 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}};
29090static 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}};
29091static 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}};
29092static 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}};
29093static 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}};
29094static 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}};
29095static 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}};
29096static 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}};
ce7284bd 29097static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
29098static 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}};
29099static 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}};
29100static 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}};
29101static 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}};
29102static 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}};
29103static 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}};
29104static 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}};
29105static 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}};
29106static 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}};
29107static 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}};
29108static 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}};
29109static 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}};
29110static 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}};
29111static 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}};
29112static 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}};
29113static 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}};
29114static 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}};
29115static 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}};
29116static 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}};
29117static 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}};
29118static 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}};
29119static 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}};
29120static 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}};
29121static 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}};
29122static 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}};
29123static 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}};
29124static 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}};
29125static 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}};
29126static 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}};
29127static 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}};
29128static 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}};
29129static 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}};
29130static 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}};
29131static 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}};
29132static 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}};
29133static 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}};
ce7284bd 29134static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
29135static 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}};
29136static 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}};
29137static 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}};
29138static 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}};
29139static 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}};
29140static 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}};
29141static 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}};
29142static 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}};
29143static 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}};
29144static 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}};
29145static 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}};
29146static 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}};
29147static 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}};
29148static 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}};
29149static 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}};
29150static 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}};
29151static 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}};
29152static 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}};
29153static 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}};
29154static 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}};
29155static 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}};
29156static 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}};
29157static 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}};
29158static 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}};
29159static 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}};
29160static 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}};
29161static 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}};
29162static 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}};
29163static 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}};
29164static 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}};
29165static 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}};
29166static 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}};
29167static 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}};
29168static 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}};
29169static 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}};
29170static 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}};
29171static 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}};
29172static 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}};
29173static 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}};
29174static 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
29175
29176static swig_type_info *swig_types_initial[] = {
29177_swigt__p_wxLogChain,
29178_swigt__p_wxMutexGuiLocker,
29179_swigt__p_wxMetafile,
29180_swigt__p_wxFileHistory,
29181_swigt__p_wxLog,
29182_swigt__p_wxDateTime__TimeZone,
29183_swigt__p_wxMenu,
29184_swigt__p_wxEvent,
29185_swigt__p_wxConfigBase,
ce7284bd 29186_swigt__p_wxDisplay,
d14a1e28
RD
29187_swigt__p_wxFileType,
29188_swigt__p_wxLogGui,
29189_swigt__p_wxFont,
29190_swigt__p_wxDataFormat,
29191_swigt__p_wxTimerEvent,
29192_swigt__p_wxCaret,
29193_swigt__p_int,
29194_swigt__p_wxSize,
29195_swigt__p_wxClipboard,
29196_swigt__p_wxStopWatch,
29197_swigt__p_wxDC,
29198_swigt__p_wxClipboardLocker,
29199_swigt__p_wxIcon,
29200_swigt__p_wxLogStderr,
29201_swigt__p_wxLogTextCtrl,
29202_swigt__p_wxTextCtrl,
29203_swigt__p_wxBusyCursor,
d14a1e28
RD
29204_swigt__p_wxPyTextDataObject,
29205_swigt__p_wxBitmapDataObject,
29206_swigt__p_wxTextDataObject,
29207_swigt__p_wxDataObject,
02a34c4c 29208_swigt__p_wxPyBitmapDataObject,
8edf1c75 29209_swigt__p_wxFileDataObject,
d14a1e28
RD
29210_swigt__p_wxCustomDataObject,
29211_swigt__p_wxURLDataObject,
29212_swigt__p_wxMetafileDataObject,
02a34c4c 29213_swigt__p_wxSound,
d14a1e28
RD
29214_swigt__p_wxTimerRunner,
29215_swigt__p_wxLogWindow,
29216_swigt__p_wxTimeSpan,
29217_swigt__p_wxArrayString,
29218_swigt__p_wxWindowDisabler,
29219_swigt__p_wxToolTip,
29220_swigt__p_wxDataObjectComposite,
29221_swigt__p_wxFileConfig,
29222_swigt__p_wxSystemSettings,
ce7284bd 29223_swigt__p_wxVideoMode,
d14a1e28
RD
29224_swigt__p_wxPyDataObjectSimple,
29225_swigt__p_wxDataObjectSimple,
29226_swigt__p_wxEvtHandler,
29227_swigt__p_wxRect,
8edf1c75 29228_swigt__p_char,
d14a1e28
RD
29229_swigt__p_wxSingleInstanceChecker,
29230_swigt__p_wxFileTypeInfo,
29231_swigt__p_wxFrame,
29232_swigt__p_wxTimer,
29233_swigt__p_wxMimeTypesManager,
29234_swigt__p_wxPyArtProvider,
29235_swigt__p_wxPyTipProvider,
29236_swigt__p_wxTipProvider,
29237_swigt__p_wxJoystick,
29238_swigt__p_wxSystemOptions,
29239_swigt__p_wxPoint,
29240_swigt__p_wxJoystickEvent,
29241_swigt__p_wxCursor,
29242_swigt__p_wxObject,
29243_swigt__p_wxOutputStream,
29244_swigt__p_wxDateTime,
29245_swigt__p_wxPyDropSource,
29246_swigt__p_wxWindow,
29247_swigt__p_wxString,
29248_swigt__p_wxPyProcess,
29249_swigt__p_wxBitmap,
29250_swigt__p_wxConfig,
29251_swigt__p_wxChar,
29252_swigt__p_wxBusyInfo,
29253_swigt__p_wxPyDropTarget,
29254_swigt__p_wxPyTextDropTarget,
29255_swigt__p_wxPyFileDropTarget,
29256_swigt__p_wxProcessEvent,
29257_swigt__p_wxPyLog,
29258_swigt__p_wxLogNull,
29259_swigt__p_wxColour,
02a34c4c 29260_swigt__p_wxByte,
d14a1e28
RD
29261_swigt__p_wxConfigPathChanger,
29262_swigt__p_wxPyTimer,
29263_swigt__p_wxDateSpan,
292640
29265};
29266
29267
29268/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29269
29270static swig_const_info swig_const_table[] = {
2f4c0a16
RD
29271{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29272{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29273{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29274{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29275{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29276{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
29277
29278#ifdef __cplusplus
29279}
29280#endif
29281
29282#ifdef __cplusplus
29283extern "C"
29284#endif
29285SWIGEXPORT(void) SWIG_init(void) {
29286 static PyObject *SWIG_globals = 0;
29287 static int typeinit = 0;
29288 PyObject *m, *d;
29289 int i;
29290 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29291 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29292 d = PyModule_GetDict(m);
29293
29294 if (!typeinit) {
29295 for (i = 0; swig_types_initial[i]; i++) {
29296 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29297 }
29298 typeinit = 1;
29299 }
29300 SWIG_InstallConstants(d,swig_const_table);
29301
2f4c0a16
RD
29302 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29303 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29304 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29305 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29306 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29307 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29308 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29309 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29310 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29311 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29312 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29313 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29314 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29315 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29316 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29317 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29318 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29319 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29320 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29321 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29322 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29323 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29324 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29325 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29326 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29327 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29328 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29329 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29330 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29331 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29332 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29333 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29334 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29335 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29336 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29337 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29338 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29339 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29340 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29341 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29342 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29343 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29344 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29345 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29346 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29347 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29348 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29349 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29350 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29351 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29352 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29353 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29354 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29355 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29356 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29357 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29358 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29359 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29360 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29361 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29362 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29363 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29364 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29365 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29366 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29367 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29368 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29369 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29370 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29371 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29372 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29373 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29374 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29375 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29376 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29377 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29378 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29379 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29380 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29381 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29382 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29383 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29384 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29385 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29386 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29387 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29388 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29389 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29390 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29391 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29392 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
cbd72d4f
RD
29393 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29394 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29395 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29396 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
2f4c0a16
RD
29397 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29398 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29399 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29400 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 29401 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
2f4c0a16
RD
29402 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29403 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29404 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29405 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29406 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29407 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29408 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29409 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29410 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29411 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29412 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29413 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29414 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29415 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29416 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29417 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29418 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29419 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29420 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29421 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29422 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29423 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29424 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29425 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29426 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29427 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29428 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29429 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29430 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29431 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29432 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29433 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29434 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29435 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29436 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29437 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29438 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29439 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29440 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29441 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29442 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29443 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29444 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29445 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29446 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
d14a1e28 29447 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
2f4c0a16
RD
29448 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29449 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29450 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29451 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
29452
29453 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29454
2f4c0a16
RD
29455 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29456 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29457 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29458 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29459 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29460 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29461 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
29462 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29463 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29464 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29465 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
2f4c0a16
RD
29466 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29467 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29468 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29469 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29470 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29471 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29472 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29473 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
29474 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29475 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29476 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29477 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29478 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29479 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29480 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29481 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29482 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29483 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29484 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29485 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29486 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29487 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29488 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29489 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29490 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29491 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29492 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29493 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29494 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29495 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29496 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29497 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29498 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29499 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29500 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29501 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29502 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29503 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29504 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29505 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29506 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29507 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29508 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29509 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29510 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29511 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29512 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29513
29514 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29515
2f4c0a16
RD
29516 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29517 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29518 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29519 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29520 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29521 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29522 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29523 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29524 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
cbd72d4f
RD
29525 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29526 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
2f4c0a16
RD
29527 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29528 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29529 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29530 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29531 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29532 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29533 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29534 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29535 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29536 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29537 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29538 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29539 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29540 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29541 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29542 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29543 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29544 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29545 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29546 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29547 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29548 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29549 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29550 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29551 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29552 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29553 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29554 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29555 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29556 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29557 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29558 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29559 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29560 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29561 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29562 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29563 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29564 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29565 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29566 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29567 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29568 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29569 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29570 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29571 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29572 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29573 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29574 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29575 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29576 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29577 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29578 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29579 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29580 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29581 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29582 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29583 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29584 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29585 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29586 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29587 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29588 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29589 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29590 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29591 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29592 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29593 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29594 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29595 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29596 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29597 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29598 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29599 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29600 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29601 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29602 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29603 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29604 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29605 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29606 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29607 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29608 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29609 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29610 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29611 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29612 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29613 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29614 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29615 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29616 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29617 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29618 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29619 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29620 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29621 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29622 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29623 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29624 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29625 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29626 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29627 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29628 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29629 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29630 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29631 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29632 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29633 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29634 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29635 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29636 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29637 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29638 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29639 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29640 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29641 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29642 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29643 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29644 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29645 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29646 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29647 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29648 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29649 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29650 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29651 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29652 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29653 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29654 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29655 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29656 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29657 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29658 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29659 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29660 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29661 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29662 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29663 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29664 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29665 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29666 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29667 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29668 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29669 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29670 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29671 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29672 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29673 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29674 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29675 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29676 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29677 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29678 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29679 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29680 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29681 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
98e665d3 29682 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
2f4c0a16
RD
29683 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29684 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29685 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29686 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29687 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29688 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29689 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29690 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29691 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29692 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29693 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29694 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29695 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29696 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29697 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29698 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29699 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29700 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29701 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29702 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
d14a1e28 29703 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
2f4c0a16
RD
29704 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29705 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29706 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29707 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29708 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29709 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29710 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29711 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29712 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29713 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29714 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29715 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
d14a1e28
RD
29716
29717 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29718 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29719 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29720 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29721
29722 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
ce7284bd 29723 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
d14a1e28
RD
29724}
29725