]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc_wrap.cpp
embedded sample compiles again
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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)
83448d71 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
f0983263
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]
83448d71
RD
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]
fe763115
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
d03fd34d 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{
69223c70
RD
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
2f4c0a16
RD
399}
400
401
402#if INT_MAX != LONG_MAX
403SWIGSTATICINLINE(int)
404SWIG_AsInt(PyObject *obj)
8edf1c75 405{
2f4c0a16
RD
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409}
410#else
411#define SWIG_AsInt SWIG_AsLong
412#endif
413
414
415SWIGSTATICINLINE(int)
416SWIG_CheckInt(PyObject* obj)
417{
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
8edf1c75
RD
425}
426
d03fd34d
RD
427 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
428 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
429 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 430
2f4c0a16
RD
431SWIGSTATICINLINE(int)
432SWIG_CheckLong(PyObject* obj)
8edf1c75 433{
2f4c0a16
RD
434 SWIG_AsLong(obj);
435 if (PyErr_Occurred()) {
436 PyErr_Clear();
437 return 0;
438 } else {
439 return 1;
440 }
8edf1c75
RD
441}
442
443
2f4c0a16
RD
444SWIGSTATICINLINE(bool)
445SWIG_AsBool(PyObject *obj)
8edf1c75
RD
446{
447 return PyObject_IsTrue(obj) ? true : false;
448}
449
450
2f4c0a16
RD
451SWIGSTATICINLINE(int)
452SWIG_CheckBool(PyObject* obj)
453{
454 SWIG_AsBool(obj);
455 if (PyErr_Occurred()) {
456 PyErr_Clear();
457 return 0;
458 } else {
459 return 1;
460 }
461}
462
463
d14a1e28
RD
464static PyObject* t_output_helper(PyObject* target, PyObject* o) {
465 PyObject* o2;
466 PyObject* o3;
467
468 if (!target) {
469 target = o;
470 } else if (target == Py_None) {
471 Py_DECREF(Py_None);
472 target = o;
473 } else {
474 if (!PyTuple_Check(target)) {
475 o2 = target;
476 target = PyTuple_New(1);
477 PyTuple_SetItem(target, 0, o2);
478 }
479 o3 = PyTuple_New(1);
480 PyTuple_SetItem(o3, 0, o);
481
482 o2 = target;
483 target = PySequence_Concat(o2, o3);
484 Py_DECREF(o2);
485 Py_DECREF(o3);
486 }
487 return target;
488}
489
490
2f4c0a16
RD
491SWIGSTATICINLINE(unsigned long)
492SWIG_AsUnsignedLong(PyObject * obj)
493{
494 if (PyLong_Check(obj)) {
495 return PyLong_AsUnsignedLong(obj);
496 } else {
69223c70 497 long i = SWIG_AsLong(obj);
2f4c0a16 498 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 499 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
2f4c0a16
RD
500 }
501 return i;
502 }
503}
504
505
506SWIGSTATICINLINE(int)
507SWIG_CheckUnsignedLong(PyObject* obj)
508{
509 SWIG_AsUnsignedLong(obj);
510 if (PyErr_Occurred()) {
511 PyErr_Clear();
512 return 0;
513 } else {
514 return 1;
515 }
516}
517
518
519SWIGSTATICINLINE(PyObject* )
520SWIG_FromUnsignedLong(unsigned long value)
8edf1c75 521{
2f4c0a16
RD
522 return (value > LONG_MAX) ?
523 PyLong_FromUnsignedLong(value)
524 : PyInt_FromLong(swig_numeric_cast(long,value));
8edf1c75
RD
525}
526
527
d14a1e28
RD
528 bool wxThread_IsMain() {
529#ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
531#else
423f194a 532 return True;
d14a1e28
RD
533#endif
534 }
535
536
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
539 }
540
541 void wxCaret_SetBlinkTime(int milliseconds) {
542 wxCaret::SetBlinkTime(milliseconds);
543 }
544
545
546#include <wx/snglinst.h>
547
548
549#ifdef __WXMSW__
550#include <wx/msw/private.h>
551#include <wx/dynload.h>
552#endif
553
554
555
556void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
557{
558#ifdef __WXMSW__
559
560 switch (method)
561 {
562 case 1:
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
566 // not be painted.
567 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
568 break;
569
570 case 2:
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
575 // Win2k.
576 //
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
581 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
582 PRF_ERASEBKGND | PRF_OWNED );
583 break;
584
585 case 3:
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
592
593 // fall through
594
595 case 4:
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 601 static bool s_triedToLoad = False;
d14a1e28
RD
602 static PrintWindow_t pfnPrintWindow = NULL;
603 if ( !s_triedToLoad )
604 {
605
423f194a 606 s_triedToLoad = True;
d14a1e28
RD
607 wxDynamicLibrary dllUser32(_T("user32.dll"));
608 if ( dllUser32.IsLoaded() )
609 {
610 wxLogNull nolog; // Don't report errors here
611 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
612 }
613 }
614 if (pfnPrintWindow)
615 {
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
618 }
619 else
620 {
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
623 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
624 }
625 }
626#endif
627}
628
629
630
631#include <wx/tipdlg.h>
632
633
634class wxPyTipProvider : public wxTipProvider {
635public:
636 wxPyTipProvider(size_t currentTip)
637 : wxTipProvider(currentTip) {}
638
639 DEC_PYCALLBACK_STRING__pure(GetTip);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
641 PYPRIVATE;
642};
643
644IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
645IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
646
647
fe763115
RD
648//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
649
650void wxPyTimer::Notify() {
651 bool found;
4f89f6a3 652 bool blocked = wxPyBeginBlockThreads();
fe763115
RD
653 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
654 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
4f89f6a3 655 wxPyEndBlockThreads(blocked);
fe763115
RD
656 if (! found)
657 wxTimer::Notify();
658}
659void wxPyTimer::base_Notify() {
660 wxTimer::Notify();
661}
662
d14a1e28 663
8edf1c75 664
2f4c0a16
RD
665SWIGSTATICINLINE(PyObject *)
666SWIG_FromCharPtr(const char* cptr)
667{
668 size_t size = cptr ? strlen(cptr) : 0;
669 if (cptr) {
670 if (size > INT_MAX) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
672 SWIG_TypeQuery("char *"), 0);
673 } else {
674 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
675 }
676 } else {
677 Py_INCREF(Py_None);
678 return Py_None;
679 }
680}
681
682
683SWIGSTATICINLINE(unsigned long)
684SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
685 unsigned long max_value)
686{
687 if (!PyErr_Occurred()) {
688 if (value > max_value) {
689 PyObject *err =
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value, type, max_value);
692 PyErr_SetObject(PyExc_OverflowError, err);
693 Py_DECREF(err);
694 }
695 }
696 return value;
697}
698
699
700#if UINT_MAX != ULONG_MAX
701SWIGSTATICINLINE(unsigned int)
702SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 703{
2f4c0a16
RD
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
706 "unsigned int", UINT_MAX));
707}
708#else
709#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
710#endif
711
712
713SWIGSTATICINLINE(int)
714SWIG_CheckUnsignedInt(PyObject* obj)
715{
716 SWIG_AsUnsignedInt(obj);
717 if (PyErr_Occurred()) {
718 PyErr_Clear();
719 return 0;
720 } else {
721 return 1;
722 }
8edf1c75
RD
723}
724
d14a1e28
RD
725wxString Log_TimeStamp(){
726 wxString msg;
727 wxLog::TimeStamp(&msg);
728 return msg;
729 }
730void wxLog_Destroy(wxLog *self){ delete self; }
731
732// A wxLog class that can be derived from in wxPython
733class wxPyLog : public wxLog {
734public:
735 wxPyLog() : wxLog() {}
736
737 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
738 bool found;
4f89f6a3 739 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
740 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
741 PyObject* s = wx2PyString(szString);
742 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
743 Py_DECREF(s);
744 }
4f89f6a3 745 wxPyEndBlockThreads(blocked);
d14a1e28
RD
746 if (! found)
747 wxLog::DoLog(level, szString, t);
748 }
749
750 virtual void DoLogString(const wxChar *szString, time_t t) {
751 bool found;
4f89f6a3 752 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
753 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
754 PyObject* s = wx2PyString(szString);
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
756 Py_DECREF(s);
757 }
4f89f6a3 758 wxPyEndBlockThreads(blocked);
d14a1e28
RD
759 if (! found)
760 wxLog::DoLogString(szString, t);
761 }
762
763 PYPRIVATE;
764};
765
766
767
768
769IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
770
771
772#include <wx/joystick.h>
773
774
775#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776// A C++ stub class for wxJoystick for platforms that don't have it.
777class wxJoystick : public wxObject {
778public:
779 wxJoystick(int joystick = wxJOYSTICK1) {
4f89f6a3 780 bool blocked = wxPyBeginBlockThreads();
cbd72d4f
RD
781 PyErr_SetString(PyExc_NotImplementedError,
782 "wxJoystick is not available on this platform.");
4f89f6a3 783 wxPyEndBlockThreads(blocked);
d14a1e28
RD
784 }
785 wxPoint GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold) {}
795
423f194a 796 bool IsOk(void) { return False; }
d14a1e28
RD
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString GetProductName() { return ""; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
819
423f194a
RD
820 bool HasRudder() { return False; }
821 bool HasZ() { return False; }
822 bool HasU() { return False; }
823 bool HasV() { return False; }
824 bool HasPOV() { return False; }
825 bool HasPOV4Dir() { return False; }
826 bool HasPOVCTS() { return False; }
d14a1e28 827
423f194a
RD
828 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
829 bool ReleaseCapture() { return False; }
d14a1e28
RD
830};
831#endif
832
833
4e760a36 834#include <wx/sound.h>
d14a1e28
RD
835
836
dff1fa9b 837#if !wxUSE_SOUND
d14a1e28 838// A C++ stub class for wxWave for platforms that don't have it.
4e760a36 839class wxSound : public wxObject
d14a1e28
RD
840{
841public:
4e760a36 842 wxSound() {
4f89f6a3 843 bool blocked = wxPyBeginBlockThreads();
cbd72d4f 844 PyErr_SetString(PyExc_NotImplementedError,
4e760a36 845 "wxSound is not available on this platform.");
4f89f6a3 846 wxPyEndBlockThreads(blocked);
d14a1e28 847 }
4e760a36 848 wxSound(const wxString&, bool) {
4f89f6a3 849 bool blocked = wxPyBeginBlockThreads();
cbd72d4f 850 PyErr_SetString(PyExc_NotImplementedError,
4e760a36 851 "wxSound is not available on this platform.");
4f89f6a3 852 wxPyEndBlockThreads(blocked);
d14a1e28 853 }
4e760a36 854 wxSound(int, const wxByte*) {
4f89f6a3 855 bool blocked = wxPyBeginBlockThreads();
4e760a36
RD
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
4f89f6a3 858 wxPyEndBlockThreads(blocked);
4e760a36
RD
859 }
860
861 ~wxSound() {};
d14a1e28 862
4e760a36
RD
863 bool Create(const wxString&, bool) { return false; }
864 bool Create(int, const wxByte*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString&, unsigned) { return false; }
868 static void Stop() {}
d14a1e28
RD
869};
870
871#endif
872
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 iconIndex = loc.GetIndex();
911
912 // Make a tuple and put the values in it
4f89f6a3 913 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 919 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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))) {
4f89f6a3 951 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
952 PyObject* tuple = PyTuple_New(2);
953 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
954 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
4f89f6a3 955 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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;
4f89f6a3 1019 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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 }
4f89f6a3 1037 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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{
69223c70
RD
1097 if (PyNumber_Check(obj))
1098 return PyFloat_AsDouble(obj);
1099 else {
1100 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1101 obj->ob_type->tp_name);
1102 PyErr_SetObject(PyExc_TypeError, errmsg);
1103 Py_DECREF(errmsg);
1104 return 0;
1105 }
2f4c0a16
RD
1106}
1107
1108
1109SWIGSTATICINLINE(int)
1110SWIG_CheckDouble(PyObject* obj)
1111{
1112 SWIG_AsDouble(obj);
1113 if (PyErr_Occurred()) {
1114 PyErr_Clear();
1115 return 0;
1116 } else {
1117 return 1;
1118 }
8edf1c75
RD
1119}
1120
d14a1e28
RD
1121double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1122 double rv;
1123 self->Read(key, &rv, defaultVal);
1124 return rv;
1125 }
1126bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1127 bool rv;
1128 self->Read(key, &rv, defaultVal);
1129 return rv;
1130 }
1131
1132#include <wx/datetime.h>
1133
d14a1e28 1134
eb9b6107
RD
1135 static const wxString wxPyDateFormatStr(wxT("%c"));
1136 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
1137
1138#define LOCAL_TZ wxDateTime::Local
1139
8edf1c75 1140
2f4c0a16
RD
1141#if UINT_MAX < LONG_MAX
1142#define SWIG_FromUnsignedInt SWIG_FromLong
1143#else
1144#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1145#endif
8edf1c75 1146
d14a1e28
RD
1147wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1148wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1149wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1150wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1151wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
328fcd84
RD
1152bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1153bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1154bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1155bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1156bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1157bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1158int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1159 const wxChar* rv;
1160 const wxChar* _date = date;
1161 rv = self->ParseRfc822Date(_date);
1162 if (rv == NULL) return -1;
1163 return rv - _date;
1164 }
1165int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1166 const wxChar* rv;
1167 const wxChar* _date = date;
1168 rv = self->ParseFormat(_date, format, dateDef);
1169 if (rv == NULL) return -1;
1170 return rv - _date;
1171 }
1172int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1173 const wxChar* rv;
1174 const wxChar* _datetime = datetime;
1175 rv = self->ParseDateTime(_datetime);
1176 if (rv == NULL) return -1;
1177 return rv - _datetime;
1178 }
1179int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1180 const wxChar* rv;
1181 const wxChar* _date = date;
1182 rv = self->ParseDate(_date);
1183 if (rv == NULL) return -1;
1184 return rv - _date;
1185 }
1186int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1187 const wxChar* rv;
1188 const wxChar* _time = time;
1189 rv = self->ParseTime(_time);
1190 if (rv == NULL) return -1;
1191 return rv - _time;
1192 }
1193wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1194wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1195wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1196wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
328fcd84
RD
1197bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1198bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1199bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1200bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1201bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1202bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1203wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1204wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1205wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1206wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
328fcd84
RD
1207bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1208bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1209
1210#include <wx/dataobj.h>
1211
1212 // Create a new class for wxPython to use
1213class wxPyDataObjectSimple : public wxDataObjectSimple {
1214public:
1215 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1216 : wxDataObjectSimple(format) {}
1217
1218 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1219 bool GetDataHere(void *buf) const;
1220 bool SetData(size_t len, const void *buf) const;
1221 PYPRIVATE;
1222};
1223
1224IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1225
1226bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1227 // We need to get the data for this object and write it to buf. I think
1228 // the best way to do this for wxPython is to have the Python method
1229 // return either a string or None and then act appropriately with the
1230 // C++ version.
1231
423f194a 1232 bool rval = False;
4f89f6a3 1233 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1234 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1235 PyObject* ro;
1236 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1237 if (ro) {
1238 rval = (ro != Py_None && PyString_Check(ro));
1239 if (rval)
1240 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1241 Py_DECREF(ro);
1242 }
1243 }
4f89f6a3 1244 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1245 return rval;
1246}
1247
1248bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1249 // For this one we simply need to make a string from buf and len
1250 // and send it to the Python method.
423f194a 1251 bool rval = False;
4f89f6a3 1252 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1253 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1254 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1255 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1256 Py_DECREF(data);
1257 }
4f89f6a3 1258 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1259 return rval;
1260}
1261
1262 // Create a new class for wxPython to use
1263class wxPyTextDataObject : public wxTextDataObject {
1264public:
1265 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1266 : wxTextDataObject(text) {}
1267
1268 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1269 DEC_PYCALLBACK_STRING__const(GetText);
1270 DEC_PYCALLBACK__STRING(SetText);
1271 PYPRIVATE;
1272};
1273
1274IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1275IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1276IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1277
1278
1279 // Create a new class for wxPython to use
1280class wxPyBitmapDataObject : public wxBitmapDataObject {
1281public:
1282 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1283 : wxBitmapDataObject(bitmap) {}
1284
1285 wxBitmap GetBitmap() const;
1286 void SetBitmap(const wxBitmap& bitmap);
1287 PYPRIVATE;
1288};
1289
1290wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1291 wxBitmap* rval = &wxNullBitmap;
4f89f6a3 1292 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1293 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1294 PyObject* ro;
1295 wxBitmap* ptr;
1296 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1297 if (ro) {
1298 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1299 rval = ptr;
1300 Py_DECREF(ro);
1301 }
1302 }
4f89f6a3 1303 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1304 return *rval;
1305}
1306
1307void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
4f89f6a3 1308 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1309 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1310 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1311 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1312 Py_DECREF(bo);
1313 }
4f89f6a3 1314 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1315}
1316
1317void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1318 if (PyString_Check(data)) {
1319 // for Python we just call SetData here since we always need it to make a copy.
1320 self->SetData(PyString_Size(data), PyString_AsString(data));
1321 }
1322 else {
1323 // raise a TypeError if not a string
1324 PyErr_SetString(PyExc_TypeError, "String expected.");
1325 }
1326 }
1327bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1328 if (PyString_Check(data)) {
1329 return self->SetData(PyString_Size(data), PyString_AsString(data));
1330 }
1331 else {
1332 // raise a TypeError if not a string
1333 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1334 return False;
d14a1e28
RD
1335 }
1336 }
1337PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1338 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1339 }
1340
83448d71 1341#include <wx/metafile.h>
d14a1e28
RD
1342
1343
d14a1e28
RD
1344IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1345
1346
d14a1e28
RD
1347IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1348IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1349IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1350IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1351IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1352
1353
d14a1e28
RD
1354class wxPyTextDropTarget : public wxTextDropTarget {
1355public:
1356 wxPyTextDropTarget() {}
1357
1358 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1359
1360 DEC_PYCALLBACK__(OnLeave);
1361 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1362 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1364 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1365
1366 PYPRIVATE;
1367};
1368
1369IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1370IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1371IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1372IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1373IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1374IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1375
1376
1377
1378class wxPyFileDropTarget : public wxFileDropTarget {
1379public:
1380 wxPyFileDropTarget() {}
1381
1382 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1383
1384 DEC_PYCALLBACK__(OnLeave);
1385 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1386 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1388 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1389
1390 PYPRIVATE;
1391};
1392
1393bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1394 const wxArrayString& filenames) {
423f194a 1395 bool rval = False;
4f89f6a3 1396 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1397 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1398 PyObject* list = wxArrayString2PyList_helper(filenames);
1399 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1400 Py_DECREF(list);
1401 }
4f89f6a3 1402 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1403 return rval;
1404}
1405
1406
1407
1408IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1409IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1410IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1411IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1412IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1413
1414
1415
1416
1417bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
fe763115
RD
1418
1419#include "wx/display.h"
1420
1421bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1422bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1423PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1424 PyObject* pyList = NULL;
1425 wxArrayVideoModes arr = self->GetModes(mode);
4f89f6a3 1426 bool blocked = wxPyBeginBlockThreads();
fe763115
RD
1427 pyList = PyList_New(0);
1428 for (int i=0; i < arr.GetCount(); i++) {
1429 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1430 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1431 PyList_Append(pyList, pyObj);
1432 }
4f89f6a3 1433 wxPyEndBlockThreads(blocked);
fe763115
RD
1434 return pyList;
1435 }
d14a1e28
RD
1436#ifdef __cplusplus
1437extern "C" {
1438#endif
1439static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 int arg1 ;
1442 wxColour result;
8edf1c75 1443 PyObject * obj0 = 0 ;
d14a1e28
RD
1444 char *kwnames[] = {
1445 (char *) "index", NULL
1446 };
1447
8edf1c75 1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1449 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1451 {
1452 PyThreadState* __tstate = wxPyBeginAllowThreads();
1453 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1454
1455 wxPyEndAllowThreads(__tstate);
1456 if (PyErr_Occurred()) SWIG_fail;
1457 }
1458 {
1459 wxColour * resultptr;
1460 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1462 }
1463 return resultobj;
1464 fail:
1465 return NULL;
1466}
1467
1468
1469static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject *resultobj;
1471 int arg1 ;
1472 wxFont result;
8edf1c75 1473 PyObject * obj0 = 0 ;
d14a1e28
RD
1474 char *kwnames[] = {
1475 (char *) "index", NULL
1476 };
1477
8edf1c75 1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1479 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) SWIG_fail;
1487 }
1488 {
1489 wxFont * resultptr;
1490 resultptr = new wxFont((wxFont &) result);
2f4c0a16 1491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
1492 }
1493 return resultobj;
1494 fail:
1495 return NULL;
1496}
1497
1498
1499static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 int arg1 ;
1502 int result;
8edf1c75 1503 PyObject * obj0 = 0 ;
d14a1e28
RD
1504 char *kwnames[] = {
1505 (char *) "index", NULL
1506 };
1507
8edf1c75 1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1509 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1511 {
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1514
1515 wxPyEndAllowThreads(__tstate);
1516 if (PyErr_Occurred()) SWIG_fail;
1517 }
2f4c0a16 1518 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1519 return resultobj;
1520 fail:
1521 return NULL;
1522}
1523
1524
1525static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject *resultobj;
1527 int arg1 ;
1528 bool result;
8edf1c75 1529 PyObject * obj0 = 0 ;
d14a1e28
RD
1530 char *kwnames[] = {
1531 (char *) "index", NULL
1532 };
1533
8edf1c75 1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1535 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1540
1541 wxPyEndAllowThreads(__tstate);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
4f89f6a3
RD
1544 {
1545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1546 }
d14a1e28
RD
1547 return resultobj;
1548 fail:
1549 return NULL;
1550}
1551
1552
1553static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 int result;
1556 char *kwnames[] = {
1557 NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1561 {
1562 PyThreadState* __tstate = wxPyBeginAllowThreads();
1563 result = (int)wxSystemSettings::GetScreenType();
1564
1565 wxPyEndAllowThreads(__tstate);
1566 if (PyErr_Occurred()) SWIG_fail;
1567 }
2f4c0a16 1568 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1569 return resultobj;
1570 fail:
1571 return NULL;
1572}
1573
1574
1575static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject *resultobj;
1577 int arg1 ;
8edf1c75 1578 PyObject * obj0 = 0 ;
d14a1e28
RD
1579 char *kwnames[] = {
1580 (char *) "screen", NULL
1581 };
1582
8edf1c75 1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1584 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1586 {
1587 PyThreadState* __tstate = wxPyBeginAllowThreads();
1588 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1589
1590 wxPyEndAllowThreads(__tstate);
1591 if (PyErr_Occurred()) SWIG_fail;
1592 }
1593 Py_INCREF(Py_None); resultobj = Py_None;
1594 return resultobj;
1595 fail:
1596 return NULL;
1597}
1598
1599
1600static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1601 PyObject *obj;
1602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1603 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1604 Py_INCREF(obj);
1605 return Py_BuildValue((char *)"");
1606}
1607static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject *resultobj;
1609 wxSystemOptions *result;
1610 char *kwnames[] = {
1611 NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (wxSystemOptions *)new wxSystemOptions();
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
2f4c0a16 1622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
1623 return resultobj;
1624 fail:
1625 return NULL;
1626}
1627
1628
1629static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxString *arg1 = 0 ;
1632 wxString *arg2 = 0 ;
423f194a
RD
1633 bool temp1 = False ;
1634 bool temp2 = False ;
d14a1e28
RD
1635 PyObject * obj0 = 0 ;
1636 PyObject * obj1 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "name",(char *) "value", NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1642 {
1643 arg1 = wxString_in_helper(obj0);
1644 if (arg1 == NULL) SWIG_fail;
423f194a 1645 temp1 = True;
d14a1e28
RD
1646 }
1647 {
1648 arg2 = wxString_in_helper(obj1);
1649 if (arg2 == NULL) SWIG_fail;
423f194a 1650 temp2 = True;
d14a1e28
RD
1651 }
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 Py_INCREF(Py_None); resultobj = Py_None;
1660 {
1661 if (temp1)
1662 delete arg1;
1663 }
1664 {
1665 if (temp2)
1666 delete arg2;
1667 }
1668 return resultobj;
1669 fail:
1670 {
1671 if (temp1)
1672 delete arg1;
1673 }
1674 {
1675 if (temp2)
1676 delete arg2;
1677 }
1678 return NULL;
1679}
1680
1681
1682static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxString *arg1 = 0 ;
1685 int arg2 ;
423f194a 1686 bool temp1 = False ;
d14a1e28 1687 PyObject * obj0 = 0 ;
8edf1c75 1688 PyObject * obj1 = 0 ;
d14a1e28
RD
1689 char *kwnames[] = {
1690 (char *) "name",(char *) "value", NULL
1691 };
1692
8edf1c75 1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1694 {
1695 arg1 = wxString_in_helper(obj0);
1696 if (arg1 == NULL) SWIG_fail;
423f194a 1697 temp1 = True;
d14a1e28 1698 }
2f4c0a16
RD
1699 arg2 = (int) SWIG_AsInt(obj1);
1700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1701 {
1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
1703 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1704
1705 wxPyEndAllowThreads(__tstate);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 Py_INCREF(Py_None); resultobj = Py_None;
1709 {
1710 if (temp1)
1711 delete arg1;
1712 }
1713 return resultobj;
1714 fail:
1715 {
1716 if (temp1)
1717 delete arg1;
1718 }
1719 return NULL;
1720}
1721
1722
1723static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject *resultobj;
1725 wxString *arg1 = 0 ;
1726 wxString result;
423f194a 1727 bool temp1 = False ;
d14a1e28
RD
1728 PyObject * obj0 = 0 ;
1729 char *kwnames[] = {
1730 (char *) "name", NULL
1731 };
1732
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1734 {
1735 arg1 = wxString_in_helper(obj0);
1736 if (arg1 == NULL) SWIG_fail;
423f194a 1737 temp1 = True;
d14a1e28
RD
1738 }
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 {
1747#if wxUSE_UNICODE
1748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1749#else
1750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1751#endif
1752 }
1753 {
1754 if (temp1)
1755 delete arg1;
1756 }
1757 return resultobj;
1758 fail:
1759 {
1760 if (temp1)
1761 delete arg1;
1762 }
1763 return NULL;
1764}
1765
1766
1767static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxString *arg1 = 0 ;
1770 int result;
423f194a 1771 bool temp1 = False ;
d14a1e28
RD
1772 PyObject * obj0 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "name", NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1778 {
1779 arg1 = wxString_in_helper(obj0);
1780 if (arg1 == NULL) SWIG_fail;
423f194a 1781 temp1 = True;
d14a1e28
RD
1782 }
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
2f4c0a16 1790 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1791 {
1792 if (temp1)
1793 delete arg1;
1794 }
1795 return resultobj;
1796 fail:
1797 {
1798 if (temp1)
1799 delete arg1;
1800 }
1801 return NULL;
1802}
1803
1804
1805static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxString *arg1 = 0 ;
1808 bool result;
423f194a 1809 bool temp1 = False ;
d14a1e28
RD
1810 PyObject * obj0 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "name", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1816 {
1817 arg1 = wxString_in_helper(obj0);
1818 if (arg1 == NULL) SWIG_fail;
423f194a 1819 temp1 = True;
d14a1e28
RD
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
4f89f6a3
RD
1828 {
1829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1830 }
d14a1e28
RD
1831 {
1832 if (temp1)
1833 delete arg1;
1834 }
1835 return resultobj;
1836 fail:
1837 {
1838 if (temp1)
1839 delete arg1;
1840 }
1841 return NULL;
1842}
1843
1844
1845static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1846 PyObject *obj;
1847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1848 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1849 Py_INCREF(obj);
1850 return Py_BuildValue((char *)"");
1851}
2f4c0a16 1852static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
d03fd34d
RD
1853 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1854 return 1;
1855}
1856
1857
1858static PyObject *_wrap_FileSelectorPromptStr_get() {
1859 PyObject *pyobj;
1860
1861 {
1862#if wxUSE_UNICODE
1863 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1864#else
1865 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1866#endif
1867 }
1868 return pyobj;
1869}
1870
1871
2f4c0a16 1872static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
d03fd34d
RD
1873 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1874 return 1;
1875}
1876
1877
1878static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1879 PyObject *pyobj;
1880
1881 {
1882#if wxUSE_UNICODE
1883 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1884#else
1885 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1886#endif
1887 }
1888 return pyobj;
1889}
1890
1891
2f4c0a16 1892static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
d03fd34d
RD
1893 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1894 return 1;
1895}
1896
1897
1898static PyObject *_wrap_DirSelectorPromptStr_get() {
1899 PyObject *pyobj;
1900
1901 {
1902#if wxUSE_UNICODE
1903 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1904#else
1905 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1906#endif
1907 }
1908 return pyobj;
1909}
1910
1911
d14a1e28
RD
1912static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1913 PyObject *resultobj;
1914 long result;
1915 char *kwnames[] = {
1916 NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 result = (long)wxNewId();
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
2f4c0a16 1927 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1928 return resultobj;
1929 fail:
1930 return NULL;
1931}
1932
1933
1934static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 long arg1 ;
8edf1c75 1937 PyObject * obj0 = 0 ;
d14a1e28
RD
1938 char *kwnames[] = {
1939 (char *) "id", NULL
1940 };
1941
8edf1c75 1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1943 arg1 = (long) SWIG_AsLong(obj0);
1944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 wxRegisterId(arg1);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 Py_INCREF(Py_None); resultobj = Py_None;
1953 return resultobj;
1954 fail:
1955 return NULL;
1956}
1957
1958
1959static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 long result;
1962 char *kwnames[] = {
1963 NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 result = (long)wxGetCurrentId();
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
2f4c0a16 1974 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1975 return resultobj;
1976 fail:
1977 return NULL;
1978}
1979
1980
1981static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 char *kwnames[] = {
1984 NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 wxBell();
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 Py_INCREF(Py_None); resultobj = Py_None;
1996 return resultobj;
1997 fail:
1998 return NULL;
1999}
2000
2001
2002static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 char *kwnames[] = {
2005 NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2009 {
2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
2011 wxEndBusyCursor();
2012
2013 wxPyEndAllowThreads(__tstate);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 }
2016 Py_INCREF(Py_None); resultobj = Py_None;
2017 return resultobj;
2018 fail:
2019 return NULL;
2020}
2021
2022
2023static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2024 PyObject *resultobj;
423f194a 2025 bool arg1 = (bool) True ;
d14a1e28
RD
2026 long result;
2027 PyObject * obj0 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "resetTimer", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2033 if (obj0) {
2f4c0a16
RD
2034 arg1 = (bool) SWIG_AsBool(obj0);
2035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2036 }
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (long)wxGetElapsedTime(arg1);
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2f4c0a16 2044 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2045 return resultobj;
2046 fail:
2047 return NULL;
2048}
2049
2050
2051static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject *resultobj;
2053 int *arg1 = (int *) 0 ;
2054 int *arg2 = (int *) 0 ;
2055 int temp1 ;
2056 int temp2 ;
2057 char *kwnames[] = {
2058 NULL
2059 };
2060
2061 arg1 = &temp1;
2062 arg2 = &temp2;
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 wxGetMousePosition(arg1,arg2);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 Py_INCREF(Py_None); resultobj = Py_None;
2072 {
2073 PyObject *o = PyInt_FromLong((long) (*arg1));
2074 resultobj = t_output_helper(resultobj,o);
2075 }
2076 {
2077 PyObject *o = PyInt_FromLong((long) (*arg2));
2078 resultobj = t_output_helper(resultobj,o);
2079 }
2080 return resultobj;
2081 fail:
2082 return NULL;
2083}
2084
2085
2086static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 bool result;
2089 char *kwnames[] = {
2090 NULL
2091 };
2092
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2094 {
2095 PyThreadState* __tstate = wxPyBeginAllowThreads();
2096 result = (bool)wxIsBusy();
2097
2098 wxPyEndAllowThreads(__tstate);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 }
4f89f6a3
RD
2101 {
2102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2103 }
d14a1e28
RD
2104 return resultobj;
2105 fail:
2106 return NULL;
2107}
2108
2109
2110static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject *resultobj;
2112 wxString result;
2113 char *kwnames[] = {
2114 NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = wxNow();
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 {
2126#if wxUSE_UNICODE
2127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2128#else
2129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2130#endif
2131 }
2132 return resultobj;
2133 fail:
2134 return NULL;
2135}
2136
2137
2138static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject *resultobj;
2140 wxString const &arg1_defvalue = wxPyEmptyString ;
2141 wxString *arg1 = (wxString *) &arg1_defvalue ;
2142 bool result;
423f194a 2143 bool temp1 = False ;
d14a1e28
RD
2144 PyObject * obj0 = 0 ;
2145 char *kwnames[] = {
2146 (char *) "command", NULL
2147 };
2148
2149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2150 if (obj0) {
2151 {
2152 arg1 = wxString_in_helper(obj0);
2153 if (arg1 == NULL) SWIG_fail;
423f194a 2154 temp1 = True;
d14a1e28
RD
2155 }
2156 }
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 result = (bool)wxShell((wxString const &)*arg1);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
4f89f6a3
RD
2164 {
2165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2166 }
d14a1e28
RD
2167 {
2168 if (temp1)
2169 delete arg1;
2170 }
2171 return resultobj;
2172 fail:
2173 {
2174 if (temp1)
2175 delete arg1;
2176 }
2177 return NULL;
2178}
2179
2180
2181static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 char *kwnames[] = {
2184 NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 wxStartTimer();
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
2195 Py_INCREF(Py_None); resultobj = Py_None;
2196 return resultobj;
2197 fail:
2198 return NULL;
2199}
2200
2201
2202static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 int *arg1 = (int *) 0 ;
2205 int *arg2 = (int *) 0 ;
2206 int result;
2207 int temp1 ;
2208 int temp2 ;
2209 char *kwnames[] = {
2210 NULL
2211 };
2212
2213 arg1 = &temp1;
2214 arg2 = &temp2;
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 result = (int)wxGetOsVersion(arg1,arg2);
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2f4c0a16 2223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2224 {
2225 PyObject *o = PyInt_FromLong((long) (*arg1));
2226 resultobj = t_output_helper(resultobj,o);
2227 }
2228 {
2229 PyObject *o = PyInt_FromLong((long) (*arg2));
2230 resultobj = t_output_helper(resultobj,o);
2231 }
2232 return resultobj;
2233 fail:
2234 return NULL;
2235}
2236
2237
2238static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 wxString result;
2241 char *kwnames[] = {
2242 NULL
2243 };
2244
2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 result = wxGetOsDescription();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 {
2254#if wxUSE_UNICODE
2255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2256#else
2257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2258#endif
2259 }
2260 return resultobj;
2261 fail:
2262 return NULL;
2263}
2264
2265
2266static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject *resultobj;
2268 long result;
2269 char *kwnames[] = {
2270 NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 result = (long)wxGetFreeMemory();
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2f4c0a16 2281 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2282 return resultobj;
2283 fail:
2284 return NULL;
2285}
2286
2287
2288static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 int arg1 ;
2291 bool result;
8edf1c75 2292 PyObject * obj0 = 0 ;
d14a1e28
RD
2293 char *kwnames[] = {
2294 (char *) "wFlags", NULL
2295 };
2296
8edf1c75 2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2298 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
4f89f6a3
RD
2307 {
2308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2309 }
d14a1e28
RD
2310 return resultobj;
2311 fail:
2312 return NULL;
2313}
2314
2315
2316static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 int arg1 ;
8edf1c75 2319 PyObject * obj0 = 0 ;
d14a1e28
RD
2320 char *kwnames[] = {
2321 (char *) "secs", NULL
2322 };
2323
8edf1c75 2324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2325 arg1 = (int) SWIG_AsInt(obj0);
2326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 wxSleep(arg1);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338}
2339
2340
2341static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 unsigned long arg1 ;
2344 PyObject * obj0 = 0 ;
2345 char *kwnames[] = {
2346 (char *) "milliseconds", NULL
2347 };
2348
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2350 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
2354 wxUsleep(arg1);
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 }
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363}
2364
2365
2366static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2367 PyObject *resultobj;
2368 bool arg1 ;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "enable", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2375 arg1 = (bool) SWIG_AsBool(obj0);
2376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 wxEnableTopLevelWindows(arg1);
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 Py_INCREF(Py_None); resultobj = Py_None;
2385 return resultobj;
2386 fail:
2387 return NULL;
2388}
2389
2390
2391static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxString *arg1 = 0 ;
2394 wxString result;
423f194a 2395 bool temp1 = False ;
d14a1e28
RD
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "in", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2402 {
2403 arg1 = wxString_in_helper(obj0);
2404 if (arg1 == NULL) SWIG_fail;
423f194a 2405 temp1 = True;
d14a1e28
RD
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = wxStripMenuCodes((wxString const &)*arg1);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 {
2415#if wxUSE_UNICODE
2416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2417#else
2418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2419#endif
2420 }
2421 {
2422 if (temp1)
2423 delete arg1;
2424 }
2425 return resultobj;
2426 fail:
2427 {
2428 if (temp1)
2429 delete arg1;
2430 }
2431 return NULL;
2432}
2433
2434
2435static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject *resultobj;
2437 wxString result;
2438 char *kwnames[] = {
2439 NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 result = wxGetEmailAddress();
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 {
2451#if wxUSE_UNICODE
2452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2453#else
2454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2455#endif
2456 }
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
2463static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxString result;
2466 char *kwnames[] = {
2467 NULL
2468 };
2469
2470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = wxGetHostName();
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 {
2479#if wxUSE_UNICODE
2480 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2481#else
2482 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2483#endif
2484 }
2485 return resultobj;
2486 fail:
2487 return NULL;
2488}
2489
2490
2491static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxString result;
2494 char *kwnames[] = {
2495 NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = wxGetFullHostName();
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 {
2507#if wxUSE_UNICODE
2508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2509#else
2510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2511#endif
2512 }
2513 return resultobj;
2514 fail:
2515 return NULL;
2516}
2517
2518
2519static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject *resultobj;
2521 wxString result;
2522 char *kwnames[] = {
2523 NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 result = wxGetUserId();
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 {
2535#if wxUSE_UNICODE
2536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2537#else
2538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2539#endif
2540 }
2541 return resultobj;
2542 fail:
2543 return NULL;
2544}
2545
2546
2547static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2548 PyObject *resultobj;
2549 wxString result;
2550 char *kwnames[] = {
2551 NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2555 {
2556 PyThreadState* __tstate = wxPyBeginAllowThreads();
2557 result = wxGetUserName();
2558
2559 wxPyEndAllowThreads(__tstate);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 {
2563#if wxUSE_UNICODE
2564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2565#else
2566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2567#endif
2568 }
2569 return resultobj;
2570 fail:
2571 return NULL;
2572}
2573
2574
2575static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject *resultobj;
2577 wxString result;
2578 char *kwnames[] = {
2579 NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2583 {
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = wxGetHomeDir();
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 {
2591#if wxUSE_UNICODE
2592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2593#else
2594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2595#endif
2596 }
2597 return resultobj;
2598 fail:
2599 return NULL;
2600}
2601
2602
2603static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxString const &arg1_defvalue = wxPyEmptyString ;
2606 wxString *arg1 = (wxString *) &arg1_defvalue ;
2607 wxString result;
423f194a 2608 bool temp1 = False ;
d14a1e28
RD
2609 PyObject * obj0 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "user", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2615 if (obj0) {
2616 {
2617 arg1 = wxString_in_helper(obj0);
2618 if (arg1 == NULL) SWIG_fail;
423f194a 2619 temp1 = True;
d14a1e28
RD
2620 }
2621 }
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = wxGetUserHome((wxString const &)*arg1);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 {
2630#if wxUSE_UNICODE
2631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2632#else
2633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2634#endif
2635 }
2636 {
2637 if (temp1)
2638 delete arg1;
2639 }
2640 return resultobj;
2641 fail:
2642 {
2643 if (temp1)
2644 delete arg1;
2645 }
2646 return NULL;
2647}
2648
2649
2650static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 unsigned long result;
2653 char *kwnames[] = {
2654 NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 result = (unsigned long)wxGetProcessId();
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2f4c0a16 2665 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2666 return resultobj;
2667 fail:
2668 return NULL;
2669}
2670
2671
2672static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 char *kwnames[] = {
2675 NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 wxTrap();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 Py_INCREF(Py_None); resultobj = Py_None;
2687 return resultobj;
2688 fail:
2689 return NULL;
2690}
2691
2692
2693static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2696 wxString *arg1 = (wxString *) &arg1_defvalue ;
2697 wxString const &arg2_defvalue = wxPyEmptyString ;
2698 wxString *arg2 = (wxString *) &arg2_defvalue ;
2699 wxString const &arg3_defvalue = wxPyEmptyString ;
2700 wxString *arg3 = (wxString *) &arg3_defvalue ;
2701 wxString const &arg4_defvalue = wxPyEmptyString ;
2702 wxString *arg4 = (wxString *) &arg4_defvalue ;
2703 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2704 wxString *arg5 = (wxString *) &arg5_defvalue ;
2705 int arg6 = (int) 0 ;
2706 wxWindow *arg7 = (wxWindow *) NULL ;
2707 int arg8 = (int) -1 ;
2708 int arg9 = (int) -1 ;
2709 wxString result;
423f194a
RD
2710 bool temp1 = False ;
2711 bool temp2 = False ;
2712 bool temp3 = False ;
2713 bool temp4 = False ;
2714 bool temp5 = False ;
d14a1e28
RD
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 PyObject * obj2 = 0 ;
2718 PyObject * obj3 = 0 ;
2719 PyObject * obj4 = 0 ;
8edf1c75 2720 PyObject * obj5 = 0 ;
d14a1e28 2721 PyObject * obj6 = 0 ;
8edf1c75
RD
2722 PyObject * obj7 = 0 ;
2723 PyObject * obj8 = 0 ;
d14a1e28
RD
2724 char *kwnames[] = {
2725 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2726 };
2727
8edf1c75 2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2729 if (obj0) {
2730 {
2731 arg1 = wxString_in_helper(obj0);
2732 if (arg1 == NULL) SWIG_fail;
423f194a 2733 temp1 = True;
d14a1e28
RD
2734 }
2735 }
2736 if (obj1) {
2737 {
2738 arg2 = wxString_in_helper(obj1);
2739 if (arg2 == NULL) SWIG_fail;
423f194a 2740 temp2 = True;
d14a1e28
RD
2741 }
2742 }
2743 if (obj2) {
2744 {
2745 arg3 = wxString_in_helper(obj2);
2746 if (arg3 == NULL) SWIG_fail;
423f194a 2747 temp3 = True;
d14a1e28
RD
2748 }
2749 }
2750 if (obj3) {
2751 {
2752 arg4 = wxString_in_helper(obj3);
2753 if (arg4 == NULL) SWIG_fail;
423f194a 2754 temp4 = True;
d14a1e28
RD
2755 }
2756 }
2757 if (obj4) {
2758 {
2759 arg5 = wxString_in_helper(obj4);
2760 if (arg5 == NULL) SWIG_fail;
423f194a 2761 temp5 = True;
d14a1e28
RD
2762 }
2763 }
8edf1c75 2764 if (obj5) {
2f4c0a16
RD
2765 arg6 = (int) SWIG_AsInt(obj5);
2766 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2767 }
d14a1e28 2768 if (obj6) {
2f4c0a16
RD
2769 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2771 }
8edf1c75 2772 if (obj7) {
2f4c0a16
RD
2773 arg8 = (int) SWIG_AsInt(obj7);
2774 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2775 }
2776 if (obj8) {
2f4c0a16
RD
2777 arg9 = (int) SWIG_AsInt(obj8);
2778 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2779 }
d14a1e28
RD
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788#if wxUSE_UNICODE
2789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2790#else
2791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2792#endif
2793 }
2794 {
2795 if (temp1)
2796 delete arg1;
2797 }
2798 {
2799 if (temp2)
2800 delete arg2;
2801 }
2802 {
2803 if (temp3)
2804 delete arg3;
2805 }
2806 {
2807 if (temp4)
2808 delete arg4;
2809 }
2810 {
2811 if (temp5)
2812 delete arg5;
2813 }
2814 return resultobj;
2815 fail:
2816 {
2817 if (temp1)
2818 delete arg1;
2819 }
2820 {
2821 if (temp2)
2822 delete arg2;
2823 }
2824 {
2825 if (temp3)
2826 delete arg3;
2827 }
2828 {
2829 if (temp4)
2830 delete arg4;
2831 }
2832 {
2833 if (temp5)
2834 delete arg5;
2835 }
2836 return NULL;
2837}
2838
2839
2840static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxString *arg1 = 0 ;
2843 wxString *arg2 = 0 ;
2844 wxString const &arg3_defvalue = wxPyEmptyString ;
2845 wxString *arg3 = (wxString *) &arg3_defvalue ;
2846 wxWindow *arg4 = (wxWindow *) NULL ;
2847 wxString result;
423f194a
RD
2848 bool temp1 = False ;
2849 bool temp2 = False ;
2850 bool temp3 = False ;
d14a1e28
RD
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2853 PyObject * obj2 = 0 ;
2854 PyObject * obj3 = 0 ;
2855 char *kwnames[] = {
2856 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2857 };
2858
2859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2860 {
2861 arg1 = wxString_in_helper(obj0);
2862 if (arg1 == NULL) SWIG_fail;
423f194a 2863 temp1 = True;
d14a1e28
RD
2864 }
2865 {
2866 arg2 = wxString_in_helper(obj1);
2867 if (arg2 == NULL) SWIG_fail;
423f194a 2868 temp2 = True;
d14a1e28
RD
2869 }
2870 if (obj2) {
2871 {
2872 arg3 = wxString_in_helper(obj2);
2873 if (arg3 == NULL) SWIG_fail;
423f194a 2874 temp3 = True;
d14a1e28
RD
2875 }
2876 }
2877 if (obj3) {
2f4c0a16
RD
2878 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2880 }
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 {
2889#if wxUSE_UNICODE
2890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2891#else
2892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2893#endif
2894 }
2895 {
2896 if (temp1)
2897 delete arg1;
2898 }
2899 {
2900 if (temp2)
2901 delete arg2;
2902 }
2903 {
2904 if (temp3)
2905 delete arg3;
2906 }
2907 return resultobj;
2908 fail:
2909 {
2910 if (temp1)
2911 delete arg1;
2912 }
2913 {
2914 if (temp2)
2915 delete arg2;
2916 }
2917 {
2918 if (temp3)
2919 delete arg3;
2920 }
2921 return NULL;
2922}
2923
2924
2925static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxString *arg1 = 0 ;
2928 wxString *arg2 = 0 ;
2929 wxString const &arg3_defvalue = wxPyEmptyString ;
2930 wxString *arg3 = (wxString *) &arg3_defvalue ;
2931 wxWindow *arg4 = (wxWindow *) NULL ;
2932 wxString result;
423f194a
RD
2933 bool temp1 = False ;
2934 bool temp2 = False ;
2935 bool temp3 = False ;
d14a1e28
RD
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 PyObject * obj2 = 0 ;
2939 PyObject * obj3 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2945 {
2946 arg1 = wxString_in_helper(obj0);
2947 if (arg1 == NULL) SWIG_fail;
423f194a 2948 temp1 = True;
d14a1e28
RD
2949 }
2950 {
2951 arg2 = wxString_in_helper(obj1);
2952 if (arg2 == NULL) SWIG_fail;
423f194a 2953 temp2 = True;
d14a1e28
RD
2954 }
2955 if (obj2) {
2956 {
2957 arg3 = wxString_in_helper(obj2);
2958 if (arg3 == NULL) SWIG_fail;
423f194a 2959 temp3 = True;
d14a1e28
RD
2960 }
2961 }
2962 if (obj3) {
2f4c0a16
RD
2963 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2965 }
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974#if wxUSE_UNICODE
2975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2976#else
2977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2978#endif
2979 }
2980 {
2981 if (temp1)
2982 delete arg1;
2983 }
2984 {
2985 if (temp2)
2986 delete arg2;
2987 }
2988 {
2989 if (temp3)
2990 delete arg3;
2991 }
2992 return resultobj;
2993 fail:
2994 {
2995 if (temp1)
2996 delete arg1;
2997 }
2998 {
2999 if (temp2)
3000 delete arg2;
3001 }
3002 {
3003 if (temp3)
3004 delete arg3;
3005 }
3006 return NULL;
3007}
3008
3009
3010static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3013 wxString *arg1 = (wxString *) &arg1_defvalue ;
3014 wxString const &arg2_defvalue = wxPyEmptyString ;
3015 wxString *arg2 = (wxString *) &arg2_defvalue ;
3016 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3017 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3018 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3019 wxWindow *arg5 = (wxWindow *) NULL ;
3020 wxString result;
423f194a
RD
3021 bool temp1 = False ;
3022 bool temp2 = False ;
d14a1e28
RD
3023 wxPoint temp4 ;
3024 PyObject * obj0 = 0 ;
3025 PyObject * obj1 = 0 ;
8edf1c75 3026 PyObject * obj2 = 0 ;
d14a1e28
RD
3027 PyObject * obj3 = 0 ;
3028 PyObject * obj4 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3031 };
3032
8edf1c75 3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
3034 if (obj0) {
3035 {
3036 arg1 = wxString_in_helper(obj0);
3037 if (arg1 == NULL) SWIG_fail;
423f194a 3038 temp1 = True;
d14a1e28
RD
3039 }
3040 }
3041 if (obj1) {
3042 {
3043 arg2 = wxString_in_helper(obj1);
3044 if (arg2 == NULL) SWIG_fail;
423f194a 3045 temp2 = True;
d14a1e28
RD
3046 }
3047 }
8edf1c75 3048 if (obj2) {
2f4c0a16
RD
3049 arg3 = (long) SWIG_AsLong(obj2);
3050 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3051 }
d14a1e28
RD
3052 if (obj3) {
3053 {
3054 arg4 = &temp4;
3055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3056 }
3057 }
3058 if (obj4) {
2f4c0a16
RD
3059 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3061 }
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 {
3070#if wxUSE_UNICODE
3071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3072#else
3073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3074#endif
3075 }
3076 {
3077 if (temp1)
3078 delete arg1;
3079 }
3080 {
3081 if (temp2)
3082 delete arg2;
3083 }
3084 return resultobj;
3085 fail:
3086 {
3087 if (temp1)
3088 delete arg1;
3089 }
3090 {
3091 if (temp2)
3092 delete arg2;
3093 }
3094 return NULL;
3095}
3096
3097
3098static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxString *arg1 = 0 ;
3101 wxString const &arg2_defvalue = wxPyEmptyString ;
3102 wxString *arg2 = (wxString *) &arg2_defvalue ;
3103 wxString const &arg3_defvalue = wxPyEmptyString ;
3104 wxString *arg3 = (wxString *) &arg3_defvalue ;
3105 wxWindow *arg4 = (wxWindow *) NULL ;
3106 int arg5 = (int) -1 ;
3107 int arg6 = (int) -1 ;
423f194a 3108 bool arg7 = (bool) True ;
d14a1e28 3109 wxString result;
423f194a
RD
3110 bool temp1 = False ;
3111 bool temp2 = False ;
3112 bool temp3 = False ;
d14a1e28
RD
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 PyObject * obj2 = 0 ;
3116 PyObject * obj3 = 0 ;
8edf1c75
RD
3117 PyObject * obj4 = 0 ;
3118 PyObject * obj5 = 0 ;
d14a1e28
RD
3119 PyObject * obj6 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3122 };
3123
8edf1c75 3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
3125 {
3126 arg1 = wxString_in_helper(obj0);
3127 if (arg1 == NULL) SWIG_fail;
423f194a 3128 temp1 = True;
d14a1e28
RD
3129 }
3130 if (obj1) {
3131 {
3132 arg2 = wxString_in_helper(obj1);
3133 if (arg2 == NULL) SWIG_fail;
423f194a 3134 temp2 = True;
d14a1e28
RD
3135 }
3136 }
3137 if (obj2) {
3138 {
3139 arg3 = wxString_in_helper(obj2);
3140 if (arg3 == NULL) SWIG_fail;
423f194a 3141 temp3 = True;
d14a1e28
RD
3142 }
3143 }
3144 if (obj3) {
2f4c0a16
RD
3145 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3147 }
8edf1c75 3148 if (obj4) {
2f4c0a16
RD
3149 arg5 = (int) SWIG_AsInt(obj4);
3150 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3151 }
3152 if (obj5) {
2f4c0a16
RD
3153 arg6 = (int) SWIG_AsInt(obj5);
3154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3155 }
d14a1e28 3156 if (obj6) {
2f4c0a16
RD
3157 arg7 = (bool) SWIG_AsBool(obj6);
3158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 {
3168#if wxUSE_UNICODE
3169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3170#else
3171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3172#endif
3173 }
3174 {
3175 if (temp1)
3176 delete arg1;
3177 }
3178 {
3179 if (temp2)
3180 delete arg2;
3181 }
3182 {
3183 if (temp3)
3184 delete arg3;
3185 }
3186 return resultobj;
3187 fail:
3188 {
3189 if (temp1)
3190 delete arg1;
3191 }
3192 {
3193 if (temp2)
3194 delete arg2;
3195 }
3196 {
3197 if (temp3)
3198 delete arg3;
3199 }
3200 return NULL;
3201}
3202
3203
3204static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxString *arg1 = 0 ;
3207 wxString const &arg2_defvalue = wxPyEmptyString ;
3208 wxString *arg2 = (wxString *) &arg2_defvalue ;
3209 wxString const &arg3_defvalue = wxPyEmptyString ;
3210 wxString *arg3 = (wxString *) &arg3_defvalue ;
3211 wxWindow *arg4 = (wxWindow *) NULL ;
3212 wxString result;
423f194a
RD
3213 bool temp1 = False ;
3214 bool temp2 = False ;
3215 bool temp3 = False ;
d14a1e28
RD
3216 PyObject * obj0 = 0 ;
3217 PyObject * obj1 = 0 ;
3218 PyObject * obj2 = 0 ;
3219 PyObject * obj3 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3225 {
3226 arg1 = wxString_in_helper(obj0);
3227 if (arg1 == NULL) SWIG_fail;
423f194a 3228 temp1 = True;
d14a1e28
RD
3229 }
3230 if (obj1) {
3231 {
3232 arg2 = wxString_in_helper(obj1);
3233 if (arg2 == NULL) SWIG_fail;
423f194a 3234 temp2 = True;
d14a1e28
RD
3235 }
3236 }
3237 if (obj2) {
3238 {
3239 arg3 = wxString_in_helper(obj2);
3240 if (arg3 == NULL) SWIG_fail;
423f194a 3241 temp3 = True;
d14a1e28
RD
3242 }
3243 }
3244 if (obj3) {
2f4c0a16
RD
3245 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3247 }
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 {
3256#if wxUSE_UNICODE
3257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3258#else
3259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3260#endif
3261 }
3262 {
3263 if (temp1)
3264 delete arg1;
3265 }
3266 {
3267 if (temp2)
3268 delete arg2;
3269 }
3270 {
3271 if (temp3)
3272 delete arg3;
3273 }
3274 return resultobj;
3275 fail:
3276 {
3277 if (temp1)
3278 delete arg1;
3279 }
3280 {
3281 if (temp2)
3282 delete arg2;
3283 }
3284 {
3285 if (temp3)
3286 delete arg3;
3287 }
3288 return NULL;
3289}
3290
3291
3292static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3293 PyObject *resultobj;
3294 wxString *arg1 = 0 ;
3295 wxString *arg2 = 0 ;
3296 int arg3 ;
3297 wxString *arg4 = (wxString *) 0 ;
3298 wxWindow *arg5 = (wxWindow *) NULL ;
3299 int arg6 = (int) -1 ;
3300 int arg7 = (int) -1 ;
423f194a 3301 bool arg8 = (bool) True ;
d14a1e28
RD
3302 int arg9 = (int) 150 ;
3303 int arg10 = (int) 200 ;
3304 wxString result;
423f194a
RD
3305 bool temp1 = False ;
3306 bool temp2 = False ;
d14a1e28
RD
3307 PyObject * obj0 = 0 ;
3308 PyObject * obj1 = 0 ;
3309 PyObject * obj2 = 0 ;
3310 PyObject * obj3 = 0 ;
8edf1c75
RD
3311 PyObject * obj4 = 0 ;
3312 PyObject * obj5 = 0 ;
d14a1e28 3313 PyObject * obj6 = 0 ;
8edf1c75
RD
3314 PyObject * obj7 = 0 ;
3315 PyObject * obj8 = 0 ;
d14a1e28
RD
3316 char *kwnames[] = {
3317 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3318 };
3319
8edf1c75 3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3321 {
3322 arg1 = wxString_in_helper(obj0);
3323 if (arg1 == NULL) SWIG_fail;
423f194a 3324 temp1 = True;
d14a1e28
RD
3325 }
3326 {
3327 arg2 = wxString_in_helper(obj1);
3328 if (arg2 == NULL) SWIG_fail;
423f194a 3329 temp2 = True;
d14a1e28
RD
3330 }
3331 {
3332 arg3 = PyList_Size(obj2);
3333 arg4 = wxString_LIST_helper(obj2);
3334 if (arg4 == NULL) SWIG_fail;
3335 }
3336 if (obj3) {
2f4c0a16
RD
3337 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3339 }
8edf1c75 3340 if (obj4) {
2f4c0a16
RD
3341 arg6 = (int) SWIG_AsInt(obj4);
3342 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3343 }
3344 if (obj5) {
2f4c0a16
RD
3345 arg7 = (int) SWIG_AsInt(obj5);
3346 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3347 }
d14a1e28 3348 if (obj6) {
2f4c0a16
RD
3349 arg8 = (bool) SWIG_AsBool(obj6);
3350 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3351 }
3352 if (obj7) {
2f4c0a16
RD
3353 arg9 = (int) SWIG_AsInt(obj7);
3354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3355 }
3356 if (obj8) {
2f4c0a16
RD
3357 arg10 = (int) SWIG_AsInt(obj8);
3358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3359 }
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 {
3368#if wxUSE_UNICODE
3369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3370#else
3371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3372#endif
3373 }
3374 {
3375 if (temp1)
3376 delete arg1;
3377 }
3378 {
3379 if (temp2)
3380 delete arg2;
3381 }
3382 {
3383 if (arg4) delete [] arg4;
3384 }
3385 return resultobj;
3386 fail:
3387 {
3388 if (temp1)
3389 delete arg1;
3390 }
3391 {
3392 if (temp2)
3393 delete arg2;
3394 }
3395 {
3396 if (arg4) delete [] arg4;
3397 }
3398 return NULL;
3399}
3400
3401
3402static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxString *arg1 = 0 ;
3405 wxString *arg2 = 0 ;
3406 int arg3 ;
3407 wxString *arg4 = (wxString *) 0 ;
3408 wxWindow *arg5 = (wxWindow *) NULL ;
3409 int arg6 = (int) -1 ;
3410 int arg7 = (int) -1 ;
423f194a 3411 bool arg8 = (bool) True ;
d14a1e28
RD
3412 int arg9 = (int) 150 ;
3413 int arg10 = (int) 200 ;
3414 int result;
423f194a
RD
3415 bool temp1 = False ;
3416 bool temp2 = False ;
d14a1e28
RD
3417 PyObject * obj0 = 0 ;
3418 PyObject * obj1 = 0 ;
3419 PyObject * obj2 = 0 ;
3420 PyObject * obj3 = 0 ;
8edf1c75
RD
3421 PyObject * obj4 = 0 ;
3422 PyObject * obj5 = 0 ;
d14a1e28 3423 PyObject * obj6 = 0 ;
8edf1c75
RD
3424 PyObject * obj7 = 0 ;
3425 PyObject * obj8 = 0 ;
d14a1e28
RD
3426 char *kwnames[] = {
3427 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3428 };
3429
8edf1c75 3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3431 {
3432 arg1 = wxString_in_helper(obj0);
3433 if (arg1 == NULL) SWIG_fail;
423f194a 3434 temp1 = True;
d14a1e28
RD
3435 }
3436 {
3437 arg2 = wxString_in_helper(obj1);
3438 if (arg2 == NULL) SWIG_fail;
423f194a 3439 temp2 = True;
d14a1e28
RD
3440 }
3441 {
3442 arg3 = PyList_Size(obj2);
3443 arg4 = wxString_LIST_helper(obj2);
3444 if (arg4 == NULL) SWIG_fail;
3445 }
3446 if (obj3) {
2f4c0a16
RD
3447 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3449 }
8edf1c75 3450 if (obj4) {
2f4c0a16
RD
3451 arg6 = (int) SWIG_AsInt(obj4);
3452 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3453 }
3454 if (obj5) {
2f4c0a16
RD
3455 arg7 = (int) SWIG_AsInt(obj5);
3456 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3457 }
d14a1e28 3458 if (obj6) {
2f4c0a16
RD
3459 arg8 = (bool) SWIG_AsBool(obj6);
3460 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3461 }
3462 if (obj7) {
2f4c0a16
RD
3463 arg9 = (int) SWIG_AsInt(obj7);
3464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3465 }
3466 if (obj8) {
2f4c0a16
RD
3467 arg10 = (int) SWIG_AsInt(obj8);
3468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3469 }
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
2f4c0a16 3477 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3478 {
3479 if (temp1)
3480 delete arg1;
3481 }
3482 {
3483 if (temp2)
3484 delete arg2;
3485 }
3486 {
3487 if (arg4) delete [] arg4;
3488 }
3489 return resultobj;
3490 fail:
3491 {
3492 if (temp1)
3493 delete arg1;
3494 }
3495 {
3496 if (temp2)
3497 delete arg2;
3498 }
3499 {
3500 if (arg4) delete [] arg4;
3501 }
3502 return NULL;
3503}
3504
3505
3506static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxString *arg1 = 0 ;
3509 wxString const &arg2_defvalue = wxPyEmptyString ;
3510 wxString *arg2 = (wxString *) &arg2_defvalue ;
3511 int arg3 = (int) wxOK|wxCENTRE ;
3512 wxWindow *arg4 = (wxWindow *) NULL ;
3513 int arg5 = (int) -1 ;
3514 int arg6 = (int) -1 ;
3515 int result;
423f194a
RD
3516 bool temp1 = False ;
3517 bool temp2 = False ;
d14a1e28
RD
3518 PyObject * obj0 = 0 ;
3519 PyObject * obj1 = 0 ;
8edf1c75 3520 PyObject * obj2 = 0 ;
d14a1e28 3521 PyObject * obj3 = 0 ;
8edf1c75
RD
3522 PyObject * obj4 = 0 ;
3523 PyObject * obj5 = 0 ;
d14a1e28
RD
3524 char *kwnames[] = {
3525 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3526 };
3527
8edf1c75 3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3529 {
3530 arg1 = wxString_in_helper(obj0);
3531 if (arg1 == NULL) SWIG_fail;
423f194a 3532 temp1 = True;
d14a1e28
RD
3533 }
3534 if (obj1) {
3535 {
3536 arg2 = wxString_in_helper(obj1);
3537 if (arg2 == NULL) SWIG_fail;
423f194a 3538 temp2 = True;
d14a1e28
RD
3539 }
3540 }
8edf1c75 3541 if (obj2) {
2f4c0a16
RD
3542 arg3 = (int) SWIG_AsInt(obj2);
3543 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3544 }
d14a1e28 3545 if (obj3) {
2f4c0a16
RD
3546 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3548 }
8edf1c75 3549 if (obj4) {
2f4c0a16
RD
3550 arg5 = (int) SWIG_AsInt(obj4);
3551 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3552 }
3553 if (obj5) {
2f4c0a16
RD
3554 arg6 = (int) SWIG_AsInt(obj5);
3555 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3556 }
d14a1e28
RD
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
2f4c0a16 3564 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3565 {
3566 if (temp1)
3567 delete arg1;
3568 }
3569 {
3570 if (temp2)
3571 delete arg2;
3572 }
3573 return resultobj;
3574 fail:
3575 {
3576 if (temp1)
3577 delete arg1;
3578 }
3579 {
3580 if (temp2)
3581 delete arg2;
3582 }
3583 return NULL;
3584}
3585
3586
3587static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxString *arg1 = 0 ;
3590 wxString *arg2 = 0 ;
3591 wxString *arg3 = 0 ;
3592 long arg4 ;
3593 long arg5 = (long) 0 ;
3594 long arg6 = (long) 100 ;
3595 wxWindow *arg7 = (wxWindow *) NULL ;
3596 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3597 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3598 long result;
423f194a
RD
3599 bool temp1 = False ;
3600 bool temp2 = False ;
3601 bool temp3 = False ;
d14a1e28
RD
3602 wxPoint temp8 ;
3603 PyObject * obj0 = 0 ;
3604 PyObject * obj1 = 0 ;
3605 PyObject * obj2 = 0 ;
8edf1c75
RD
3606 PyObject * obj3 = 0 ;
3607 PyObject * obj4 = 0 ;
3608 PyObject * obj5 = 0 ;
3609 PyObject * obj6 = 0 ;
d14a1e28
RD
3610 PyObject * obj7 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3613 };
3614
8edf1c75 3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3616 {
3617 arg1 = wxString_in_helper(obj0);
3618 if (arg1 == NULL) SWIG_fail;
423f194a 3619 temp1 = True;
d14a1e28
RD
3620 }
3621 {
3622 arg2 = wxString_in_helper(obj1);
3623 if (arg2 == NULL) SWIG_fail;
423f194a 3624 temp2 = True;
d14a1e28
RD
3625 }
3626 {
3627 arg3 = wxString_in_helper(obj2);
3628 if (arg3 == NULL) SWIG_fail;
423f194a 3629 temp3 = True;
d14a1e28 3630 }
2f4c0a16
RD
3631 arg4 = (long) SWIG_AsLong(obj3);
3632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3633 if (obj4) {
2f4c0a16
RD
3634 arg5 = (long) SWIG_AsLong(obj4);
3635 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3636 }
3637 if (obj5) {
2f4c0a16
RD
3638 arg6 = (long) SWIG_AsLong(obj5);
3639 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3640 }
d14a1e28 3641 if (obj6) {
2f4c0a16
RD
3642 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3644 }
3645 if (obj7) {
3646 {
3647 arg8 = &temp8;
3648 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3649 }
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
2f4c0a16 3658 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3659 {
3660 if (temp1)
3661 delete arg1;
3662 }
3663 {
3664 if (temp2)
3665 delete arg2;
3666 }
3667 {
3668 if (temp3)
3669 delete arg3;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp1)
3675 delete arg1;
3676 }
3677 {
3678 if (temp2)
3679 delete arg2;
3680 }
3681 {
3682 if (temp3)
3683 delete arg3;
3684 }
3685 return NULL;
3686}
3687
3688
3689static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 bool result;
3692 char *kwnames[] = {
3693 NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (bool)wxColourDisplay();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
4f89f6a3
RD
3704 {
3705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3706 }
d14a1e28
RD
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
3713static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 int result;
3716 char *kwnames[] = {
3717 NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = (int)wxDisplayDepth();
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
2f4c0a16 3728 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
3735static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 int result;
3738 char *kwnames[] = {
3739 NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = (int)wxGetDisplayDepth();
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
2f4c0a16 3750 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3751 return resultobj;
3752 fail:
3753 return NULL;
3754}
3755
3756
3757static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3758 PyObject *resultobj;
3759 int *arg1 = (int *) 0 ;
3760 int *arg2 = (int *) 0 ;
3761 int temp1 ;
3762 int temp2 ;
3763 char *kwnames[] = {
3764 NULL
3765 };
3766
3767 arg1 = &temp1;
3768 arg2 = &temp2;
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 wxDisplaySize(arg1,arg2);
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 Py_INCREF(Py_None); resultobj = Py_None;
3778 {
3779 PyObject *o = PyInt_FromLong((long) (*arg1));
3780 resultobj = t_output_helper(resultobj,o);
3781 }
3782 {
3783 PyObject *o = PyInt_FromLong((long) (*arg2));
3784 resultobj = t_output_helper(resultobj,o);
3785 }
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
3792static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxSize result;
3795 char *kwnames[] = {
3796 NULL
3797 };
3798
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 result = wxGetDisplaySize();
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 {
3808 wxSize * resultptr;
3809 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3811 }
3812 return resultobj;
3813 fail:
3814 return NULL;
3815}
3816
3817
3818static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 int *arg1 = (int *) 0 ;
3821 int *arg2 = (int *) 0 ;
3822 int temp1 ;
3823 int temp2 ;
3824 char *kwnames[] = {
3825 NULL
3826 };
3827
3828 arg1 = &temp1;
3829 arg2 = &temp2;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 wxDisplaySizeMM(arg1,arg2);
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 {
3840 PyObject *o = PyInt_FromLong((long) (*arg1));
3841 resultobj = t_output_helper(resultobj,o);
3842 }
3843 {
3844 PyObject *o = PyInt_FromLong((long) (*arg2));
3845 resultobj = t_output_helper(resultobj,o);
3846 }
3847 return resultobj;
3848 fail:
3849 return NULL;
3850}
3851
3852
3853static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxSize result;
3856 char *kwnames[] = {
3857 NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = wxGetDisplaySizeMM();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 wxSize * resultptr;
3870 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3872 }
3873 return resultobj;
3874 fail:
3875 return NULL;
3876}
3877
3878
3879static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 int *arg1 = (int *) 0 ;
3882 int *arg2 = (int *) 0 ;
3883 int *arg3 = (int *) 0 ;
3884 int *arg4 = (int *) 0 ;
3885 int temp1 ;
3886 int temp2 ;
3887 int temp3 ;
3888 int temp4 ;
3889 char *kwnames[] = {
3890 NULL
3891 };
3892
3893 arg1 = &temp1;
3894 arg2 = &temp2;
3895 arg3 = &temp3;
3896 arg4 = &temp4;
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 {
3907 PyObject *o = PyInt_FromLong((long) (*arg1));
3908 resultobj = t_output_helper(resultobj,o);
3909 }
3910 {
3911 PyObject *o = PyInt_FromLong((long) (*arg2));
3912 resultobj = t_output_helper(resultobj,o);
3913 }
3914 {
3915 PyObject *o = PyInt_FromLong((long) (*arg3));
3916 resultobj = t_output_helper(resultobj,o);
3917 }
3918 {
3919 PyObject *o = PyInt_FromLong((long) (*arg4));
3920 resultobj = t_output_helper(resultobj,o);
3921 }
3922 return resultobj;
3923 fail:
3924 return NULL;
3925}
3926
3927
3928static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxRect result;
3931 char *kwnames[] = {
3932 NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 result = wxGetClientDisplayRect();
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 {
3944 wxRect * resultptr;
3945 resultptr = new wxRect((wxRect &) result);
2f4c0a16 3946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3947 }
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
3954static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject *resultobj;
3956 wxCursor *arg1 = 0 ;
3957 PyObject * obj0 = 0 ;
3958 char *kwnames[] = {
3959 (char *) "cursor", NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3964 SWIG_POINTER_EXCEPTION | 0)) == -1)
3965 SWIG_fail;
d14a1e28 3966 if (arg1 == NULL) {
2f4c0a16
RD
3967 PyErr_SetString(PyExc_TypeError,"null reference");
3968 SWIG_fail;
d14a1e28
RD
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 wxSetCursor(*arg1);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 Py_INCREF(Py_None); resultobj = Py_None;
3978 return resultobj;
3979 fail:
3980 return NULL;
3981}
3982
3983
3984static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3987 PyObject * obj0 = 0 ;
3988 char *kwnames[] = {
3989 (char *) "cursor", NULL
3990 };
3991
3992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3993 if (obj0) {
2f4c0a16
RD
3994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3996 }
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 wxBeginBusyCursor(arg1);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 Py_INCREF(Py_None); resultobj = Py_None;
4005 return resultobj;
4006 fail:
4007 return NULL;
4008}
4009
4010
4011static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj;
4013 wxWindow *result;
4014 char *kwnames[] = {
4015 NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = (wxWindow *)wxGetActiveWindow();
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 {
4027 resultobj = wxPyMake_wxObject(result);
4028 }
4029 return resultobj;
4030 fail:
4031 return NULL;
4032}
4033
4034
4035static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj;
4037 wxPoint *arg1 = 0 ;
4038 wxWindow *result;
4039 wxPoint temp1 ;
4040 PyObject * obj0 = 0 ;
4041 char *kwnames[] = {
4042 (char *) "pt", NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4046 {
4047 arg1 = &temp1;
4048 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4049 }
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 {
4058 resultobj = wxPyMake_wxObject(result);
4059 }
4060 return resultobj;
4061 fail:
4062 return NULL;
4063}
4064
4065
4066static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxPoint *arg1 = 0 ;
4069 wxWindow *result;
4070 wxPoint temp1 ;
4071 PyObject * obj0 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "pt", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4077 {
4078 arg1 = &temp1;
4079 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4080 }
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 {
4089 resultobj = wxPyMake_wxObject(result);
4090 }
4091 return resultobj;
4092 fail:
4093 return NULL;
4094}
4095
4096
4097static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4098 PyObject *resultobj;
4099 wxWindow *arg1 = (wxWindow *) 0 ;
4100 wxWindow *result;
4101 PyObject * obj0 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "win", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 result = (wxWindow *)wxGetTopLevelParent(arg1);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 {
4117 resultobj = wxPyMake_wxObject(result);
4118 }
4119 return resultobj;
4120 fail:
4121 return NULL;
4122}
4123
4124
d03fd34d
RD
4125static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 int arg1 ;
4128 bool result;
8edf1c75 4129 PyObject * obj0 = 0 ;
d03fd34d
RD
4130 char *kwnames[] = {
4131 (char *) "key", NULL
4132 };
4133
8edf1c75 4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4135 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4136 if (PyErr_Occurred()) SWIG_fail;
d03fd34d
RD
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4f89f6a3
RD
4144 {
4145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4146 }
d03fd34d
RD
4147 return resultobj;
4148 fail:
4149 return NULL;
4150}
4151
4152
d14a1e28
RD
4153static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 char *kwnames[] = {
4156 NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 wxWakeUpMainThread();
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 Py_INCREF(Py_None); resultobj = Py_None;
4168 return resultobj;
4169 fail:
4170 return NULL;
4171}
4172
4173
4174static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 char *kwnames[] = {
4177 NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 wxMutexGuiEnter();
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 Py_INCREF(Py_None); resultobj = Py_None;
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
4195static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 char *kwnames[] = {
4198 NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 wxMutexGuiLeave();
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 Py_INCREF(Py_None); resultobj = Py_None;
4210 return resultobj;
4211 fail:
4212 return NULL;
4213}
4214
4215
4216static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxMutexGuiLocker *result;
4219 char *kwnames[] = {
4220 NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
2f4c0a16 4231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
4232 return resultobj;
4233 fail:
4234 return NULL;
4235}
4236
4237
4238static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 delete arg1;
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260}
4261
4262
4263static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4264 PyObject *obj;
4265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4266 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4267 Py_INCREF(obj);
4268 return Py_BuildValue((char *)"");
4269}
4270static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 bool result;
4273 char *kwnames[] = {
4274 NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (bool)wxThread_IsMain();
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4f89f6a3
RD
4285 {
4286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4287 }
d14a1e28
RD
4288 return resultobj;
4289 fail:
4290 return NULL;
4291}
4292
4293
4294static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxString *arg1 = 0 ;
4297 wxToolTip *result;
423f194a 4298 bool temp1 = False ;
d14a1e28
RD
4299 PyObject * obj0 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "tip", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4305 {
4306 arg1 = wxString_in_helper(obj0);
4307 if (arg1 == NULL) SWIG_fail;
423f194a 4308 temp1 = True;
d14a1e28
RD
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 resultobj = wxPyMake_wxObject(result);
4319 }
4320 {
4321 if (temp1)
4322 delete arg1;
4323 }
4324 return resultobj;
4325 fail:
4326 {
4327 if (temp1)
4328 delete arg1;
4329 }
4330 return NULL;
4331}
4332
4333
4334static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxToolTip *arg1 = (wxToolTip *) 0 ;
4337 wxString *arg2 = 0 ;
423f194a 4338 bool temp2 = False ;
d14a1e28
RD
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "tip", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4348 {
4349 arg2 = wxString_in_helper(obj1);
4350 if (arg2 == NULL) SWIG_fail;
423f194a 4351 temp2 = True;
d14a1e28
RD
4352 }
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 (arg1)->SetTip((wxString const &)*arg2);
4356
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 Py_INCREF(Py_None); resultobj = Py_None;
4361 {
4362 if (temp2)
4363 delete arg2;
4364 }
4365 return resultobj;
4366 fail:
4367 {
4368 if (temp2)
4369 delete arg2;
4370 }
4371 return NULL;
4372}
4373
4374
4375static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxToolTip *arg1 = (wxToolTip *) 0 ;
4378 wxString result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (arg1)->GetTip();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 {
4395#if wxUSE_UNICODE
4396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4397#else
4398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4399#endif
4400 }
4401 return resultobj;
4402 fail:
4403 return NULL;
4404}
4405
4406
4407static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj;
4409 wxToolTip *arg1 = (wxToolTip *) 0 ;
4410 wxWindow *result;
4411 PyObject * obj0 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxWindow *)(arg1)->GetWindow();
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 {
4427 resultobj = wxPyMake_wxObject(result);
4428 }
4429 return resultobj;
4430 fail:
4431 return NULL;
4432}
4433
4434
4435static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject *resultobj;
4437 bool arg1 ;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "flag", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4444 arg1 = (bool) SWIG_AsBool(obj0);
4445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 wxToolTip::Enable(arg1);
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 Py_INCREF(Py_None); resultobj = Py_None;
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
4460static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 long arg1 ;
8edf1c75 4463 PyObject * obj0 = 0 ;
d14a1e28
RD
4464 char *kwnames[] = {
4465 (char *) "milliseconds", NULL
4466 };
4467
8edf1c75 4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4469 arg1 = (long) SWIG_AsLong(obj0);
4470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 wxToolTip::SetDelay(arg1);
4474
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 Py_INCREF(Py_None); resultobj = Py_None;
4479 return resultobj;
4480 fail:
4481 return NULL;
4482}
4483
4484
4485static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4486 PyObject *obj;
4487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4488 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4489 Py_INCREF(obj);
4490 return Py_BuildValue((char *)"");
4491}
4492static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxWindow *arg1 = (wxWindow *) 0 ;
4495 wxSize *arg2 = 0 ;
4496 wxCaret *result;
4497 wxSize temp2 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "window",(char *) "size", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4507 {
4508 arg2 = &temp2;
4509 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4510 }
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
2f4c0a16 4518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxCaret *arg1 = (wxCaret *) 0 ;
4528 PyObject * obj0 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 delete arg1;
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 Py_INCREF(Py_None); resultobj = Py_None;
4544 return resultobj;
4545 fail:
4546 return NULL;
4547}
4548
4549
4550static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj;
4552 wxCaret *arg1 = (wxCaret *) 0 ;
4553 bool result;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 result = (bool)(arg1)->IsOk();
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4f89f6a3
RD
4569 {
4570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4571 }
d14a1e28
RD
4572 return resultobj;
4573 fail:
4574 return NULL;
4575}
4576
4577
4578static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxCaret *arg1 = (wxCaret *) 0 ;
4581 bool result;
4582 PyObject * obj0 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 result = (bool)(arg1)->IsVisible();
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4f89f6a3
RD
4597 {
4598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4599 }
d14a1e28
RD
4600 return resultobj;
4601 fail:
4602 return NULL;
4603}
4604
4605
44127b65
RD
4606static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxCaret *arg1 = (wxCaret *) 0 ;
4609 wxPoint result;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (arg1)->GetPosition();
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 {
4626 wxPoint * resultptr;
4627 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 4628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
44127b65
RD
4629 }
4630 return resultobj;
4631 fail:
4632 return NULL;
4633}
4634
4635
d14a1e28
RD
4636static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxCaret *arg1 = (wxCaret *) 0 ;
4639 int *arg2 = (int *) 0 ;
4640 int *arg3 = (int *) 0 ;
4641 int temp2 ;
4642 int temp3 ;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self", NULL
4646 };
4647
4648 arg2 = &temp2;
4649 arg3 = &temp3;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 (arg1)->GetPosition(arg2,arg3);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 Py_INCREF(Py_None); resultobj = Py_None;
4661 {
4662 PyObject *o = PyInt_FromLong((long) (*arg2));
4663 resultobj = t_output_helper(resultobj,o);
4664 }
4665 {
4666 PyObject *o = PyInt_FromLong((long) (*arg3));
4667 resultobj = t_output_helper(resultobj,o);
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672}
4673
4674
44127b65 4675static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4676 PyObject *resultobj;
4677 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4678 wxSize result;
d14a1e28
RD
4679 PyObject * obj0 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self", NULL
4682 };
4683
44127b65 4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4689 result = (arg1)->GetSize();
d14a1e28
RD
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 {
44127b65
RD
4695 wxSize * resultptr;
4696 resultptr = new wxSize((wxSize &) result);
2f4c0a16 4697 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4698 }
4699 return resultobj;
4700 fail:
4701 return NULL;
4702}
4703
4704
4705static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxCaret *arg1 = (wxCaret *) 0 ;
4708 int *arg2 = (int *) 0 ;
4709 int *arg3 = (int *) 0 ;
4710 int temp2 ;
4711 int temp3 ;
4712 PyObject * obj0 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self", NULL
4715 };
4716
4717 arg2 = &temp2;
4718 arg3 = &temp3;
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 (arg1)->GetSize(arg2,arg3);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 Py_INCREF(Py_None); resultobj = Py_None;
4730 {
4731 PyObject *o = PyInt_FromLong((long) (*arg2));
4732 resultobj = t_output_helper(resultobj,o);
4733 }
4734 {
4735 PyObject *o = PyInt_FromLong((long) (*arg3));
4736 resultobj = t_output_helper(resultobj,o);
4737 }
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
d14a1e28
RD
4744static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxCaret *arg1 = (wxCaret *) 0 ;
4747 wxWindow *result;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxWindow *)(arg1)->GetWindow();
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 {
4764 resultobj = wxPyMake_wxObject(result);
4765 }
4766 return resultobj;
4767 fail:
4768 return NULL;
4769}
4770
4771
4772static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject *resultobj;
4774 wxCaret *arg1 = (wxCaret *) 0 ;
4775 int arg2 ;
4776 int arg3 ;
4777 PyObject * obj0 = 0 ;
8edf1c75
RD
4778 PyObject * obj1 = 0 ;
4779 PyObject * obj2 = 0 ;
d14a1e28
RD
4780 char *kwnames[] = {
4781 (char *) "self",(char *) "x",(char *) "y", NULL
4782 };
4783
8edf1c75 4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4787 arg2 = (int) SWIG_AsInt(obj1);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 arg3 = (int) SWIG_AsInt(obj2);
4790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4791 {
4792 PyThreadState* __tstate = wxPyBeginAllowThreads();
4793 (arg1)->Move(arg2,arg3);
4794
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 Py_INCREF(Py_None); resultobj = Py_None;
4799 return resultobj;
4800 fail:
4801 return NULL;
4802}
4803
4804
4805static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxCaret *arg1 = (wxCaret *) 0 ;
4808 wxPoint *arg2 = 0 ;
4809 wxPoint temp2 ;
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self",(char *) "pt", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4819 {
4820 arg2 = &temp2;
4821 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4822 }
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 (arg1)->Move((wxPoint const &)*arg2);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 Py_INCREF(Py_None); resultobj = Py_None;
4831 return resultobj;
4832 fail:
4833 return NULL;
4834}
4835
4836
4837static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject *resultobj;
4839 wxCaret *arg1 = (wxCaret *) 0 ;
4840 int arg2 ;
4841 int arg3 ;
4842 PyObject * obj0 = 0 ;
8edf1c75
RD
4843 PyObject * obj1 = 0 ;
4844 PyObject * obj2 = 0 ;
d14a1e28
RD
4845 char *kwnames[] = {
4846 (char *) "self",(char *) "width",(char *) "height", NULL
4847 };
4848
8edf1c75 4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4852 arg2 = (int) SWIG_AsInt(obj1);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 arg3 = (int) SWIG_AsInt(obj2);
4855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->SetSize(arg2,arg3);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
4870static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxCaret *arg1 = (wxCaret *) 0 ;
4873 wxSize *arg2 = 0 ;
4874 wxSize temp2 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "size", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4884 {
4885 arg2 = &temp2;
4886 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4887 }
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->SetSize((wxSize const &)*arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 return resultobj;
4897 fail:
4898 return NULL;
4899}
4900
4901
4902static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4905 int arg2 = (int) True ;
d14a1e28 4906 PyObject * obj0 = 0 ;
8edf1c75 4907 PyObject * obj1 = 0 ;
d14a1e28
RD
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "show", NULL
4910 };
4911
8edf1c75 4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4915 if (obj1) {
2f4c0a16
RD
4916 arg2 = (int) SWIG_AsInt(obj1);
4917 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4918 }
d14a1e28
RD
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->Show(arg2);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
4933static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxCaret *arg1 = (wxCaret *) 0 ;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->Hide();
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
4958static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4959 PyObject *obj;
4960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4961 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4962 Py_INCREF(obj);
4963 return Py_BuildValue((char *)"");
4964}
4965static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 int result;
4968 char *kwnames[] = {
4969 NULL
4970 };
4971
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (int)wxCaret_GetBlinkTime();
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
2f4c0a16 4980 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4981 return resultobj;
4982 fail:
4983 return NULL;
4984}
4985
4986
4987static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 int arg1 ;
8edf1c75 4990 PyObject * obj0 = 0 ;
d14a1e28
RD
4991 char *kwnames[] = {
4992 (char *) "milliseconds", NULL
4993 };
4994
8edf1c75 4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4996 arg1 = (int) SWIG_AsInt(obj0);
4997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 wxCaret_SetBlinkTime(arg1);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5015 wxBusyCursor *result;
5016 PyObject * obj0 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "cursor", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5022 if (obj0) {
2f4c0a16
RD
5023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5025 }
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
2f4c0a16 5033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
5034 return resultobj;
5035 fail:
5036 return NULL;
5037}
5038
5039
5040static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj;
5042 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5043 PyObject * obj0 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 delete arg1;
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 Py_INCREF(Py_None); resultobj = Py_None;
5059 return resultobj;
5060 fail:
5061 return NULL;
5062}
5063
5064
5065static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5066 PyObject *obj;
5067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5069 Py_INCREF(obj);
5070 return Py_BuildValue((char *)"");
5071}
5072static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxWindow *arg1 = (wxWindow *) NULL ;
5075 wxWindowDisabler *result;
5076 PyObject * obj0 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "winToSkip", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5082 if (obj0) {
2f4c0a16
RD
5083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5085 }
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
2f4c0a16 5093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
5094 return resultobj;
5095 fail:
5096 return NULL;
5097}
5098
5099
5100static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5103 PyObject * obj0 = 0 ;
5104 char *kwnames[] = {
5105 (char *) "self", NULL
5106 };
5107
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 delete arg1;
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 Py_INCREF(Py_None); resultobj = Py_None;
5119 return resultobj;
5120 fail:
5121 return NULL;
5122}
5123
5124
5125static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5126 PyObject *obj;
5127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5128 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5129 Py_INCREF(obj);
5130 return Py_BuildValue((char *)"");
5131}
5132static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxString *arg1 = 0 ;
5135 wxBusyInfo *result;
423f194a 5136 bool temp1 = False ;
d14a1e28
RD
5137 PyObject * obj0 = 0 ;
5138 char *kwnames[] = {
5139 (char *) "message", NULL
5140 };
5141
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5143 {
5144 arg1 = wxString_in_helper(obj0);
5145 if (arg1 == NULL) SWIG_fail;
423f194a 5146 temp1 = True;
d14a1e28
RD
5147 }
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
2f4c0a16 5155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
5156 {
5157 if (temp1)
5158 delete arg1;
5159 }
5160 return resultobj;
5161 fail:
5162 {
5163 if (temp1)
5164 delete arg1;
5165 }
5166 return NULL;
5167}
5168
5169
5170static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5173 PyObject * obj0 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 delete arg1;
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 Py_INCREF(Py_None); resultobj = Py_None;
5189 return resultobj;
5190 fail:
5191 return NULL;
5192}
5193
5194
5195static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5196 PyObject *obj;
5197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5198 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5199 Py_INCREF(obj);
5200 return Py_BuildValue((char *)"");
5201}
5202static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxStopWatch *result;
5205 char *kwnames[] = {
5206 NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (wxStopWatch *)new wxStopWatch();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
2f4c0a16 5217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
5218 return resultobj;
5219 fail:
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5227 long arg2 = (long) 0 ;
5228 PyObject * obj0 = 0 ;
8edf1c75 5229 PyObject * obj1 = 0 ;
d14a1e28
RD
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "t0", NULL
5232 };
5233
8edf1c75 5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5237 if (obj1) {
2f4c0a16
RD
5238 arg2 = (long) SWIG_AsLong(obj1);
5239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5240 }
d14a1e28
RD
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 (arg1)->Start(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
5249 return resultobj;
5250 fail:
5251 return NULL;
5252}
5253
5254
5255static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 (arg1)->Pause();
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 Py_INCREF(Py_None); resultobj = Py_None;
5274 return resultobj;
5275 fail:
5276 return NULL;
5277}
5278
5279
5280static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj;
5282 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5283 PyObject * obj0 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 (arg1)->Resume();
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
5299 return resultobj;
5300 fail:
5301 return NULL;
5302}
5303
5304
5305static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5308 long result;
5309 PyObject * obj0 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (long)((wxStopWatch const *)arg1)->Time();
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
2f4c0a16 5324 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5325 return resultobj;
5326 fail:
5327 return NULL;
5328}
5329
5330
5331static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5332 PyObject *obj;
5333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5334 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5335 Py_INCREF(obj);
5336 return Py_BuildValue((char *)"");
5337}
5338static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 int arg1 = (int) 9 ;
5341 wxFileHistory *result;
8edf1c75 5342 PyObject * obj0 = 0 ;
d14a1e28
RD
5343 char *kwnames[] = {
5344 (char *) "maxFiles", NULL
5345 };
5346
8edf1c75
RD
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5348 if (obj0) {
2f4c0a16
RD
5349 arg1 = (int) SWIG_AsInt(obj0);
5350 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5351 }
d14a1e28
RD
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 result = (wxFileHistory *)new wxFileHistory(arg1);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
2f4c0a16 5359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
5366static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 delete arg1;
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 Py_INCREF(Py_None); resultobj = Py_None;
5385 return resultobj;
5386 fail:
5387 return NULL;
5388}
5389
5390
5391static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject *resultobj;
5393 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5394 wxString *arg2 = 0 ;
423f194a 5395 bool temp2 = False ;
d14a1e28
RD
5396 PyObject * obj0 = 0 ;
5397 PyObject * obj1 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self",(char *) "file", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5405 {
5406 arg2 = wxString_in_helper(obj1);
5407 if (arg2 == NULL) SWIG_fail;
423f194a 5408 temp2 = True;
d14a1e28
RD
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->AddFileToHistory((wxString const &)*arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 {
5419 if (temp2)
5420 delete arg2;
5421 }
5422 return resultobj;
5423 fail:
5424 {
5425 if (temp2)
5426 delete arg2;
5427 }
5428 return NULL;
5429}
5430
5431
5432static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5435 int arg2 ;
5436 PyObject * obj0 = 0 ;
8edf1c75 5437 PyObject * obj1 = 0 ;
d14a1e28
RD
5438 char *kwnames[] = {
5439 (char *) "self",(char *) "i", NULL
5440 };
5441
8edf1c75 5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5445 arg2 = (int) SWIG_AsInt(obj1);
5446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->RemoveFileFromHistory(arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 return resultobj;
5456 fail:
5457 return NULL;
5458}
5459
5460
5461static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5462 PyObject *resultobj;
5463 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5464 int result;
5465 PyObject * obj0 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
2f4c0a16 5480 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
5487static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5490 wxMenu *arg2 = (wxMenu *) 0 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "menu", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 (arg1)->UseMenu(arg2);
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 Py_INCREF(Py_None); resultobj = Py_None;
5510 return resultobj;
5511 fail:
5512 return NULL;
5513}
5514
5515
5516static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5519 wxMenu *arg2 = (wxMenu *) 0 ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self",(char *) "menu", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 (arg1)->RemoveMenu(arg2);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 Py_INCREF(Py_None); resultobj = Py_None;
5539 return resultobj;
5540 fail:
5541 return NULL;
5542}
5543
5544
5545static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5548 wxConfigBase *arg2 = 0 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "config", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5559 SWIG_POINTER_EXCEPTION | 0)) == -1)
5560 SWIG_fail;
d14a1e28 5561 if (arg2 == NULL) {
2f4c0a16
RD
5562 PyErr_SetString(PyExc_TypeError,"null reference");
5563 SWIG_fail;
d14a1e28
RD
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->Load(*arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 return resultobj;
5574 fail:
5575 return NULL;
5576}
5577
5578
5579static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5582 wxConfigBase *arg2 = 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "config", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1)
5594 SWIG_fail;
d14a1e28 5595 if (arg2 == NULL) {
2f4c0a16
RD
5596 PyErr_SetString(PyExc_TypeError,"null reference");
5597 SWIG_fail;
d14a1e28
RD
5598 }
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 (arg1)->Save(*arg2);
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 Py_INCREF(Py_None); resultobj = Py_None;
5607 return resultobj;
5608 fail:
5609 return NULL;
5610}
5611
5612
5613static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5616 PyObject * obj0 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5624 {
5625 PyThreadState* __tstate = wxPyBeginAllowThreads();
5626 (arg1)->AddFilesToMenu();
5627
5628 wxPyEndAllowThreads(__tstate);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 }
5631 Py_INCREF(Py_None); resultobj = Py_None;
5632 return resultobj;
5633 fail:
5634 return NULL;
5635}
5636
5637
5638static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject *resultobj;
5640 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5641 wxMenu *arg2 = (wxMenu *) 0 ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "menu", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->AddFilesToMenu(arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 Py_INCREF(Py_None); resultobj = Py_None;
5661 return resultobj;
5662 fail:
5663 return NULL;
5664}
5665
5666
5667static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5670 int arg2 ;
5671 wxString result;
5672 PyObject * obj0 = 0 ;
8edf1c75 5673 PyObject * obj1 = 0 ;
d14a1e28
RD
5674 char *kwnames[] = {
5675 (char *) "self",(char *) "i", NULL
5676 };
5677
8edf1c75 5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5681 arg2 = (int) SWIG_AsInt(obj1);
5682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 {
5691#if wxUSE_UNICODE
5692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5693#else
5694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5695#endif
5696 }
5697 return resultobj;
5698 fail:
5699 return NULL;
5700}
5701
5702
5703static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject *resultobj;
5705 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5706 int result;
5707 PyObject * obj0 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 result = (int)((wxFileHistory const *)arg1)->GetCount();
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
2f4c0a16 5722 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5723 return resultobj;
5724 fail:
5725 return NULL;
5726}
5727
5728
5729static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5730 PyObject *obj;
5731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5732 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5733 Py_INCREF(obj);
5734 return Py_BuildValue((char *)"");
5735}
5736static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject *resultobj;
5738 wxString *arg1 = 0 ;
5739 wxString const &arg2_defvalue = wxPyEmptyString ;
5740 wxString *arg2 = (wxString *) &arg2_defvalue ;
5741 wxSingleInstanceChecker *result;
423f194a
RD
5742 bool temp1 = False ;
5743 bool temp2 = False ;
d14a1e28
RD
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "name",(char *) "path", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5751 {
5752 arg1 = wxString_in_helper(obj0);
5753 if (arg1 == NULL) SWIG_fail;
423f194a 5754 temp1 = True;
d14a1e28
RD
5755 }
5756 if (obj1) {
5757 {
5758 arg2 = wxString_in_helper(obj1);
5759 if (arg2 == NULL) SWIG_fail;
423f194a 5760 temp2 = True;
d14a1e28
RD
5761 }
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
2f4c0a16 5770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5771 {
5772 if (temp1)
5773 delete arg1;
5774 }
5775 {
5776 if (temp2)
5777 delete arg2;
5778 }
5779 return resultobj;
5780 fail:
5781 {
5782 if (temp1)
5783 delete arg1;
5784 }
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790}
5791
5792
5793static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxSingleInstanceChecker *result;
5796 char *kwnames[] = {
5797 NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
2f4c0a16 5808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5809 return resultobj;
5810 fail:
5811 return NULL;
5812}
5813
5814
5815static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 delete arg1;
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 Py_INCREF(Py_None); resultobj = Py_None;
5834 return resultobj;
5835 fail:
5836 return NULL;
5837}
5838
5839
5840static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5843 wxString *arg2 = 0 ;
5844 wxString const &arg3_defvalue = wxPyEmptyString ;
5845 wxString *arg3 = (wxString *) &arg3_defvalue ;
5846 bool result;
423f194a
RD
5847 bool temp2 = False ;
5848 bool temp3 = False ;
d14a1e28
RD
5849 PyObject * obj0 = 0 ;
5850 PyObject * obj1 = 0 ;
5851 PyObject * obj2 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "name",(char *) "path", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5859 {
5860 arg2 = wxString_in_helper(obj1);
5861 if (arg2 == NULL) SWIG_fail;
423f194a 5862 temp2 = True;
d14a1e28
RD
5863 }
5864 if (obj2) {
5865 {
5866 arg3 = wxString_in_helper(obj2);
5867 if (arg3 == NULL) SWIG_fail;
423f194a 5868 temp3 = True;
d14a1e28
RD
5869 }
5870 }
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
4f89f6a3
RD
5878 {
5879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5880 }
d14a1e28
RD
5881 {
5882 if (temp2)
5883 delete arg2;
5884 }
5885 {
5886 if (temp3)
5887 delete arg3;
5888 }
5889 return resultobj;
5890 fail:
5891 {
5892 if (temp2)
5893 delete arg2;
5894 }
5895 {
5896 if (temp3)
5897 delete arg3;
5898 }
5899 return NULL;
5900}
5901
5902
5903static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5906 bool result;
5907 PyObject * obj0 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
4f89f6a3
RD
5922 {
5923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5924 }
d14a1e28
RD
5925 return resultobj;
5926 fail:
5927 return NULL;
5928}
5929
5930
5931static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5932 PyObject *obj;
5933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5934 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5935 Py_INCREF(obj);
5936 return Py_BuildValue((char *)"");
5937}
5938static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5939 PyObject *resultobj;
5940 wxWindow *arg1 = (wxWindow *) 0 ;
5941 wxDC *arg2 = 0 ;
5942 int arg3 ;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
8edf1c75 5945 PyObject * obj2 = 0 ;
d14a1e28
RD
5946 char *kwnames[] = {
5947 (char *) "window",(char *) "dc",(char *) "method", NULL
5948 };
5949
8edf1c75 5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5954 SWIG_POINTER_EXCEPTION | 0)) == -1)
5955 SWIG_fail;
d14a1e28 5956 if (arg2 == NULL) {
2f4c0a16
RD
5957 PyErr_SetString(PyExc_TypeError,"null reference");
5958 SWIG_fail;
8edf1c75 5959 }
2f4c0a16
RD
5960 arg3 = (int) SWIG_AsInt(obj2);
5961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 Py_INCREF(Py_None); resultobj = Py_None;
5970 return resultobj;
5971 fail:
5972 return NULL;
5973}
5974
5975
5976static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject *resultobj;
5978 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5979 PyObject * obj0 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 delete arg1;
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998}
5999
6000
6001static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6004 wxString result;
6005 PyObject * obj0 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "self", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (arg1)->GetTip();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 {
6021#if wxUSE_UNICODE
6022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6023#else
6024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6025#endif
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6036 size_t result;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (size_t)(arg1)->GetCurrentTip();
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
2f4c0a16 6052 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6053 return resultobj;
6054 fail:
6055 return NULL;
6056}
6057
6058
6059static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj;
6061 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6062 wxString *arg2 = 0 ;
6063 wxString result;
423f194a 6064 bool temp2 = False ;
d14a1e28
RD
6065 PyObject * obj0 = 0 ;
6066 PyObject * obj1 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "tip", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6074 {
6075 arg2 = wxString_in_helper(obj1);
6076 if (arg2 == NULL) SWIG_fail;
423f194a 6077 temp2 = True;
d14a1e28
RD
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087#if wxUSE_UNICODE
6088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6089#else
6090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6091#endif
6092 }
6093 {
6094 if (temp2)
6095 delete arg2;
6096 }
6097 return resultobj;
6098 fail:
6099 {
6100 if (temp2)
6101 delete arg2;
6102 }
6103 return NULL;
6104}
6105
6106
6107static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6108 PyObject *obj;
6109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6110 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6111 Py_INCREF(obj);
6112 return Py_BuildValue((char *)"");
6113}
6114static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 size_t arg1 ;
6117 wxPyTipProvider *result;
6118 PyObject * obj0 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "currentTip", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6124 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
2f4c0a16 6133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
6134 return resultobj;
6135 fail:
6136 return NULL;
6137}
6138
6139
6140static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6143 PyObject *arg2 = (PyObject *) 0 ;
6144 PyObject *arg3 = (PyObject *) 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self",(char *) "self",(char *) "_class", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6155 arg2 = obj1;
6156 arg3 = obj2;
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 (arg1)->_setCallbackInfo(arg2,arg3);
6160
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 Py_INCREF(Py_None); resultobj = Py_None;
6165 return resultobj;
6166 fail:
6167 return NULL;
6168}
6169
6170
6171static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6172 PyObject *obj;
6173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6174 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6175 Py_INCREF(obj);
6176 return Py_BuildValue((char *)"");
6177}
6178static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxWindow *arg1 = (wxWindow *) 0 ;
6181 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 6182 bool arg3 = (bool) True ;
d14a1e28
RD
6183 bool result;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 PyObject * obj2 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6196 if (obj2) {
2f4c0a16
RD
6197 arg3 = (bool) SWIG_AsBool(obj2);
6198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6199 }
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (bool)wxShowTip(arg1,arg2,arg3);
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
4f89f6a3
RD
6207 {
6208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6209 }
d14a1e28
RD
6210 return resultobj;
6211 fail:
6212 return NULL;
6213}
6214
6215
6216static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxString *arg1 = 0 ;
6219 size_t arg2 ;
6220 wxTipProvider *result;
423f194a 6221 bool temp1 = False ;
d14a1e28
RD
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "filename",(char *) "currentTip", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6229 {
6230 arg1 = wxString_in_helper(obj0);
6231 if (arg1 == NULL) SWIG_fail;
423f194a 6232 temp1 = True;
d14a1e28 6233 }
2f4c0a16
RD
6234 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
2f4c0a16 6243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
6244 {
6245 if (temp1)
6246 delete arg1;
6247 }
6248 return resultobj;
6249 fail:
6250 {
6251 if (temp1)
6252 delete arg1;
6253 }
6254 return NULL;
6255}
6256
6257
6258static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6261 int arg2 = (int) -1 ;
6262 wxPyTimer *result;
6263 PyObject * obj0 = 0 ;
8edf1c75 6264 PyObject * obj1 = 0 ;
d14a1e28
RD
6265 char *kwnames[] = {
6266 (char *) "owner",(char *) "id", NULL
6267 };
6268
8edf1c75 6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6270 if (obj0) {
2f4c0a16
RD
6271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6273 }
8edf1c75 6274 if (obj1) {
2f4c0a16
RD
6275 arg2 = (int) SWIG_AsInt(obj1);
6276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6277 }
d14a1e28
RD
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
2f4c0a16 6285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
6286 return resultobj;
6287 fail:
6288 return NULL;
6289}
6290
6291
6292static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6295 PyObject * obj0 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 delete arg1;
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 return resultobj;
6312 fail:
6313 return NULL;
6314}
6315
6316
44127b65
RD
6317static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6320 PyObject *arg2 = (PyObject *) 0 ;
6321 PyObject *arg3 = (PyObject *) 0 ;
fe763115 6322 int arg4 = (int) 1 ;
44127b65
RD
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 PyObject * obj2 = 0 ;
fe763115 6326 PyObject * obj3 = 0 ;
44127b65 6327 char *kwnames[] = {
fe763115 6328 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
44127b65
RD
6329 };
6330
fe763115 6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6334 arg2 = obj1;
6335 arg3 = obj2;
fe763115
RD
6336 if (obj3) {
6337 arg4 = (int) SWIG_AsInt(obj3);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
44127b65
RD
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
fe763115 6342 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
44127b65
RD
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 Py_INCREF(Py_None); resultobj = Py_None;
6348 return resultobj;
6349 fail:
6350 return NULL;
6351}
6352
6353
d14a1e28
RD
6354static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject *resultobj;
6356 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6357 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6358 int arg3 = (int) -1 ;
6359 PyObject * obj0 = 0 ;
6360 PyObject * obj1 = 0 ;
8edf1c75 6361 PyObject * obj2 = 0 ;
d14a1e28
RD
6362 char *kwnames[] = {
6363 (char *) "self",(char *) "owner",(char *) "id", NULL
6364 };
6365
8edf1c75 6366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6371 if (obj2) {
2f4c0a16
RD
6372 arg3 = (int) SWIG_AsInt(obj2);
6373 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6374 }
d14a1e28
RD
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 (arg1)->SetOwner(arg2,arg3);
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 Py_INCREF(Py_None); resultobj = Py_None;
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6392 int arg2 = (int) -1 ;
423f194a 6393 bool arg3 = (bool) False ;
d14a1e28
RD
6394 bool result;
6395 PyObject * obj0 = 0 ;
8edf1c75 6396 PyObject * obj1 = 0 ;
d14a1e28
RD
6397 PyObject * obj2 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6400 };
6401
8edf1c75 6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6405 if (obj1) {
2f4c0a16
RD
6406 arg2 = (int) SWIG_AsInt(obj1);
6407 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6408 }
d14a1e28 6409 if (obj2) {
2f4c0a16
RD
6410 arg3 = (bool) SWIG_AsBool(obj2);
6411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6412 }
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (bool)(arg1)->Start(arg2,arg3);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
4f89f6a3
RD
6420 {
6421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6422 }
d14a1e28
RD
6423 return resultobj;
6424 fail:
6425 return NULL;
6426}
6427
6428
6429static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 (arg1)->Stop();
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 Py_INCREF(Py_None); resultobj = Py_None;
6448 return resultobj;
6449 fail:
6450 return NULL;
6451}
6452
6453
d14a1e28
RD
6454static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6457 bool result;
6458 PyObject * obj0 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "self", NULL
6461 };
6462
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
4f89f6a3
RD
6473 {
6474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6475 }
d14a1e28
RD
6476 return resultobj;
6477 fail:
6478 return NULL;
6479}
6480
6481
6482static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6485 int result;
6486 PyObject * obj0 = 0 ;
6487 char *kwnames[] = {
6488 (char *) "self", NULL
6489 };
6490
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
2f4c0a16 6501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6502 return resultobj;
6503 fail:
6504 return NULL;
6505}
6506
6507
6508static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj;
6510 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6511 bool result;
6512 PyObject * obj0 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "self", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
4f89f6a3
RD
6527 {
6528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6529 }
d14a1e28
RD
6530 return resultobj;
6531 fail:
6532 return NULL;
6533}
6534
6535
f0983263
RD
6536static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6539 int result;
6540 PyObject * obj0 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
f0983263
RD
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 result = (int)((wxPyTimer const *)arg1)->GetId();
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
2f4c0a16 6555 resultobj = SWIG_FromInt((int)result);
f0983263
RD
6556 return resultobj;
6557 fail:
6558 return NULL;
6559}
6560
6561
d14a1e28
RD
6562static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6563 PyObject *obj;
6564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6565 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6566 Py_INCREF(obj);
6567 return Py_BuildValue((char *)"");
6568}
6569static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 int arg1 = (int) 0 ;
6572 int arg2 = (int) 0 ;
6573 wxTimerEvent *result;
8edf1c75
RD
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
d14a1e28
RD
6576 char *kwnames[] = {
6577 (char *) "timerid",(char *) "interval", NULL
6578 };
6579
8edf1c75
RD
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6581 if (obj0) {
2f4c0a16
RD
6582 arg1 = (int) SWIG_AsInt(obj0);
6583 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6584 }
6585 if (obj1) {
2f4c0a16
RD
6586 arg2 = (int) SWIG_AsInt(obj1);
6587 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6588 }
d14a1e28
RD
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
2f4c0a16 6596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
6597 return resultobj;
6598 fail:
6599 return NULL;
6600}
6601
6602
6603static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6606 int result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
2f4c0a16 6622 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6623 return resultobj;
6624 fail:
6625 return NULL;
6626}
6627
6628
6629static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6630 PyObject *obj;
6631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6632 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6633 Py_INCREF(obj);
6634 return Py_BuildValue((char *)"");
6635}
6636static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6637 PyObject *resultobj;
6638 wxTimer *arg1 = 0 ;
6639 wxTimerRunner *result;
6640 PyObject * obj0 = 0 ;
6641
6642 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
2f4c0a16
RD
6643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6644 SWIG_POINTER_EXCEPTION | 0)) == -1)
6645 SWIG_fail;
d14a1e28 6646 if (arg1 == NULL) {
2f4c0a16
RD
6647 PyErr_SetString(PyExc_TypeError,"null reference");
6648 SWIG_fail;
d14a1e28
RD
6649 }
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
2f4c0a16 6657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
6664static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6665 PyObject *resultobj;
6666 wxTimer *arg1 = 0 ;
6667 int arg2 ;
423f194a 6668 bool arg3 = (bool) False ;
d14a1e28
RD
6669 wxTimerRunner *result;
6670 PyObject * obj0 = 0 ;
8edf1c75 6671 PyObject * obj1 = 0 ;
d14a1e28
RD
6672 PyObject * obj2 = 0 ;
6673
8edf1c75 6674 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1)
6677 SWIG_fail;
d14a1e28 6678 if (arg1 == NULL) {
2f4c0a16
RD
6679 PyErr_SetString(PyExc_TypeError,"null reference");
6680 SWIG_fail;
8edf1c75 6681 }
2f4c0a16
RD
6682 arg2 = (int) SWIG_AsInt(obj1);
6683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6684 if (obj2) {
2f4c0a16
RD
6685 arg3 = (bool) SWIG_AsBool(obj2);
6686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
2f4c0a16 6695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6696 return resultobj;
6697 fail:
6698 return NULL;
6699}
6700
6701
6702static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6703 int argc;
6704 PyObject *argv[4];
6705 int ii;
6706
6707 argc = PyObject_Length(args);
6708 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6709 argv[ii] = PyTuple_GetItem(args,ii);
6710 }
6711 if (argc == 1) {
6712 int _v;
6713 {
6714 void *ptr;
2f4c0a16 6715 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6716 _v = 0;
6717 PyErr_Clear();
6718 } else {
6719 _v = 1;
6720 }
6721 }
6722 if (_v) {
6723 return _wrap_new_TimerRunner__SWIG_0(self,args);
6724 }
6725 }
6726 if ((argc >= 2) && (argc <= 3)) {
6727 int _v;
6728 {
6729 void *ptr;
2f4c0a16 6730 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6731 _v = 0;
6732 PyErr_Clear();
6733 } else {
6734 _v = 1;
6735 }
6736 }
6737 if (_v) {
2f4c0a16 6738 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
6739 if (_v) {
6740 if (argc <= 2) {
6741 return _wrap_new_TimerRunner__SWIG_1(self,args);
6742 }
2f4c0a16 6743 _v = SWIG_CheckBool(argv[2]);
d14a1e28
RD
6744 if (_v) {
6745 return _wrap_new_TimerRunner__SWIG_1(self,args);
6746 }
6747 }
6748 }
6749 }
6750
6751 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6752 return NULL;
6753}
6754
6755
6756static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj;
6758 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 delete arg1;
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 Py_INCREF(Py_None); resultobj = Py_None;
6775 return resultobj;
6776 fail:
6777 return NULL;
6778}
6779
6780
6781static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6784 int arg2 ;
423f194a 6785 bool arg3 = (bool) False ;
d14a1e28 6786 PyObject * obj0 = 0 ;
8edf1c75 6787 PyObject * obj1 = 0 ;
d14a1e28
RD
6788 PyObject * obj2 = 0 ;
6789 char *kwnames[] = {
6790 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6791 };
6792
8edf1c75 6793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6796 arg2 = (int) SWIG_AsInt(obj1);
6797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6798 if (obj2) {
2f4c0a16
RD
6799 arg3 = (bool) SWIG_AsBool(obj2);
6800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6801 }
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 (arg1)->Start(arg2,arg3);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 Py_INCREF(Py_None); resultobj = Py_None;
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
6816static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6817 PyObject *obj;
6818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6819 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6820 Py_INCREF(obj);
6821 return Py_BuildValue((char *)"");
6822}
6823static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxLog *result;
6826 char *kwnames[] = {
6827 NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (wxLog *)new wxLog();
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
2f4c0a16 6838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
6845static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 bool result;
6848 char *kwnames[] = {
6849 NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (bool)wxLog::IsEnabled();
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
4f89f6a3
RD
6860 {
6861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6862 }
d14a1e28
RD
6863 return resultobj;
6864 fail:
6865 return NULL;
6866}
6867
6868
6869static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
423f194a 6871 bool arg1 = (bool) True ;
d14a1e28
RD
6872 bool result;
6873 PyObject * obj0 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "doIt", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6879 if (obj0) {
2f4c0a16
RD
6880 arg1 = (bool) SWIG_AsBool(obj0);
6881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6882 }
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 result = (bool)wxLog::EnableLogging(arg1);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
4f89f6a3
RD
6890 {
6891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6892 }
d14a1e28
RD
6893 return resultobj;
6894 fail:
6895 return NULL;
6896}
6897
6898
6899static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject *resultobj;
6901 wxLogLevel arg1 ;
6902 wxChar *arg2 = (wxChar *) 0 ;
6903 time_t arg3 ;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 PyObject * obj2 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "level",(char *) "szString",(char *) "t", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6912 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6916 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 Py_INCREF(Py_None); resultobj = Py_None;
6926 return resultobj;
6927 fail:
6928 return NULL;
6929}
6930
6931
6932static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxLog *arg1 = (wxLog *) 0 ;
6935 PyObject * obj0 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 (arg1)->Flush();
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 Py_INCREF(Py_None); resultobj = Py_None;
6951 return resultobj;
6952 fail:
6953 return NULL;
6954}
6955
6956
6957static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 char *kwnames[] = {
6960 NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 wxLog::FlushActive();
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 Py_INCREF(Py_None); resultobj = Py_None;
6972 return resultobj;
6973 fail:
6974 return NULL;
6975}
6976
6977
6978static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxLog *result;
6981 char *kwnames[] = {
6982 NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (wxLog *)wxLog::GetActiveTarget();
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
2f4c0a16 6993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
6994 return resultobj;
6995 fail:
6996 return NULL;
6997}
6998
6999
7000static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxLog *arg1 = (wxLog *) 0 ;
7003 wxLog *result;
7004 PyObject * obj0 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "pLogger", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
2f4c0a16 7019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7020 return resultobj;
7021 fail:
7022 return NULL;
7023}
7024
7025
7026static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 char *kwnames[] = {
7029 NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 wxLog::Suspend();
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 Py_INCREF(Py_None); resultobj = Py_None;
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 char *kwnames[] = {
7050 NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 wxLog::Resume();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 Py_INCREF(Py_None); resultobj = Py_None;
7062 return resultobj;
7063 fail:
7064 return NULL;
7065}
7066
7067
7068static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7069 PyObject *resultobj;
423f194a 7070 bool arg1 = (bool) True ;
d14a1e28
RD
7071 PyObject * obj0 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "bVerbose", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7077 if (obj0) {
2f4c0a16
RD
7078 arg1 = (bool) SWIG_AsBool(obj0);
7079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7080 }
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 wxLog::SetVerbose(arg1);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 Py_INCREF(Py_None); resultobj = Py_None;
7089 return resultobj;
7090 fail:
7091 return NULL;
7092}
7093
7094
7095static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7096 PyObject *resultobj;
7097 wxLogLevel arg1 ;
7098 PyObject * obj0 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "logLevel", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7104 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 wxLog::SetLogLevel(arg1);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 Py_INCREF(Py_None); resultobj = Py_None;
7114 return resultobj;
7115 fail:
7116 return NULL;
7117}
7118
7119
7120static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 char *kwnames[] = {
7123 NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7127 {
7128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7129 wxLog::DontCreateOnDemand();
7130
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 Py_INCREF(Py_None); resultobj = Py_None;
7135 return resultobj;
7136 fail:
7137 return NULL;
7138}
7139
7140
7141static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxTraceMask arg1 ;
7144 PyObject * obj0 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "ulMask", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7150 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 wxLog::SetTraceMask(arg1);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 return resultobj;
7161 fail:
7162 return NULL;
7163}
7164
7165
7166static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxString *arg1 = 0 ;
423f194a 7169 bool temp1 = False ;
d14a1e28
RD
7170 PyObject * obj0 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "str", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7176 {
7177 arg1 = wxString_in_helper(obj0);
7178 if (arg1 == NULL) SWIG_fail;
423f194a 7179 temp1 = True;
d14a1e28
RD
7180 }
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 wxLog::AddTraceMask((wxString const &)*arg1);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 {
7190 if (temp1)
7191 delete arg1;
7192 }
7193 return resultobj;
7194 fail:
7195 {
7196 if (temp1)
7197 delete arg1;
7198 }
7199 return NULL;
7200}
7201
7202
7203static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxString *arg1 = 0 ;
423f194a 7206 bool temp1 = False ;
d14a1e28
RD
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "str", NULL
7210 };
7211
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7213 {
7214 arg1 = wxString_in_helper(obj0);
7215 if (arg1 == NULL) SWIG_fail;
423f194a 7216 temp1 = True;
d14a1e28
RD
7217 }
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 wxLog::RemoveTraceMask((wxString const &)*arg1);
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 Py_INCREF(Py_None); resultobj = Py_None;
7226 {
7227 if (temp1)
7228 delete arg1;
7229 }
7230 return resultobj;
7231 fail:
7232 {
7233 if (temp1)
7234 delete arg1;
7235 }
7236 return NULL;
7237}
7238
7239
7240static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 char *kwnames[] = {
7243 NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 wxLog::ClearTraceMasks();
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 return resultobj;
7256 fail:
7257 return NULL;
7258}
7259
7260
7261static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7262 PyObject *resultobj;
7263 wxArrayString *result;
7264 char *kwnames[] = {
7265 NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 {
7272 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7273 result = (wxArrayString *) &_result_ref;
7274 }
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 {
7280 resultobj = wxArrayString2PyList_helper(*result);
7281 }
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
7288static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxChar *arg1 = (wxChar *) 0 ;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "ts", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 wxLog::SetTimestamp((wxChar const *)arg1);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 Py_INCREF(Py_None); resultobj = Py_None;
7307 return resultobj;
7308 fail:
7309 return NULL;
7310}
7311
7312
7313static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7314 PyObject *resultobj;
7315 bool result;
7316 char *kwnames[] = {
7317 NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (bool)wxLog::GetVerbose();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
4f89f6a3
RD
7328 {
7329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7330 }
d14a1e28
RD
7331 return resultobj;
7332 fail:
7333 return NULL;
7334}
7335
7336
7337static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxTraceMask result;
7340 char *kwnames[] = {
7341 NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (wxTraceMask)wxLog::GetTraceMask();
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
2f4c0a16 7352 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7353 return resultobj;
7354 fail:
7355 return NULL;
7356}
7357
7358
7359static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxChar *arg1 = (wxChar *) 0 ;
7362 bool result;
7363 PyObject * obj0 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "mask", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
4f89f6a3
RD
7378 {
7379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7380 }
d14a1e28
RD
7381 return resultobj;
7382 fail:
7383 return NULL;
7384}
7385
7386
7387static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxLogLevel result;
7390 char *kwnames[] = {
7391 NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (wxLogLevel)wxLog::GetLogLevel();
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
2f4c0a16 7402 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7403 return resultobj;
7404 fail:
7405 return NULL;
7406}
7407
7408
7409static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7410 PyObject *resultobj;
7411 wxChar *result;
7412 char *kwnames[] = {
7413 NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 result = (wxChar *)wxLog::GetTimestamp();
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
2f4c0a16 7424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
7425 return resultobj;
7426 fail:
7427 return NULL;
7428}
7429
7430
7431static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxString result;
7434 char *kwnames[] = {
7435 NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = Log_TimeStamp();
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447#if wxUSE_UNICODE
7448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7449#else
7450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7451#endif
7452 }
7453 return resultobj;
7454 fail:
7455 return NULL;
7456}
7457
7458
7459static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj;
7461 wxLog *arg1 = (wxLog *) 0 ;
7462 PyObject * obj0 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 wxLog_Destroy(arg1);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 Py_INCREF(Py_None); resultobj = Py_None;
7478 return resultobj;
7479 fail:
7480 return NULL;
7481}
7482
7483
7484static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7485 PyObject *obj;
7486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7487 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7488 Py_INCREF(obj);
7489 return Py_BuildValue((char *)"");
7490}
7491static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxLogStderr *result;
7494 char *kwnames[] = {
7495 NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (wxLogStderr *)new wxLogStderr();
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
2f4c0a16 7506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
7507 return resultobj;
7508 fail:
7509 return NULL;
7510}
7511
7512
7513static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7514 PyObject *obj;
7515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7516 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7517 Py_INCREF(obj);
7518 return Py_BuildValue((char *)"");
7519}
7520static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 wxLogTextCtrl *result;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "pTextCtrl", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
2f4c0a16 7539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
7540 return resultobj;
7541 fail:
7542 return NULL;
7543}
7544
7545
7546static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7547 PyObject *obj;
7548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7549 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7550 Py_INCREF(obj);
7551 return Py_BuildValue((char *)"");
7552}
7553static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxLogGui *result;
7556 char *kwnames[] = {
7557 NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (wxLogGui *)new wxLogGui();
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
2f4c0a16 7568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
7569 return resultobj;
7570 fail:
7571 return NULL;
7572}
7573
7574
7575static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7576 PyObject *obj;
7577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7578 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7579 Py_INCREF(obj);
7580 return Py_BuildValue((char *)"");
7581}
7582static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxFrame *arg1 = (wxFrame *) 0 ;
7585 wxString *arg2 = 0 ;
423f194a
RD
7586 bool arg3 = (bool) True ;
7587 bool arg4 = (bool) True ;
d14a1e28 7588 wxLogWindow *result;
423f194a 7589 bool temp2 = False ;
d14a1e28
RD
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 PyObject * obj2 = 0 ;
7593 PyObject * obj3 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7601 {
7602 arg2 = wxString_in_helper(obj1);
7603 if (arg2 == NULL) SWIG_fail;
423f194a 7604 temp2 = True;
d14a1e28
RD
7605 }
7606 if (obj2) {
2f4c0a16
RD
7607 arg3 = (bool) SWIG_AsBool(obj2);
7608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7609 }
7610 if (obj3) {
2f4c0a16
RD
7611 arg4 = (bool) SWIG_AsBool(obj3);
7612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
2f4c0a16 7621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
7622 {
7623 if (temp2)
7624 delete arg2;
7625 }
7626 return resultobj;
7627 fail:
7628 {
7629 if (temp2)
7630 delete arg2;
7631 }
7632 return NULL;
7633}
7634
7635
7636static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 7639 bool arg2 = (bool) True ;
d14a1e28
RD
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "bShow", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7649 if (obj1) {
2f4c0a16
RD
7650 arg2 = (bool) SWIG_AsBool(obj1);
7651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7652 }
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 (arg1)->Show(arg2);
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 Py_INCREF(Py_None); resultobj = Py_None;
7661 return resultobj;
7662 fail:
7663 return NULL;
7664}
7665
7666
7667static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7670 wxFrame *result;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 {
7687 resultobj = wxPyMake_wxObject(result);
7688 }
7689 return resultobj;
7690 fail:
7691 return NULL;
7692}
7693
7694
7695static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7698 wxLog *result;
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
2f4c0a16 7714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7715 return resultobj;
7716 fail:
7717 return NULL;
7718}
7719
7720
7721static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7724 bool result;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
4f89f6a3
RD
7740 {
7741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7742 }
d14a1e28
RD
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
7749static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7752 bool arg2 ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 char *kwnames[] = {
7756 (char *) "self",(char *) "bDoPass", NULL
7757 };
7758
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7762 arg2 = (bool) SWIG_AsBool(obj1);
7763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 (arg1)->PassMessages(arg2);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 return resultobj;
7773 fail:
7774 return NULL;
7775}
7776
7777
7778static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7779 PyObject *obj;
7780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7781 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7782 Py_INCREF(obj);
7783 return Py_BuildValue((char *)"");
7784}
7785static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj;
7787 wxLog *arg1 = (wxLog *) 0 ;
7788 wxLogChain *result;
7789 PyObject * obj0 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "logger", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 result = (wxLogChain *)new wxLogChain(arg1);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
2f4c0a16 7804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
7805 return resultobj;
7806 fail:
7807 return NULL;
7808}
7809
7810
7811static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxLogChain *arg1 = (wxLogChain *) 0 ;
7814 wxLog *arg2 = (wxLog *) 0 ;
7815 PyObject * obj0 = 0 ;
7816 PyObject * obj1 = 0 ;
7817 char *kwnames[] = {
7818 (char *) "self",(char *) "logger", NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 (arg1)->SetLog(arg2);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 Py_INCREF(Py_None); resultobj = Py_None;
7834 return resultobj;
7835 fail:
7836 return NULL;
7837}
7838
7839
7840static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxLogChain *arg1 = (wxLogChain *) 0 ;
7843 bool arg2 ;
7844 PyObject * obj0 = 0 ;
7845 PyObject * obj1 = 0 ;
7846 char *kwnames[] = {
7847 (char *) "self",(char *) "bDoPass", NULL
7848 };
7849
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7853 arg2 = (bool) SWIG_AsBool(obj1);
7854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->PassMessages(arg2);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
7869static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxLogChain *arg1 = (wxLogChain *) 0 ;
7872 bool result;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (bool)(arg1)->IsPassingMessages();
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
4f89f6a3
RD
7888 {
7889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7890 }
d14a1e28
RD
7891 return resultobj;
7892 fail:
7893 return NULL;
7894}
7895
7896
7897static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxLogChain *arg1 = (wxLogChain *) 0 ;
7900 wxLog *result;
7901 PyObject * obj0 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 result = (wxLog *)(arg1)->GetOldLog();
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
2f4c0a16 7916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7924 PyObject *obj;
7925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7927 Py_INCREF(obj);
7928 return Py_BuildValue((char *)"");
7929}
7930static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 unsigned long result;
7933 char *kwnames[] = {
7934 NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 result = (unsigned long)wxSysErrorCode();
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
2f4c0a16 7945 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7946 return resultobj;
7947 fail:
7948 return NULL;
7949}
7950
7951
7952static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 unsigned long arg1 = (unsigned long) 0 ;
7955 wxString result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "nErrCode", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7962 if (obj0) {
2f4c0a16
RD
7963 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7965 }
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = wxSysErrorMsg(arg1);
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 {
7974#if wxUSE_UNICODE
7975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7976#else
7977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7978#endif
7979 }
7980 return resultobj;
7981 fail:
7982 return NULL;
7983}
7984
7985
7986static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7987 PyObject *resultobj;
7988 wxString *arg1 = 0 ;
423f194a 7989 bool temp1 = False ;
d14a1e28
RD
7990 PyObject * obj0 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "msg", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7996 {
7997 arg1 = wxString_in_helper(obj0);
7998 if (arg1 == NULL) SWIG_fail;
423f194a 7999 temp1 = True;
d14a1e28
RD
8000 }
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 wxLogFatalError((wxString const &)*arg1);
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 Py_INCREF(Py_None); resultobj = Py_None;
8009 {
8010 if (temp1)
8011 delete arg1;
8012 }
8013 return resultobj;
8014 fail:
8015 {
8016 if (temp1)
8017 delete arg1;
8018 }
8019 return NULL;
8020}
8021
8022
8023static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj;
8025 wxString *arg1 = 0 ;
423f194a 8026 bool temp1 = False ;
d14a1e28
RD
8027 PyObject * obj0 = 0 ;
8028 char *kwnames[] = {
8029 (char *) "msg", NULL
8030 };
8031
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8033 {
8034 arg1 = wxString_in_helper(obj0);
8035 if (arg1 == NULL) SWIG_fail;
423f194a 8036 temp1 = True;
d14a1e28
RD
8037 }
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 wxLogError((wxString const &)*arg1);
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 Py_INCREF(Py_None); resultobj = Py_None;
8046 {
8047 if (temp1)
8048 delete arg1;
8049 }
8050 return resultobj;
8051 fail:
8052 {
8053 if (temp1)
8054 delete arg1;
8055 }
8056 return NULL;
8057}
8058
8059
8060static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxString *arg1 = 0 ;
423f194a 8063 bool temp1 = False ;
d14a1e28
RD
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "msg", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8070 {
8071 arg1 = wxString_in_helper(obj0);
8072 if (arg1 == NULL) SWIG_fail;
423f194a 8073 temp1 = True;
d14a1e28
RD
8074 }
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 wxLogWarning((wxString const &)*arg1);
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 Py_INCREF(Py_None); resultobj = Py_None;
8083 {
8084 if (temp1)
8085 delete arg1;
8086 }
8087 return resultobj;
8088 fail:
8089 {
8090 if (temp1)
8091 delete arg1;
8092 }
8093 return NULL;
8094}
8095
8096
8097static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxString *arg1 = 0 ;
423f194a 8100 bool temp1 = False ;
d14a1e28
RD
8101 PyObject * obj0 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "msg", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8107 {
8108 arg1 = wxString_in_helper(obj0);
8109 if (arg1 == NULL) SWIG_fail;
423f194a 8110 temp1 = True;
d14a1e28
RD
8111 }
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 wxLogMessage((wxString const &)*arg1);
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 Py_INCREF(Py_None); resultobj = Py_None;
8120 {
8121 if (temp1)
8122 delete arg1;
8123 }
8124 return resultobj;
8125 fail:
8126 {
8127 if (temp1)
8128 delete arg1;
8129 }
8130 return NULL;
8131}
8132
8133
8134static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxString *arg1 = 0 ;
423f194a 8137 bool temp1 = False ;
d14a1e28
RD
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "msg", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8144 {
8145 arg1 = wxString_in_helper(obj0);
8146 if (arg1 == NULL) SWIG_fail;
423f194a 8147 temp1 = True;
d14a1e28
RD
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 wxLogInfo((wxString const &)*arg1);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 Py_INCREF(Py_None); resultobj = Py_None;
8157 {
8158 if (temp1)
8159 delete arg1;
8160 }
8161 return resultobj;
8162 fail:
8163 {
8164 if (temp1)
8165 delete arg1;
8166 }
8167 return NULL;
8168}
8169
8170
8171static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxString *arg1 = 0 ;
423f194a 8174 bool temp1 = False ;
d14a1e28
RD
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "msg", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8181 {
8182 arg1 = wxString_in_helper(obj0);
8183 if (arg1 == NULL) SWIG_fail;
423f194a 8184 temp1 = True;
d14a1e28
RD
8185 }
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 wxLogDebug((wxString const &)*arg1);
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 Py_INCREF(Py_None); resultobj = Py_None;
8194 {
8195 if (temp1)
8196 delete arg1;
8197 }
8198 return resultobj;
8199 fail:
8200 {
8201 if (temp1)
8202 delete arg1;
8203 }
8204 return NULL;
8205}
8206
8207
8208static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxString *arg1 = 0 ;
423f194a 8211 bool temp1 = False ;
d14a1e28
RD
8212 PyObject * obj0 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "msg", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8218 {
8219 arg1 = wxString_in_helper(obj0);
8220 if (arg1 == NULL) SWIG_fail;
423f194a 8221 temp1 = True;
d14a1e28
RD
8222 }
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 wxLogVerbose((wxString const &)*arg1);
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 Py_INCREF(Py_None); resultobj = Py_None;
8231 {
8232 if (temp1)
8233 delete arg1;
8234 }
8235 return resultobj;
8236 fail:
8237 {
8238 if (temp1)
8239 delete arg1;
8240 }
8241 return NULL;
8242}
8243
8244
8245static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxString *arg1 = 0 ;
423f194a 8248 bool temp1 = False ;
d14a1e28
RD
8249 PyObject * obj0 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "msg", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8255 {
8256 arg1 = wxString_in_helper(obj0);
8257 if (arg1 == NULL) SWIG_fail;
423f194a 8258 temp1 = True;
d14a1e28
RD
8259 }
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 wxLogStatus((wxString const &)*arg1);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 Py_INCREF(Py_None); resultobj = Py_None;
8268 {
8269 if (temp1)
8270 delete arg1;
8271 }
8272 return resultobj;
8273 fail:
8274 {
8275 if (temp1)
8276 delete arg1;
8277 }
8278 return NULL;
8279}
8280
8281
8282static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxFrame *arg1 = (wxFrame *) 0 ;
8285 wxString *arg2 = 0 ;
423f194a 8286 bool temp2 = False ;
d14a1e28
RD
8287 PyObject * obj0 = 0 ;
8288 PyObject * obj1 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "pFrame",(char *) "msg", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8296 {
8297 arg2 = wxString_in_helper(obj1);
8298 if (arg2 == NULL) SWIG_fail;
423f194a 8299 temp2 = True;
d14a1e28
RD
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 wxLogStatus(arg1,(wxString const &)*arg2);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 Py_INCREF(Py_None); resultobj = Py_None;
8309 {
8310 if (temp2)
8311 delete arg2;
8312 }
8313 return resultobj;
8314 fail:
8315 {
8316 if (temp2)
8317 delete arg2;
8318 }
8319 return NULL;
8320}
8321
8322
8323static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxString *arg1 = 0 ;
423f194a 8326 bool temp1 = False ;
d14a1e28
RD
8327 PyObject * obj0 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "msg", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8333 {
8334 arg1 = wxString_in_helper(obj0);
8335 if (arg1 == NULL) SWIG_fail;
423f194a 8336 temp1 = True;
d14a1e28
RD
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 wxLogSysError((wxString const &)*arg1);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 Py_INCREF(Py_None); resultobj = Py_None;
8346 {
8347 if (temp1)
8348 delete arg1;
8349 }
8350 return resultobj;
8351 fail:
8352 {
8353 if (temp1)
8354 delete arg1;
8355 }
8356 return NULL;
8357}
8358
8359
f0983263 8360static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 8361 PyObject *resultobj;
f0983263
RD
8362 unsigned long arg1 ;
8363 wxString *arg2 = 0 ;
8364 bool temp2 = False ;
d14a1e28 8365 PyObject * obj0 = 0 ;
f0983263 8366 PyObject * obj1 = 0 ;
d14a1e28 8367
f0983263 8368 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
2f4c0a16
RD
8369 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8371 {
f0983263
RD
8372 arg2 = wxString_in_helper(obj1);
8373 if (arg2 == NULL) SWIG_fail;
8374 temp2 = True;
d14a1e28
RD
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263 8378 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 Py_INCREF(Py_None); resultobj = Py_None;
8384 {
f0983263
RD
8385 if (temp2)
8386 delete arg2;
d14a1e28
RD
8387 }
8388 return resultobj;
8389 fail:
8390 {
f0983263
RD
8391 if (temp2)
8392 delete arg2;
d14a1e28
RD
8393 }
8394 return NULL;
8395}
8396
8397
f0983263 8398static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
8399 PyObject *resultobj;
8400 wxString *arg1 = 0 ;
8401 wxString *arg2 = 0 ;
423f194a
RD
8402 bool temp1 = False ;
8403 bool temp2 = False ;
d14a1e28
RD
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
d14a1e28 8406
f0983263 8407 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8408 {
8409 arg1 = wxString_in_helper(obj0);
8410 if (arg1 == NULL) SWIG_fail;
423f194a 8411 temp1 = True;
d14a1e28
RD
8412 }
8413 {
8414 arg2 = wxString_in_helper(obj1);
8415 if (arg2 == NULL) SWIG_fail;
423f194a 8416 temp2 = True;
d14a1e28
RD
8417 }
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 Py_INCREF(Py_None); resultobj = Py_None;
8426 {
8427 if (temp1)
8428 delete arg1;
8429 }
8430 {
8431 if (temp2)
8432 delete arg2;
8433 }
8434 return resultobj;
8435 fail:
8436 {
8437 if (temp1)
8438 delete arg1;
8439 }
8440 {
8441 if (temp2)
8442 delete arg2;
8443 }
8444 return NULL;
8445}
8446
8447
f0983263
RD
8448static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8449 int argc;
8450 PyObject *argv[3];
8451 int ii;
8452
8453 argc = PyObject_Length(args);
8454 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8455 argv[ii] = PyTuple_GetItem(args,ii);
8456 }
8457 if (argc == 2) {
8458 int _v;
8459 {
4e760a36 8460 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
f0983263
RD
8461 }
8462 if (_v) {
8463 {
4e760a36 8464 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
f0983263
RD
8465 }
8466 if (_v) {
8467 return _wrap_LogTrace__SWIG_1(self,args);
8468 }
8469 }
8470 }
8471 if (argc == 2) {
8472 int _v;
2f4c0a16 8473 _v = SWIG_CheckUnsignedLong(argv[0]);
f0983263
RD
8474 if (_v) {
8475 {
4e760a36 8476 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
f0983263
RD
8477 }
8478 if (_v) {
8479 return _wrap_LogTrace__SWIG_0(self,args);
8480 }
8481 }
8482 }
8483
8484 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8485 return NULL;
8486}
8487
8488
d14a1e28
RD
8489static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 unsigned long arg1 ;
8492 wxString *arg2 = 0 ;
423f194a 8493 bool temp2 = False ;
d14a1e28
RD
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "level",(char *) "msg", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8501 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8503 {
8504 arg2 = wxString_in_helper(obj1);
8505 if (arg2 == NULL) SWIG_fail;
423f194a 8506 temp2 = True;
d14a1e28
RD
8507 }
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 wxLogGeneric(arg1,(wxString const &)*arg2);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 {
8517 if (temp2)
8518 delete arg2;
8519 }
8520 return resultobj;
8521 fail:
8522 {
8523 if (temp2)
8524 delete arg2;
8525 }
8526 return NULL;
8527}
8528
8529
8530static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxString *arg1 = 0 ;
8533 wxString *arg2 = 0 ;
423f194a
RD
8534 bool temp1 = False ;
8535 bool temp2 = False ;
d14a1e28
RD
8536 PyObject * obj0 = 0 ;
8537 PyObject * obj1 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "title",(char *) "text", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8543 {
8544 arg1 = wxString_in_helper(obj0);
8545 if (arg1 == NULL) SWIG_fail;
423f194a 8546 temp1 = True;
d14a1e28
RD
8547 }
8548 {
8549 arg2 = wxString_in_helper(obj1);
8550 if (arg2 == NULL) SWIG_fail;
423f194a 8551 temp2 = True;
d14a1e28
RD
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 {
8562 if (temp1)
8563 delete arg1;
8564 }
8565 {
8566 if (temp2)
8567 delete arg2;
8568 }
8569 return resultobj;
8570 fail:
8571 {
8572 if (temp1)
8573 delete arg1;
8574 }
8575 {
8576 if (temp2)
8577 delete arg2;
8578 }
8579 return NULL;
8580}
8581
8582
8583static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxLogNull *result;
8586 char *kwnames[] = {
8587 NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (wxLogNull *)new wxLogNull();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
2f4c0a16 8598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
8605static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxLogNull *arg1 = (wxLogNull *) 0 ;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 delete arg1;
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
8630static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8631 PyObject *obj;
8632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8633 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8634 Py_INCREF(obj);
8635 return Py_BuildValue((char *)"");
8636}
8637static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyLog *result;
8640 char *kwnames[] = {
8641 NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (wxPyLog *)new wxPyLog();
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
2f4c0a16 8652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
8653 return resultobj;
8654 fail:
8655 return NULL;
8656}
8657
8658
8659static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxPyLog *arg1 = (wxPyLog *) 0 ;
8662 PyObject *arg2 = (PyObject *) 0 ;
8663 PyObject *arg3 = (PyObject *) 0 ;
8664 PyObject * obj0 = 0 ;
8665 PyObject * obj1 = 0 ;
8666 PyObject * obj2 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self",(char *) "self",(char *) "_class", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8674 arg2 = obj1;
8675 arg3 = obj2;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->_setCallbackInfo(arg2,arg3);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687}
8688
8689
8690static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8691 PyObject *obj;
8692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8693 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8694 Py_INCREF(obj);
8695 return Py_BuildValue((char *)"");
8696}
8697static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 int arg1 ;
8700 int arg2 = (int) wxSIGTERM ;
8701 int result;
8edf1c75
RD
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
d14a1e28
RD
8704 char *kwnames[] = {
8705 (char *) "pid",(char *) "sig", NULL
8706 };
8707
8edf1c75 8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8709 arg1 = (int) SWIG_AsInt(obj0);
8710 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8711 if (obj1) {
2f4c0a16
RD
8712 arg2 = (wxSignal) SWIG_AsInt(obj1);
8713 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8714 }
d14a1e28
RD
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
2f4c0a16 8722 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8723 return resultobj;
8724 fail:
8725 return NULL;
8726}
8727
8728
8729static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj;
8731 int arg1 ;
8732 bool result;
8edf1c75 8733 PyObject * obj0 = 0 ;
d14a1e28
RD
8734 char *kwnames[] = {
8735 (char *) "pid", NULL
8736 };
8737
8edf1c75 8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8739 arg1 = (int) SWIG_AsInt(obj0);
8740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 result = (bool)wxPyProcess::Exists(arg1);
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
4f89f6a3
RD
8748 {
8749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8750 }
d14a1e28
RD
8751 return resultobj;
8752 fail:
8753 return NULL;
8754}
8755
8756
8757static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxString *arg1 = 0 ;
8760 int arg2 = (int) wxEXEC_ASYNC ;
8761 wxPyProcess *result;
423f194a 8762 bool temp1 = False ;
d14a1e28 8763 PyObject * obj0 = 0 ;
8edf1c75 8764 PyObject * obj1 = 0 ;
d14a1e28
RD
8765 char *kwnames[] = {
8766 (char *) "cmd",(char *) "flags", NULL
8767 };
8768
8edf1c75 8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8770 {
8771 arg1 = wxString_in_helper(obj0);
8772 if (arg1 == NULL) SWIG_fail;
423f194a 8773 temp1 = True;
d14a1e28 8774 }
8edf1c75 8775 if (obj1) {
2f4c0a16
RD
8776 arg2 = (int) SWIG_AsInt(obj1);
8777 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8778 }
d14a1e28
RD
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
2f4c0a16 8786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
8787 {
8788 if (temp1)
8789 delete arg1;
8790 }
8791 return resultobj;
8792 fail:
8793 {
8794 if (temp1)
8795 delete arg1;
8796 }
8797 return NULL;
8798}
8799
8800
8801static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8804 int arg2 = (int) -1 ;
8805 wxPyProcess *result;
8806 PyObject * obj0 = 0 ;
8edf1c75 8807 PyObject * obj1 = 0 ;
d14a1e28
RD
8808 char *kwnames[] = {
8809 (char *) "parent",(char *) "id", NULL
8810 };
8811
8edf1c75 8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8813 if (obj0) {
2f4c0a16
RD
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8816 }
8edf1c75 8817 if (obj1) {
2f4c0a16
RD
8818 arg2 = (int) SWIG_AsInt(obj1);
8819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8820 }
d14a1e28
RD
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
2f4c0a16 8828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8838 PyObject *arg2 = (PyObject *) 0 ;
8839 PyObject *arg3 = (PyObject *) 0 ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 PyObject * obj2 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self",(char *) "self",(char *) "_class", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8850 arg2 = obj1;
8851 arg3 = obj2;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 (arg1)->_setCallbackInfo(arg2,arg3);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 Py_INCREF(Py_None); resultobj = Py_None;
8860 return resultobj;
8861 fail:
8862 return NULL;
8863}
8864
8865
8866static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8869 int arg2 ;
8870 int arg3 ;
8871 PyObject * obj0 = 0 ;
8edf1c75
RD
8872 PyObject * obj1 = 0 ;
8873 PyObject * obj2 = 0 ;
d14a1e28
RD
8874 char *kwnames[] = {
8875 (char *) "self",(char *) "pid",(char *) "status", NULL
8876 };
8877
8edf1c75 8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8881 arg2 = (int) SWIG_AsInt(obj1);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 arg3 = (int) SWIG_AsInt(obj2);
8884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->base_OnTerminate(arg2,arg3);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896}
8897
8898
8899static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8902 PyObject * obj0 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->Redirect();
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 Py_INCREF(Py_None); resultobj = Py_None;
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
8924static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8927 bool result;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (bool)(arg1)->IsRedirected();
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
4f89f6a3
RD
8943 {
8944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8945 }
d14a1e28
RD
8946 return resultobj;
8947 fail:
8948 return NULL;
8949}
8950
8951
8952static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj;
8954 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->Detach();
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 return resultobj;
8972 fail:
8973 return NULL;
8974}
8975
8976
8977static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8980 wxInputStream *result;
8981 PyObject * obj0 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (wxInputStream *)(arg1)->GetInputStream();
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 wxPyInputStream * _ptr = NULL;
8998
8999 if (result) {
9000 _ptr = new wxPyInputStream(result);
9001 }
423f194a 9002 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
9003 }
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9013 wxInputStream *result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (wxInputStream *)(arg1)->GetErrorStream();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 {
9030 wxPyInputStream * _ptr = NULL;
9031
9032 if (result) {
9033 _ptr = new wxPyInputStream(result);
9034 }
423f194a 9035 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
9036 }
9037 return resultobj;
9038 fail:
9039 return NULL;
9040}
9041
9042
9043static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9046 wxOutputStream *result;
9047 PyObject * obj0 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (wxOutputStream *)(arg1)->GetOutputStream();
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
2f4c0a16 9062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
9069static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9072 PyObject * obj0 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->CloseOutput();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
9094static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9097 bool result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
4f89f6a3
RD
9113 {
9114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9115 }
d14a1e28
RD
9116 return resultobj;
9117 fail:
9118 return NULL;
9119}
9120
9121
9122static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9125 bool result;
9126 PyObject * obj0 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
4f89f6a3
RD
9141 {
9142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9143 }
d14a1e28
RD
9144 return resultobj;
9145 fail:
9146 return NULL;
9147}
9148
9149
9150static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9153 bool result;
9154 PyObject * obj0 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
4f89f6a3
RD
9169 {
9170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9171 }
d14a1e28
RD
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
9178static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9179 PyObject *obj;
9180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9181 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9182 Py_INCREF(obj);
9183 return Py_BuildValue((char *)"");
9184}
9185static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 int arg1 = (int) 0 ;
9188 int arg2 = (int) 0 ;
9189 int arg3 = (int) 0 ;
9190 wxProcessEvent *result;
8edf1c75
RD
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 PyObject * obj2 = 0 ;
d14a1e28
RD
9194 char *kwnames[] = {
9195 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9196 };
9197
8edf1c75
RD
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9199 if (obj0) {
2f4c0a16
RD
9200 arg1 = (int) SWIG_AsInt(obj0);
9201 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9202 }
9203 if (obj1) {
2f4c0a16
RD
9204 arg2 = (int) SWIG_AsInt(obj1);
9205 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9206 }
9207 if (obj2) {
2f4c0a16
RD
9208 arg3 = (int) SWIG_AsInt(obj2);
9209 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9210 }
d14a1e28
RD
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
2f4c0a16 9218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
9225static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9228 int result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (int)(arg1)->GetPid();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
2f4c0a16 9244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9245 return resultobj;
9246 fail:
9247 return NULL;
9248}
9249
9250
9251static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9254 int result;
9255 PyObject * obj0 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "self", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = (int)(arg1)->GetExitCode();
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
2f4c0a16 9270 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9271 return resultobj;
9272 fail:
9273 return NULL;
9274}
9275
9276
9277static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9280 int arg2 ;
9281 PyObject * obj0 = 0 ;
8edf1c75 9282 PyObject * obj1 = 0 ;
d14a1e28
RD
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "m_pid", NULL
9285 };
9286
8edf1c75 9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9290 arg2 = (int) SWIG_AsInt(obj1);
9291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9292 if (arg1) (arg1)->m_pid = arg2;
9293
9294 Py_INCREF(Py_None); resultobj = Py_None;
9295 return resultobj;
9296 fail:
9297 return NULL;
9298}
9299
9300
9301static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj;
9303 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9304 int result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9313 result = (int) ((arg1)->m_pid);
9314
2f4c0a16 9315 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9316 return resultobj;
9317 fail:
9318 return NULL;
9319}
9320
9321
9322static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9325 int arg2 ;
9326 PyObject * obj0 = 0 ;
8edf1c75 9327 PyObject * obj1 = 0 ;
d14a1e28
RD
9328 char *kwnames[] = {
9329 (char *) "self",(char *) "m_exitcode", NULL
9330 };
9331
8edf1c75 9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9335 arg2 = (int) SWIG_AsInt(obj1);
9336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9337 if (arg1) (arg1)->m_exitcode = arg2;
9338
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
9346static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9349 int result;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9358 result = (int) ((arg1)->m_exitcode);
9359
2f4c0a16 9360 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9361 return resultobj;
9362 fail:
9363 return NULL;
9364}
9365
9366
9367static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9368 PyObject *obj;
9369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9371 Py_INCREF(obj);
9372 return Py_BuildValue((char *)"");
9373}
9374static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxString *arg1 = 0 ;
9377 int arg2 = (int) wxEXEC_ASYNC ;
9378 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9379 long result;
423f194a 9380 bool temp1 = False ;
d14a1e28 9381 PyObject * obj0 = 0 ;
8edf1c75 9382 PyObject * obj1 = 0 ;
d14a1e28
RD
9383 PyObject * obj2 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "command",(char *) "flags",(char *) "process", NULL
9386 };
9387
8edf1c75 9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9389 {
9390 arg1 = wxString_in_helper(obj0);
9391 if (arg1 == NULL) SWIG_fail;
423f194a 9392 temp1 = True;
d14a1e28 9393 }
8edf1c75 9394 if (obj1) {
2f4c0a16
RD
9395 arg2 = (int) SWIG_AsInt(obj1);
9396 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9397 }
d14a1e28 9398 if (obj2) {
2f4c0a16
RD
9399 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9401 }
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
2f4c0a16 9409 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9410 {
9411 if (temp1)
9412 delete arg1;
9413 }
9414 return resultobj;
9415 fail:
9416 {
9417 if (temp1)
9418 delete arg1;
9419 }
9420 return NULL;
9421}
9422
9423
9424static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 int arg1 = (int) wxJOYSTICK1 ;
9427 wxJoystick *result;
8edf1c75 9428 PyObject * obj0 = 0 ;
d14a1e28
RD
9429 char *kwnames[] = {
9430 (char *) "joystick", NULL
9431 };
9432
8edf1c75
RD
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9434 if (obj0) {
2f4c0a16
RD
9435 arg1 = (int) SWIG_AsInt(obj0);
9436 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9437 }
d14a1e28
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (wxJoystick *)new wxJoystick(arg1);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
2f4c0a16 9445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
9452static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9453 PyObject *resultobj;
9454 wxJoystick *arg1 = (wxJoystick *) 0 ;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 delete arg1;
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 Py_INCREF(Py_None); resultobj = Py_None;
9471 return resultobj;
9472 fail:
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxJoystick *arg1 = (wxJoystick *) 0 ;
9480 wxPoint result;
9481 PyObject * obj0 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (arg1)->GetPosition();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 {
9497 wxPoint * resultptr;
9498 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 9499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
9500 }
9501 return resultobj;
9502 fail:
9503 return NULL;
9504}
9505
9506
9507static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxJoystick *arg1 = (wxJoystick *) 0 ;
9510 int result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)(arg1)->GetZPosition();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
2f4c0a16 9526 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
9533static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxJoystick *arg1 = (wxJoystick *) 0 ;
9536 int result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (int)(arg1)->GetButtonState();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
2f4c0a16 9552 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9553 return resultobj;
9554 fail:
9555 return NULL;
9556}
9557
9558
9559static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxJoystick *arg1 = (wxJoystick *) 0 ;
9562 int result;
9563 PyObject * obj0 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (int)(arg1)->GetPOVPosition();
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
2f4c0a16 9578 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxJoystick *arg1 = (wxJoystick *) 0 ;
9588 int result;
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (int)(arg1)->GetPOVCTSPosition();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
2f4c0a16 9604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
9611static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxJoystick *arg1 = (wxJoystick *) 0 ;
9614 int result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (int)(arg1)->GetRudderPosition();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
2f4c0a16 9630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9631 return resultobj;
9632 fail:
9633 return NULL;
9634}
9635
9636
9637static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxJoystick *arg1 = (wxJoystick *) 0 ;
9640 int result;
9641 PyObject * obj0 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 result = (int)(arg1)->GetUPosition();
9652
9653 wxPyEndAllowThreads(__tstate);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 }
2f4c0a16 9656 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9657 return resultobj;
9658 fail:
9659 return NULL;
9660}
9661
9662
9663static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9664 PyObject *resultobj;
9665 wxJoystick *arg1 = (wxJoystick *) 0 ;
9666 int result;
9667 PyObject * obj0 = 0 ;
9668 char *kwnames[] = {
9669 (char *) "self", NULL
9670 };
9671
9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 result = (int)(arg1)->GetVPosition();
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
2f4c0a16 9682 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9683 return resultobj;
9684 fail:
9685 return NULL;
9686}
9687
9688
9689static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxJoystick *arg1 = (wxJoystick *) 0 ;
9692 int result;
9693 PyObject * obj0 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (int)(arg1)->GetMovementThreshold();
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
2f4c0a16 9708 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9709 return resultobj;
9710 fail:
9711 return NULL;
9712}
9713
9714
9715static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxJoystick *arg1 = (wxJoystick *) 0 ;
9718 int arg2 ;
9719 PyObject * obj0 = 0 ;
8edf1c75 9720 PyObject * obj1 = 0 ;
d14a1e28
RD
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "threshold", NULL
9723 };
9724
8edf1c75 9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 arg2 = (int) SWIG_AsInt(obj1);
9729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->SetMovementThreshold(arg2);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 Py_INCREF(Py_None); resultobj = Py_None;
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxJoystick *arg1 = (wxJoystick *) 0 ;
9747 bool result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (bool)(arg1)->IsOk();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
4f89f6a3
RD
9763 {
9764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9765 }
d14a1e28
RD
9766 return resultobj;
9767 fail:
9768 return NULL;
9769}
9770
9771
9772static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj;
9774 wxJoystick *arg1 = (wxJoystick *) 0 ;
9775 int result;
9776 PyObject * obj0 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (int)(arg1)->GetNumberJoysticks();
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
2f4c0a16 9791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9792 return resultobj;
9793 fail:
9794 return NULL;
9795}
9796
9797
9798static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj;
9800 wxJoystick *arg1 = (wxJoystick *) 0 ;
9801 int result;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (int)(arg1)->GetManufacturerId();
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
2f4c0a16 9817 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9818 return resultobj;
9819 fail:
9820 return NULL;
9821}
9822
9823
9824static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxJoystick *arg1 = (wxJoystick *) 0 ;
9827 int result;
9828 PyObject * obj0 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = (int)(arg1)->GetProductId();
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
2f4c0a16 9843 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9844 return resultobj;
9845 fail:
9846 return NULL;
9847}
9848
9849
9850static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj;
9852 wxJoystick *arg1 = (wxJoystick *) 0 ;
9853 wxString result;
9854 PyObject * obj0 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 result = (arg1)->GetProductName();
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 {
9870#if wxUSE_UNICODE
9871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9872#else
9873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9874#endif
9875 }
9876 return resultobj;
9877 fail:
9878 return NULL;
9879}
9880
9881
9882static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxJoystick *arg1 = (wxJoystick *) 0 ;
9885 int result;
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (int)(arg1)->GetXMin();
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
2f4c0a16 9901 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9902 return resultobj;
9903 fail:
9904 return NULL;
9905}
9906
9907
9908static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj;
9910 wxJoystick *arg1 = (wxJoystick *) 0 ;
9911 int result;
9912 PyObject * obj0 = 0 ;
9913 char *kwnames[] = {
9914 (char *) "self", NULL
9915 };
9916
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (int)(arg1)->GetYMin();
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
2f4c0a16 9927 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9928 return resultobj;
9929 fail:
9930 return NULL;
9931}
9932
9933
9934static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj;
9936 wxJoystick *arg1 = (wxJoystick *) 0 ;
9937 int result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (int)(arg1)->GetZMin();
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
2f4c0a16 9953 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9954 return resultobj;
9955 fail:
9956 return NULL;
9957}
9958
9959
9960static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxJoystick *arg1 = (wxJoystick *) 0 ;
9963 int result;
9964 PyObject * obj0 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "self", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 result = (int)(arg1)->GetXMax();
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
2f4c0a16 9979 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9980 return resultobj;
9981 fail:
9982 return NULL;
9983}
9984
9985
9986static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9987 PyObject *resultobj;
9988 wxJoystick *arg1 = (wxJoystick *) 0 ;
9989 int result;
9990 PyObject * obj0 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (int)(arg1)->GetYMax();
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
2f4c0a16 10005 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10006 return resultobj;
10007 fail:
10008 return NULL;
10009}
10010
10011
10012static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxJoystick *arg1 = (wxJoystick *) 0 ;
10015 int result;
10016 PyObject * obj0 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (int)(arg1)->GetZMax();
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
2f4c0a16 10031 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
10038static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxJoystick *arg1 = (wxJoystick *) 0 ;
10041 int result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (int)(arg1)->GetNumberButtons();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
2f4c0a16 10057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10058 return resultobj;
10059 fail:
10060 return NULL;
10061}
10062
10063
10064static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxJoystick *arg1 = (wxJoystick *) 0 ;
10067 int result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (int)(arg1)->GetNumberAxes();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
2f4c0a16 10083 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10084 return resultobj;
10085 fail:
10086 return NULL;
10087}
10088
10089
10090static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxJoystick *arg1 = (wxJoystick *) 0 ;
10093 int result;
10094 PyObject * obj0 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (int)(arg1)->GetMaxButtons();
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
2f4c0a16 10109 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10110 return resultobj;
10111 fail:
10112 return NULL;
10113}
10114
10115
10116static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxJoystick *arg1 = (wxJoystick *) 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)(arg1)->GetMaxAxes();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
2f4c0a16 10135 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxJoystick *arg1 = (wxJoystick *) 0 ;
10145 int result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (int)(arg1)->GetPollingMin();
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
2f4c0a16 10161 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10162 return resultobj;
10163 fail:
10164 return NULL;
10165}
10166
10167
10168static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxJoystick *arg1 = (wxJoystick *) 0 ;
10171 int result;
10172 PyObject * obj0 = 0 ;
10173 char *kwnames[] = {
10174 (char *) "self", NULL
10175 };
10176
10177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10180 {
10181 PyThreadState* __tstate = wxPyBeginAllowThreads();
10182 result = (int)(arg1)->GetPollingMax();
10183
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
2f4c0a16 10187 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10188 return resultobj;
10189 fail:
10190 return NULL;
10191}
10192
10193
10194static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxJoystick *arg1 = (wxJoystick *) 0 ;
10197 int result;
10198 PyObject * obj0 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (int)(arg1)->GetRudderMin();
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
2f4c0a16 10213 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10214 return resultobj;
10215 fail:
10216 return NULL;
10217}
10218
10219
10220static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxJoystick *arg1 = (wxJoystick *) 0 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (int)(arg1)->GetRudderMax();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
2f4c0a16 10239 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10240 return resultobj;
10241 fail:
10242 return NULL;
10243}
10244
10245
10246static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxJoystick *arg1 = (wxJoystick *) 0 ;
10249 int result;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = (int)(arg1)->GetUMin();
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
2f4c0a16 10265 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10266 return resultobj;
10267 fail:
10268 return NULL;
10269}
10270
10271
10272static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxJoystick *arg1 = (wxJoystick *) 0 ;
10275 int result;
10276 PyObject * obj0 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "self", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (int)(arg1)->GetUMax();
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
2f4c0a16 10291 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10292 return resultobj;
10293 fail:
10294 return NULL;
10295}
10296
10297
10298static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxJoystick *arg1 = (wxJoystick *) 0 ;
10301 int result;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (int)(arg1)->GetVMin();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
2f4c0a16 10317 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
10324static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxJoystick *arg1 = (wxJoystick *) 0 ;
10327 int result;
10328 PyObject * obj0 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (int)(arg1)->GetVMax();
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
2f4c0a16 10343 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10344 return resultobj;
10345 fail:
10346 return NULL;
10347}
10348
10349
10350static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxJoystick *arg1 = (wxJoystick *) 0 ;
10353 bool result;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (bool)(arg1)->HasRudder();
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
4f89f6a3
RD
10369 {
10370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10371 }
d14a1e28
RD
10372 return resultobj;
10373 fail:
10374 return NULL;
10375}
10376
10377
10378static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxJoystick *arg1 = (wxJoystick *) 0 ;
10381 bool result;
10382 PyObject * obj0 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (bool)(arg1)->HasZ();
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
4f89f6a3
RD
10397 {
10398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10399 }
d14a1e28
RD
10400 return resultobj;
10401 fail:
10402 return NULL;
10403}
10404
10405
10406static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj;
10408 wxJoystick *arg1 = (wxJoystick *) 0 ;
10409 bool result;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (bool)(arg1)->HasU();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
4f89f6a3
RD
10425 {
10426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10427 }
d14a1e28
RD
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
10434static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxJoystick *arg1 = (wxJoystick *) 0 ;
10437 bool result;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->HasV();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
4f89f6a3
RD
10453 {
10454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10455 }
d14a1e28
RD
10456 return resultobj;
10457 fail:
10458 return NULL;
10459}
10460
10461
10462static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxJoystick *arg1 = (wxJoystick *) 0 ;
10465 bool result;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (bool)(arg1)->HasPOV();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
4f89f6a3
RD
10481 {
10482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10483 }
d14a1e28
RD
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
10490static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxJoystick *arg1 = (wxJoystick *) 0 ;
10493 bool result;
10494 PyObject * obj0 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (bool)(arg1)->HasPOV4Dir();
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
4f89f6a3
RD
10509 {
10510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10511 }
d14a1e28
RD
10512 return resultobj;
10513 fail:
10514 return NULL;
10515}
10516
10517
10518static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxJoystick *arg1 = (wxJoystick *) 0 ;
10521 bool result;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (bool)(arg1)->HasPOVCTS();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
4f89f6a3
RD
10537 {
10538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10539 }
d14a1e28
RD
10540 return resultobj;
10541 fail:
10542 return NULL;
10543}
10544
10545
10546static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxJoystick *arg1 = (wxJoystick *) 0 ;
10549 wxWindow *arg2 = (wxWindow *) 0 ;
10550 int arg3 = (int) 0 ;
10551 bool result;
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
8edf1c75 10554 PyObject * obj2 = 0 ;
d14a1e28
RD
10555 char *kwnames[] = {
10556 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10557 };
10558
8edf1c75 10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10564 if (obj2) {
2f4c0a16
RD
10565 arg3 = (int) SWIG_AsInt(obj2);
10566 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10567 }
d14a1e28
RD
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (bool)(arg1)->SetCapture(arg2,arg3);
10571
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
4f89f6a3
RD
10575 {
10576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10577 }
d14a1e28
RD
10578 return resultobj;
10579 fail:
10580 return NULL;
10581}
10582
10583
10584static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject *resultobj;
10586 wxJoystick *arg1 = (wxJoystick *) 0 ;
10587 bool result;
10588 PyObject * obj0 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (bool)(arg1)->ReleaseCapture();
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
4f89f6a3
RD
10603 {
10604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10605 }
d14a1e28
RD
10606 return resultobj;
10607 fail:
10608 return NULL;
10609}
10610
10611
10612static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10613 PyObject *obj;
10614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10616 Py_INCREF(obj);
10617 return Py_BuildValue((char *)"");
10618}
10619static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10622 wxPoint *arg2 = (wxPoint *) 0 ;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "m_pos", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10634 if (arg1) (arg1)->m_pos = *arg2;
10635
10636 Py_INCREF(Py_None); resultobj = Py_None;
10637 return resultobj;
10638 fail:
10639 return NULL;
10640}
10641
10642
10643static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj;
10645 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10646 wxPoint *result;
10647 PyObject * obj0 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self", NULL
10650 };
10651
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10655 result = (wxPoint *)& ((arg1)->m_pos);
10656
2f4c0a16 10657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
10664static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10667 int arg2 ;
10668 PyObject * obj0 = 0 ;
8edf1c75 10669 PyObject * obj1 = 0 ;
d14a1e28
RD
10670 char *kwnames[] = {
10671 (char *) "self",(char *) "m_zPosition", NULL
10672 };
10673
8edf1c75 10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10677 arg2 = (int) SWIG_AsInt(obj1);
10678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10679 if (arg1) (arg1)->m_zPosition = arg2;
10680
10681 Py_INCREF(Py_None); resultobj = Py_None;
10682 return resultobj;
10683 fail:
10684 return NULL;
10685}
10686
10687
10688static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10691 int result;
10692 PyObject * obj0 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10700 result = (int) ((arg1)->m_zPosition);
10701
2f4c0a16 10702 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
10709static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10712 int arg2 ;
10713 PyObject * obj0 = 0 ;
8edf1c75 10714 PyObject * obj1 = 0 ;
d14a1e28
RD
10715 char *kwnames[] = {
10716 (char *) "self",(char *) "m_buttonChange", NULL
10717 };
10718
8edf1c75 10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10722 arg2 = (int) SWIG_AsInt(obj1);
10723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10724 if (arg1) (arg1)->m_buttonChange = arg2;
10725
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730}
10731
10732
10733static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10736 int result;
10737 PyObject * obj0 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10745 result = (int) ((arg1)->m_buttonChange);
10746
2f4c0a16 10747 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10748 return resultobj;
10749 fail:
10750 return NULL;
10751}
10752
10753
10754static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10757 int arg2 ;
10758 PyObject * obj0 = 0 ;
8edf1c75 10759 PyObject * obj1 = 0 ;
d14a1e28
RD
10760 char *kwnames[] = {
10761 (char *) "self",(char *) "m_buttonState", NULL
10762 };
10763
8edf1c75 10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10767 arg2 = (int) SWIG_AsInt(obj1);
10768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10769 if (arg1) (arg1)->m_buttonState = arg2;
10770
10771 Py_INCREF(Py_None); resultobj = Py_None;
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
10778static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10781 int result;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10790 result = (int) ((arg1)->m_buttonState);
10791
2f4c0a16 10792 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
10799static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10802 int arg2 ;
10803 PyObject * obj0 = 0 ;
8edf1c75 10804 PyObject * obj1 = 0 ;
d14a1e28
RD
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "m_joyStick", NULL
10807 };
10808
8edf1c75 10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 arg2 = (int) SWIG_AsInt(obj1);
10813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10814 if (arg1) (arg1)->m_joyStick = arg2;
10815
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
10823static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10826 int result;
10827 PyObject * obj0 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10835 result = (int) ((arg1)->m_joyStick);
10836
2f4c0a16 10837 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
10844static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10847 int arg2 = (int) 0 ;
10848 int arg3 = (int) wxJOYSTICK1 ;
10849 int arg4 = (int) 0 ;
10850 wxJoystickEvent *result;
8edf1c75
RD
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 PyObject * obj2 = 0 ;
10854 PyObject * obj3 = 0 ;
d14a1e28
RD
10855 char *kwnames[] = {
10856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10857 };
10858
8edf1c75
RD
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10860 if (obj0) {
2f4c0a16
RD
10861 arg1 = (wxEventType) SWIG_AsInt(obj0);
10862 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10863 }
10864 if (obj1) {
2f4c0a16
RD
10865 arg2 = (int) SWIG_AsInt(obj1);
10866 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10867 }
10868 if (obj2) {
2f4c0a16
RD
10869 arg3 = (int) SWIG_AsInt(obj2);
10870 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10871 }
10872 if (obj3) {
2f4c0a16
RD
10873 arg4 = (int) SWIG_AsInt(obj3);
10874 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10875 }
d14a1e28
RD
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
2f4c0a16 10883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
10884 return resultobj;
10885 fail:
10886 return NULL;
10887}
10888
10889
10890static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject *resultobj;
10892 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10893 wxPoint result;
10894 PyObject * obj0 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10902 {
10903 PyThreadState* __tstate = wxPyBeginAllowThreads();
10904 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10905
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 {
10910 wxPoint * resultptr;
10911 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 10912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10913 }
10914 return resultobj;
10915 fail:
10916 return NULL;
10917}
10918
10919
10920static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj;
10922 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10923 int result;
10924 PyObject * obj0 = 0 ;
10925 char *kwnames[] = {
10926 (char *) "self", NULL
10927 };
10928
10929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
2f4c0a16 10939 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10940 return resultobj;
10941 fail:
10942 return NULL;
10943}
10944
10945
10946static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10949 int result;
10950 PyObject * obj0 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
2f4c0a16 10965 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
10972static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10975 int result;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
2f4c0a16 10991 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10992 return resultobj;
10993 fail:
10994 return NULL;
10995}
10996
10997
10998static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11001 int result;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
2f4c0a16 11017 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11018 return resultobj;
11019 fail:
11020 return NULL;
11021}
11022
11023
11024static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj;
11026 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11027 int arg2 ;
11028 PyObject * obj0 = 0 ;
8edf1c75 11029 PyObject * obj1 = 0 ;
d14a1e28
RD
11030 char *kwnames[] = {
11031 (char *) "self",(char *) "stick", NULL
11032 };
11033
8edf1c75 11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11037 arg2 = (int) SWIG_AsInt(obj1);
11038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 (arg1)->SetJoystick(arg2);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 Py_INCREF(Py_None); resultobj = Py_None;
11047 return resultobj;
11048 fail:
11049 return NULL;
11050}
11051
11052
11053static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11056 int arg2 ;
11057 PyObject * obj0 = 0 ;
8edf1c75 11058 PyObject * obj1 = 0 ;
d14a1e28
RD
11059 char *kwnames[] = {
11060 (char *) "self",(char *) "state", NULL
11061 };
11062
8edf1c75 11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11066 arg2 = (int) SWIG_AsInt(obj1);
11067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 (arg1)->SetButtonState(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 return resultobj;
11077 fail:
11078 return NULL;
11079}
11080
11081
11082static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11085 int arg2 ;
11086 PyObject * obj0 = 0 ;
8edf1c75 11087 PyObject * obj1 = 0 ;
d14a1e28
RD
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "change", NULL
11090 };
11091
8edf1c75 11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11095 arg2 = (int) SWIG_AsInt(obj1);
11096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 (arg1)->SetButtonChange(arg2);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 Py_INCREF(Py_None); resultobj = Py_None;
11105 return resultobj;
11106 fail:
11107 return NULL;
11108}
11109
11110
11111static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11114 wxPoint *arg2 = 0 ;
11115 wxPoint temp2 ;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self",(char *) "pos", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11125 {
11126 arg2 = &temp2;
11127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11128 }
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 (arg1)->SetPosition((wxPoint const &)*arg2);
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 Py_INCREF(Py_None); resultobj = Py_None;
11137 return resultobj;
11138 fail:
11139 return NULL;
11140}
11141
11142
11143static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11146 int arg2 ;
11147 PyObject * obj0 = 0 ;
8edf1c75 11148 PyObject * obj1 = 0 ;
d14a1e28
RD
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "zPos", NULL
11151 };
11152
8edf1c75 11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11156 arg2 = (int) SWIG_AsInt(obj1);
11157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 (arg1)->SetZPosition(arg2);
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 Py_INCREF(Py_None); resultobj = Py_None;
11166 return resultobj;
11167 fail:
11168 return NULL;
11169}
11170
11171
11172static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11175 bool result;
11176 PyObject * obj0 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "self", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
4f89f6a3
RD
11191 {
11192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11193 }
d14a1e28
RD
11194 return resultobj;
11195 fail:
11196 return NULL;
11197}
11198
11199
11200static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj;
11202 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11203 bool result;
11204 PyObject * obj0 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
4f89f6a3
RD
11219 {
11220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11221 }
d14a1e28
RD
11222 return resultobj;
11223 fail:
11224 return NULL;
11225}
11226
11227
11228static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11231 bool result;
11232 PyObject * obj0 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
4f89f6a3
RD
11247 {
11248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11249 }
d14a1e28
RD
11250 return resultobj;
11251 fail:
11252 return NULL;
11253}
11254
11255
11256static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11257 PyObject *resultobj;
11258 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11259 int arg2 = (int) wxJOY_BUTTON_ANY ;
11260 bool result;
11261 PyObject * obj0 = 0 ;
8edf1c75 11262 PyObject * obj1 = 0 ;
d14a1e28
RD
11263 char *kwnames[] = {
11264 (char *) "self",(char *) "but", NULL
11265 };
11266
8edf1c75 11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11270 if (obj1) {
2f4c0a16
RD
11271 arg2 = (int) SWIG_AsInt(obj1);
11272 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11273 }
d14a1e28
RD
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
4f89f6a3
RD
11281 {
11282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11283 }
d14a1e28
RD
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
11290static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11293 int arg2 = (int) wxJOY_BUTTON_ANY ;
11294 bool result;
11295 PyObject * obj0 = 0 ;
8edf1c75 11296 PyObject * obj1 = 0 ;
d14a1e28
RD
11297 char *kwnames[] = {
11298 (char *) "self",(char *) "but", NULL
11299 };
11300
8edf1c75 11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11304 if (obj1) {
2f4c0a16
RD
11305 arg2 = (int) SWIG_AsInt(obj1);
11306 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11307 }
d14a1e28
RD
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
4f89f6a3
RD
11315 {
11316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11317 }
d14a1e28
RD
11318 return resultobj;
11319 fail:
11320 return NULL;
11321}
11322
11323
11324static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11327 int arg2 = (int) wxJOY_BUTTON_ANY ;
11328 bool result;
11329 PyObject * obj0 = 0 ;
8edf1c75 11330 PyObject * obj1 = 0 ;
d14a1e28
RD
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "but", NULL
11333 };
11334
8edf1c75 11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 11338 if (obj1) {
2f4c0a16
RD
11339 arg2 = (int) SWIG_AsInt(obj1);
11340 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11341 }
d14a1e28
RD
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
4f89f6a3
RD
11349 {
11350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11351 }
d14a1e28
RD
11352 return resultobj;
11353 fail:
11354 return NULL;
11355}
11356
11357
11358static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11359 PyObject *obj;
11360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11361 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11362 Py_INCREF(obj);
11363 return Py_BuildValue((char *)"");
11364}
4e760a36
RD
11365static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11366 PyObject *resultobj;
11367 wxSound *result;
11368
11369 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (wxSound *)new wxSound();
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
2f4c0a16 11377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
4e760a36
RD
11378 return resultobj;
11379 fail:
11380 return NULL;
11381}
11382
11383
11384static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
11385 PyObject *resultobj;
11386 wxString *arg1 = 0 ;
4e760a36
RD
11387 bool arg2 = (bool) false ;
11388 wxSound *result;
423f194a 11389 bool temp1 = False ;
d14a1e28
RD
11390 PyObject * obj0 = 0 ;
11391 PyObject * obj1 = 0 ;
d14a1e28 11392
4e760a36 11393 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11394 {
11395 arg1 = wxString_in_helper(obj0);
11396 if (arg1 == NULL) SWIG_fail;
423f194a 11397 temp1 = True;
d14a1e28
RD
11398 }
11399 if (obj1) {
2f4c0a16
RD
11400 arg2 = (bool) SWIG_AsBool(obj1);
11401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11402 }
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11405 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
2f4c0a16 11410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11411 {
11412 if (temp1)
11413 delete arg1;
11414 }
11415 return resultobj;
11416 fail:
11417 {
11418 if (temp1)
11419 delete arg1;
11420 }
11421 return NULL;
11422}
11423
11424
4e760a36 11425static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
d14a1e28 11426 PyObject *resultobj;
4e760a36
RD
11427 int arg1 ;
11428 wxByte *arg2 = (wxByte *) 0 ;
11429 wxSound *result;
d14a1e28 11430 PyObject * obj0 = 0 ;
4e760a36 11431 PyObject * obj1 = 0 ;
d14a1e28 11432
4e760a36 11433 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11434 arg1 = (int) SWIG_AsInt(obj0);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11440 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
2f4c0a16 11445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11446 return resultobj;
11447 fail:
4e760a36
RD
11448 return NULL;
11449}
11450
11451
11452static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11453 int argc;
11454 PyObject *argv[3];
11455 int ii;
11456
11457 argc = PyObject_Length(args);
11458 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11459 argv[ii] = PyTuple_GetItem(args,ii);
d14a1e28 11460 }
4e760a36
RD
11461 if (argc == 0) {
11462 return _wrap_new_Sound__SWIG_0(self,args);
11463 }
11464 if ((argc >= 1) && (argc <= 2)) {
11465 int _v;
11466 {
11467 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11468 }
11469 if (_v) {
11470 if (argc <= 1) {
11471 return _wrap_new_Sound__SWIG_1(self,args);
11472 }
2f4c0a16 11473 _v = SWIG_CheckBool(argv[1]);
4e760a36
RD
11474 if (_v) {
11475 return _wrap_new_Sound__SWIG_1(self,args);
11476 }
11477 }
11478 }
11479 if (argc == 2) {
11480 int _v;
2f4c0a16 11481 _v = SWIG_CheckInt(argv[0]);
4e760a36
RD
11482 if (_v) {
11483 {
11484 void *ptr;
2f4c0a16 11485 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
4e760a36
RD
11486 _v = 0;
11487 PyErr_Clear();
11488 } else {
11489 _v = 1;
11490 }
11491 }
11492 if (_v) {
11493 return _wrap_new_Sound__SWIG_2(self,args);
11494 }
11495 }
11496 }
11497
11498 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11499 return NULL;
11500}
11501
11502
4e760a36 11503static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 11504 PyObject *resultobj;
4e760a36 11505 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11506 PyObject * obj0 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self", NULL
11509 };
11510
4e760a36 11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 delete arg1;
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 Py_INCREF(Py_None); resultobj = Py_None;
11522 return resultobj;
11523 fail:
11524 return NULL;
11525}
11526
11527
4e760a36 11528static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 11529 PyObject *resultobj;
4e760a36
RD
11530 wxSound *arg1 = (wxSound *) 0 ;
11531 wxString *arg2 = 0 ;
11532 bool arg3 = (bool) false ;
d14a1e28 11533 bool result;
4e760a36 11534 bool temp2 = False ;
d14a1e28 11535 PyObject * obj0 = 0 ;
4e760a36
RD
11536 PyObject * obj1 = 0 ;
11537 PyObject * obj2 = 0 ;
d14a1e28 11538
4e760a36 11539 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4e760a36
RD
11542 {
11543 arg2 = wxString_in_helper(obj1);
11544 if (arg2 == NULL) SWIG_fail;
11545 temp2 = True;
11546 }
11547 if (obj2) {
2f4c0a16
RD
11548 arg3 = (bool) SWIG_AsBool(obj2);
11549 if (PyErr_Occurred()) SWIG_fail;
4e760a36 11550 }
d14a1e28
RD
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11553 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
4f89f6a3
RD
11558 {
11559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11560 }
4e760a36
RD
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
d14a1e28
RD
11565 return resultobj;
11566 fail:
4e760a36
RD
11567 {
11568 if (temp2)
11569 delete arg2;
11570 }
d14a1e28
RD
11571 return NULL;
11572}
11573
11574
4e760a36 11575static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28 11576 PyObject *resultobj;
4e760a36
RD
11577 wxSound *arg1 = (wxSound *) 0 ;
11578 int arg2 ;
11579 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11580 bool result;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 PyObject * obj2 = 0 ;
4e760a36
RD
11584
11585 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11588 arg2 = (int) SWIG_AsInt(obj1);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4e760a36
RD
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
4f89f6a3
RD
11599 {
11600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11601 }
4e760a36
RD
11602 return resultobj;
11603 fail:
11604 return NULL;
11605}
11606
11607
11608static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11609 int argc;
11610 PyObject *argv[4];
11611 int ii;
11612
11613 argc = PyObject_Length(args);
11614 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11615 argv[ii] = PyTuple_GetItem(args,ii);
11616 }
11617 if ((argc >= 2) && (argc <= 3)) {
11618 int _v;
11619 {
11620 void *ptr;
2f4c0a16 11621 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
4e760a36
RD
11622 _v = 0;
11623 PyErr_Clear();
11624 } else {
11625 _v = 1;
11626 }
11627 }
11628 if (_v) {
11629 {
11630 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11631 }
11632 if (_v) {
11633 if (argc <= 2) {
11634 return _wrap_Sound_Create__SWIG_0(self,args);
11635 }
2f4c0a16 11636 _v = SWIG_CheckBool(argv[2]);
4e760a36
RD
11637 if (_v) {
11638 return _wrap_Sound_Create__SWIG_0(self,args);
11639 }
11640 }
11641 }
11642 }
11643 if (argc == 3) {
11644 int _v;
11645 {
11646 void *ptr;
2f4c0a16 11647 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
4e760a36
RD
11648 _v = 0;
11649 PyErr_Clear();
11650 } else {
11651 _v = 1;
11652 }
11653 }
11654 if (_v) {
2f4c0a16 11655 _v = SWIG_CheckInt(argv[1]);
4e760a36
RD
11656 if (_v) {
11657 {
11658 void *ptr;
2f4c0a16 11659 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
4e760a36
RD
11660 _v = 0;
11661 PyErr_Clear();
11662 } else {
11663 _v = 1;
11664 }
11665 }
11666 if (_v) {
11667 return _wrap_Sound_Create__SWIG_1(self,args);
11668 }
11669 }
11670 }
11671 }
11672
11673 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11674 return NULL;
11675}
11676
11677
11678static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxSound *arg1 = (wxSound *) 0 ;
11681 bool result;
11682 PyObject * obj0 = 0 ;
d14a1e28 11683 char *kwnames[] = {
4e760a36 11684 (char *) "self", NULL
d14a1e28
RD
11685 };
11686
4e760a36 11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4e760a36
RD
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (bool)(arg1)->IsOk();
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
4f89f6a3
RD
11697 {
11698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11699 }
4e760a36
RD
11700 return resultobj;
11701 fail:
11702 return NULL;
11703}
11704
11705
11706static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11707 PyObject *resultobj;
11708 wxSound *arg1 = (wxSound *) 0 ;
11709 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11710 bool result;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11713
11714 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
2f4c0a16
RD
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11717 if (obj1) {
2f4c0a16
RD
11718 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11720 }
4e760a36
RD
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (bool)((wxSound const *)arg1)->Play(arg2);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
4f89f6a3
RD
11728 {
11729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11730 }
4e760a36
RD
11731 return resultobj;
11732 fail:
11733 return NULL;
11734}
11735
11736
11737static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11738 PyObject *resultobj;
11739 wxString *arg1 = 0 ;
11740 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11741 bool result;
11742 bool temp1 = False ;
11743 PyObject * obj0 = 0 ;
11744 PyObject * obj1 = 0 ;
11745
11746 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11747 {
11748 arg1 = wxString_in_helper(obj0);
11749 if (arg1 == NULL) SWIG_fail;
11750 temp1 = True;
11751 }
11752 if (obj1) {
2f4c0a16
RD
11753 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11755 }
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11758 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
4f89f6a3
RD
11763 {
11764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11765 }
4e760a36
RD
11766 {
11767 if (temp1)
11768 delete arg1;
11769 }
d14a1e28
RD
11770 return resultobj;
11771 fail:
4e760a36
RD
11772 {
11773 if (temp1)
11774 delete arg1;
11775 }
d14a1e28
RD
11776 return NULL;
11777}
11778
11779
4e760a36
RD
11780static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj;
11782 char *kwnames[] = {
11783 NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 wxSound::Stop();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 Py_INCREF(Py_None); resultobj = Py_None;
11795 return resultobj;
11796 fail:
11797 return NULL;
11798}
11799
11800
11801static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
11802 PyObject *obj;
11803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4e760a36 11804 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11805 Py_INCREF(obj);
11806 return Py_BuildValue((char *)"");
11807}
11808static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxString *arg1 = 0 ;
11811 wxString *arg2 = 0 ;
11812 wxString *arg3 = 0 ;
11813 wxString *arg4 = 0 ;
11814 wxFileTypeInfo *result;
423f194a
RD
11815 bool temp1 = False ;
11816 bool temp2 = False ;
11817 bool temp3 = False ;
11818 bool temp4 = False ;
d14a1e28
RD
11819 PyObject * obj0 = 0 ;
11820 PyObject * obj1 = 0 ;
11821 PyObject * obj2 = 0 ;
11822 PyObject * obj3 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11828 {
11829 arg1 = wxString_in_helper(obj0);
11830 if (arg1 == NULL) SWIG_fail;
423f194a 11831 temp1 = True;
d14a1e28
RD
11832 }
11833 {
11834 arg2 = wxString_in_helper(obj1);
11835 if (arg2 == NULL) SWIG_fail;
423f194a 11836 temp2 = True;
d14a1e28
RD
11837 }
11838 {
11839 arg3 = wxString_in_helper(obj2);
11840 if (arg3 == NULL) SWIG_fail;
423f194a 11841 temp3 = True;
d14a1e28
RD
11842 }
11843 {
11844 arg4 = wxString_in_helper(obj3);
11845 if (arg4 == NULL) SWIG_fail;
423f194a 11846 temp4 = True;
d14a1e28
RD
11847 }
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
2f4c0a16 11855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11856 {
11857 if (temp1)
11858 delete arg1;
11859 }
11860 {
11861 if (temp2)
11862 delete arg2;
11863 }
11864 {
11865 if (temp3)
11866 delete arg3;
11867 }
11868 {
11869 if (temp4)
11870 delete arg4;
11871 }
11872 return resultobj;
11873 fail:
11874 {
11875 if (temp1)
11876 delete arg1;
11877 }
11878 {
11879 if (temp2)
11880 delete arg2;
11881 }
11882 {
11883 if (temp3)
11884 delete arg3;
11885 }
11886 {
11887 if (temp4)
11888 delete arg4;
11889 }
11890 return NULL;
11891}
11892
11893
11894static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxArrayString *arg1 = 0 ;
11897 wxFileTypeInfo *result;
db914595 11898 bool temp1 = False ;
d14a1e28
RD
11899 PyObject * obj0 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "sArray", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11905 {
11906 if (! PySequence_Check(obj0)) {
11907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11908 SWIG_fail;
11909 }
11910 arg1 = new wxArrayString;
db914595 11911 temp1 = True;
d14a1e28
RD
11912 int i, len=PySequence_Length(obj0);
11913 for (i=0; i<len; i++) {
11914 PyObject* item = PySequence_GetItem(obj0, i);
11915#if wxUSE_UNICODE
11916 PyObject* str = PyObject_Unicode(item);
11917#else
11918 PyObject* str = PyObject_Str(item);
11919#endif
11920 arg1->Add(Py2wxString(str));
11921 Py_DECREF(item);
11922 Py_DECREF(str);
11923 }
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
2f4c0a16 11932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 11933 {
db914595 11934 if (temp1) delete arg1;
d14a1e28
RD
11935 }
11936 return resultobj;
11937 fail:
11938 {
db914595 11939 if (temp1) delete arg1;
d14a1e28
RD
11940 }
11941 return NULL;
11942}
11943
11944
11945static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 wxFileTypeInfo *result;
11948 char *kwnames[] = {
11949 NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
2f4c0a16 11960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11961 return resultobj;
11962 fail:
11963 return NULL;
11964}
11965
11966
11967static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11970 bool result;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
4f89f6a3
RD
11986 {
11987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11988 }
d14a1e28
RD
11989 return resultobj;
11990 fail:
11991 return NULL;
11992}
11993
11994
11995static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11998 wxString *arg2 = 0 ;
11999 int arg3 = (int) 0 ;
423f194a 12000 bool temp2 = False ;
d14a1e28
RD
12001 PyObject * obj0 = 0 ;
12002 PyObject * obj1 = 0 ;
8edf1c75 12003 PyObject * obj2 = 0 ;
d14a1e28
RD
12004 char *kwnames[] = {
12005 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12006 };
12007
8edf1c75 12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12011 {
12012 arg2 = wxString_in_helper(obj1);
12013 if (arg2 == NULL) SWIG_fail;
423f194a 12014 temp2 = True;
d14a1e28 12015 }
8edf1c75 12016 if (obj2) {
2f4c0a16
RD
12017 arg3 = (int) SWIG_AsInt(obj2);
12018 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12019 }
d14a1e28
RD
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 Py_INCREF(Py_None); resultobj = Py_None;
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 return resultobj;
12033 fail:
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 return NULL;
12039}
12040
12041
12042static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12045 wxString *arg2 = 0 ;
423f194a 12046 bool temp2 = False ;
d14a1e28
RD
12047 PyObject * obj0 = 0 ;
12048 PyObject * obj1 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self",(char *) "shortDesc", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12056 {
12057 arg2 = wxString_in_helper(obj1);
12058 if (arg2 == NULL) SWIG_fail;
423f194a 12059 temp2 = True;
d14a1e28
RD
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->SetShortDesc((wxString const &)*arg2);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 Py_INCREF(Py_None); resultobj = Py_None;
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 return resultobj;
12074 fail:
12075 {
12076 if (temp2)
12077 delete arg2;
12078 }
12079 return NULL;
12080}
12081
12082
12083static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12086 wxString *result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 {
12098 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12099 result = (wxString *) &_result_ref;
12100 }
12101
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
f0983263
RD
12105 {
12106#if wxUSE_UNICODE
12107 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12108#else
12109 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12110#endif
12111 }
d14a1e28
RD
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12121 wxString *result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 {
12133 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12134 result = (wxString *) &_result_ref;
12135 }
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
f0983263
RD
12140 {
12141#if wxUSE_UNICODE
12142 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12143#else
12144 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12145#endif
12146 }
d14a1e28
RD
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
12153static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12156 wxString *result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 {
12168 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12169 result = (wxString *) &_result_ref;
12170 }
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
f0983263
RD
12175 {
12176#if wxUSE_UNICODE
12177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12178#else
12179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12180#endif
12181 }
d14a1e28
RD
12182 return resultobj;
12183 fail:
12184 return NULL;
12185}
12186
12187
12188static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12189 PyObject *resultobj;
12190 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12191 wxString *result;
12192 PyObject * obj0 = 0 ;
12193 char *kwnames[] = {
12194 (char *) "self", NULL
12195 };
12196
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 {
12203 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12204 result = (wxString *) &_result_ref;
12205 }
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
f0983263
RD
12210 {
12211#if wxUSE_UNICODE
12212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12213#else
12214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12215#endif
12216 }
d14a1e28
RD
12217 return resultobj;
12218 fail:
12219 return NULL;
12220}
12221
12222
12223static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12226 wxString *result;
12227 PyObject * obj0 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 {
12238 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12239 result = (wxString *) &_result_ref;
12240 }
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
f0983263
RD
12245 {
12246#if wxUSE_UNICODE
12247 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12248#else
12249 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12250#endif
12251 }
d14a1e28
RD
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
12258static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12261 wxArrayString *result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 {
12273 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12274 result = (wxArrayString *) &_result_ref;
12275 }
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 {
12281 resultobj = wxArrayString2PyList_helper(*result);
12282 }
12283 return resultobj;
12284 fail:
12285 return NULL;
12286}
12287
12288
12289static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj;
12291 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12292 int result;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
2f4c0a16 12308 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12309 return resultobj;
12310 fail:
12311 return NULL;
12312}
12313
12314
12315static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12318 wxString *result;
12319 PyObject * obj0 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 {
12330 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12331 result = (wxString *) &_result_ref;
12332 }
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
f0983263
RD
12337 {
12338#if wxUSE_UNICODE
12339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12340#else
12341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12342#endif
12343 }
d14a1e28
RD
12344 return resultobj;
12345 fail:
12346 return NULL;
12347}
12348
12349
12350static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12353 int result;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
2f4c0a16 12369 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12370 return resultobj;
12371 fail:
12372 return NULL;
12373}
12374
12375
12376static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12377 PyObject *obj;
12378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12379 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12380 Py_INCREF(obj);
12381 return Py_BuildValue((char *)"");
12382}
12383static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxFileTypeInfo *arg1 = 0 ;
12386 wxFileType *result;
12387 PyObject * obj0 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "ftInfo", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12394 SWIG_POINTER_EXCEPTION | 0)) == -1)
12395 SWIG_fail;
d14a1e28 12396 if (arg1 == NULL) {
2f4c0a16
RD
12397 PyErr_SetString(PyExc_TypeError,"null reference");
12398 SWIG_fail;
d14a1e28
RD
12399 }
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
2f4c0a16 12407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
12414static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxFileType *arg1 = (wxFileType *) 0 ;
12417 PyObject * obj0 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 delete arg1;
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 Py_INCREF(Py_None); resultobj = Py_None;
12433 return resultobj;
12434 fail:
12435 return NULL;
12436}
12437
12438
12439static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxFileType *arg1 = (wxFileType *) 0 ;
12442 PyObject *result;
12443 PyObject * obj0 = 0 ;
12444 char *kwnames[] = {
12445 (char *) "self", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (PyObject *)wxFileType_GetMimeType(arg1);
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = result;
12459 return resultobj;
12460 fail:
12461 return NULL;
12462}
12463
12464
12465static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxFileType *arg1 = (wxFileType *) 0 ;
12468 PyObject *result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 resultobj = result;
12485 return resultobj;
12486 fail:
12487 return NULL;
12488}
12489
12490
12491static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxFileType *arg1 = (wxFileType *) 0 ;
12494 PyObject *result;
12495 PyObject * obj0 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12503 {
12504 PyThreadState* __tstate = wxPyBeginAllowThreads();
12505 result = (PyObject *)wxFileType_GetExtensions(arg1);
12506
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 resultobj = result;
12511 return resultobj;
12512 fail:
12513 return NULL;
12514}
12515
12516
12517static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12518 PyObject *resultobj;
12519 wxFileType *arg1 = (wxFileType *) 0 ;
12520 wxIcon *result;
12521 PyObject * obj0 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "self", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = (wxIcon *)wxFileType_GetIcon(arg1);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
2f4c0a16 12536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
12537 return resultobj;
12538 fail:
12539 return NULL;
12540}
12541
12542
12543static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxFileType *arg1 = (wxFileType *) 0 ;
12546 PyObject *result;
12547 PyObject * obj0 = 0 ;
12548 char *kwnames[] = {
12549 (char *) "self", NULL
12550 };
12551
12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 resultobj = result;
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
12569static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxFileType *arg1 = (wxFileType *) 0 ;
12572 PyObject *result;
12573 PyObject * obj0 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (PyObject *)wxFileType_GetDescription(arg1);
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
12588 resultobj = result;
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
12595static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxFileType *arg1 = (wxFileType *) 0 ;
12598 wxString *arg2 = 0 ;
12599 wxString const &arg3_defvalue = wxPyEmptyString ;
12600 wxString *arg3 = (wxString *) &arg3_defvalue ;
12601 PyObject *result;
423f194a
RD
12602 bool temp2 = False ;
12603 bool temp3 = False ;
d14a1e28
RD
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 PyObject * obj2 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12614 {
12615 arg2 = wxString_in_helper(obj1);
12616 if (arg2 == NULL) SWIG_fail;
423f194a 12617 temp2 = True;
d14a1e28
RD
12618 }
12619 if (obj2) {
12620 {
12621 arg3 = wxString_in_helper(obj2);
12622 if (arg3 == NULL) SWIG_fail;
423f194a 12623 temp3 = True;
d14a1e28
RD
12624 }
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = result;
12634 {
12635 if (temp2)
12636 delete arg2;
12637 }
12638 {
12639 if (temp3)
12640 delete arg3;
12641 }
12642 return resultobj;
12643 fail:
12644 {
12645 if (temp2)
12646 delete arg2;
12647 }
12648 {
12649 if (temp3)
12650 delete arg3;
12651 }
12652 return NULL;
12653}
12654
12655
12656static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxFileType *arg1 = (wxFileType *) 0 ;
12659 wxString *arg2 = 0 ;
12660 wxString const &arg3_defvalue = wxPyEmptyString ;
12661 wxString *arg3 = (wxString *) &arg3_defvalue ;
12662 PyObject *result;
423f194a
RD
12663 bool temp2 = False ;
12664 bool temp3 = False ;
d14a1e28
RD
12665 PyObject * obj0 = 0 ;
12666 PyObject * obj1 = 0 ;
12667 PyObject * obj2 = 0 ;
12668 char *kwnames[] = {
12669 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12670 };
12671
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12675 {
12676 arg2 = wxString_in_helper(obj1);
12677 if (arg2 == NULL) SWIG_fail;
423f194a 12678 temp2 = True;
d14a1e28
RD
12679 }
12680 if (obj2) {
12681 {
12682 arg3 = wxString_in_helper(obj2);
12683 if (arg3 == NULL) SWIG_fail;
423f194a 12684 temp3 = True;
d14a1e28
RD
12685 }
12686 }
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 resultobj = result;
12695 {
12696 if (temp2)
12697 delete arg2;
12698 }
12699 {
12700 if (temp3)
12701 delete arg3;
12702 }
12703 return resultobj;
12704 fail:
12705 {
12706 if (temp2)
12707 delete arg2;
12708 }
12709 {
12710 if (temp3)
12711 delete arg3;
12712 }
12713 return NULL;
12714}
12715
12716
12717static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxFileType *arg1 = (wxFileType *) 0 ;
12720 wxString *arg2 = 0 ;
12721 wxString const &arg3_defvalue = wxPyEmptyString ;
12722 wxString *arg3 = (wxString *) &arg3_defvalue ;
12723 PyObject *result;
423f194a
RD
12724 bool temp2 = False ;
12725 bool temp3 = False ;
d14a1e28
RD
12726 PyObject * obj0 = 0 ;
12727 PyObject * obj1 = 0 ;
12728 PyObject * obj2 = 0 ;
12729 char *kwnames[] = {
12730 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12731 };
12732
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12736 {
12737 arg2 = wxString_in_helper(obj1);
12738 if (arg2 == NULL) SWIG_fail;
423f194a 12739 temp2 = True;
d14a1e28
RD
12740 }
12741 if (obj2) {
12742 {
12743 arg3 = wxString_in_helper(obj2);
12744 if (arg3 == NULL) SWIG_fail;
423f194a 12745 temp3 = True;
d14a1e28
RD
12746 }
12747 }
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = result;
12756 {
12757 if (temp2)
12758 delete arg2;
12759 }
12760 {
12761 if (temp3)
12762 delete arg3;
12763 }
12764 return resultobj;
12765 fail:
12766 {
12767 if (temp2)
12768 delete arg2;
12769 }
12770 {
12771 if (temp3)
12772 delete arg3;
12773 }
12774 return NULL;
12775}
12776
12777
12778static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12779 PyObject *resultobj;
12780 wxFileType *arg1 = (wxFileType *) 0 ;
12781 wxString *arg2 = 0 ;
12782 wxString *arg3 = 0 ;
423f194a 12783 bool arg4 = (bool) True ;
d14a1e28 12784 bool result;
423f194a
RD
12785 bool temp2 = False ;
12786 bool temp3 = False ;
d14a1e28
RD
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 PyObject * obj2 = 0 ;
12790 PyObject * obj3 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12798 {
12799 arg2 = wxString_in_helper(obj1);
12800 if (arg2 == NULL) SWIG_fail;
423f194a 12801 temp2 = True;
d14a1e28
RD
12802 }
12803 {
12804 arg3 = wxString_in_helper(obj2);
12805 if (arg3 == NULL) SWIG_fail;
423f194a 12806 temp3 = True;
d14a1e28
RD
12807 }
12808 if (obj3) {
2f4c0a16
RD
12809 arg4 = (bool) SWIG_AsBool(obj3);
12810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
4f89f6a3
RD
12819 {
12820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12821 }
d14a1e28
RD
12822 {
12823 if (temp2)
12824 delete arg2;
12825 }
12826 {
12827 if (temp3)
12828 delete arg3;
12829 }
12830 return resultobj;
12831 fail:
12832 {
12833 if (temp2)
12834 delete arg2;
12835 }
12836 {
12837 if (temp3)
12838 delete arg3;
12839 }
12840 return NULL;
12841}
12842
12843
12844static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxFileType *arg1 = (wxFileType *) 0 ;
12847 wxString const &arg2_defvalue = wxPyEmptyString ;
12848 wxString *arg2 = (wxString *) &arg2_defvalue ;
12849 int arg3 = (int) 0 ;
12850 bool result;
423f194a 12851 bool temp2 = False ;
d14a1e28
RD
12852 PyObject * obj0 = 0 ;
12853 PyObject * obj1 = 0 ;
8edf1c75 12854 PyObject * obj2 = 0 ;
d14a1e28
RD
12855 char *kwnames[] = {
12856 (char *) "self",(char *) "cmd",(char *) "index", NULL
12857 };
12858
8edf1c75 12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12862 if (obj1) {
12863 {
12864 arg2 = wxString_in_helper(obj1);
12865 if (arg2 == NULL) SWIG_fail;
423f194a 12866 temp2 = True;
d14a1e28
RD
12867 }
12868 }
8edf1c75 12869 if (obj2) {
2f4c0a16
RD
12870 arg3 = (int) SWIG_AsInt(obj2);
12871 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12872 }
d14a1e28
RD
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
4f89f6a3
RD
12880 {
12881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12882 }
d14a1e28
RD
12883 {
12884 if (temp2)
12885 delete arg2;
12886 }
12887 return resultobj;
12888 fail:
12889 {
12890 if (temp2)
12891 delete arg2;
12892 }
12893 return NULL;
12894}
12895
12896
12897static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxFileType *arg1 = (wxFileType *) 0 ;
12900 bool result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (bool)(arg1)->Unassociate();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
4f89f6a3
RD
12916 {
12917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12918 }
d14a1e28
RD
12919 return resultobj;
12920 fail:
12921 return NULL;
12922}
12923
12924
12925static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxString *arg1 = 0 ;
12928 wxString *arg2 = 0 ;
12929 wxString const &arg3_defvalue = wxPyEmptyString ;
12930 wxString *arg3 = (wxString *) &arg3_defvalue ;
12931 wxString result;
423f194a
RD
12932 bool temp1 = False ;
12933 bool temp2 = False ;
12934 bool temp3 = False ;
d14a1e28
RD
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 PyObject * obj2 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12943 {
12944 arg1 = wxString_in_helper(obj0);
12945 if (arg1 == NULL) SWIG_fail;
423f194a 12946 temp1 = True;
d14a1e28
RD
12947 }
12948 {
12949 arg2 = wxString_in_helper(obj1);
12950 if (arg2 == NULL) SWIG_fail;
423f194a 12951 temp2 = True;
d14a1e28
RD
12952 }
12953 if (obj2) {
12954 {
12955 arg3 = wxString_in_helper(obj2);
12956 if (arg3 == NULL) SWIG_fail;
423f194a 12957 temp3 = True;
d14a1e28
RD
12958 }
12959 }
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12963
12964 wxPyEndAllowThreads(__tstate);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 {
12968#if wxUSE_UNICODE
12969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12970#else
12971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12972#endif
12973 }
12974 {
12975 if (temp1)
12976 delete arg1;
12977 }
12978 {
12979 if (temp2)
12980 delete arg2;
12981 }
12982 {
12983 if (temp3)
12984 delete arg3;
12985 }
12986 return resultobj;
12987 fail:
12988 {
12989 if (temp1)
12990 delete arg1;
12991 }
12992 {
12993 if (temp2)
12994 delete arg2;
12995 }
12996 {
12997 if (temp3)
12998 delete arg3;
12999 }
13000 return NULL;
13001}
13002
13003
13004static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13005 PyObject *obj;
13006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13007 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13008 Py_INCREF(obj);
13009 return Py_BuildValue((char *)"");
13010}
2f4c0a16 13011static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
d14a1e28
RD
13012 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13013 return 1;
13014}
13015
13016
13017static PyObject *_wrap_TheMimeTypesManager_get() {
13018 PyObject *pyobj;
13019
2f4c0a16 13020 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
13021 return pyobj;
13022}
13023
13024
13025static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxString *arg1 = 0 ;
13028 wxString *arg2 = 0 ;
13029 bool result;
423f194a
RD
13030 bool temp1 = False ;
13031 bool temp2 = False ;
d14a1e28
RD
13032 PyObject * obj0 = 0 ;
13033 PyObject * obj1 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "mimeType",(char *) "wildcard", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13039 {
13040 arg1 = wxString_in_helper(obj0);
13041 if (arg1 == NULL) SWIG_fail;
423f194a 13042 temp1 = True;
d14a1e28
RD
13043 }
13044 {
13045 arg2 = wxString_in_helper(obj1);
13046 if (arg2 == NULL) SWIG_fail;
423f194a 13047 temp2 = True;
d14a1e28
RD
13048 }
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
4f89f6a3
RD
13056 {
13057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13058 }
d14a1e28
RD
13059 {
13060 if (temp1)
13061 delete arg1;
13062 }
13063 {
13064 if (temp2)
13065 delete arg2;
13066 }
13067 return resultobj;
13068 fail:
13069 {
13070 if (temp1)
13071 delete arg1;
13072 }
13073 {
13074 if (temp2)
13075 delete arg2;
13076 }
13077 return NULL;
13078}
13079
13080
13081static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13082 PyObject *resultobj;
13083 wxMimeTypesManager *result;
13084 char *kwnames[] = {
13085 NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
2f4c0a16 13096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
13097 return resultobj;
13098 fail:
13099 return NULL;
13100}
13101
13102
13103static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13106 int arg2 = (int) wxMAILCAP_ALL ;
13107 wxString const &arg3_defvalue = wxPyEmptyString ;
13108 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 13109 bool temp3 = False ;
d14a1e28 13110 PyObject * obj0 = 0 ;
8edf1c75 13111 PyObject * obj1 = 0 ;
d14a1e28
RD
13112 PyObject * obj2 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13115 };
13116
8edf1c75 13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13120 if (obj1) {
2f4c0a16
RD
13121 arg2 = (int) SWIG_AsInt(obj1);
13122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13123 }
d14a1e28
RD
13124 if (obj2) {
13125 {
13126 arg3 = wxString_in_helper(obj2);
13127 if (arg3 == NULL) SWIG_fail;
423f194a 13128 temp3 = True;
d14a1e28
RD
13129 }
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 Py_INCREF(Py_None); resultobj = Py_None;
13139 {
13140 if (temp3)
13141 delete arg3;
13142 }
13143 return resultobj;
13144 fail:
13145 {
13146 if (temp3)
13147 delete arg3;
13148 }
13149 return NULL;
13150}
13151
13152
13153static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj;
13155 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13156 PyObject * obj0 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->ClearData();
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175}
13176
13177
13178static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj;
13180 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13181 wxString *arg2 = 0 ;
13182 wxFileType *result;
423f194a 13183 bool temp2 = False ;
d14a1e28
RD
13184 PyObject * obj0 = 0 ;
13185 PyObject * obj1 = 0 ;
13186 char *kwnames[] = {
13187 (char *) "self",(char *) "ext", NULL
13188 };
13189
13190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13193 {
13194 arg2 = wxString_in_helper(obj1);
13195 if (arg2 == NULL) SWIG_fail;
423f194a 13196 temp2 = True;
d14a1e28
RD
13197 }
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
2f4c0a16 13205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13206 {
13207 if (temp2)
13208 delete arg2;
13209 }
13210 return resultobj;
13211 fail:
13212 {
13213 if (temp2)
13214 delete arg2;
13215 }
13216 return NULL;
13217}
13218
13219
13220static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13223 wxString *arg2 = 0 ;
13224 wxFileType *result;
423f194a 13225 bool temp2 = False ;
d14a1e28
RD
13226 PyObject * obj0 = 0 ;
13227 PyObject * obj1 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "mimeType", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13235 {
13236 arg2 = wxString_in_helper(obj1);
13237 if (arg2 == NULL) SWIG_fail;
423f194a 13238 temp2 = True;
d14a1e28
RD
13239 }
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
2f4c0a16 13247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13248 {
13249 if (temp2)
13250 delete arg2;
13251 }
13252 return resultobj;
13253 fail:
13254 {
13255 if (temp2)
13256 delete arg2;
13257 }
13258 return NULL;
13259}
13260
13261
13262static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13265 wxString *arg2 = 0 ;
423f194a 13266 bool arg3 = (bool) False ;
d14a1e28 13267 bool result;
423f194a 13268 bool temp2 = False ;
d14a1e28
RD
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 PyObject * obj2 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13279 {
13280 arg2 = wxString_in_helper(obj1);
13281 if (arg2 == NULL) SWIG_fail;
423f194a 13282 temp2 = True;
d14a1e28
RD
13283 }
13284 if (obj2) {
2f4c0a16
RD
13285 arg3 = (bool) SWIG_AsBool(obj2);
13286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
4f89f6a3
RD
13295 {
13296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13297 }
d14a1e28
RD
13298 {
13299 if (temp2)
13300 delete arg2;
13301 }
13302 return resultobj;
13303 fail:
13304 {
13305 if (temp2)
13306 delete arg2;
13307 }
13308 return NULL;
13309}
13310
13311
13312static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13315 wxString *arg2 = 0 ;
13316 bool result;
423f194a 13317 bool temp2 = False ;
d14a1e28
RD
13318 PyObject * obj0 = 0 ;
13319 PyObject * obj1 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self",(char *) "filename", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13327 {
13328 arg2 = wxString_in_helper(obj1);
13329 if (arg2 == NULL) SWIG_fail;
423f194a 13330 temp2 = True;
d14a1e28
RD
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
4f89f6a3
RD
13339 {
13340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13341 }
d14a1e28
RD
13342 {
13343 if (temp2)
13344 delete arg2;
13345 }
13346 return resultobj;
13347 fail:
13348 {
13349 if (temp2)
13350 delete arg2;
13351 }
13352 return NULL;
13353}
13354
13355
13356static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13359 PyObject *result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = result;
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
13382static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13385 wxFileTypeInfo *arg2 = 0 ;
13386 PyObject * obj0 = 0 ;
13387 PyObject * obj1 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "self",(char *) "ft", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1)
13397 SWIG_fail;
d14a1e28 13398 if (arg2 == NULL) {
2f4c0a16
RD
13399 PyErr_SetString(PyExc_TypeError,"null reference");
13400 SWIG_fail;
d14a1e28
RD
13401 }
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 Py_INCREF(Py_None); resultobj = Py_None;
13410 return resultobj;
13411 fail:
13412 return NULL;
13413}
13414
13415
13416static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13419 wxFileTypeInfo *arg2 = 0 ;
13420 wxFileType *result;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self",(char *) "ftInfo", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13431 SWIG_POINTER_EXCEPTION | 0)) == -1)
13432 SWIG_fail;
d14a1e28 13433 if (arg2 == NULL) {
2f4c0a16
RD
13434 PyErr_SetString(PyExc_TypeError,"null reference");
13435 SWIG_fail;
d14a1e28
RD
13436 }
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
2f4c0a16 13444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13445 return resultobj;
13446 fail:
13447 return NULL;
13448}
13449
13450
13451static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13454 wxFileType *arg2 = (wxFileType *) 0 ;
13455 bool result;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "ft", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13467 {
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 result = (bool)(arg1)->Unassociate(arg2);
13470
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
4f89f6a3
RD
13474 {
13475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13476 }
d14a1e28
RD
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
13483static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13486 PyObject * obj0 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 delete arg1;
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 Py_INCREF(Py_None); resultobj = Py_None;
13502 return resultobj;
13503 fail:
13504 return NULL;
13505}
13506
13507
13508static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13509 PyObject *obj;
13510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13511 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13512 Py_INCREF(obj);
13513 return Py_BuildValue((char *)"");
13514}
2f4c0a16 13515static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
d14a1e28
RD
13516 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13517 return 1;
13518}
13519
13520
13521static PyObject *_wrap_ART_TOOLBAR_get() {
13522 PyObject *pyobj;
13523
13524 {
13525#if wxUSE_UNICODE
13526 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13527#else
13528 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13529#endif
13530 }
13531 return pyobj;
13532}
13533
13534
2f4c0a16 13535static int _wrap_ART_MENU_set(PyObject *_val) {
d14a1e28
RD
13536 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13537 return 1;
13538}
13539
13540
13541static PyObject *_wrap_ART_MENU_get() {
13542 PyObject *pyobj;
13543
13544 {
13545#if wxUSE_UNICODE
13546 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13547#else
13548 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13549#endif
13550 }
13551 return pyobj;
13552}
13553
13554
2f4c0a16 13555static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
d14a1e28
RD
13556 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13557 return 1;
13558}
13559
13560
13561static PyObject *_wrap_ART_FRAME_ICON_get() {
13562 PyObject *pyobj;
13563
13564 {
13565#if wxUSE_UNICODE
13566 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13567#else
13568 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13569#endif
13570 }
13571 return pyobj;
13572}
13573
13574
2f4c0a16 13575static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
d14a1e28
RD
13576 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13577 return 1;
13578}
13579
13580
13581static PyObject *_wrap_ART_CMN_DIALOG_get() {
13582 PyObject *pyobj;
13583
13584 {
13585#if wxUSE_UNICODE
13586 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13587#else
13588 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13589#endif
13590 }
13591 return pyobj;
13592}
13593
13594
2f4c0a16 13595static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
d14a1e28
RD
13596 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13597 return 1;
13598}
13599
13600
13601static PyObject *_wrap_ART_HELP_BROWSER_get() {
13602 PyObject *pyobj;
13603
13604 {
13605#if wxUSE_UNICODE
13606 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13607#else
13608 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13609#endif
13610 }
13611 return pyobj;
13612}
13613
13614
2f4c0a16 13615static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
d14a1e28
RD
13616 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13617 return 1;
13618}
13619
13620
13621static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13622 PyObject *pyobj;
13623
13624 {
13625#if wxUSE_UNICODE
13626 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13627#else
13628 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13629#endif
13630 }
13631 return pyobj;
13632}
13633
13634
2f4c0a16 13635static int _wrap_ART_OTHER_set(PyObject *_val) {
d14a1e28
RD
13636 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13637 return 1;
13638}
13639
13640
13641static PyObject *_wrap_ART_OTHER_get() {
13642 PyObject *pyobj;
13643
13644 {
13645#if wxUSE_UNICODE
13646 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13647#else
13648 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13649#endif
13650 }
13651 return pyobj;
13652}
13653
13654
2f4c0a16 13655static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
d14a1e28
RD
13656 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13657 return 1;
13658}
13659
13660
13661static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13662 PyObject *pyobj;
13663
13664 {
13665#if wxUSE_UNICODE
13666 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13667#else
13668 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13669#endif
13670 }
13671 return pyobj;
13672}
13673
13674
2f4c0a16 13675static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
d14a1e28
RD
13676 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13677 return 1;
13678}
13679
13680
13681static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13682 PyObject *pyobj;
13683
13684 {
13685#if wxUSE_UNICODE
13686 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13687#else
13688 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13689#endif
13690 }
13691 return pyobj;
13692}
13693
13694
2f4c0a16 13695static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
d14a1e28
RD
13696 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13697 return 1;
13698}
13699
13700
13701static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13702 PyObject *pyobj;
13703
13704 {
13705#if wxUSE_UNICODE
13706 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13707#else
13708 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13709#endif
13710 }
13711 return pyobj;
13712}
13713
13714
2f4c0a16 13715static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
d14a1e28
RD
13716 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13717 return 1;
13718}
13719
13720
13721static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13722 PyObject *pyobj;
13723
13724 {
13725#if wxUSE_UNICODE
13726 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13727#else
13728 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13729#endif
13730 }
13731 return pyobj;
13732}
13733
13734
2f4c0a16 13735static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
d14a1e28
RD
13736 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13737 return 1;
13738}
13739
13740
13741static PyObject *_wrap_ART_HELP_BOOK_get() {
13742 PyObject *pyobj;
13743
13744 {
13745#if wxUSE_UNICODE
13746 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13747#else
13748 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13749#endif
13750 }
13751 return pyobj;
13752}
13753
13754
2f4c0a16 13755static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
d14a1e28
RD
13756 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13757 return 1;
13758}
13759
13760
13761static PyObject *_wrap_ART_HELP_FOLDER_get() {
13762 PyObject *pyobj;
13763
13764 {
13765#if wxUSE_UNICODE
13766 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13767#else
13768 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13769#endif
13770 }
13771 return pyobj;
13772}
13773
13774
2f4c0a16 13775static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
d14a1e28
RD
13776 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13777 return 1;
13778}
13779
13780
13781static PyObject *_wrap_ART_HELP_PAGE_get() {
13782 PyObject *pyobj;
13783
13784 {
13785#if wxUSE_UNICODE
13786 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13787#else
13788 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13789#endif
13790 }
13791 return pyobj;
13792}
13793
13794
2f4c0a16 13795static int _wrap_ART_GO_BACK_set(PyObject *_val) {
d14a1e28
RD
13796 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13797 return 1;
13798}
13799
13800
13801static PyObject *_wrap_ART_GO_BACK_get() {
13802 PyObject *pyobj;
13803
13804 {
13805#if wxUSE_UNICODE
13806 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13807#else
13808 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13809#endif
13810 }
13811 return pyobj;
13812}
13813
13814
2f4c0a16 13815static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
d14a1e28
RD
13816 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13817 return 1;
13818}
13819
13820
13821static PyObject *_wrap_ART_GO_FORWARD_get() {
13822 PyObject *pyobj;
13823
13824 {
13825#if wxUSE_UNICODE
13826 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13827#else
13828 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13829#endif
13830 }
13831 return pyobj;
13832}
13833
13834
2f4c0a16 13835static int _wrap_ART_GO_UP_set(PyObject *_val) {
d14a1e28
RD
13836 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13837 return 1;
13838}
13839
13840
13841static PyObject *_wrap_ART_GO_UP_get() {
13842 PyObject *pyobj;
13843
13844 {
13845#if wxUSE_UNICODE
13846 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13847#else
13848 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13849#endif
13850 }
13851 return pyobj;
13852}
13853
13854
2f4c0a16 13855static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
d14a1e28
RD
13856 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13857 return 1;
13858}
13859
13860
13861static PyObject *_wrap_ART_GO_DOWN_get() {
13862 PyObject *pyobj;
13863
13864 {
13865#if wxUSE_UNICODE
13866 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13867#else
13868 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13869#endif
13870 }
13871 return pyobj;
13872}
13873
13874
2f4c0a16 13875static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
d14a1e28
RD
13876 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13877 return 1;
13878}
13879
13880
13881static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13882 PyObject *pyobj;
13883
13884 {
13885#if wxUSE_UNICODE
13886 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13887#else
13888 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13889#endif
13890 }
13891 return pyobj;
13892}
13893
13894
2f4c0a16 13895static int _wrap_ART_GO_HOME_set(PyObject *_val) {
d14a1e28
RD
13896 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13897 return 1;
13898}
13899
13900
13901static PyObject *_wrap_ART_GO_HOME_get() {
13902 PyObject *pyobj;
13903
13904 {
13905#if wxUSE_UNICODE
13906 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13907#else
13908 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13909#endif
13910 }
13911 return pyobj;
13912}
13913
13914
2f4c0a16 13915static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
d14a1e28
RD
13916 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13917 return 1;
13918}
13919
13920
13921static PyObject *_wrap_ART_FILE_OPEN_get() {
13922 PyObject *pyobj;
13923
13924 {
13925#if wxUSE_UNICODE
13926 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13927#else
13928 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13929#endif
13930 }
13931 return pyobj;
13932}
13933
13934
2f4c0a16 13935static int _wrap_ART_PRINT_set(PyObject *_val) {
d14a1e28
RD
13936 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13937 return 1;
13938}
13939
13940
13941static PyObject *_wrap_ART_PRINT_get() {
13942 PyObject *pyobj;
13943
13944 {
13945#if wxUSE_UNICODE
13946 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13947#else
13948 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13949#endif
13950 }
13951 return pyobj;
13952}
13953
13954
2f4c0a16 13955static int _wrap_ART_HELP_set(PyObject *_val) {
d14a1e28
RD
13956 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13957 return 1;
13958}
13959
13960
13961static PyObject *_wrap_ART_HELP_get() {
13962 PyObject *pyobj;
13963
13964 {
13965#if wxUSE_UNICODE
13966 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13967#else
13968 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13969#endif
13970 }
13971 return pyobj;
13972}
13973
13974
2f4c0a16 13975static int _wrap_ART_TIP_set(PyObject *_val) {
d14a1e28
RD
13976 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13977 return 1;
13978}
13979
13980
13981static PyObject *_wrap_ART_TIP_get() {
13982 PyObject *pyobj;
13983
13984 {
13985#if wxUSE_UNICODE
13986 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13987#else
13988 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13989#endif
13990 }
13991 return pyobj;
13992}
13993
13994
2f4c0a16 13995static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
d14a1e28
RD
13996 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13997 return 1;
13998}
13999
14000
14001static PyObject *_wrap_ART_REPORT_VIEW_get() {
14002 PyObject *pyobj;
14003
14004 {
14005#if wxUSE_UNICODE
14006 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14007#else
14008 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14009#endif
14010 }
14011 return pyobj;
14012}
14013
14014
2f4c0a16 14015static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
d14a1e28
RD
14016 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14017 return 1;
14018}
14019
14020
14021static PyObject *_wrap_ART_LIST_VIEW_get() {
14022 PyObject *pyobj;
14023
14024 {
14025#if wxUSE_UNICODE
14026 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14027#else
14028 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14029#endif
14030 }
14031 return pyobj;
14032}
14033
14034
2f4c0a16 14035static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
d14a1e28
RD
14036 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14037 return 1;
14038}
14039
14040
14041static PyObject *_wrap_ART_NEW_DIR_get() {
14042 PyObject *pyobj;
14043
14044 {
14045#if wxUSE_UNICODE
14046 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14047#else
14048 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14049#endif
14050 }
14051 return pyobj;
14052}
14053
14054
2f4c0a16 14055static int _wrap_ART_FOLDER_set(PyObject *_val) {
d14a1e28
RD
14056 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14057 return 1;
14058}
14059
14060
14061static PyObject *_wrap_ART_FOLDER_get() {
14062 PyObject *pyobj;
14063
14064 {
14065#if wxUSE_UNICODE
14066 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14067#else
14068 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14069#endif
14070 }
14071 return pyobj;
14072}
14073
14074
2f4c0a16 14075static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
d14a1e28
RD
14076 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14077 return 1;
14078}
14079
14080
14081static PyObject *_wrap_ART_GO_DIR_UP_get() {
14082 PyObject *pyobj;
14083
14084 {
14085#if wxUSE_UNICODE
14086 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14087#else
14088 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14089#endif
14090 }
14091 return pyobj;
14092}
14093
14094
2f4c0a16 14095static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
d14a1e28
RD
14096 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14097 return 1;
14098}
14099
14100
14101static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14102 PyObject *pyobj;
14103
14104 {
14105#if wxUSE_UNICODE
14106 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14107#else
14108 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14109#endif
14110 }
14111 return pyobj;
14112}
14113
14114
2f4c0a16 14115static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
d14a1e28
RD
14116 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14117 return 1;
14118}
14119
14120
14121static PyObject *_wrap_ART_NORMAL_FILE_get() {
14122 PyObject *pyobj;
14123
14124 {
14125#if wxUSE_UNICODE
14126 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14127#else
14128 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14129#endif
14130 }
14131 return pyobj;
14132}
14133
14134
2f4c0a16 14135static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
d14a1e28
RD
14136 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14137 return 1;
14138}
14139
14140
14141static PyObject *_wrap_ART_TICK_MARK_get() {
14142 PyObject *pyobj;
14143
14144 {
14145#if wxUSE_UNICODE
14146 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14147#else
14148 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14149#endif
14150 }
14151 return pyobj;
14152}
14153
14154
2f4c0a16 14155static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
d14a1e28
RD
14156 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14157 return 1;
14158}
14159
14160
14161static PyObject *_wrap_ART_CROSS_MARK_get() {
14162 PyObject *pyobj;
14163
14164 {
14165#if wxUSE_UNICODE
14166 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14167#else
14168 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14169#endif
14170 }
14171 return pyobj;
14172}
14173
14174
2f4c0a16 14175static int _wrap_ART_ERROR_set(PyObject *_val) {
d14a1e28
RD
14176 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14177 return 1;
14178}
14179
14180
14181static PyObject *_wrap_ART_ERROR_get() {
14182 PyObject *pyobj;
14183
14184 {
14185#if wxUSE_UNICODE
14186 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14187#else
14188 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14189#endif
14190 }
14191 return pyobj;
14192}
14193
14194
2f4c0a16 14195static int _wrap_ART_QUESTION_set(PyObject *_val) {
d14a1e28
RD
14196 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14197 return 1;
14198}
14199
14200
14201static PyObject *_wrap_ART_QUESTION_get() {
14202 PyObject *pyobj;
14203
14204 {
14205#if wxUSE_UNICODE
14206 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14207#else
14208 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14209#endif
14210 }
14211 return pyobj;
14212}
14213
14214
2f4c0a16 14215static int _wrap_ART_WARNING_set(PyObject *_val) {
d14a1e28
RD
14216 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14217 return 1;
14218}
14219
14220
14221static PyObject *_wrap_ART_WARNING_get() {
14222 PyObject *pyobj;
14223
14224 {
14225#if wxUSE_UNICODE
14226 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14227#else
14228 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14229#endif
14230 }
14231 return pyobj;
14232}
14233
14234
2f4c0a16 14235static int _wrap_ART_INFORMATION_set(PyObject *_val) {
d14a1e28
RD
14236 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14237 return 1;
14238}
14239
14240
14241static PyObject *_wrap_ART_INFORMATION_get() {
14242 PyObject *pyobj;
14243
14244 {
14245#if wxUSE_UNICODE
14246 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14247#else
14248 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14249#endif
14250 }
14251 return pyobj;
14252}
14253
14254
2f4c0a16 14255static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
d14a1e28
RD
14256 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14257 return 1;
14258}
14259
14260
14261static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14262 PyObject *pyobj;
14263
14264 {
14265#if wxUSE_UNICODE
14266 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14267#else
14268 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14269#endif
14270 }
14271 return pyobj;
14272}
14273
14274
14275static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxPyArtProvider *result;
14278 char *kwnames[] = {
14279 NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 result = (wxPyArtProvider *)new wxPyArtProvider();
14286
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
2f4c0a16 14290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
14291 return resultobj;
14292 fail:
14293 return NULL;
14294}
14295
14296
d14a1e28
RD
14297static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14300 PyObject *arg2 = (PyObject *) 0 ;
14301 PyObject *arg3 = (PyObject *) 0 ;
14302 PyObject * obj0 = 0 ;
14303 PyObject * obj1 = 0 ;
14304 PyObject * obj2 = 0 ;
14305 char *kwnames[] = {
14306 (char *) "self",(char *) "self",(char *) "_class", NULL
14307 };
14308
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14312 arg2 = obj1;
14313 arg3 = obj2;
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 (arg1)->_setCallbackInfo(arg2,arg3);
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 Py_INCREF(Py_None); resultobj = Py_None;
14322 return resultobj;
14323 fail:
14324 return NULL;
14325}
14326
14327
14328static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14329 PyObject *resultobj;
14330 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14331 PyObject * obj0 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "provider", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 wxPyArtProvider::PushProvider(arg1);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 bool result;
14356 char *kwnames[] = {
14357 NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (bool)wxPyArtProvider::PopProvider();
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
4f89f6a3
RD
14368 {
14369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14370 }
d14a1e28
RD
14371 return resultobj;
14372 fail:
14373 return NULL;
14374}
14375
14376
14377static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14380 bool result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "provider", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
4f89f6a3
RD
14396 {
14397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14398 }
d14a1e28
RD
14399 return resultobj;
14400 fail:
14401 return NULL;
14402}
14403
14404
14405static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxString *arg1 = 0 ;
14408 wxString const &arg2_defvalue = wxPyART_OTHER ;
14409 wxString *arg2 = (wxString *) &arg2_defvalue ;
14410 wxSize const &arg3_defvalue = wxDefaultSize ;
14411 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14412 wxBitmap result;
423f194a
RD
14413 bool temp1 = False ;
14414 bool temp2 = False ;
d14a1e28
RD
14415 wxSize temp3 ;
14416 PyObject * obj0 = 0 ;
14417 PyObject * obj1 = 0 ;
14418 PyObject * obj2 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "id",(char *) "client",(char *) "size", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14424 {
14425 arg1 = wxString_in_helper(obj0);
14426 if (arg1 == NULL) SWIG_fail;
423f194a 14427 temp1 = True;
d14a1e28
RD
14428 }
14429 if (obj1) {
14430 {
14431 arg2 = wxString_in_helper(obj1);
14432 if (arg2 == NULL) SWIG_fail;
423f194a 14433 temp2 = True;
d14a1e28
RD
14434 }
14435 }
14436 if (obj2) {
14437 {
14438 arg3 = &temp3;
14439 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14440 }
14441 }
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 wxBitmap * resultptr;
14451 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 14452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14453 }
14454 {
14455 if (temp1)
14456 delete arg1;
14457 }
14458 {
14459 if (temp2)
14460 delete arg2;
14461 }
14462 return resultobj;
14463 fail:
14464 {
14465 if (temp1)
14466 delete arg1;
14467 }
14468 {
14469 if (temp2)
14470 delete arg2;
14471 }
14472 return NULL;
14473}
14474
14475
14476static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxString *arg1 = 0 ;
14479 wxString const &arg2_defvalue = wxPyART_OTHER ;
14480 wxString *arg2 = (wxString *) &arg2_defvalue ;
14481 wxSize const &arg3_defvalue = wxDefaultSize ;
14482 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14483 wxIcon result;
423f194a
RD
14484 bool temp1 = False ;
14485 bool temp2 = False ;
d14a1e28
RD
14486 wxSize temp3 ;
14487 PyObject * obj0 = 0 ;
14488 PyObject * obj1 = 0 ;
14489 PyObject * obj2 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "id",(char *) "client",(char *) "size", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14495 {
14496 arg1 = wxString_in_helper(obj0);
14497 if (arg1 == NULL) SWIG_fail;
423f194a 14498 temp1 = True;
d14a1e28
RD
14499 }
14500 if (obj1) {
14501 {
14502 arg2 = wxString_in_helper(obj1);
14503 if (arg2 == NULL) SWIG_fail;
423f194a 14504 temp2 = True;
d14a1e28
RD
14505 }
14506 }
14507 if (obj2) {
14508 {
14509 arg3 = &temp3;
14510 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14511 }
14512 }
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 {
14521 wxIcon * resultptr;
14522 resultptr = new wxIcon((wxIcon &) result);
2f4c0a16 14523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
14524 }
14525 {
14526 if (temp1)
14527 delete arg1;
14528 }
14529 {
14530 if (temp2)
14531 delete arg2;
14532 }
14533 return resultobj;
14534 fail:
14535 {
14536 if (temp1)
14537 delete arg1;
14538 }
14539 {
14540 if (temp2)
14541 delete arg2;
14542 }
14543 return NULL;
14544}
14545
14546
41f1cec7
RD
14547static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj;
14549 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 wxPyArtProvider_Destroy(arg1);
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 Py_INCREF(Py_None); resultobj = Py_None;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
d14a1e28
RD
14572static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14573 PyObject *obj;
14574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14576 Py_INCREF(obj);
14577 return Py_BuildValue((char *)"");
14578}
14579static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14582 PyObject * obj0 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 delete arg1;
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 Py_INCREF(Py_None); resultobj = Py_None;
14598 return resultobj;
14599 fail:
14600 return NULL;
14601}
14602
14603
14604static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14607 wxConfigBase *result;
14608 PyObject * obj0 = 0 ;
14609 char *kwnames[] = {
328fcd84 14610 (char *) "config", NULL
d14a1e28
RD
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
2f4c0a16 14623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14624 return resultobj;
14625 fail:
14626 return NULL;
14627}
14628
14629
14630static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
423f194a 14632 bool arg1 = (bool) True ;
d14a1e28
RD
14633 wxConfigBase *result;
14634 PyObject * obj0 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "createOnDemand", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14640 if (obj0) {
2f4c0a16
RD
14641 arg1 = (bool) SWIG_AsBool(obj0);
14642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14643 }
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
2f4c0a16 14651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14652 return resultobj;
14653 fail:
14654 return NULL;
14655}
14656
14657
14658static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxConfigBase *result;
14661 char *kwnames[] = {
14662 NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = (wxConfigBase *)wxConfigBase::Create();
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
2f4c0a16 14673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14674 return resultobj;
14675 fail:
14676 return NULL;
14677}
14678
14679
14680static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 char *kwnames[] = {
14683 NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 wxConfigBase::DontCreateOnDemand();
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 Py_INCREF(Py_None); resultobj = Py_None;
14695 return resultobj;
14696 fail:
14697 return NULL;
14698}
14699
14700
14701static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14704 wxString *arg2 = 0 ;
423f194a 14705 bool temp2 = False ;
d14a1e28
RD
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 char *kwnames[] = {
328fcd84 14709 (char *) "self",(char *) "path", NULL
d14a1e28
RD
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14715 {
14716 arg2 = wxString_in_helper(obj1);
14717 if (arg2 == NULL) SWIG_fail;
423f194a 14718 temp2 = True;
d14a1e28
RD
14719 }
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 (arg1)->SetPath((wxString const &)*arg2);
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 Py_INCREF(Py_None); resultobj = Py_None;
14728 {
14729 if (temp2)
14730 delete arg2;
14731 }
14732 return resultobj;
14733 fail:
14734 {
14735 if (temp2)
14736 delete arg2;
14737 }
14738 return NULL;
14739}
14740
14741
14742static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14745 wxString *result;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 {
14757 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14758 result = (wxString *) &_result_ref;
14759 }
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
f0983263
RD
14764 {
14765#if wxUSE_UNICODE
14766 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14767#else
14768 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14769#endif
14770 }
d14a1e28
RD
14771 return resultobj;
14772 fail:
14773 return NULL;
14774}
14775
14776
14777static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj;
14779 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14780 PyObject *result;
14781 PyObject * obj0 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14792
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 resultobj = result;
14797 return resultobj;
14798 fail:
14799 return NULL;
14800}
14801
14802
14803static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14804 PyObject *resultobj;
14805 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14806 long arg2 ;
14807 PyObject *result;
14808 PyObject * obj0 = 0 ;
8edf1c75 14809 PyObject * obj1 = 0 ;
d14a1e28
RD
14810 char *kwnames[] = {
14811 (char *) "self",(char *) "index", NULL
14812 };
14813
8edf1c75 14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14817 arg2 = (long) SWIG_AsLong(obj1);
14818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = result;
14827 return resultobj;
14828 fail:
14829 return NULL;
14830}
14831
14832
14833static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14836 PyObject *result;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 resultobj = result;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856}
14857
14858
14859static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14862 long arg2 ;
14863 PyObject *result;
14864 PyObject * obj0 = 0 ;
8edf1c75 14865 PyObject * obj1 = 0 ;
d14a1e28
RD
14866 char *kwnames[] = {
14867 (char *) "self",(char *) "index", NULL
14868 };
14869
8edf1c75 14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14873 arg2 = (long) SWIG_AsLong(obj1);
14874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 resultobj = result;
14883 return resultobj;
14884 fail:
14885 return NULL;
14886}
14887
14888
14889static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14892 bool arg2 = (bool) False ;
d14a1e28
RD
14893 size_t result;
14894 PyObject * obj0 = 0 ;
14895 PyObject * obj1 = 0 ;
14896 char *kwnames[] = {
328fcd84 14897 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14903 if (obj1) {
2f4c0a16
RD
14904 arg2 = (bool) SWIG_AsBool(obj1);
14905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14906 }
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
2f4c0a16 14914 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
14921static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14924 bool arg2 = (bool) False ;
d14a1e28
RD
14925 size_t result;
14926 PyObject * obj0 = 0 ;
14927 PyObject * obj1 = 0 ;
14928 char *kwnames[] = {
328fcd84 14929 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14935 if (obj1) {
2f4c0a16
RD
14936 arg2 = (bool) SWIG_AsBool(obj1);
14937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14938 }
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
2f4c0a16 14946 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14947 return resultobj;
14948 fail:
14949 return NULL;
14950}
14951
14952
14953static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14956 wxString *arg2 = 0 ;
14957 bool result;
423f194a 14958 bool temp2 = False ;
d14a1e28
RD
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 char *kwnames[] = {
328fcd84 14962 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14968 {
14969 arg2 = wxString_in_helper(obj1);
14970 if (arg2 == NULL) SWIG_fail;
423f194a 14971 temp2 = True;
d14a1e28
RD
14972 }
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
4f89f6a3
RD
14980 {
14981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14982 }
d14a1e28
RD
14983 {
14984 if (temp2)
14985 delete arg2;
14986 }
14987 return resultobj;
14988 fail:
14989 {
14990 if (temp2)
14991 delete arg2;
14992 }
14993 return NULL;
14994}
14995
14996
14997static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj;
14999 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15000 wxString *arg2 = 0 ;
15001 bool result;
423f194a 15002 bool temp2 = False ;
d14a1e28
RD
15003 PyObject * obj0 = 0 ;
15004 PyObject * obj1 = 0 ;
15005 char *kwnames[] = {
328fcd84 15006 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15007 };
15008
15009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15012 {
15013 arg2 = wxString_in_helper(obj1);
15014 if (arg2 == NULL) SWIG_fail;
423f194a 15015 temp2 = True;
d14a1e28
RD
15016 }
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15020
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
4f89f6a3
RD
15024 {
15025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15026 }
d14a1e28
RD
15027 {
15028 if (temp2)
15029 delete arg2;
15030 }
15031 return resultobj;
15032 fail:
15033 {
15034 if (temp2)
15035 delete arg2;
15036 }
15037 return NULL;
15038}
15039
15040
15041static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15044 wxString *arg2 = 0 ;
15045 bool result;
423f194a 15046 bool temp2 = False ;
d14a1e28
RD
15047 PyObject * obj0 = 0 ;
15048 PyObject * obj1 = 0 ;
15049 char *kwnames[] = {
328fcd84 15050 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15056 {
15057 arg2 = wxString_in_helper(obj1);
15058 if (arg2 == NULL) SWIG_fail;
423f194a 15059 temp2 = True;
d14a1e28
RD
15060 }
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
4f89f6a3
RD
15068 {
15069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15070 }
d14a1e28
RD
15071 {
15072 if (temp2)
15073 delete arg2;
15074 }
15075 return resultobj;
15076 fail:
15077 {
15078 if (temp2)
15079 delete arg2;
15080 }
15081 return NULL;
15082}
15083
15084
15085static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15088 wxString *arg2 = 0 ;
15089 int result;
423f194a 15090 bool temp2 = False ;
d14a1e28
RD
15091 PyObject * obj0 = 0 ;
15092 PyObject * obj1 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self",(char *) "name", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15100 {
15101 arg2 = wxString_in_helper(obj1);
15102 if (arg2 == NULL) SWIG_fail;
423f194a 15103 temp2 = True;
d14a1e28
RD
15104 }
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
2f4c0a16 15112 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15113 {
15114 if (temp2)
15115 delete arg2;
15116 }
15117 return resultobj;
15118 fail:
15119 {
15120 if (temp2)
15121 delete arg2;
15122 }
15123 return NULL;
15124}
15125
15126
15127static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15130 wxString *arg2 = 0 ;
15131 wxString const &arg3_defvalue = wxPyEmptyString ;
15132 wxString *arg3 = (wxString *) &arg3_defvalue ;
15133 wxString result;
423f194a
RD
15134 bool temp2 = False ;
15135 bool temp3 = False ;
d14a1e28
RD
15136 PyObject * obj0 = 0 ;
15137 PyObject * obj1 = 0 ;
15138 PyObject * obj2 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15146 {
15147 arg2 = wxString_in_helper(obj1);
15148 if (arg2 == NULL) SWIG_fail;
423f194a 15149 temp2 = True;
d14a1e28
RD
15150 }
15151 if (obj2) {
15152 {
15153 arg3 = wxString_in_helper(obj2);
15154 if (arg3 == NULL) SWIG_fail;
423f194a 15155 temp3 = True;
d14a1e28
RD
15156 }
15157 }
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 {
15166#if wxUSE_UNICODE
15167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15168#else
15169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15170#endif
15171 }
15172 {
15173 if (temp2)
15174 delete arg2;
15175 }
15176 {
15177 if (temp3)
15178 delete arg3;
15179 }
15180 return resultobj;
15181 fail:
15182 {
15183 if (temp2)
15184 delete arg2;
15185 }
15186 {
15187 if (temp3)
15188 delete arg3;
15189 }
15190 return NULL;
15191}
15192
15193
15194static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15197 wxString *arg2 = 0 ;
15198 long arg3 = (long) 0 ;
15199 long result;
423f194a 15200 bool temp2 = False ;
d14a1e28
RD
15201 PyObject * obj0 = 0 ;
15202 PyObject * obj1 = 0 ;
8edf1c75 15203 PyObject * obj2 = 0 ;
d14a1e28
RD
15204 char *kwnames[] = {
15205 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15206 };
15207
8edf1c75 15208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15211 {
15212 arg2 = wxString_in_helper(obj1);
15213 if (arg2 == NULL) SWIG_fail;
423f194a 15214 temp2 = True;
d14a1e28 15215 }
8edf1c75 15216 if (obj2) {
2f4c0a16
RD
15217 arg3 = (long) SWIG_AsLong(obj2);
15218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15219 }
d14a1e28
RD
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
2f4c0a16 15227 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 return resultobj;
15233 fail:
15234 {
15235 if (temp2)
15236 delete arg2;
15237 }
15238 return NULL;
15239}
15240
15241
15242static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15245 wxString *arg2 = 0 ;
15246 double arg3 = (double) 0.0 ;
15247 double result;
423f194a 15248 bool temp2 = False ;
d14a1e28
RD
15249 PyObject * obj0 = 0 ;
15250 PyObject * obj1 = 0 ;
8edf1c75 15251 PyObject * obj2 = 0 ;
d14a1e28
RD
15252 char *kwnames[] = {
15253 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15254 };
15255
8edf1c75 15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15259 {
15260 arg2 = wxString_in_helper(obj1);
15261 if (arg2 == NULL) SWIG_fail;
423f194a 15262 temp2 = True;
d14a1e28 15263 }
8edf1c75 15264 if (obj2) {
2f4c0a16
RD
15265 arg3 = (double) SWIG_AsDouble(obj2);
15266 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15267 }
d14a1e28
RD
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
2f4c0a16 15275 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
15276 {
15277 if (temp2)
15278 delete arg2;
15279 }
15280 return resultobj;
15281 fail:
15282 {
15283 if (temp2)
15284 delete arg2;
15285 }
15286 return NULL;
15287}
15288
15289
15290static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15291 PyObject *resultobj;
15292 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15293 wxString *arg2 = 0 ;
423f194a 15294 bool arg3 = (bool) False ;
d14a1e28 15295 bool result;
423f194a 15296 bool temp2 = False ;
d14a1e28
RD
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 PyObject * obj2 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15307 {
15308 arg2 = wxString_in_helper(obj1);
15309 if (arg2 == NULL) SWIG_fail;
423f194a 15310 temp2 = True;
d14a1e28
RD
15311 }
15312 if (obj2) {
2f4c0a16
RD
15313 arg3 = (bool) SWIG_AsBool(obj2);
15314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15315 }
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
4f89f6a3
RD
15323 {
15324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15325 }
d14a1e28
RD
15326 {
15327 if (temp2)
15328 delete arg2;
15329 }
15330 return resultobj;
15331 fail:
15332 {
15333 if (temp2)
15334 delete arg2;
15335 }
15336 return NULL;
15337}
15338
15339
15340static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15343 wxString *arg2 = 0 ;
15344 wxString *arg3 = 0 ;
15345 bool result;
423f194a
RD
15346 bool temp2 = False ;
15347 bool temp3 = False ;
d14a1e28
RD
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 PyObject * obj2 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self",(char *) "key",(char *) "value", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15358 {
15359 arg2 = wxString_in_helper(obj1);
15360 if (arg2 == NULL) SWIG_fail;
423f194a 15361 temp2 = True;
d14a1e28
RD
15362 }
15363 {
15364 arg3 = wxString_in_helper(obj2);
15365 if (arg3 == NULL) SWIG_fail;
423f194a 15366 temp3 = True;
d14a1e28
RD
15367 }
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
4f89f6a3
RD
15375 {
15376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15377 }
d14a1e28
RD
15378 {
15379 if (temp2)
15380 delete arg2;
15381 }
15382 {
15383 if (temp3)
15384 delete arg3;
15385 }
15386 return resultobj;
15387 fail:
15388 {
15389 if (temp2)
15390 delete arg2;
15391 }
15392 {
15393 if (temp3)
15394 delete arg3;
15395 }
15396 return NULL;
15397}
15398
15399
15400static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15403 wxString *arg2 = 0 ;
15404 long arg3 ;
15405 bool result;
423f194a 15406 bool temp2 = False ;
d14a1e28
RD
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
8edf1c75 15409 PyObject * obj2 = 0 ;
d14a1e28
RD
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "key",(char *) "value", NULL
15412 };
15413
8edf1c75 15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15417 {
15418 arg2 = wxString_in_helper(obj1);
15419 if (arg2 == NULL) SWIG_fail;
423f194a 15420 temp2 = True;
d14a1e28 15421 }
2f4c0a16
RD
15422 arg3 = (long) SWIG_AsLong(obj2);
15423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
4f89f6a3
RD
15431 {
15432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15433 }
d14a1e28
RD
15434 {
15435 if (temp2)
15436 delete arg2;
15437 }
15438 return resultobj;
15439 fail:
15440 {
15441 if (temp2)
15442 delete arg2;
15443 }
15444 return NULL;
15445}
15446
15447
15448static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15451 wxString *arg2 = 0 ;
15452 double arg3 ;
15453 bool result;
423f194a 15454 bool temp2 = False ;
d14a1e28
RD
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
8edf1c75 15457 PyObject * obj2 = 0 ;
d14a1e28
RD
15458 char *kwnames[] = {
15459 (char *) "self",(char *) "key",(char *) "value", NULL
15460 };
15461
8edf1c75 15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",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 15469 }
2f4c0a16
RD
15470 arg3 = (double) SWIG_AsDouble(obj2);
15471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
4f89f6a3
RD
15479 {
15480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15481 }
d14a1e28
RD
15482 {
15483 if (temp2)
15484 delete arg2;
15485 }
15486 return resultobj;
15487 fail:
15488 {
15489 if (temp2)
15490 delete arg2;
15491 }
15492 return NULL;
15493}
15494
15495
15496static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj;
15498 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15499 wxString *arg2 = 0 ;
15500 bool arg3 ;
15501 bool result;
423f194a 15502 bool temp2 = False ;
d14a1e28
RD
15503 PyObject * obj0 = 0 ;
15504 PyObject * obj1 = 0 ;
15505 PyObject * obj2 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self",(char *) "key",(char *) "value", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15513 {
15514 arg2 = wxString_in_helper(obj1);
15515 if (arg2 == NULL) SWIG_fail;
423f194a 15516 temp2 = True;
d14a1e28 15517 }
2f4c0a16
RD
15518 arg3 = (bool) SWIG_AsBool(obj2);
15519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
4f89f6a3
RD
15527 {
15528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15529 }
d14a1e28
RD
15530 {
15531 if (temp2)
15532 delete arg2;
15533 }
15534 return resultobj;
15535 fail:
15536 {
15537 if (temp2)
15538 delete arg2;
15539 }
15540 return NULL;
15541}
15542
15543
15544static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15547 bool arg2 = (bool) False ;
d14a1e28
RD
15548 bool result;
15549 PyObject * obj0 = 0 ;
15550 PyObject * obj1 = 0 ;
15551 char *kwnames[] = {
328fcd84 15552 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15558 if (obj1) {
2f4c0a16
RD
15559 arg2 = (bool) SWIG_AsBool(obj1);
15560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15561 }
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (bool)(arg1)->Flush(arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
4f89f6a3
RD
15569 {
15570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15571 }
d14a1e28
RD
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15581 wxString *arg2 = 0 ;
15582 wxString *arg3 = 0 ;
15583 bool result;
423f194a
RD
15584 bool temp2 = False ;
15585 bool temp3 = False ;
d14a1e28
RD
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15596 {
15597 arg2 = wxString_in_helper(obj1);
15598 if (arg2 == NULL) SWIG_fail;
423f194a 15599 temp2 = True;
d14a1e28
RD
15600 }
15601 {
15602 arg3 = wxString_in_helper(obj2);
15603 if (arg3 == NULL) SWIG_fail;
423f194a 15604 temp3 = True;
d14a1e28
RD
15605 }
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
4f89f6a3
RD
15613 {
15614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15615 }
d14a1e28
RD
15616 {
15617 if (temp2)
15618 delete arg2;
15619 }
15620 {
15621 if (temp3)
15622 delete arg3;
15623 }
15624 return resultobj;
15625 fail:
15626 {
15627 if (temp2)
15628 delete arg2;
15629 }
15630 {
15631 if (temp3)
15632 delete arg3;
15633 }
15634 return NULL;
15635}
15636
15637
15638static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15641 wxString *arg2 = 0 ;
15642 wxString *arg3 = 0 ;
15643 bool result;
423f194a
RD
15644 bool temp2 = False ;
15645 bool temp3 = False ;
d14a1e28
RD
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 PyObject * obj2 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15656 {
15657 arg2 = wxString_in_helper(obj1);
15658 if (arg2 == NULL) SWIG_fail;
423f194a 15659 temp2 = True;
d14a1e28
RD
15660 }
15661 {
15662 arg3 = wxString_in_helper(obj2);
15663 if (arg3 == NULL) SWIG_fail;
423f194a 15664 temp3 = True;
d14a1e28
RD
15665 }
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
4f89f6a3
RD
15673 {
15674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15675 }
d14a1e28
RD
15676 {
15677 if (temp2)
15678 delete arg2;
15679 }
15680 {
15681 if (temp3)
15682 delete arg3;
15683 }
15684 return resultobj;
15685 fail:
15686 {
15687 if (temp2)
15688 delete arg2;
15689 }
15690 {
15691 if (temp3)
15692 delete arg3;
15693 }
15694 return NULL;
15695}
15696
15697
15698static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15701 wxString *arg2 = 0 ;
423f194a 15702 bool arg3 = (bool) True ;
d14a1e28 15703 bool result;
423f194a 15704 bool temp2 = False ;
d14a1e28
RD
15705 PyObject * obj0 = 0 ;
15706 PyObject * obj1 = 0 ;
15707 PyObject * obj2 = 0 ;
15708 char *kwnames[] = {
328fcd84 15709 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15715 {
15716 arg2 = wxString_in_helper(obj1);
15717 if (arg2 == NULL) SWIG_fail;
423f194a 15718 temp2 = True;
d14a1e28
RD
15719 }
15720 if (obj2) {
2f4c0a16
RD
15721 arg3 = (bool) SWIG_AsBool(obj2);
15722 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
4f89f6a3
RD
15731 {
15732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15733 }
d14a1e28
RD
15734 {
15735 if (temp2)
15736 delete arg2;
15737 }
15738 return resultobj;
15739 fail:
15740 {
15741 if (temp2)
15742 delete arg2;
15743 }
15744 return NULL;
15745}
15746
15747
15748static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15751 wxString *arg2 = 0 ;
15752 bool result;
423f194a 15753 bool temp2 = False ;
d14a1e28
RD
15754 PyObject * obj0 = 0 ;
15755 PyObject * obj1 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self",(char *) "key", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15763 {
15764 arg2 = wxString_in_helper(obj1);
15765 if (arg2 == NULL) SWIG_fail;
423f194a 15766 temp2 = True;
d14a1e28
RD
15767 }
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
4f89f6a3
RD
15775 {
15776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777 }
d14a1e28
RD
15778 {
15779 if (temp2)
15780 delete arg2;
15781 }
15782 return resultobj;
15783 fail:
15784 {
15785 if (temp2)
15786 delete arg2;
15787 }
15788 return NULL;
15789}
15790
15791
15792static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15795 bool result;
15796 PyObject * obj0 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 result = (bool)(arg1)->DeleteAll();
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
4f89f6a3
RD
15811 {
15812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15813 }
d14a1e28
RD
15814 return resultobj;
15815 fail:
15816 return NULL;
15817}
15818
15819
328fcd84 15820static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15821 PyObject *resultobj;
15822 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
328fcd84 15823 bool arg2 = (bool) True ;
d14a1e28 15824 PyObject * obj0 = 0 ;
328fcd84 15825 PyObject * obj1 = 0 ;
d14a1e28 15826 char *kwnames[] = {
328fcd84 15827 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15828 };
15829
328fcd84 15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84 15833 if (obj1) {
2f4c0a16
RD
15834 arg2 = (bool) SWIG_AsBool(obj1);
15835 if (PyErr_Occurred()) SWIG_fail;
328fcd84 15836 }
d14a1e28
RD
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 15839 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
328fcd84 15844 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15845 return resultobj;
15846 fail:
15847 return NULL;
15848}
15849
15850
328fcd84 15851static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15852 PyObject *resultobj;
15853 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
328fcd84 15854 bool result;
d14a1e28 15855 PyObject * obj0 = 0 ;
d14a1e28 15856 char *kwnames[] = {
328fcd84 15857 (char *) "self", NULL
d14a1e28
RD
15858 };
15859
328fcd84 15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 15865 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
4f89f6a3
RD
15870 {
15871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15872 }
d14a1e28
RD
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
15879static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 15882 bool arg2 = (bool) True ;
d14a1e28
RD
15883 PyObject * obj0 = 0 ;
15884 PyObject * obj1 = 0 ;
15885 char *kwnames[] = {
328fcd84 15886 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15892 if (obj1) {
2f4c0a16
RD
15893 arg2 = (bool) SWIG_AsBool(obj1);
15894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15895 }
15896 {
15897 PyThreadState* __tstate = wxPyBeginAllowThreads();
15898 (arg1)->SetRecordDefaults(arg2);
15899
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 Py_INCREF(Py_None); resultobj = Py_None;
15904 return resultobj;
15905 fail:
15906 return NULL;
15907}
15908
15909
15910static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15913 bool result;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
4f89f6a3
RD
15929 {
15930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15931 }
d14a1e28
RD
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15941 wxString *arg2 = 0 ;
15942 wxString result;
423f194a 15943 bool temp2 = False ;
d14a1e28
RD
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 char *kwnames[] = {
15947 (char *) "self",(char *) "str", NULL
15948 };
15949
15950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15953 {
15954 arg2 = wxString_in_helper(obj1);
15955 if (arg2 == NULL) SWIG_fail;
423f194a 15956 temp2 = True;
d14a1e28
RD
15957 }
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 {
15966#if wxUSE_UNICODE
15967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15968#else
15969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15970#endif
15971 }
15972 {
15973 if (temp2)
15974 delete arg2;
15975 }
15976 return resultobj;
15977 fail:
15978 {
15979 if (temp2)
15980 delete arg2;
15981 }
15982 return NULL;
15983}
15984
15985
15986static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15989 wxString result;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = ((wxConfigBase const *)arg1)->GetAppName();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 {
16006#if wxUSE_UNICODE
16007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16008#else
16009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16010#endif
16011 }
16012 return resultobj;
16013 fail:
16014 return NULL;
16015}
16016
16017
16018static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16021 wxString result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = ((wxConfigBase const *)arg1)->GetVendorName();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 {
16038#if wxUSE_UNICODE
16039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16040#else
16041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16042#endif
16043 }
16044 return resultobj;
16045 fail:
16046 return NULL;
16047}
16048
16049
16050static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16051 PyObject *resultobj;
16052 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16053 wxString *arg2 = 0 ;
423f194a 16054 bool temp2 = False ;
d14a1e28
RD
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "appName", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16064 {
16065 arg2 = wxString_in_helper(obj1);
16066 if (arg2 == NULL) SWIG_fail;
423f194a 16067 temp2 = True;
d14a1e28
RD
16068 }
16069 {
16070 PyThreadState* __tstate = wxPyBeginAllowThreads();
16071 (arg1)->SetAppName((wxString const &)*arg2);
16072
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 Py_INCREF(Py_None); resultobj = Py_None;
16077 {
16078 if (temp2)
16079 delete arg2;
16080 }
16081 return resultobj;
16082 fail:
16083 {
16084 if (temp2)
16085 delete arg2;
16086 }
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16094 wxString *arg2 = 0 ;
423f194a 16095 bool temp2 = False ;
d14a1e28
RD
16096 PyObject * obj0 = 0 ;
16097 PyObject * obj1 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self",(char *) "vendorName", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16105 {
16106 arg2 = wxString_in_helper(obj1);
16107 if (arg2 == NULL) SWIG_fail;
423f194a 16108 temp2 = True;
d14a1e28
RD
16109 }
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 (arg1)->SetVendorName((wxString const &)*arg2);
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 Py_INCREF(Py_None); resultobj = Py_None;
16118 {
16119 if (temp2)
16120 delete arg2;
16121 }
16122 return resultobj;
16123 fail:
16124 {
16125 if (temp2)
16126 delete arg2;
16127 }
16128 return NULL;
16129}
16130
16131
16132static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16133 PyObject *resultobj;
16134 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16135 long arg2 ;
16136 PyObject * obj0 = 0 ;
8edf1c75 16137 PyObject * obj1 = 0 ;
d14a1e28
RD
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "style", NULL
16140 };
16141
8edf1c75 16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16145 arg2 = (long) SWIG_AsLong(obj1);
16146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 (arg1)->SetStyle(arg2);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 Py_INCREF(Py_None); resultobj = Py_None;
16155 return resultobj;
16156 fail:
16157 return NULL;
16158}
16159
16160
16161static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16164 long result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
2f4c0a16 16180 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
16181 return resultobj;
16182 fail:
16183 return NULL;
16184}
16185
16186
16187static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16188 PyObject *obj;
16189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16190 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16191 Py_INCREF(obj);
16192 return Py_BuildValue((char *)"");
16193}
d14a1e28
RD
16194static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxString const &arg1_defvalue = wxPyEmptyString ;
16197 wxString *arg1 = (wxString *) &arg1_defvalue ;
16198 wxString const &arg2_defvalue = wxPyEmptyString ;
16199 wxString *arg2 = (wxString *) &arg2_defvalue ;
16200 wxString const &arg3_defvalue = wxPyEmptyString ;
16201 wxString *arg3 = (wxString *) &arg3_defvalue ;
16202 wxString const &arg4_defvalue = wxPyEmptyString ;
16203 wxString *arg4 = (wxString *) &arg4_defvalue ;
4f89f6a3 16204 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16205 wxConfig *result;
423f194a
RD
16206 bool temp1 = False ;
16207 bool temp2 = False ;
16208 bool temp3 = False ;
16209 bool temp4 = False ;
d14a1e28
RD
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 PyObject * obj2 = 0 ;
16213 PyObject * obj3 = 0 ;
8edf1c75 16214 PyObject * obj4 = 0 ;
d14a1e28
RD
16215 char *kwnames[] = {
16216 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16217 };
16218
8edf1c75 16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16220 if (obj0) {
16221 {
16222 arg1 = wxString_in_helper(obj0);
16223 if (arg1 == NULL) SWIG_fail;
423f194a 16224 temp1 = True;
d14a1e28
RD
16225 }
16226 }
16227 if (obj1) {
16228 {
16229 arg2 = wxString_in_helper(obj1);
16230 if (arg2 == NULL) SWIG_fail;
423f194a 16231 temp2 = True;
d14a1e28
RD
16232 }
16233 }
16234 if (obj2) {
16235 {
16236 arg3 = wxString_in_helper(obj2);
16237 if (arg3 == NULL) SWIG_fail;
423f194a 16238 temp3 = True;
d14a1e28
RD
16239 }
16240 }
16241 if (obj3) {
16242 {
16243 arg4 = wxString_in_helper(obj3);
16244 if (arg4 == NULL) SWIG_fail;
423f194a 16245 temp4 = True;
d14a1e28
RD
16246 }
16247 }
8edf1c75 16248 if (obj4) {
2f4c0a16
RD
16249 arg5 = (long) SWIG_AsLong(obj4);
16250 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16251 }
d14a1e28
RD
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
2f4c0a16 16259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
16260 {
16261 if (temp1)
16262 delete arg1;
16263 }
16264 {
16265 if (temp2)
16266 delete arg2;
16267 }
16268 {
16269 if (temp3)
16270 delete arg3;
16271 }
16272 {
16273 if (temp4)
16274 delete arg4;
16275 }
16276 return resultobj;
16277 fail:
16278 {
16279 if (temp1)
16280 delete arg1;
16281 }
16282 {
16283 if (temp2)
16284 delete arg2;
16285 }
16286 {
16287 if (temp3)
16288 delete arg3;
16289 }
16290 {
16291 if (temp4)
16292 delete arg4;
16293 }
16294 return NULL;
16295}
16296
16297
16298static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxConfig *arg1 = (wxConfig *) 0 ;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 delete arg1;
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320}
16321
16322
16323static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16324 PyObject *obj;
16325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16327 Py_INCREF(obj);
16328 return Py_BuildValue((char *)"");
16329}
16330static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxString const &arg1_defvalue = wxPyEmptyString ;
16333 wxString *arg1 = (wxString *) &arg1_defvalue ;
16334 wxString const &arg2_defvalue = wxPyEmptyString ;
16335 wxString *arg2 = (wxString *) &arg2_defvalue ;
16336 wxString const &arg3_defvalue = wxPyEmptyString ;
16337 wxString *arg3 = (wxString *) &arg3_defvalue ;
16338 wxString const &arg4_defvalue = wxPyEmptyString ;
16339 wxString *arg4 = (wxString *) &arg4_defvalue ;
fe763115 16340 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16341 wxFileConfig *result;
423f194a
RD
16342 bool temp1 = False ;
16343 bool temp2 = False ;
16344 bool temp3 = False ;
16345 bool temp4 = False ;
d14a1e28
RD
16346 PyObject * obj0 = 0 ;
16347 PyObject * obj1 = 0 ;
16348 PyObject * obj2 = 0 ;
16349 PyObject * obj3 = 0 ;
8edf1c75 16350 PyObject * obj4 = 0 ;
d14a1e28
RD
16351 char *kwnames[] = {
16352 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16353 };
16354
8edf1c75 16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16356 if (obj0) {
16357 {
16358 arg1 = wxString_in_helper(obj0);
16359 if (arg1 == NULL) SWIG_fail;
423f194a 16360 temp1 = True;
d14a1e28
RD
16361 }
16362 }
16363 if (obj1) {
16364 {
16365 arg2 = wxString_in_helper(obj1);
16366 if (arg2 == NULL) SWIG_fail;
423f194a 16367 temp2 = True;
d14a1e28
RD
16368 }
16369 }
16370 if (obj2) {
16371 {
16372 arg3 = wxString_in_helper(obj2);
16373 if (arg3 == NULL) SWIG_fail;
423f194a 16374 temp3 = True;
d14a1e28
RD
16375 }
16376 }
16377 if (obj3) {
16378 {
16379 arg4 = wxString_in_helper(obj3);
16380 if (arg4 == NULL) SWIG_fail;
423f194a 16381 temp4 = True;
d14a1e28
RD
16382 }
16383 }
8edf1c75 16384 if (obj4) {
2f4c0a16
RD
16385 arg5 = (long) SWIG_AsLong(obj4);
16386 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16387 }
d14a1e28
RD
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
2f4c0a16 16395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
16396 {
16397 if (temp1)
16398 delete arg1;
16399 }
16400 {
16401 if (temp2)
16402 delete arg2;
16403 }
16404 {
16405 if (temp3)
16406 delete arg3;
16407 }
16408 {
16409 if (temp4)
16410 delete arg4;
16411 }
16412 return resultobj;
16413 fail:
16414 {
16415 if (temp1)
16416 delete arg1;
16417 }
16418 {
16419 if (temp2)
16420 delete arg2;
16421 }
16422 {
16423 if (temp3)
16424 delete arg3;
16425 }
16426 {
16427 if (temp4)
16428 delete arg4;
16429 }
16430 return NULL;
16431}
16432
16433
16434static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 delete arg1;
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 Py_INCREF(Py_None); resultobj = Py_None;
16453 return resultobj;
16454 fail:
16455 return NULL;
16456}
16457
16458
16459static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16460 PyObject *obj;
16461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16462 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16463 Py_INCREF(obj);
16464 return Py_BuildValue((char *)"");
16465}
328fcd84
RD
16466static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16469 wxString *arg2 = 0 ;
16470 wxConfigPathChanger *result;
16471 bool temp2 = False ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "config",(char *) "entry", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
16481 {
16482 arg2 = wxString_in_helper(obj1);
16483 if (arg2 == NULL) SWIG_fail;
16484 temp2 = True;
16485 }
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
2f4c0a16 16493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
328fcd84
RD
16494 {
16495 if (temp2)
16496 delete arg2;
16497 }
16498 return resultobj;
16499 fail:
16500 {
16501 if (temp2)
16502 delete arg2;
16503 }
16504 return NULL;
16505}
16506
16507
16508static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16511 PyObject * obj0 = 0 ;
16512 char *kwnames[] = {
16513 (char *) "self", NULL
16514 };
16515
16516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 delete arg1;
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530}
16531
16532
16533static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16536 wxString *result;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
328fcd84
RD
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 {
16548 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16549 result = (wxString *) &_result_ref;
16550 }
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556#if wxUSE_UNICODE
16557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16558#else
16559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16560#endif
16561 }
16562 return resultobj;
16563 fail:
16564 return NULL;
16565}
16566
16567
16568static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16569 PyObject *obj;
16570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16571 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16572 Py_INCREF(obj);
16573 return Py_BuildValue((char *)"");
16574}
d14a1e28
RD
16575static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxString *arg1 = 0 ;
16578 wxString result;
423f194a 16579 bool temp1 = False ;
d14a1e28
RD
16580 PyObject * obj0 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "sz", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16586 {
16587 arg1 = wxString_in_helper(obj0);
16588 if (arg1 == NULL) SWIG_fail;
423f194a 16589 temp1 = True;
d14a1e28
RD
16590 }
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = wxExpandEnvVars((wxString const &)*arg1);
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 {
16599#if wxUSE_UNICODE
16600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16601#else
16602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16603#endif
16604 }
16605 {
16606 if (temp1)
16607 delete arg1;
16608 }
16609 return resultobj;
16610 fail:
16611 {
16612 if (temp1)
16613 delete arg1;
16614 }
16615 return NULL;
16616}
16617
16618
2f4c0a16 16619static int _wrap_DateFormatStr_set(PyObject *_val) {
d03fd34d
RD
16620 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16621 return 1;
16622}
16623
16624
16625static PyObject *_wrap_DateFormatStr_get() {
16626 PyObject *pyobj;
16627
16628 {
16629#if wxUSE_UNICODE
16630 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16631#else
16632 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16633#endif
16634 }
16635 return pyobj;
16636}
16637
16638
2f4c0a16 16639static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
d03fd34d
RD
16640 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16641 return 1;
16642}
16643
16644
16645static PyObject *_wrap_TimeSpanFormatStr_get() {
16646 PyObject *pyobj;
16647
16648 {
16649#if wxUSE_UNICODE
16650 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16651#else
16652 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16653#endif
16654 }
16655 return pyobj;
16656}
16657
16658
d14a1e28
RD
16659static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 int arg1 ;
8edf1c75 16662 PyObject * obj0 = 0 ;
d14a1e28
RD
16663 char *kwnames[] = {
16664 (char *) "country", NULL
16665 };
16666
8edf1c75 16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16668 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 Py_INCREF(Py_None); resultobj = Py_None;
16678 return resultobj;
16679 fail:
16680 return NULL;
16681}
16682
16683
16684static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16685 PyObject *resultobj;
16686 int result;
16687 char *kwnames[] = {
16688 NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (int)wxDateTime::GetCountry();
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
2f4c0a16 16699 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
16706static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 int arg1 = (int) wxDateTime::Country_Default ;
16709 bool result;
8edf1c75 16710 PyObject * obj0 = 0 ;
d14a1e28
RD
16711 char *kwnames[] = {
16712 (char *) "country", NULL
16713 };
16714
8edf1c75
RD
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16716 if (obj0) {
2f4c0a16
RD
16717 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16718 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16719 }
d14a1e28
RD
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
4f89f6a3
RD
16727 {
16728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16729 }
d14a1e28
RD
16730 return resultobj;
16731 fail:
16732 return NULL;
16733}
16734
16735
16736static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 int arg1 = (int) wxDateTime::Gregorian ;
16739 int result;
8edf1c75 16740 PyObject * obj0 = 0 ;
d14a1e28
RD
16741 char *kwnames[] = {
16742 (char *) "cal", NULL
16743 };
16744
8edf1c75
RD
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16746 if (obj0) {
2f4c0a16
RD
16747 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16749 }
d14a1e28
RD
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
2f4c0a16 16757 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16758 return resultobj;
16759 fail:
16760 return NULL;
16761}
16762
16763
16764static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 int arg1 ;
16767 int result;
8edf1c75 16768 PyObject * obj0 = 0 ;
d14a1e28
RD
16769 char *kwnames[] = {
16770 (char *) "year", NULL
16771 };
16772
8edf1c75 16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16774 arg1 = (int) SWIG_AsInt(obj0);
16775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 result = (int)wxDateTime::ConvertYearToBC(arg1);
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
2f4c0a16 16783 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16784 return resultobj;
16785 fail:
16786 return NULL;
16787}
16788
16789
16790static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 int arg1 = (int) wxDateTime::Gregorian ;
16793 int result;
8edf1c75 16794 PyObject * obj0 = 0 ;
d14a1e28
RD
16795 char *kwnames[] = {
16796 (char *) "cal", NULL
16797 };
16798
8edf1c75
RD
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16800 if (obj0) {
2f4c0a16
RD
16801 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16802 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16803 }
d14a1e28
RD
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
2f4c0a16 16811 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16812 return resultobj;
16813 fail:
16814 return NULL;
16815}
16816
16817
16818static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 int arg1 = (int) wxDateTime::Inv_Year ;
16821 int arg2 = (int) wxDateTime::Gregorian ;
16822 bool result;
8edf1c75
RD
16823 PyObject * obj0 = 0 ;
16824 PyObject * obj1 = 0 ;
d14a1e28
RD
16825 char *kwnames[] = {
16826 (char *) "year",(char *) "cal", NULL
16827 };
16828
8edf1c75
RD
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16830 if (obj0) {
2f4c0a16
RD
16831 arg1 = (int) SWIG_AsInt(obj0);
16832 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16833 }
16834 if (obj1) {
2f4c0a16
RD
16835 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16836 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16837 }
d14a1e28
RD
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
4f89f6a3
RD
16845 {
16846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16847 }
d14a1e28
RD
16848 return resultobj;
16849 fail:
16850 return NULL;
16851}
16852
16853
16854static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 int arg1 = (int) wxDateTime::Inv_Year ;
16857 int result;
8edf1c75 16858 PyObject * obj0 = 0 ;
d14a1e28
RD
16859 char *kwnames[] = {
16860 (char *) "year", NULL
16861 };
16862
8edf1c75
RD
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16864 if (obj0) {
2f4c0a16
RD
16865 arg1 = (int) SWIG_AsInt(obj0);
16866 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16867 }
d14a1e28
RD
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 result = (int)wxDateTime::GetCentury(arg1);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
2f4c0a16 16875 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16876 return resultobj;
16877 fail:
16878 return NULL;
16879}
16880
16881
16882static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 int arg1 ;
16885 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 16886 int result;
8edf1c75
RD
16887 PyObject * obj0 = 0 ;
16888 PyObject * obj1 = 0 ;
d14a1e28
RD
16889 char *kwnames[] = {
16890 (char *) "year",(char *) "cal", NULL
16891 };
16892
8edf1c75 16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16894 arg1 = (int) SWIG_AsInt(obj0);
16895 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16896 if (obj1) {
2f4c0a16
RD
16897 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16898 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16899 }
d14a1e28
RD
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16902 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
2f4c0a16 16907 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16908 return resultobj;
16909 fail:
16910 return NULL;
16911}
16912
16913
16914static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 int arg1 ;
16917 int arg2 = (int) wxDateTime::Inv_Year ;
16918 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 16919 int result;
8edf1c75
RD
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 PyObject * obj2 = 0 ;
d14a1e28
RD
16923 char *kwnames[] = {
16924 (char *) "month",(char *) "year",(char *) "cal", NULL
16925 };
16926
8edf1c75 16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16928 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16930 if (obj1) {
2f4c0a16
RD
16931 arg2 = (int) SWIG_AsInt(obj1);
16932 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16933 }
16934 if (obj2) {
2f4c0a16
RD
16935 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16936 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16937 }
d14a1e28
RD
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 16940 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
2f4c0a16 16945 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16946 return resultobj;
16947 fail:
16948 return NULL;
16949}
16950
16951
16952static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 int arg1 ;
16955 int arg2 = (int) wxDateTime::Name_Full ;
16956 wxString result;
8edf1c75
RD
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
d14a1e28
RD
16959 char *kwnames[] = {
16960 (char *) "month",(char *) "flags", NULL
16961 };
16962
8edf1c75 16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16964 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16965 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16966 if (obj1) {
2f4c0a16
RD
16967 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16968 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16969 }
d14a1e28
RD
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 {
16978#if wxUSE_UNICODE
16979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16980#else
16981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16982#endif
16983 }
16984 return resultobj;
16985 fail:
16986 return NULL;
16987}
16988
16989
16990static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 int arg1 ;
16993 int arg2 = (int) wxDateTime::Name_Full ;
16994 wxString result;
8edf1c75
RD
16995 PyObject * obj0 = 0 ;
16996 PyObject * obj1 = 0 ;
d14a1e28
RD
16997 char *kwnames[] = {
16998 (char *) "weekday",(char *) "flags", NULL
16999 };
17000
8edf1c75 17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17002 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17003 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17004 if (obj1) {
2f4c0a16
RD
17005 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17006 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17007 }
d14a1e28
RD
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016#if wxUSE_UNICODE
17017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17018#else
17019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17020#endif
17021 }
17022 return resultobj;
17023 fail:
17024 return NULL;
17025}
17026
17027
17028static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxString *arg1 = (wxString *) 0 ;
17031 wxString *arg2 = (wxString *) 0 ;
f775c30d
RD
17032 bool temp1 = False ;
17033 bool temp2 = False ;
d14a1e28
RD
17034 PyObject * obj0 = 0 ;
17035 PyObject * obj1 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
f775c30d
RD
17041 {
17042 arg1 = wxString_in_helper(obj0);
17043 if (arg1 == NULL) SWIG_fail;
17044 temp1 = True;
17045 }
17046 {
17047 arg2 = wxString_in_helper(obj1);
17048 if (arg2 == NULL) SWIG_fail;
17049 temp2 = True;
17050 }
d14a1e28
RD
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 wxDateTime::GetAmPmStrings(arg1,arg2);
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 Py_INCREF(Py_None); resultobj = Py_None;
f775c30d
RD
17059 {
17060 if (temp1)
17061 delete arg1;
17062 }
17063 {
17064 if (temp2)
17065 delete arg2;
17066 }
d14a1e28
RD
17067 return resultobj;
17068 fail:
f775c30d
RD
17069 {
17070 if (temp1)
17071 delete arg1;
17072 }
17073 {
17074 if (temp2)
17075 delete arg2;
17076 }
d14a1e28
RD
17077 return NULL;
17078}
17079
17080
17081static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17082 PyObject *resultobj;
17083 int arg1 = (int) wxDateTime::Inv_Year ;
17084 int arg2 = (int) wxDateTime::Country_Default ;
17085 bool result;
8edf1c75
RD
17086 PyObject * obj0 = 0 ;
17087 PyObject * obj1 = 0 ;
d14a1e28
RD
17088 char *kwnames[] = {
17089 (char *) "year",(char *) "country", NULL
17090 };
17091
8edf1c75
RD
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17093 if (obj0) {
2f4c0a16
RD
17094 arg1 = (int) SWIG_AsInt(obj0);
17095 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17096 }
17097 if (obj1) {
2f4c0a16
RD
17098 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17099 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17100 }
d14a1e28
RD
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
4f89f6a3
RD
17108 {
17109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17110 }
d14a1e28
RD
17111 return resultobj;
17112 fail:
17113 return NULL;
17114}
17115
17116
17117static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 int arg1 = (int) wxDateTime::Inv_Year ;
17120 int arg2 = (int) wxDateTime::Country_Default ;
17121 wxDateTime result;
8edf1c75
RD
17122 PyObject * obj0 = 0 ;
17123 PyObject * obj1 = 0 ;
d14a1e28
RD
17124 char *kwnames[] = {
17125 (char *) "year",(char *) "country", NULL
17126 };
17127
8edf1c75
RD
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17129 if (obj0) {
2f4c0a16
RD
17130 arg1 = (int) SWIG_AsInt(obj0);
17131 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17132 }
17133 if (obj1) {
2f4c0a16
RD
17134 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17135 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17136 }
d14a1e28
RD
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 {
17145 wxDateTime * resultptr;
17146 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17148 }
17149 return resultobj;
17150 fail:
17151 return NULL;
17152}
17153
17154
17155static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17156 PyObject *resultobj;
17157 int arg1 = (int) wxDateTime::Inv_Year ;
17158 int arg2 = (int) wxDateTime::Country_Default ;
17159 wxDateTime result;
8edf1c75
RD
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
d14a1e28
RD
17162 char *kwnames[] = {
17163 (char *) "year",(char *) "country", NULL
17164 };
17165
8edf1c75
RD
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17167 if (obj0) {
2f4c0a16
RD
17168 arg1 = (int) SWIG_AsInt(obj0);
17169 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17170 }
17171 if (obj1) {
2f4c0a16
RD
17172 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17174 }
d14a1e28
RD
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 {
17183 wxDateTime * resultptr;
17184 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17186 }
17187 return resultobj;
17188 fail:
17189 return NULL;
17190}
17191
17192
17193static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxDateTime result;
17196 char *kwnames[] = {
17197 NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 result = wxDateTime::Now();
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 {
17209 wxDateTime * resultptr;
17210 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17212 }
17213 return resultobj;
17214 fail:
17215 return NULL;
17216}
17217
17218
17219static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxDateTime result;
17222 char *kwnames[] = {
17223 NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = wxDateTime::UNow();
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 wxDateTime * resultptr;
17236 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17238 }
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
17245static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxDateTime result;
17248 char *kwnames[] = {
17249 NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = wxDateTime::Today();
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 wxDateTime * resultptr;
17262 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 17263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17264 }
17265 return resultobj;
17266 fail:
17267 return NULL;
17268}
17269
17270
17271static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxDateTime *result;
17274 char *kwnames[] = {
17275 NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (wxDateTime *)new wxDateTime();
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
2f4c0a16 17286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17287 return resultobj;
17288 fail:
17289 return NULL;
17290}
17291
17292
17293static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 time_t arg1 ;
17296 wxDateTime *result;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "timet", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17303 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 result = (wxDateTime *)new wxDateTime(arg1);
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
2f4c0a16 17312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17313 return resultobj;
17314 fail:
17315 return NULL;
17316}
17317
17318
17319static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 double arg1 ;
17322 wxDateTime *result;
8edf1c75 17323 PyObject * obj0 = 0 ;
d14a1e28
RD
17324 char *kwnames[] = {
17325 (char *) "jdn", NULL
17326 };
17327
8edf1c75 17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17329 arg1 = (double) SWIG_AsDouble(obj0);
17330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (wxDateTime *)new wxDateTime(arg1);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
2f4c0a16 17338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17339 return resultobj;
17340 fail:
17341 return NULL;
17342}
17343
17344
17345static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
44127b65
RD
17347 int arg1 ;
17348 int arg2 = (int) 0 ;
17349 int arg3 = (int) 0 ;
17350 int arg4 = (int) 0 ;
d14a1e28 17351 wxDateTime *result;
8edf1c75
RD
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 PyObject * obj2 = 0 ;
17355 PyObject * obj3 = 0 ;
d14a1e28
RD
17356 char *kwnames[] = {
17357 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17358 };
17359
8edf1c75 17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17361 arg1 = (int) SWIG_AsInt(obj0);
17362 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17363 if (obj1) {
2f4c0a16
RD
17364 arg2 = (int) SWIG_AsInt(obj1);
17365 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17366 }
17367 if (obj2) {
2f4c0a16
RD
17368 arg3 = (int) SWIG_AsInt(obj2);
17369 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17370 }
17371 if (obj3) {
2f4c0a16
RD
17372 arg4 = (int) SWIG_AsInt(obj3);
17373 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17374 }
d14a1e28
RD
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
2f4c0a16 17382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17383 return resultobj;
17384 fail:
17385 return NULL;
17386}
17387
17388
17389static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
44127b65 17391 int arg1 ;
d14a1e28
RD
17392 int arg2 = (int) wxDateTime::Inv_Month ;
17393 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17394 int arg4 = (int) 0 ;
17395 int arg5 = (int) 0 ;
17396 int arg6 = (int) 0 ;
17397 int arg7 = (int) 0 ;
d14a1e28 17398 wxDateTime *result;
8edf1c75
RD
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 PyObject * obj3 = 0 ;
17403 PyObject * obj4 = 0 ;
17404 PyObject * obj5 = 0 ;
17405 PyObject * obj6 = 0 ;
d14a1e28
RD
17406 char *kwnames[] = {
17407 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17408 };
17409
8edf1c75 17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
17411 arg1 = (int) SWIG_AsInt(obj0);
17412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17413 if (obj1) {
2f4c0a16
RD
17414 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17415 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17416 }
17417 if (obj2) {
2f4c0a16
RD
17418 arg3 = (int) SWIG_AsInt(obj2);
17419 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17420 }
17421 if (obj3) {
2f4c0a16
RD
17422 arg4 = (int) SWIG_AsInt(obj3);
17423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17424 }
17425 if (obj4) {
2f4c0a16
RD
17426 arg5 = (int) SWIG_AsInt(obj4);
17427 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17428 }
17429 if (obj5) {
2f4c0a16
RD
17430 arg6 = (int) SWIG_AsInt(obj5);
17431 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17432 }
17433 if (obj6) {
2f4c0a16
RD
17434 arg7 = (int) SWIG_AsInt(obj6);
17435 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17436 }
d14a1e28
RD
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
2f4c0a16 17444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
17451static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxDateTime *arg1 = (wxDateTime *) 0 ;
17454 PyObject * obj0 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 delete arg1;
17465
17466 wxPyEndAllowThreads(__tstate);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 }
17469 Py_INCREF(Py_None); resultobj = Py_None;
17470 return resultobj;
17471 fail:
17472 return NULL;
17473}
17474
17475
17476static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxDateTime *arg1 = (wxDateTime *) 0 ;
17479 wxDateTime *result;
17480 PyObject * obj0 = 0 ;
17481 char *kwnames[] = {
17482 (char *) "self", NULL
17483 };
17484
17485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 {
17491 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17492 result = (wxDateTime *) &_result_ref;
17493 }
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
2f4c0a16 17498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17499 return resultobj;
17500 fail:
17501 return NULL;
17502}
17503
17504
17505static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxDateTime *arg1 = (wxDateTime *) 0 ;
17508 time_t arg2 ;
17509 wxDateTime *result;
17510 PyObject * obj0 = 0 ;
17511 PyObject * obj1 = 0 ;
17512 char *kwnames[] = {
17513 (char *) "self",(char *) "timet", NULL
17514 };
17515
17516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17519 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 {
17524 wxDateTime &_result_ref = (arg1)->Set(arg2);
17525 result = (wxDateTime *) &_result_ref;
17526 }
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
2f4c0a16 17531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17532 return resultobj;
17533 fail:
17534 return NULL;
17535}
17536
17537
17538static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxDateTime *arg1 = (wxDateTime *) 0 ;
17541 double arg2 ;
17542 wxDateTime *result;
17543 PyObject * obj0 = 0 ;
8edf1c75 17544 PyObject * obj1 = 0 ;
d14a1e28
RD
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "jdn", NULL
17547 };
17548
8edf1c75 17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17552 arg2 = (double) SWIG_AsDouble(obj1);
17553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 {
17557 wxDateTime &_result_ref = (arg1)->Set(arg2);
17558 result = (wxDateTime *) &_result_ref;
17559 }
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
2f4c0a16 17564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17565 return resultobj;
17566 fail:
17567 return NULL;
17568}
17569
17570
17571static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
17574 int arg2 ;
17575 int arg3 = (int) 0 ;
17576 int arg4 = (int) 0 ;
17577 int arg5 = (int) 0 ;
d14a1e28
RD
17578 wxDateTime *result;
17579 PyObject * obj0 = 0 ;
8edf1c75
RD
17580 PyObject * obj1 = 0 ;
17581 PyObject * obj2 = 0 ;
17582 PyObject * obj3 = 0 ;
17583 PyObject * obj4 = 0 ;
d14a1e28
RD
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17586 };
17587
8edf1c75 17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17591 arg2 = (int) SWIG_AsInt(obj1);
17592 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17593 if (obj2) {
2f4c0a16
RD
17594 arg3 = (int) SWIG_AsInt(obj2);
17595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17596 }
17597 if (obj3) {
2f4c0a16
RD
17598 arg4 = (int) SWIG_AsInt(obj3);
17599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17600 }
17601 if (obj4) {
2f4c0a16
RD
17602 arg5 = (int) SWIG_AsInt(obj4);
17603 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17604 }
d14a1e28
RD
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 {
17608 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17609 result = (wxDateTime *) &_result_ref;
17610 }
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
2f4c0a16 17615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17616 return resultobj;
17617 fail:
17618 return NULL;
17619}
17620
17621
17622static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj;
17624 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17625 int arg2 ;
d14a1e28
RD
17626 int arg3 = (int) wxDateTime::Inv_Month ;
17627 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
17628 int arg5 = (int) 0 ;
17629 int arg6 = (int) 0 ;
17630 int arg7 = (int) 0 ;
17631 int arg8 = (int) 0 ;
d14a1e28
RD
17632 wxDateTime *result;
17633 PyObject * obj0 = 0 ;
8edf1c75
RD
17634 PyObject * obj1 = 0 ;
17635 PyObject * obj2 = 0 ;
17636 PyObject * obj3 = 0 ;
17637 PyObject * obj4 = 0 ;
17638 PyObject * obj5 = 0 ;
17639 PyObject * obj6 = 0 ;
17640 PyObject * obj7 = 0 ;
d14a1e28
RD
17641 char *kwnames[] = {
17642 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17643 };
17644
8edf1c75 17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
17646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17648 arg2 = (int) SWIG_AsInt(obj1);
17649 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17650 if (obj2) {
2f4c0a16
RD
17651 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17652 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17653 }
17654 if (obj3) {
2f4c0a16
RD
17655 arg4 = (int) SWIG_AsInt(obj3);
17656 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17657 }
17658 if (obj4) {
2f4c0a16
RD
17659 arg5 = (int) SWIG_AsInt(obj4);
17660 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17661 }
17662 if (obj5) {
2f4c0a16
RD
17663 arg6 = (int) SWIG_AsInt(obj5);
17664 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17665 }
17666 if (obj6) {
2f4c0a16
RD
17667 arg7 = (int) SWIG_AsInt(obj6);
17668 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17669 }
17670 if (obj7) {
2f4c0a16
RD
17671 arg8 = (int) SWIG_AsInt(obj7);
17672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17673 }
d14a1e28
RD
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 {
17677 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17678 result = (wxDateTime *) &_result_ref;
17679 }
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
2f4c0a16 17684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17685 return resultobj;
17686 fail:
17687 return NULL;
17688}
17689
17690
17691static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxDateTime *arg1 = (wxDateTime *) 0 ;
17694 wxDateTime *result;
17695 PyObject * obj0 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 {
17706 wxDateTime &_result_ref = (arg1)->ResetTime();
17707 result = (wxDateTime *) &_result_ref;
17708 }
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
2f4c0a16 17713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17714 return resultobj;
17715 fail:
17716 return NULL;
17717}
17718
17719
17720static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj;
17722 wxDateTime *arg1 = (wxDateTime *) 0 ;
17723 int arg2 ;
17724 wxDateTime *result;
17725 PyObject * obj0 = 0 ;
8edf1c75 17726 PyObject * obj1 = 0 ;
d14a1e28
RD
17727 char *kwnames[] = {
17728 (char *) "self",(char *) "year", NULL
17729 };
17730
8edf1c75 17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17734 arg2 = (int) SWIG_AsInt(obj1);
17735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 {
17739 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17740 result = (wxDateTime *) &_result_ref;
17741 }
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
2f4c0a16 17746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17747 return resultobj;
17748 fail:
17749 return NULL;
17750}
17751
17752
17753static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxDateTime *arg1 = (wxDateTime *) 0 ;
17756 int arg2 ;
17757 wxDateTime *result;
17758 PyObject * obj0 = 0 ;
8edf1c75 17759 PyObject * obj1 = 0 ;
d14a1e28
RD
17760 char *kwnames[] = {
17761 (char *) "self",(char *) "month", NULL
17762 };
17763
8edf1c75 17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17767 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 {
17772 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17773 result = (wxDateTime *) &_result_ref;
17774 }
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
2f4c0a16 17779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17789 int arg2 ;
d14a1e28
RD
17790 wxDateTime *result;
17791 PyObject * obj0 = 0 ;
8edf1c75 17792 PyObject * obj1 = 0 ;
d14a1e28
RD
17793 char *kwnames[] = {
17794 (char *) "self",(char *) "day", NULL
17795 };
17796
8edf1c75 17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17800 arg2 = (int) SWIG_AsInt(obj1);
17801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 {
17805 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17806 result = (wxDateTime *) &_result_ref;
17807 }
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
2f4c0a16 17812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17813 return resultobj;
17814 fail:
17815 return NULL;
17816}
17817
17818
17819static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17822 int arg2 ;
d14a1e28
RD
17823 wxDateTime *result;
17824 PyObject * obj0 = 0 ;
8edf1c75 17825 PyObject * obj1 = 0 ;
d14a1e28
RD
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "hour", NULL
17828 };
17829
8edf1c75 17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 arg2 = (int) SWIG_AsInt(obj1);
17834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 {
17838 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17839 result = (wxDateTime *) &_result_ref;
17840 }
17841
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
2f4c0a16 17845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17846 return resultobj;
17847 fail:
17848 return NULL;
17849}
17850
17851
17852static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj;
17854 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17855 int arg2 ;
d14a1e28
RD
17856 wxDateTime *result;
17857 PyObject * obj0 = 0 ;
8edf1c75 17858 PyObject * obj1 = 0 ;
d14a1e28
RD
17859 char *kwnames[] = {
17860 (char *) "self",(char *) "minute", NULL
17861 };
17862
8edf1c75 17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17866 arg2 = (int) SWIG_AsInt(obj1);
17867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 {
17871 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17872 result = (wxDateTime *) &_result_ref;
17873 }
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
2f4c0a16 17878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17879 return resultobj;
17880 fail:
17881 return NULL;
17882}
17883
17884
17885static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17888 int arg2 ;
d14a1e28
RD
17889 wxDateTime *result;
17890 PyObject * obj0 = 0 ;
8edf1c75 17891 PyObject * obj1 = 0 ;
d14a1e28
RD
17892 char *kwnames[] = {
17893 (char *) "self",(char *) "second", NULL
17894 };
17895
8edf1c75 17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17899 arg2 = (int) SWIG_AsInt(obj1);
17900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 {
17904 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17905 result = (wxDateTime *) &_result_ref;
17906 }
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
2f4c0a16 17911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17912 return resultobj;
17913 fail:
17914 return NULL;
17915}
17916
17917
17918static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 17921 int arg2 ;
d14a1e28
RD
17922 wxDateTime *result;
17923 PyObject * obj0 = 0 ;
8edf1c75 17924 PyObject * obj1 = 0 ;
d14a1e28
RD
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "millisecond", NULL
17927 };
17928
8edf1c75 17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 arg2 = (int) SWIG_AsInt(obj1);
17933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 {
17937 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17938 result = (wxDateTime *) &_result_ref;
17939 }
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
2f4c0a16 17944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17945 return resultobj;
17946 fail:
17947 return NULL;
17948}
17949
17950
17951static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxDateTime *arg1 = (wxDateTime *) 0 ;
17954 int arg2 ;
17955 int arg3 = (int) wxDateTime::Monday_First ;
17956 wxDateTime *result;
17957 PyObject * obj0 = 0 ;
8edf1c75
RD
17958 PyObject * obj1 = 0 ;
17959 PyObject * obj2 = 0 ;
d14a1e28
RD
17960 char *kwnames[] = {
17961 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17962 };
17963
8edf1c75 17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17967 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17968 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17969 if (obj2) {
2f4c0a16
RD
17970 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17971 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17972 }
d14a1e28
RD
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 {
17976 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17977 result = (wxDateTime *) &_result_ref;
17978 }
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
2f4c0a16 17983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17984 return resultobj;
17985 fail:
17986 return NULL;
17987}
17988
17989
17990static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj;
17992 wxDateTime *arg1 = (wxDateTime *) 0 ;
17993 int arg2 ;
17994 int arg3 = (int) wxDateTime::Monday_First ;
17995 wxDateTime result;
17996 PyObject * obj0 = 0 ;
8edf1c75
RD
17997 PyObject * obj1 = 0 ;
17998 PyObject * obj2 = 0 ;
d14a1e28
RD
17999 char *kwnames[] = {
18000 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18001 };
18002
8edf1c75 18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18006 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18007 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18008 if (obj2) {
2f4c0a16
RD
18009 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18010 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18011 }
d14a1e28
RD
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 {
18020 wxDateTime * resultptr;
18021 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18023 }
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
18030static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxDateTime *arg1 = (wxDateTime *) 0 ;
18033 int arg2 ;
18034 wxDateTime *result;
18035 PyObject * obj0 = 0 ;
8edf1c75 18036 PyObject * obj1 = 0 ;
d14a1e28
RD
18037 char *kwnames[] = {
18038 (char *) "self",(char *) "weekday", NULL
18039 };
18040
8edf1c75 18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18044 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 {
18049 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18050 result = (wxDateTime *) &_result_ref;
18051 }
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
2f4c0a16 18056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
18063static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxDateTime *arg1 = (wxDateTime *) 0 ;
18066 int arg2 ;
18067 wxDateTime result;
18068 PyObject * obj0 = 0 ;
8edf1c75 18069 PyObject * obj1 = 0 ;
d14a1e28
RD
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "weekday", NULL
18072 };
18073
8edf1c75 18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18082
18083 wxPyEndAllowThreads(__tstate);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 {
18087 wxDateTime * resultptr;
18088 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094}
18095
18096
18097static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxDateTime *arg1 = (wxDateTime *) 0 ;
18100 int arg2 ;
18101 wxDateTime *result;
18102 PyObject * obj0 = 0 ;
8edf1c75 18103 PyObject * obj1 = 0 ;
d14a1e28
RD
18104 char *kwnames[] = {
18105 (char *) "self",(char *) "weekday", NULL
18106 };
18107
8edf1c75 18108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18111 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 {
18116 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18117 result = (wxDateTime *) &_result_ref;
18118 }
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
2f4c0a16 18123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18124 return resultobj;
18125 fail:
18126 return NULL;
18127}
18128
18129
18130static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxDateTime *arg1 = (wxDateTime *) 0 ;
18133 int arg2 ;
18134 wxDateTime result;
18135 PyObject * obj0 = 0 ;
8edf1c75 18136 PyObject * obj1 = 0 ;
d14a1e28
RD
18137 char *kwnames[] = {
18138 (char *) "self",(char *) "weekday", NULL
18139 };
18140
8edf1c75 18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18144 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 wxDateTime * resultptr;
18155 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
18164static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxDateTime *arg1 = (wxDateTime *) 0 ;
18167 int arg2 ;
18168 int arg3 = (int) 1 ;
18169 int arg4 = (int) wxDateTime::Inv_Month ;
18170 int arg5 = (int) wxDateTime::Inv_Year ;
18171 bool result;
18172 PyObject * obj0 = 0 ;
8edf1c75
RD
18173 PyObject * obj1 = 0 ;
18174 PyObject * obj2 = 0 ;
18175 PyObject * obj3 = 0 ;
18176 PyObject * obj4 = 0 ;
d14a1e28
RD
18177 char *kwnames[] = {
18178 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18179 };
18180
8edf1c75 18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18184 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18185 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18186 if (obj2) {
2f4c0a16
RD
18187 arg3 = (int) SWIG_AsInt(obj2);
18188 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18189 }
18190 if (obj3) {
2f4c0a16
RD
18191 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18192 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18193 }
18194 if (obj4) {
2f4c0a16
RD
18195 arg5 = (int) SWIG_AsInt(obj4);
18196 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18197 }
d14a1e28
RD
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
4f89f6a3
RD
18205 {
18206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18207 }
d14a1e28
RD
18208 return resultobj;
18209 fail:
18210 return NULL;
18211}
18212
18213
18214static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxDateTime *arg1 = (wxDateTime *) 0 ;
18217 int arg2 ;
18218 int arg3 = (int) wxDateTime::Inv_Month ;
18219 int arg4 = (int) wxDateTime::Inv_Year ;
18220 bool result;
18221 PyObject * obj0 = 0 ;
8edf1c75
RD
18222 PyObject * obj1 = 0 ;
18223 PyObject * obj2 = 0 ;
18224 PyObject * obj3 = 0 ;
d14a1e28
RD
18225 char *kwnames[] = {
18226 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18227 };
18228
8edf1c75 18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18232 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18233 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18234 if (obj2) {
2f4c0a16
RD
18235 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18237 }
18238 if (obj3) {
2f4c0a16
RD
18239 arg4 = (int) SWIG_AsInt(obj3);
18240 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18241 }
d14a1e28
RD
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
4f89f6a3
RD
18249 {
18250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18251 }
d14a1e28
RD
18252 return resultobj;
18253 fail:
18254 return NULL;
18255}
18256
18257
18258static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj;
18260 wxDateTime *arg1 = (wxDateTime *) 0 ;
18261 int arg2 ;
18262 int arg3 = (int) wxDateTime::Inv_Month ;
18263 int arg4 = (int) wxDateTime::Inv_Year ;
18264 wxDateTime result;
18265 PyObject * obj0 = 0 ;
8edf1c75
RD
18266 PyObject * obj1 = 0 ;
18267 PyObject * obj2 = 0 ;
18268 PyObject * obj3 = 0 ;
d14a1e28
RD
18269 char *kwnames[] = {
18270 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18271 };
18272
8edf1c75 18273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18276 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18278 if (obj2) {
2f4c0a16
RD
18279 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18280 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18281 }
18282 if (obj3) {
2f4c0a16
RD
18283 arg4 = (int) SWIG_AsInt(obj3);
18284 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18285 }
d14a1e28
RD
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 {
18294 wxDateTime * resultptr;
18295 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18297 }
18298 return resultobj;
18299 fail:
18300 return NULL;
18301}
18302
18303
18304static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj;
18306 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18307 int arg2 ;
d14a1e28
RD
18308 int arg3 = (int) wxDateTime::Mon ;
18309 int arg4 = (int) wxDateTime::Monday_First ;
18310 bool result;
18311 PyObject * obj0 = 0 ;
8edf1c75
RD
18312 PyObject * obj1 = 0 ;
18313 PyObject * obj2 = 0 ;
18314 PyObject * obj3 = 0 ;
d14a1e28
RD
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18317 };
18318
8edf1c75 18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18322 arg2 = (int) SWIG_AsInt(obj1);
18323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18324 if (obj2) {
2f4c0a16
RD
18325 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18326 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18327 }
18328 if (obj3) {
2f4c0a16
RD
18329 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18331 }
d14a1e28
RD
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
4f89f6a3
RD
18339 {
18340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18341 }
d14a1e28
RD
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
18348static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18351 int arg2 ;
d14a1e28
RD
18352 int arg3 = (int) wxDateTime::Mon ;
18353 int arg4 = (int) wxDateTime::Monday_First ;
18354 wxDateTime result;
18355 PyObject * obj0 = 0 ;
8edf1c75
RD
18356 PyObject * obj1 = 0 ;
18357 PyObject * obj2 = 0 ;
18358 PyObject * obj3 = 0 ;
d14a1e28
RD
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18361 };
18362
8edf1c75 18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18366 arg2 = (int) SWIG_AsInt(obj1);
18367 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18368 if (obj2) {
2f4c0a16
RD
18369 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18370 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18371 }
18372 if (obj3) {
2f4c0a16
RD
18373 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18374 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18375 }
d14a1e28
RD
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 {
18384 wxDateTime * resultptr;
18385 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18387 }
18388 return resultobj;
18389 fail:
18390 return NULL;
18391}
18392
18393
18394static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxDateTime *arg1 = (wxDateTime *) 0 ;
18397 int arg2 = (int) wxDateTime::Inv_Month ;
18398 int arg3 = (int) wxDateTime::Inv_Year ;
18399 wxDateTime *result;
18400 PyObject * obj0 = 0 ;
8edf1c75
RD
18401 PyObject * obj1 = 0 ;
18402 PyObject * obj2 = 0 ;
d14a1e28
RD
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "month",(char *) "year", NULL
18405 };
18406
8edf1c75 18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18410 if (obj1) {
2f4c0a16
RD
18411 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18413 }
18414 if (obj2) {
2f4c0a16
RD
18415 arg3 = (int) SWIG_AsInt(obj2);
18416 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18417 }
d14a1e28
RD
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 {
18421 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18422 result = (wxDateTime *) &_result_ref;
18423 }
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
2f4c0a16 18428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18429 return resultobj;
18430 fail:
18431 return NULL;
18432}
18433
18434
18435static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxDateTime *arg1 = (wxDateTime *) 0 ;
18438 int arg2 = (int) wxDateTime::Inv_Month ;
18439 int arg3 = (int) wxDateTime::Inv_Year ;
18440 wxDateTime result;
18441 PyObject * obj0 = 0 ;
8edf1c75
RD
18442 PyObject * obj1 = 0 ;
18443 PyObject * obj2 = 0 ;
d14a1e28
RD
18444 char *kwnames[] = {
18445 (char *) "self",(char *) "month",(char *) "year", NULL
18446 };
18447
8edf1c75 18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18451 if (obj1) {
2f4c0a16
RD
18452 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18453 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18454 }
18455 if (obj2) {
2f4c0a16
RD
18456 arg3 = (int) SWIG_AsInt(obj2);
18457 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18458 }
d14a1e28
RD
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 wxDateTime * resultptr;
18468 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18470 }
18471 return resultobj;
18472 fail:
18473 return NULL;
18474}
18475
18476
18477static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18480 int arg2 ;
d14a1e28
RD
18481 wxDateTime *result;
18482 PyObject * obj0 = 0 ;
8edf1c75 18483 PyObject * obj1 = 0 ;
d14a1e28
RD
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "yday", NULL
18486 };
18487
8edf1c75 18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18491 arg2 = (int) SWIG_AsInt(obj1);
18492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 {
18496 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18497 result = (wxDateTime *) &_result_ref;
18498 }
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
2f4c0a16 18503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 18513 int arg2 ;
d14a1e28
RD
18514 wxDateTime result;
18515 PyObject * obj0 = 0 ;
8edf1c75 18516 PyObject * obj1 = 0 ;
d14a1e28
RD
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "yday", NULL
18519 };
18520
8edf1c75 18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18524 arg2 = (int) SWIG_AsInt(obj1);
18525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 result = (arg1)->GetYearDay(arg2);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 {
18534 wxDateTime * resultptr;
18535 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18537 }
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
18544static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxDateTime *arg1 = (wxDateTime *) 0 ;
18547 double result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (double)(arg1)->GetJulianDayNumber();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
2f4c0a16 18563 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18564 return resultobj;
18565 fail:
18566 return NULL;
18567}
18568
18569
18570static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18571 PyObject *resultobj;
18572 wxDateTime *arg1 = (wxDateTime *) 0 ;
18573 double result;
18574 PyObject * obj0 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (double)(arg1)->GetJDN();
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
2f4c0a16 18589 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18590 return resultobj;
18591 fail:
18592 return NULL;
18593}
18594
18595
18596static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj;
18598 wxDateTime *arg1 = (wxDateTime *) 0 ;
18599 double result;
18600 PyObject * obj0 = 0 ;
18601 char *kwnames[] = {
18602 (char *) "self", NULL
18603 };
18604
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
2f4c0a16 18615 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18616 return resultobj;
18617 fail:
18618 return NULL;
18619}
18620
18621
18622static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxDateTime *arg1 = (wxDateTime *) 0 ;
18625 double result;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (double)(arg1)->GetMJD();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
2f4c0a16 18641 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18642 return resultobj;
18643 fail:
18644 return NULL;
18645}
18646
18647
18648static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18649 PyObject *resultobj;
18650 wxDateTime *arg1 = (wxDateTime *) 0 ;
18651 double result;
18652 PyObject * obj0 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (double)(arg1)->GetRataDie();
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
2f4c0a16 18667 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18668 return resultobj;
18669 fail:
18670 return NULL;
18671}
18672
18673
18674static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxDateTime *arg1 = (wxDateTime *) 0 ;
18677 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18678 bool arg3 = (bool) False ;
d14a1e28 18679 wxDateTime result;
44127b65 18680 bool temp2 = False ;
d14a1e28
RD
18681 PyObject * obj0 = 0 ;
18682 PyObject * obj1 = 0 ;
18683 PyObject * obj2 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18691 {
18692 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18693 temp2 = True;
d14a1e28
RD
18694 }
18695 if (obj2) {
2f4c0a16
RD
18696 arg3 = (bool) SWIG_AsBool(obj2);
18697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18698 }
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 {
18707 wxDateTime * resultptr;
18708 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18710 }
18711 {
44127b65 18712 if (temp2) delete arg2;
d14a1e28
RD
18713 }
18714 return resultobj;
18715 fail:
18716 {
44127b65 18717 if (temp2) delete arg2;
d14a1e28
RD
18718 }
18719 return NULL;
18720}
18721
18722
18723static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxDateTime *arg1 = (wxDateTime *) 0 ;
18726 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 18727 bool arg3 = (bool) False ;
d14a1e28 18728 wxDateTime *result;
44127b65 18729 bool temp2 = False ;
d14a1e28
RD
18730 PyObject * obj0 = 0 ;
18731 PyObject * obj1 = 0 ;
18732 PyObject * obj2 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18740 {
18741 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18742 temp2 = True;
d14a1e28
RD
18743 }
18744 if (obj2) {
2f4c0a16
RD
18745 arg3 = (bool) SWIG_AsBool(obj2);
18746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18747 }
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 {
18751 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18752 result = (wxDateTime *) &_result_ref;
18753 }
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
2f4c0a16 18758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 18759 {
44127b65 18760 if (temp2) delete arg2;
d14a1e28
RD
18761 }
18762 return resultobj;
18763 fail:
18764 {
44127b65 18765 if (temp2) delete arg2;
d14a1e28
RD
18766 }
18767 return NULL;
18768}
18769
18770
18771static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj;
18773 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18774 bool arg2 = (bool) False ;
d14a1e28
RD
18775 wxDateTime result;
18776 PyObject * obj0 = 0 ;
18777 PyObject * obj1 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self",(char *) "noDST", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",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 18785 if (obj1) {
2f4c0a16
RD
18786 arg2 = (bool) SWIG_AsBool(obj1);
18787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18788 }
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 result = (arg1)->ToGMT(arg2);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 {
18797 wxDateTime * resultptr;
18798 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 18799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18800 }
18801 return resultobj;
18802 fail:
18803 return NULL;
18804}
18805
18806
18807static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 18810 bool arg2 = (bool) False ;
d14a1e28
RD
18811 wxDateTime *result;
18812 PyObject * obj0 = 0 ;
18813 PyObject * obj1 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self",(char *) "noDST", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18821 if (obj1) {
2f4c0a16
RD
18822 arg2 = (bool) SWIG_AsBool(obj1);
18823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18824 }
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 {
18828 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18829 result = (wxDateTime *) &_result_ref;
18830 }
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
2f4c0a16 18835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18836 return resultobj;
18837 fail:
18838 return NULL;
18839}
18840
18841
18842static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxDateTime *arg1 = (wxDateTime *) 0 ;
18845 int arg2 = (int) wxDateTime::Country_Default ;
18846 int result;
18847 PyObject * obj0 = 0 ;
8edf1c75 18848 PyObject * obj1 = 0 ;
d14a1e28
RD
18849 char *kwnames[] = {
18850 (char *) "self",(char *) "country", NULL
18851 };
18852
8edf1c75 18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 18856 if (obj1) {
2f4c0a16
RD
18857 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18858 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18859 }
d14a1e28
RD
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
2f4c0a16 18867 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18868 return resultobj;
18869 fail:
18870 return NULL;
18871}
18872
18873
18874static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxDateTime *arg1 = (wxDateTime *) 0 ;
18877 bool result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 result = (bool)((wxDateTime const *)arg1)->IsValid();
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
4f89f6a3
RD
18893 {
18894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18895 }
d14a1e28
RD
18896 return resultobj;
18897 fail:
18898 return NULL;
18899}
18900
18901
18902static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxDateTime *arg1 = (wxDateTime *) 0 ;
18905 time_t result;
18906 PyObject * obj0 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
2f4c0a16 18921 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18922 return resultobj;
18923 fail:
18924 return NULL;
18925}
18926
18927
18928static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxDateTime *arg1 = (wxDateTime *) 0 ;
18931 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18932 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18933 int result;
44127b65 18934 bool temp2 = False ;
d14a1e28
RD
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "tz", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18944 if (obj1) {
18945 {
18946 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18947 temp2 = True;
d14a1e28
RD
18948 }
18949 }
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
2f4c0a16 18957 resultobj = SWIG_FromInt((int)result);
d14a1e28 18958 {
44127b65 18959 if (temp2) delete arg2;
d14a1e28
RD
18960 }
18961 return resultobj;
18962 fail:
18963 {
44127b65 18964 if (temp2) delete arg2;
d14a1e28
RD
18965 }
18966 return NULL;
18967}
18968
18969
18970static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18971 PyObject *resultobj;
18972 wxDateTime *arg1 = (wxDateTime *) 0 ;
18973 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18974 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18975 int result;
44127b65 18976 bool temp2 = False ;
d14a1e28
RD
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "tz", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18986 if (obj1) {
18987 {
18988 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 18989 temp2 = True;
d14a1e28
RD
18990 }
18991 }
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
2f4c0a16 18999 resultobj = SWIG_FromInt((int)result);
d14a1e28 19000 {
44127b65 19001 if (temp2) delete arg2;
d14a1e28
RD
19002 }
19003 return resultobj;
19004 fail:
19005 {
44127b65 19006 if (temp2) delete arg2;
d14a1e28
RD
19007 }
19008 return NULL;
19009}
19010
19011
19012static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxDateTime *arg1 = (wxDateTime *) 0 ;
19015 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19016 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19017 int result;
19018 bool temp2 = False ;
d14a1e28
RD
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "tz", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19028 if (obj1) {
19029 {
19030 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19031 temp2 = True;
d14a1e28
RD
19032 }
19033 }
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19036 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
2f4c0a16 19041 resultobj = SWIG_FromInt((int)result);
d14a1e28 19042 {
44127b65 19043 if (temp2) delete arg2;
d14a1e28
RD
19044 }
19045 return resultobj;
19046 fail:
19047 {
44127b65 19048 if (temp2) delete arg2;
d14a1e28
RD
19049 }
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxDateTime *arg1 = (wxDateTime *) 0 ;
19057 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19058 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19059 int result;
44127b65 19060 bool temp2 = False ;
d14a1e28
RD
19061 PyObject * obj0 = 0 ;
19062 PyObject * obj1 = 0 ;
19063 char *kwnames[] = {
19064 (char *) "self",(char *) "tz", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19070 if (obj1) {
19071 {
19072 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19073 temp2 = True;
d14a1e28
RD
19074 }
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
2f4c0a16 19083 resultobj = SWIG_FromInt((int)result);
d14a1e28 19084 {
44127b65 19085 if (temp2) delete arg2;
d14a1e28
RD
19086 }
19087 return resultobj;
19088 fail:
19089 {
44127b65 19090 if (temp2) delete arg2;
d14a1e28
RD
19091 }
19092 return NULL;
19093}
19094
19095
19096static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxDateTime *arg1 = (wxDateTime *) 0 ;
19099 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19100 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19101 int result;
19102 bool temp2 = False ;
d14a1e28
RD
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "tz", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19112 if (obj1) {
19113 {
19114 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19115 temp2 = True;
d14a1e28
RD
19116 }
19117 }
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19120 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
2f4c0a16 19125 resultobj = SWIG_FromInt((int)result);
d14a1e28 19126 {
44127b65 19127 if (temp2) delete arg2;
d14a1e28
RD
19128 }
19129 return resultobj;
19130 fail:
19131 {
44127b65 19132 if (temp2) delete arg2;
d14a1e28
RD
19133 }
19134 return NULL;
19135}
19136
19137
19138static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxDateTime *arg1 = (wxDateTime *) 0 ;
19141 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19142 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19143 int result;
19144 bool temp2 = False ;
d14a1e28
RD
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self",(char *) "tz", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19154 if (obj1) {
19155 {
19156 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19157 temp2 = True;
d14a1e28
RD
19158 }
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19162 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
2f4c0a16 19167 resultobj = SWIG_FromInt((int)result);
d14a1e28 19168 {
44127b65 19169 if (temp2) delete arg2;
d14a1e28
RD
19170 }
19171 return resultobj;
19172 fail:
19173 {
44127b65 19174 if (temp2) delete arg2;
d14a1e28
RD
19175 }
19176 return NULL;
19177}
19178
19179
19180static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxDateTime *arg1 = (wxDateTime *) 0 ;
19183 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19184 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19185 int result;
19186 bool temp2 = False ;
d14a1e28
RD
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "tz", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19196 if (obj1) {
19197 {
19198 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19199 temp2 = True;
d14a1e28
RD
19200 }
19201 }
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19204 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
2f4c0a16 19209 resultobj = SWIG_FromInt((int)result);
d14a1e28 19210 {
44127b65 19211 if (temp2) delete arg2;
d14a1e28
RD
19212 }
19213 return resultobj;
19214 fail:
19215 {
44127b65 19216 if (temp2) delete arg2;
d14a1e28
RD
19217 }
19218 return NULL;
19219}
19220
19221
19222static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxDateTime *arg1 = (wxDateTime *) 0 ;
19225 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19226 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19227 int result;
19228 bool temp2 = False ;
d14a1e28
RD
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "tz", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19238 if (obj1) {
19239 {
19240 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19241 temp2 = True;
d14a1e28
RD
19242 }
19243 }
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19246 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
2f4c0a16 19251 resultobj = SWIG_FromInt((int)result);
d14a1e28 19252 {
44127b65 19253 if (temp2) delete arg2;
d14a1e28
RD
19254 }
19255 return resultobj;
19256 fail:
19257 {
44127b65 19258 if (temp2) delete arg2;
d14a1e28
RD
19259 }
19260 return NULL;
19261}
19262
19263
19264static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxDateTime *arg1 = (wxDateTime *) 0 ;
19267 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19268 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
19269 int result;
19270 bool temp2 = False ;
d14a1e28
RD
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self",(char *) "tz", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19280 if (obj1) {
19281 {
19282 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 19283 temp2 = True;
d14a1e28
RD
19284 }
19285 }
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19288 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
2f4c0a16 19293 resultobj = SWIG_FromInt((int)result);
d14a1e28 19294 {
44127b65 19295 if (temp2) delete arg2;
d14a1e28
RD
19296 }
19297 return resultobj;
19298 fail:
19299 {
44127b65 19300 if (temp2) delete arg2;
d14a1e28
RD
19301 }
19302 return NULL;
19303}
19304
19305
19306static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxDateTime *arg1 = (wxDateTime *) 0 ;
19309 int arg2 = (int) wxDateTime::Monday_First ;
19310 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19311 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19312 int result;
19313 bool temp3 = False ;
d14a1e28 19314 PyObject * obj0 = 0 ;
8edf1c75 19315 PyObject * obj1 = 0 ;
d14a1e28
RD
19316 PyObject * obj2 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "flags",(char *) "tz", NULL
19319 };
19320
8edf1c75 19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 if (obj1) {
19325 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19326 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19327 }
d14a1e28
RD
19328 if (obj2) {
19329 {
19330 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19331 temp3 = True;
d14a1e28
RD
19332 }
19333 }
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19336 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
2f4c0a16 19341 resultobj = SWIG_FromInt((int)result);
d14a1e28 19342 {
44127b65 19343 if (temp3) delete arg3;
d14a1e28
RD
19344 }
19345 return resultobj;
19346 fail:
19347 {
44127b65 19348 if (temp3) delete arg3;
d14a1e28
RD
19349 }
19350 return NULL;
19351}
19352
19353
19354static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxDateTime *arg1 = (wxDateTime *) 0 ;
19357 int arg2 = (int) wxDateTime::Monday_First ;
19358 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19359 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
19360 int result;
19361 bool temp3 = False ;
d14a1e28 19362 PyObject * obj0 = 0 ;
8edf1c75 19363 PyObject * obj1 = 0 ;
d14a1e28
RD
19364 PyObject * obj2 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self",(char *) "flags",(char *) "tz", NULL
19367 };
19368
8edf1c75 19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19372 if (obj1) {
2f4c0a16
RD
19373 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19374 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19375 }
d14a1e28
RD
19376 if (obj2) {
19377 {
19378 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19379 temp3 = True;
d14a1e28
RD
19380 }
19381 }
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19384 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
2f4c0a16 19389 resultobj = SWIG_FromInt((int)result);
d14a1e28 19390 {
44127b65 19391 if (temp3) delete arg3;
d14a1e28
RD
19392 }
19393 return resultobj;
19394 fail:
19395 {
44127b65 19396 if (temp3) delete arg3;
d14a1e28
RD
19397 }
19398 return NULL;
19399}
19400
19401
19402static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxDateTime *arg1 = (wxDateTime *) 0 ;
19405 int arg2 = (int) wxDateTime::Country_Default ;
19406 bool result;
19407 PyObject * obj0 = 0 ;
8edf1c75 19408 PyObject * obj1 = 0 ;
d14a1e28
RD
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "country", NULL
19411 };
19412
8edf1c75 19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 19416 if (obj1) {
2f4c0a16
RD
19417 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19418 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19419 }
d14a1e28
RD
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
4f89f6a3
RD
19427 {
19428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19429 }
d14a1e28
RD
19430 return resultobj;
19431 fail:
19432 return NULL;
19433}
19434
19435
19436static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxDateTime *arg1 = (wxDateTime *) 0 ;
19439 wxDateTime *arg2 = 0 ;
19440 bool result;
19441 PyObject * obj0 = 0 ;
19442 PyObject * obj1 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self",(char *) "datetime", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1)
19452 SWIG_fail;
d14a1e28 19453 if (arg2 == NULL) {
2f4c0a16
RD
19454 PyErr_SetString(PyExc_TypeError,"null reference");
19455 SWIG_fail;
d14a1e28
RD
19456 }
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
4f89f6a3
RD
19464 {
19465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19466 }
d14a1e28
RD
19467 return resultobj;
19468 fail:
19469 return NULL;
19470}
19471
19472
19473static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxDateTime *arg1 = (wxDateTime *) 0 ;
19476 wxDateTime *arg2 = 0 ;
19477 bool result;
19478 PyObject * obj0 = 0 ;
19479 PyObject * obj1 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self",(char *) "datetime", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19488 SWIG_POINTER_EXCEPTION | 0)) == -1)
19489 SWIG_fail;
d14a1e28 19490 if (arg2 == NULL) {
2f4c0a16
RD
19491 PyErr_SetString(PyExc_TypeError,"null reference");
19492 SWIG_fail;
d14a1e28
RD
19493 }
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
4f89f6a3
RD
19501 {
19502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19503 }
d14a1e28
RD
19504 return resultobj;
19505 fail:
19506 return NULL;
19507}
19508
19509
19510static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxDateTime *arg1 = (wxDateTime *) 0 ;
19513 wxDateTime *arg2 = 0 ;
19514 bool result;
19515 PyObject * obj0 = 0 ;
19516 PyObject * obj1 = 0 ;
19517 char *kwnames[] = {
19518 (char *) "self",(char *) "datetime", NULL
19519 };
19520
19521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19525 SWIG_POINTER_EXCEPTION | 0)) == -1)
19526 SWIG_fail;
d14a1e28 19527 if (arg2 == NULL) {
2f4c0a16
RD
19528 PyErr_SetString(PyExc_TypeError,"null reference");
19529 SWIG_fail;
d14a1e28
RD
19530 }
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
4f89f6a3
RD
19538 {
19539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19540 }
d14a1e28
RD
19541 return resultobj;
19542 fail:
19543 return NULL;
19544}
19545
19546
19547static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxDateTime *arg1 = (wxDateTime *) 0 ;
19550 wxDateTime *arg2 = 0 ;
19551 wxDateTime *arg3 = 0 ;
19552 bool result;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 PyObject * obj2 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self",(char *) "t1",(char *) "t2", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19564 SWIG_POINTER_EXCEPTION | 0)) == -1)
19565 SWIG_fail;
d14a1e28 19566 if (arg2 == NULL) {
2f4c0a16
RD
19567 PyErr_SetString(PyExc_TypeError,"null reference");
19568 SWIG_fail;
d14a1e28 19569 }
2f4c0a16
RD
19570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1)
19572 SWIG_fail;
d14a1e28 19573 if (arg3 == NULL) {
2f4c0a16
RD
19574 PyErr_SetString(PyExc_TypeError,"null reference");
19575 SWIG_fail;
d14a1e28
RD
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
4f89f6a3
RD
19584 {
19585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19586 }
d14a1e28
RD
19587 return resultobj;
19588 fail:
19589 return NULL;
19590}
19591
19592
19593static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxDateTime *arg1 = (wxDateTime *) 0 ;
19596 wxDateTime *arg2 = 0 ;
19597 wxDateTime *arg3 = 0 ;
19598 bool result;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self",(char *) "t1",(char *) "t2", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1)
19611 SWIG_fail;
d14a1e28 19612 if (arg2 == NULL) {
2f4c0a16
RD
19613 PyErr_SetString(PyExc_TypeError,"null reference");
19614 SWIG_fail;
d14a1e28 19615 }
2f4c0a16
RD
19616 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1)
19618 SWIG_fail;
d14a1e28 19619 if (arg3 == NULL) {
2f4c0a16
RD
19620 PyErr_SetString(PyExc_TypeError,"null reference");
19621 SWIG_fail;
d14a1e28
RD
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
4f89f6a3
RD
19630 {
19631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19632 }
d14a1e28
RD
19633 return resultobj;
19634 fail:
19635 return NULL;
19636}
19637
19638
19639static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxDateTime *arg1 = (wxDateTime *) 0 ;
19642 wxDateTime *arg2 = 0 ;
19643 bool result;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "dt", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19654 SWIG_POINTER_EXCEPTION | 0)) == -1)
19655 SWIG_fail;
d14a1e28 19656 if (arg2 == NULL) {
2f4c0a16
RD
19657 PyErr_SetString(PyExc_TypeError,"null reference");
19658 SWIG_fail;
d14a1e28
RD
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
4f89f6a3
RD
19667 {
19668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19669 }
d14a1e28
RD
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
19676static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxDateTime *arg1 = (wxDateTime *) 0 ;
19679 wxDateTime *arg2 = 0 ;
19680 bool result;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self",(char *) "dt", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19691 SWIG_POINTER_EXCEPTION | 0)) == -1)
19692 SWIG_fail;
d14a1e28 19693 if (arg2 == NULL) {
2f4c0a16
RD
19694 PyErr_SetString(PyExc_TypeError,"null reference");
19695 SWIG_fail;
d14a1e28
RD
19696 }
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
4f89f6a3
RD
19704 {
19705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19706 }
d14a1e28
RD
19707 return resultobj;
19708 fail:
19709 return NULL;
19710}
19711
19712
19713static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxDateTime *arg1 = (wxDateTime *) 0 ;
19716 wxDateTime *arg2 = 0 ;
19717 wxTimeSpan *arg3 = 0 ;
19718 bool result;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 PyObject * obj2 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self",(char *) "dt",(char *) "ts", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19730 SWIG_POINTER_EXCEPTION | 0)) == -1)
19731 SWIG_fail;
d14a1e28 19732 if (arg2 == NULL) {
2f4c0a16
RD
19733 PyErr_SetString(PyExc_TypeError,"null reference");
19734 SWIG_fail;
d14a1e28 19735 }
2f4c0a16
RD
19736 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1)
19738 SWIG_fail;
d14a1e28 19739 if (arg3 == NULL) {
2f4c0a16
RD
19740 PyErr_SetString(PyExc_TypeError,"null reference");
19741 SWIG_fail;
d14a1e28
RD
19742 }
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
4f89f6a3
RD
19750 {
19751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19752 }
d14a1e28
RD
19753 return resultobj;
19754 fail:
19755 return NULL;
19756}
19757
19758
19759static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxDateTime *arg1 = (wxDateTime *) 0 ;
19762 wxTimeSpan *arg2 = 0 ;
19763 wxDateTime *result;
19764 PyObject * obj0 = 0 ;
19765 PyObject * obj1 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self",(char *) "diff", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1)
19775 SWIG_fail;
d14a1e28 19776 if (arg2 == NULL) {
2f4c0a16
RD
19777 PyErr_SetString(PyExc_TypeError,"null reference");
19778 SWIG_fail;
d14a1e28
RD
19779 }
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 {
19783 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19784 result = (wxDateTime *) &_result_ref;
19785 }
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
2f4c0a16 19790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19791 return resultobj;
19792 fail:
19793 return NULL;
19794}
19795
19796
19797static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxDateTime *arg1 = (wxDateTime *) 0 ;
19800 wxDateSpan *arg2 = 0 ;
19801 wxDateTime *result;
19802 PyObject * obj0 = 0 ;
19803 PyObject * obj1 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self",(char *) "diff", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1)
19813 SWIG_fail;
d14a1e28 19814 if (arg2 == NULL) {
2f4c0a16
RD
19815 PyErr_SetString(PyExc_TypeError,"null reference");
19816 SWIG_fail;
d14a1e28
RD
19817 }
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 {
19821 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19822 result = (wxDateTime *) &_result_ref;
19823 }
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
2f4c0a16 19828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19829 return resultobj;
19830 fail:
19831 return NULL;
19832}
19833
19834
19835static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxDateTime *arg1 = (wxDateTime *) 0 ;
19838 wxTimeSpan *arg2 = 0 ;
19839 wxDateTime *result;
19840 PyObject * obj0 = 0 ;
19841 PyObject * obj1 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self",(char *) "diff", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19850 SWIG_POINTER_EXCEPTION | 0)) == -1)
19851 SWIG_fail;
d14a1e28 19852 if (arg2 == NULL) {
2f4c0a16
RD
19853 PyErr_SetString(PyExc_TypeError,"null reference");
19854 SWIG_fail;
d14a1e28
RD
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 {
19859 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19860 result = (wxDateTime *) &_result_ref;
19861 }
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
2f4c0a16 19866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19867 return resultobj;
19868 fail:
19869 return NULL;
19870}
19871
19872
19873static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxDateTime *arg1 = (wxDateTime *) 0 ;
19876 wxDateSpan *arg2 = 0 ;
19877 wxDateTime *result;
19878 PyObject * obj0 = 0 ;
19879 PyObject * obj1 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "diff", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1)
19889 SWIG_fail;
d14a1e28 19890 if (arg2 == NULL) {
2f4c0a16
RD
19891 PyErr_SetString(PyExc_TypeError,"null reference");
19892 SWIG_fail;
d14a1e28
RD
19893 }
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 {
19897 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19898 result = (wxDateTime *) &_result_ref;
19899 }
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
2f4c0a16 19904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19905 return resultobj;
19906 fail:
19907 return NULL;
19908}
19909
19910
19911static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxDateTime *arg1 = (wxDateTime *) 0 ;
19914 wxDateTime *arg2 = 0 ;
19915 wxTimeSpan result;
19916 PyObject * obj0 = 0 ;
19917 PyObject * obj1 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "dt", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1)
19927 SWIG_fail;
d14a1e28 19928 if (arg2 == NULL) {
2f4c0a16
RD
19929 PyErr_SetString(PyExc_TypeError,"null reference");
19930 SWIG_fail;
d14a1e28
RD
19931 }
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 wxTimeSpan * resultptr;
19941 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 19942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947}
19948
19949
19950static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19951 PyObject *resultobj;
19952 wxDateTime *arg1 = (wxDateTime *) 0 ;
19953 wxTimeSpan *arg2 = 0 ;
19954 wxDateTime *result;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957
19958 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1)
19963 SWIG_fail;
d14a1e28 19964 if (arg2 == NULL) {
2f4c0a16
RD
19965 PyErr_SetString(PyExc_TypeError,"null reference");
19966 SWIG_fail;
d14a1e28
RD
19967 }
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 {
19971 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19972 result = (wxDateTime *) &_result_ref;
19973 }
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
2f4c0a16 19978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19979 return resultobj;
19980 fail:
19981 return NULL;
19982}
19983
19984
19985static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19986 PyObject *resultobj;
19987 wxDateTime *arg1 = (wxDateTime *) 0 ;
19988 wxDateSpan *arg2 = 0 ;
19989 wxDateTime *result;
19990 PyObject * obj0 = 0 ;
19991 PyObject * obj1 = 0 ;
19992
19993 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
19994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1)
19998 SWIG_fail;
d14a1e28 19999 if (arg2 == NULL) {
2f4c0a16
RD
20000 PyErr_SetString(PyExc_TypeError,"null reference");
20001 SWIG_fail;
d14a1e28
RD
20002 }
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 {
20006 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20007 result = (wxDateTime *) &_result_ref;
20008 }
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
2f4c0a16 20013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20014 return resultobj;
20015 fail:
20016 return NULL;
20017}
20018
20019
20020static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20021 int argc;
20022 PyObject *argv[3];
20023 int ii;
20024
20025 argc = PyObject_Length(args);
20026 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20027 argv[ii] = PyTuple_GetItem(args,ii);
20028 }
20029 if (argc == 2) {
20030 int _v;
20031 {
20032 void *ptr;
2f4c0a16 20033 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20034 _v = 0;
20035 PyErr_Clear();
20036 } else {
20037 _v = 1;
20038 }
20039 }
20040 if (_v) {
20041 {
20042 void *ptr;
2f4c0a16 20043 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20044 _v = 0;
20045 PyErr_Clear();
20046 } else {
20047 _v = 1;
20048 }
20049 }
20050 if (_v) {
20051 return _wrap_DateTime___iadd____SWIG_0(self,args);
20052 }
20053 }
20054 }
20055 if (argc == 2) {
20056 int _v;
20057 {
20058 void *ptr;
2f4c0a16 20059 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20060 _v = 0;
20061 PyErr_Clear();
20062 } else {
20063 _v = 1;
20064 }
20065 }
20066 if (_v) {
20067 {
20068 void *ptr;
2f4c0a16 20069 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20070 _v = 0;
20071 PyErr_Clear();
20072 } else {
20073 _v = 1;
20074 }
20075 }
20076 if (_v) {
20077 return _wrap_DateTime___iadd____SWIG_1(self,args);
20078 }
20079 }
20080 }
20081
20082 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20083 return NULL;
20084}
20085
20086
20087static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20088 PyObject *resultobj;
20089 wxDateTime *arg1 = (wxDateTime *) 0 ;
20090 wxTimeSpan *arg2 = 0 ;
20091 wxDateTime *result;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094
20095 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1)
20100 SWIG_fail;
d14a1e28 20101 if (arg2 == NULL) {
2f4c0a16
RD
20102 PyErr_SetString(PyExc_TypeError,"null reference");
20103 SWIG_fail;
d14a1e28
RD
20104 }
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 {
20108 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20109 result = (wxDateTime *) &_result_ref;
20110 }
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
2f4c0a16 20115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20116 return resultobj;
20117 fail:
20118 return NULL;
20119}
20120
20121
20122static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20123 PyObject *resultobj;
20124 wxDateTime *arg1 = (wxDateTime *) 0 ;
20125 wxDateSpan *arg2 = 0 ;
20126 wxDateTime *result;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129
20130 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1)
20135 SWIG_fail;
d14a1e28 20136 if (arg2 == NULL) {
2f4c0a16
RD
20137 PyErr_SetString(PyExc_TypeError,"null reference");
20138 SWIG_fail;
d14a1e28
RD
20139 }
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 {
20143 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20144 result = (wxDateTime *) &_result_ref;
20145 }
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
2f4c0a16 20150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
20157static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20158 int argc;
20159 PyObject *argv[3];
20160 int ii;
20161
20162 argc = PyObject_Length(args);
20163 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20164 argv[ii] = PyTuple_GetItem(args,ii);
20165 }
20166 if (argc == 2) {
20167 int _v;
20168 {
20169 void *ptr;
2f4c0a16 20170 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20171 _v = 0;
20172 PyErr_Clear();
20173 } else {
20174 _v = 1;
20175 }
20176 }
20177 if (_v) {
20178 {
20179 void *ptr;
2f4c0a16 20180 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20181 _v = 0;
20182 PyErr_Clear();
20183 } else {
20184 _v = 1;
20185 }
20186 }
20187 if (_v) {
20188 return _wrap_DateTime___isub____SWIG_0(self,args);
20189 }
20190 }
20191 }
20192 if (argc == 2) {
20193 int _v;
20194 {
20195 void *ptr;
2f4c0a16 20196 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20197 _v = 0;
20198 PyErr_Clear();
20199 } else {
20200 _v = 1;
20201 }
20202 }
20203 if (_v) {
20204 {
20205 void *ptr;
2f4c0a16 20206 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20207 _v = 0;
20208 PyErr_Clear();
20209 } else {
20210 _v = 1;
20211 }
20212 }
20213 if (_v) {
20214 return _wrap_DateTime___isub____SWIG_1(self,args);
20215 }
20216 }
20217 }
20218
20219 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20220 return NULL;
20221}
20222
20223
20224static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20225 PyObject *resultobj;
20226 wxDateTime *arg1 = (wxDateTime *) 0 ;
20227 wxTimeSpan *arg2 = 0 ;
20228 wxDateTime result;
20229 PyObject * obj0 = 0 ;
20230 PyObject * obj1 = 0 ;
20231
20232 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20236 SWIG_POINTER_EXCEPTION | 0)) == -1)
20237 SWIG_fail;
d14a1e28 20238 if (arg2 == NULL) {
2f4c0a16
RD
20239 PyErr_SetString(PyExc_TypeError,"null reference");
20240 SWIG_fail;
d14a1e28
RD
20241 }
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 {
20250 wxDateTime * resultptr;
20251 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20253 }
20254 return resultobj;
20255 fail:
20256 return NULL;
20257}
20258
20259
20260static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20261 PyObject *resultobj;
20262 wxDateTime *arg1 = (wxDateTime *) 0 ;
20263 wxDateSpan *arg2 = 0 ;
20264 wxDateTime result;
20265 PyObject * obj0 = 0 ;
20266 PyObject * obj1 = 0 ;
20267
20268 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1)
20273 SWIG_fail;
d14a1e28 20274 if (arg2 == NULL) {
2f4c0a16
RD
20275 PyErr_SetString(PyExc_TypeError,"null reference");
20276 SWIG_fail;
d14a1e28
RD
20277 }
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 wxDateTime * resultptr;
20287 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20289 }
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
20296static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20297 int argc;
20298 PyObject *argv[3];
20299 int ii;
20300
20301 argc = PyObject_Length(args);
20302 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20303 argv[ii] = PyTuple_GetItem(args,ii);
20304 }
20305 if (argc == 2) {
20306 int _v;
20307 {
20308 void *ptr;
2f4c0a16 20309 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20310 _v = 0;
20311 PyErr_Clear();
20312 } else {
20313 _v = 1;
20314 }
20315 }
20316 if (_v) {
20317 {
20318 void *ptr;
2f4c0a16 20319 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20320 _v = 0;
20321 PyErr_Clear();
20322 } else {
20323 _v = 1;
20324 }
20325 }
20326 if (_v) {
20327 return _wrap_DateTime___add____SWIG_0(self,args);
20328 }
20329 }
20330 }
20331 if (argc == 2) {
20332 int _v;
20333 {
20334 void *ptr;
2f4c0a16 20335 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20336 _v = 0;
20337 PyErr_Clear();
20338 } else {
20339 _v = 1;
20340 }
20341 }
20342 if (_v) {
20343 {
20344 void *ptr;
2f4c0a16 20345 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20346 _v = 0;
20347 PyErr_Clear();
20348 } else {
20349 _v = 1;
20350 }
20351 }
20352 if (_v) {
20353 return _wrap_DateTime___add____SWIG_1(self,args);
20354 }
20355 }
20356 }
20357
20358 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20359 return NULL;
20360}
20361
20362
20363static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20364 PyObject *resultobj;
20365 wxDateTime *arg1 = (wxDateTime *) 0 ;
20366 wxDateTime *arg2 = 0 ;
20367 wxTimeSpan result;
20368 PyObject * obj0 = 0 ;
20369 PyObject * obj1 = 0 ;
20370
20371 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20375 SWIG_POINTER_EXCEPTION | 0)) == -1)
20376 SWIG_fail;
d14a1e28 20377 if (arg2 == NULL) {
2f4c0a16
RD
20378 PyErr_SetString(PyExc_TypeError,"null reference");
20379 SWIG_fail;
d14a1e28
RD
20380 }
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20384
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 {
20389 wxTimeSpan * resultptr;
20390 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 20391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20392 }
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
20399static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20400 PyObject *resultobj;
20401 wxDateTime *arg1 = (wxDateTime *) 0 ;
20402 wxTimeSpan *arg2 = 0 ;
20403 wxDateTime result;
20404 PyObject * obj0 = 0 ;
20405 PyObject * obj1 = 0 ;
20406
20407 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1)
20412 SWIG_fail;
d14a1e28 20413 if (arg2 == NULL) {
2f4c0a16
RD
20414 PyErr_SetString(PyExc_TypeError,"null reference");
20415 SWIG_fail;
d14a1e28
RD
20416 }
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 wxDateTime * resultptr;
20426 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20428 }
20429 return resultobj;
20430 fail:
20431 return NULL;
20432}
20433
20434
20435static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20436 PyObject *resultobj;
20437 wxDateTime *arg1 = (wxDateTime *) 0 ;
20438 wxDateSpan *arg2 = 0 ;
20439 wxDateTime result;
20440 PyObject * obj0 = 0 ;
20441 PyObject * obj1 = 0 ;
20442
20443 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20447 SWIG_POINTER_EXCEPTION | 0)) == -1)
20448 SWIG_fail;
d14a1e28 20449 if (arg2 == NULL) {
2f4c0a16
RD
20450 PyErr_SetString(PyExc_TypeError,"null reference");
20451 SWIG_fail;
d14a1e28
RD
20452 }
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 {
20461 wxDateTime * resultptr;
20462 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 20463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20464 }
20465 return resultobj;
20466 fail:
20467 return NULL;
20468}
20469
20470
20471static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20472 int argc;
20473 PyObject *argv[3];
20474 int ii;
20475
20476 argc = PyObject_Length(args);
20477 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20478 argv[ii] = PyTuple_GetItem(args,ii);
20479 }
20480 if (argc == 2) {
20481 int _v;
20482 {
20483 void *ptr;
2f4c0a16 20484 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20485 _v = 0;
20486 PyErr_Clear();
20487 } else {
20488 _v = 1;
20489 }
20490 }
20491 if (_v) {
20492 {
20493 void *ptr;
2f4c0a16 20494 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20495 _v = 0;
20496 PyErr_Clear();
20497 } else {
20498 _v = 1;
20499 }
20500 }
20501 if (_v) {
20502 return _wrap_DateTime___sub____SWIG_0(self,args);
20503 }
20504 }
20505 }
20506 if (argc == 2) {
20507 int _v;
20508 {
20509 void *ptr;
2f4c0a16 20510 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20511 _v = 0;
20512 PyErr_Clear();
20513 } else {
20514 _v = 1;
20515 }
20516 }
20517 if (_v) {
20518 {
20519 void *ptr;
2f4c0a16 20520 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20521 _v = 0;
20522 PyErr_Clear();
20523 } else {
20524 _v = 1;
20525 }
20526 }
20527 if (_v) {
20528 return _wrap_DateTime___sub____SWIG_1(self,args);
20529 }
20530 }
20531 }
20532 if (argc == 2) {
20533 int _v;
20534 {
20535 void *ptr;
2f4c0a16 20536 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20537 _v = 0;
20538 PyErr_Clear();
20539 } else {
20540 _v = 1;
20541 }
20542 }
20543 if (_v) {
20544 {
20545 void *ptr;
2f4c0a16 20546 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20547 _v = 0;
20548 PyErr_Clear();
20549 } else {
20550 _v = 1;
20551 }
20552 }
20553 if (_v) {
20554 return _wrap_DateTime___sub____SWIG_2(self,args);
20555 }
20556 }
20557 }
20558
20559 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20560 return NULL;
20561}
20562
20563
20564static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20565 PyObject *resultobj;
20566 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20567 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20568 bool result;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571
20572 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20579 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
4f89f6a3
RD
20584 {
20585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20586 }
d14a1e28
RD
20587 return resultobj;
20588 fail:
20589 return NULL;
20590}
20591
20592
20593static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20594 PyObject *resultobj;
20595 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20596 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20597 bool result;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600
20601 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20608 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
4f89f6a3
RD
20613 {
20614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20615 }
d14a1e28
RD
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
20622static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20623 PyObject *resultobj;
20624 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20625 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20626 bool result;
20627 PyObject * obj0 = 0 ;
20628 PyObject * obj1 = 0 ;
20629
20630 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20637 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
4f89f6a3
RD
20642 {
20643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20644 }
d14a1e28
RD
20645 return resultobj;
20646 fail:
20647 return NULL;
20648}
20649
20650
20651static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20652 PyObject *resultobj;
20653 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20654 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20655 bool result;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658
20659 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20666 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
4f89f6a3
RD
20671 {
20672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20673 }
d14a1e28
RD
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
20680static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20681 PyObject *resultobj;
20682 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20683 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20684 bool result;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687
20688 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20695 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
4f89f6a3
RD
20700 {
20701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20702 }
d14a1e28
RD
20703 return resultobj;
20704 fail:
20705 return NULL;
20706}
20707
20708
20709static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20710 PyObject *resultobj;
20711 wxDateTime *arg1 = (wxDateTime *) 0 ;
328fcd84 20712 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20713 bool result;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716
20717 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
20718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20722 {
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 20724 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20725
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
4f89f6a3
RD
20729 {
20730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20731 }
d14a1e28
RD
20732 return resultobj;
20733 fail:
20734 return NULL;
20735}
20736
20737
20738static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxDateTime *arg1 = (wxDateTime *) 0 ;
20741 wxString *arg2 = 0 ;
20742 int result;
423f194a 20743 bool temp2 = False ;
d14a1e28
RD
20744 PyObject * obj0 = 0 ;
20745 PyObject * obj1 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self",(char *) "date", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20753 {
20754 arg2 = wxString_in_helper(obj1);
20755 if (arg2 == NULL) SWIG_fail;
423f194a 20756 temp2 = True;
d14a1e28
RD
20757 }
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
2f4c0a16 20765 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20766 {
20767 if (temp2)
20768 delete arg2;
20769 }
20770 return resultobj;
20771 fail:
20772 {
20773 if (temp2)
20774 delete arg2;
20775 }
20776 return NULL;
20777}
20778
20779
20780static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxDateTime *arg1 = (wxDateTime *) 0 ;
20783 wxString *arg2 = 0 ;
20784 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20785 wxString *arg3 = (wxString *) &arg3_defvalue ;
20786 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20787 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20788 int result;
423f194a
RD
20789 bool temp2 = False ;
20790 bool temp3 = False ;
d14a1e28
RD
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 PyObject * obj2 = 0 ;
20794 PyObject * obj3 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20802 {
20803 arg2 = wxString_in_helper(obj1);
20804 if (arg2 == NULL) SWIG_fail;
423f194a 20805 temp2 = True;
d14a1e28
RD
20806 }
20807 if (obj2) {
20808 {
20809 arg3 = wxString_in_helper(obj2);
20810 if (arg3 == NULL) SWIG_fail;
423f194a 20811 temp3 = True;
d14a1e28
RD
20812 }
20813 }
20814 if (obj3) {
2f4c0a16
RD
20815 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20816 SWIG_POINTER_EXCEPTION | 0)) == -1)
20817 SWIG_fail;
d14a1e28 20818 if (arg4 == NULL) {
2f4c0a16
RD
20819 PyErr_SetString(PyExc_TypeError,"null reference");
20820 SWIG_fail;
d14a1e28
RD
20821 }
20822 }
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
2f4c0a16 20830 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20831 {
20832 if (temp2)
20833 delete arg2;
20834 }
20835 {
20836 if (temp3)
20837 delete arg3;
20838 }
20839 return resultobj;
20840 fail:
20841 {
20842 if (temp2)
20843 delete arg2;
20844 }
20845 {
20846 if (temp3)
20847 delete arg3;
20848 }
20849 return NULL;
20850}
20851
20852
20853static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxDateTime *arg1 = (wxDateTime *) 0 ;
20856 wxString *arg2 = 0 ;
20857 int result;
423f194a 20858 bool temp2 = False ;
d14a1e28
RD
20859 PyObject * obj0 = 0 ;
20860 PyObject * obj1 = 0 ;
20861 char *kwnames[] = {
20862 (char *) "self",(char *) "datetime", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20868 {
20869 arg2 = wxString_in_helper(obj1);
20870 if (arg2 == NULL) SWIG_fail;
423f194a 20871 temp2 = True;
d14a1e28
RD
20872 }
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
2f4c0a16 20880 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20881 {
20882 if (temp2)
20883 delete arg2;
20884 }
20885 return resultobj;
20886 fail:
20887 {
20888 if (temp2)
20889 delete arg2;
20890 }
20891 return NULL;
20892}
20893
20894
20895static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxDateTime *arg1 = (wxDateTime *) 0 ;
20898 wxString *arg2 = 0 ;
20899 int result;
423f194a 20900 bool temp2 = False ;
d14a1e28
RD
20901 PyObject * obj0 = 0 ;
20902 PyObject * obj1 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self",(char *) "date", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20910 {
20911 arg2 = wxString_in_helper(obj1);
20912 if (arg2 == NULL) SWIG_fail;
423f194a 20913 temp2 = True;
d14a1e28
RD
20914 }
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
2f4c0a16 20922 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20923 {
20924 if (temp2)
20925 delete arg2;
20926 }
20927 return resultobj;
20928 fail:
20929 {
20930 if (temp2)
20931 delete arg2;
20932 }
20933 return NULL;
20934}
20935
20936
20937static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxDateTime *arg1 = (wxDateTime *) 0 ;
20940 wxString *arg2 = 0 ;
20941 int result;
423f194a 20942 bool temp2 = False ;
d14a1e28
RD
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self",(char *) "time", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20952 {
20953 arg2 = wxString_in_helper(obj1);
20954 if (arg2 == NULL) SWIG_fail;
423f194a 20955 temp2 = True;
d14a1e28
RD
20956 }
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
2f4c0a16 20964 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20965 {
20966 if (temp2)
20967 delete arg2;
20968 }
20969 return resultobj;
20970 fail:
20971 {
20972 if (temp2)
20973 delete arg2;
20974 }
20975 return NULL;
20976}
20977
20978
20979static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxDateTime *arg1 = (wxDateTime *) 0 ;
20982 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20983 wxString *arg2 = (wxString *) &arg2_defvalue ;
20984 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20985 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20986 wxString result;
423f194a 20987 bool temp2 = False ;
44127b65 20988 bool temp3 = False ;
d14a1e28
RD
20989 PyObject * obj0 = 0 ;
20990 PyObject * obj1 = 0 ;
20991 PyObject * obj2 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "format",(char *) "tz", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20999 if (obj1) {
21000 {
21001 arg2 = wxString_in_helper(obj1);
21002 if (arg2 == NULL) SWIG_fail;
423f194a 21003 temp2 = True;
d14a1e28
RD
21004 }
21005 }
21006 if (obj2) {
21007 {
21008 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 21009 temp3 = True;
d14a1e28
RD
21010 }
21011 }
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 {
21020#if wxUSE_UNICODE
21021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21022#else
21023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21024#endif
21025 }
21026 {
21027 if (temp2)
21028 delete arg2;
21029 }
21030 {
44127b65 21031 if (temp3) delete arg3;
d14a1e28
RD
21032 }
21033 return resultobj;
21034 fail:
21035 {
21036 if (temp2)
21037 delete arg2;
21038 }
21039 {
44127b65 21040 if (temp3) delete arg3;
d14a1e28
RD
21041 }
21042 return NULL;
21043}
21044
21045
21046static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj;
21048 wxDateTime *arg1 = (wxDateTime *) 0 ;
21049 wxString result;
21050 PyObject * obj0 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21058 {
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = ((wxDateTime const *)arg1)->FormatDate();
21061
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
21065 {
21066#if wxUSE_UNICODE
21067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21068#else
21069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21070#endif
21071 }
21072 return resultobj;
21073 fail:
21074 return NULL;
21075}
21076
21077
21078static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxDateTime *arg1 = (wxDateTime *) 0 ;
21081 wxString result;
21082 PyObject * obj0 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = ((wxDateTime const *)arg1)->FormatTime();
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 {
21098#if wxUSE_UNICODE
21099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21100#else
21101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21102#endif
21103 }
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
21110static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxDateTime *arg1 = (wxDateTime *) 0 ;
21113 wxString result;
21114 PyObject * obj0 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = ((wxDateTime const *)arg1)->FormatISODate();
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 {
21130#if wxUSE_UNICODE
21131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21132#else
21133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21134#endif
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139}
21140
21141
21142static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 wxDateTime *arg1 = (wxDateTime *) 0 ;
21145 wxString result;
21146 PyObject * obj0 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 result = ((wxDateTime const *)arg1)->FormatISOTime();
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 {
21162#if wxUSE_UNICODE
21163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21164#else
21165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21166#endif
21167 }
21168 return resultobj;
21169 fail:
21170 return NULL;
21171}
21172
21173
21174static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21175 PyObject *obj;
21176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21177 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21178 Py_INCREF(obj);
21179 return Py_BuildValue((char *)"");
21180}
21181static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 long arg1 ;
21184 wxTimeSpan result;
8edf1c75 21185 PyObject * obj0 = 0 ;
d14a1e28
RD
21186 char *kwnames[] = {
21187 (char *) "sec", NULL
21188 };
21189
8edf1c75 21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21191 arg1 = (long) SWIG_AsLong(obj0);
21192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = wxTimeSpan::Seconds(arg1);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 {
21201 wxTimeSpan * resultptr;
21202 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21204 }
21205 return resultobj;
21206 fail:
21207 return NULL;
21208}
21209
21210
21211static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21212 PyObject *resultobj;
21213 wxTimeSpan result;
21214 char *kwnames[] = {
21215 NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 result = wxTimeSpan::Second();
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 {
21227 wxTimeSpan * resultptr;
21228 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21230 }
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
21237static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 long arg1 ;
21240 wxTimeSpan result;
8edf1c75 21241 PyObject * obj0 = 0 ;
d14a1e28
RD
21242 char *kwnames[] = {
21243 (char *) "min", NULL
21244 };
21245
8edf1c75 21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21247 arg1 = (long) SWIG_AsLong(obj0);
21248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = wxTimeSpan::Minutes(arg1);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
21257 wxTimeSpan * resultptr;
21258 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21260 }
21261 return resultobj;
21262 fail:
21263 return NULL;
21264}
21265
21266
21267static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj;
21269 wxTimeSpan result;
21270 char *kwnames[] = {
21271 NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 result = wxTimeSpan::Minute();
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 {
21283 wxTimeSpan * resultptr;
21284 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290}
21291
21292
21293static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 long arg1 ;
21296 wxTimeSpan result;
8edf1c75 21297 PyObject * obj0 = 0 ;
d14a1e28
RD
21298 char *kwnames[] = {
21299 (char *) "hours", NULL
21300 };
21301
8edf1c75 21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21303 arg1 = (long) SWIG_AsLong(obj0);
21304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = wxTimeSpan::Hours(arg1);
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 {
21313 wxTimeSpan * resultptr;
21314 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21316 }
21317 return resultobj;
21318 fail:
21319 return NULL;
21320}
21321
21322
21323static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxTimeSpan result;
21326 char *kwnames[] = {
21327 NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 result = wxTimeSpan::Hour();
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 {
21339 wxTimeSpan * resultptr;
21340 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
21349static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 long arg1 ;
21352 wxTimeSpan result;
8edf1c75 21353 PyObject * obj0 = 0 ;
d14a1e28
RD
21354 char *kwnames[] = {
21355 (char *) "days", NULL
21356 };
21357
8edf1c75 21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21359 arg1 = (long) SWIG_AsLong(obj0);
21360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = wxTimeSpan::Days(arg1);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 wxTimeSpan * resultptr;
21370 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21372 }
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxTimeSpan result;
21382 char *kwnames[] = {
21383 NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = wxTimeSpan::Day();
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 {
21395 wxTimeSpan * resultptr;
21396 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21398 }
21399 return resultobj;
21400 fail:
21401 return NULL;
21402}
21403
21404
21405static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 long arg1 ;
21408 wxTimeSpan result;
8edf1c75 21409 PyObject * obj0 = 0 ;
d14a1e28
RD
21410 char *kwnames[] = {
21411 (char *) "days", NULL
21412 };
21413
8edf1c75 21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21415 arg1 = (long) SWIG_AsLong(obj0);
21416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21417 {
21418 PyThreadState* __tstate = wxPyBeginAllowThreads();
21419 result = wxTimeSpan::Weeks(arg1);
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 {
21425 wxTimeSpan * resultptr;
21426 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21428 }
21429 return resultobj;
21430 fail:
21431 return NULL;
21432}
21433
21434
21435static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxTimeSpan result;
21438 char *kwnames[] = {
21439 NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 result = wxTimeSpan::Week();
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 {
21451 wxTimeSpan * resultptr;
21452 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21454 }
21455 return resultobj;
21456 fail:
21457 return NULL;
21458}
21459
21460
21461static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21462 PyObject *resultobj;
21463 long arg1 = (long) 0 ;
21464 long arg2 = (long) 0 ;
21465 long arg3 = (long) 0 ;
21466 long arg4 = (long) 0 ;
21467 wxTimeSpan *result;
8edf1c75
RD
21468 PyObject * obj0 = 0 ;
21469 PyObject * obj1 = 0 ;
21470 PyObject * obj2 = 0 ;
21471 PyObject * obj3 = 0 ;
d14a1e28
RD
21472 char *kwnames[] = {
21473 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21474 };
21475
8edf1c75
RD
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21477 if (obj0) {
2f4c0a16
RD
21478 arg1 = (long) SWIG_AsLong(obj0);
21479 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21480 }
21481 if (obj1) {
2f4c0a16
RD
21482 arg2 = (long) SWIG_AsLong(obj1);
21483 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21484 }
21485 if (obj2) {
2f4c0a16
RD
21486 arg3 = (long) SWIG_AsLong(obj2);
21487 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21488 }
21489 if (obj3) {
2f4c0a16
RD
21490 arg4 = (long) SWIG_AsLong(obj3);
21491 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21492 }
d14a1e28
RD
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
2f4c0a16 21500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21501 return resultobj;
21502 fail:
21503 return NULL;
21504}
21505
21506
21507static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21510 PyObject * obj0 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "self", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 delete arg1;
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529}
21530
21531
21532static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21535 wxTimeSpan *arg2 = 0 ;
21536 wxTimeSpan *result;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "diff", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21547 SWIG_POINTER_EXCEPTION | 0)) == -1)
21548 SWIG_fail;
d14a1e28 21549 if (arg2 == NULL) {
2f4c0a16
RD
21550 PyErr_SetString(PyExc_TypeError,"null reference");
21551 SWIG_fail;
d14a1e28
RD
21552 }
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 {
21556 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21557 result = (wxTimeSpan *) &_result_ref;
21558 }
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
2f4c0a16 21563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21564 return resultobj;
21565 fail:
21566 return NULL;
21567}
21568
21569
21570static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21573 wxTimeSpan *arg2 = 0 ;
21574 wxTimeSpan *result;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self",(char *) "diff", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21585 SWIG_POINTER_EXCEPTION | 0)) == -1)
21586 SWIG_fail;
d14a1e28 21587 if (arg2 == NULL) {
2f4c0a16
RD
21588 PyErr_SetString(PyExc_TypeError,"null reference");
21589 SWIG_fail;
d14a1e28
RD
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 {
21594 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21595 result = (wxTimeSpan *) &_result_ref;
21596 }
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
2f4c0a16 21601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
21608static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21611 int arg2 ;
21612 wxTimeSpan *result;
21613 PyObject * obj0 = 0 ;
8edf1c75 21614 PyObject * obj1 = 0 ;
d14a1e28
RD
21615 char *kwnames[] = {
21616 (char *) "self",(char *) "n", NULL
21617 };
21618
8edf1c75 21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21622 arg2 = (int) SWIG_AsInt(obj1);
21623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 {
21627 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21628 result = (wxTimeSpan *) &_result_ref;
21629 }
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
2f4c0a16 21634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
21641static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21644 wxTimeSpan *result;
21645 PyObject * obj0 = 0 ;
21646 char *kwnames[] = {
21647 (char *) "self", NULL
21648 };
21649
21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 {
21656 wxTimeSpan &_result_ref = (arg1)->Neg();
21657 result = (wxTimeSpan *) &_result_ref;
21658 }
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
2f4c0a16 21663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21664 return resultobj;
21665 fail:
21666 return NULL;
21667}
21668
21669
21670static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21673 wxTimeSpan result;
21674 PyObject * obj0 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = ((wxTimeSpan const *)arg1)->Abs();
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 wxTimeSpan * resultptr;
21691 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21693 }
21694 return resultobj;
21695 fail:
21696 return NULL;
21697}
21698
21699
21700static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21703 wxTimeSpan *arg2 = 0 ;
21704 wxTimeSpan *result;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "diff", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21715 SWIG_POINTER_EXCEPTION | 0)) == -1)
21716 SWIG_fail;
d14a1e28 21717 if (arg2 == NULL) {
2f4c0a16
RD
21718 PyErr_SetString(PyExc_TypeError,"null reference");
21719 SWIG_fail;
d14a1e28
RD
21720 }
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 {
21724 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21725 result = (wxTimeSpan *) &_result_ref;
21726 }
21727
21728 wxPyEndAllowThreads(__tstate);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 }
2f4c0a16 21731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21732 return resultobj;
21733 fail:
21734 return NULL;
21735}
21736
21737
21738static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21741 wxTimeSpan *arg2 = 0 ;
21742 wxTimeSpan *result;
21743 PyObject * obj0 = 0 ;
21744 PyObject * obj1 = 0 ;
21745 char *kwnames[] = {
21746 (char *) "self",(char *) "diff", NULL
21747 };
21748
21749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21753 SWIG_POINTER_EXCEPTION | 0)) == -1)
21754 SWIG_fail;
d14a1e28 21755 if (arg2 == NULL) {
2f4c0a16
RD
21756 PyErr_SetString(PyExc_TypeError,"null reference");
21757 SWIG_fail;
d14a1e28
RD
21758 }
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 {
21762 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21763 result = (wxTimeSpan *) &_result_ref;
21764 }
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
2f4c0a16 21769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21770 return resultobj;
21771 fail:
21772 return NULL;
21773}
21774
21775
21776static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj;
21778 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21779 int arg2 ;
21780 wxTimeSpan *result;
21781 PyObject * obj0 = 0 ;
8edf1c75 21782 PyObject * obj1 = 0 ;
d14a1e28
RD
21783 char *kwnames[] = {
21784 (char *) "self",(char *) "n", NULL
21785 };
21786
8edf1c75 21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21790 arg2 = (int) SWIG_AsInt(obj1);
21791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 {
21795 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21796 result = (wxTimeSpan *) &_result_ref;
21797 }
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
2f4c0a16 21802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21803 return resultobj;
21804 fail:
21805 return NULL;
21806}
21807
21808
21809static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21812 wxTimeSpan *result;
21813 PyObject * obj0 = 0 ;
21814 char *kwnames[] = {
21815 (char *) "self", NULL
21816 };
21817
21818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21821 {
21822 PyThreadState* __tstate = wxPyBeginAllowThreads();
21823 {
21824 wxTimeSpan &_result_ref = (arg1)->operator -();
21825 result = (wxTimeSpan *) &_result_ref;
21826 }
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
2f4c0a16 21831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21832 return resultobj;
21833 fail:
21834 return NULL;
21835}
21836
21837
21838static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21841 wxTimeSpan *arg2 = 0 ;
21842 wxTimeSpan result;
21843 PyObject * obj0 = 0 ;
21844 PyObject * obj1 = 0 ;
21845 char *kwnames[] = {
21846 (char *) "self",(char *) "other", NULL
21847 };
21848
21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1)
21854 SWIG_fail;
d14a1e28 21855 if (arg2 == NULL) {
2f4c0a16
RD
21856 PyErr_SetString(PyExc_TypeError,"null reference");
21857 SWIG_fail;
d14a1e28
RD
21858 }
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 {
21867 wxTimeSpan * resultptr;
21868 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21870 }
21871 return resultobj;
21872 fail:
21873 return NULL;
21874}
21875
21876
21877static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21878 PyObject *resultobj;
21879 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21880 wxTimeSpan *arg2 = 0 ;
21881 wxTimeSpan result;
21882 PyObject * obj0 = 0 ;
21883 PyObject * obj1 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self",(char *) "other", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1)
21893 SWIG_fail;
d14a1e28 21894 if (arg2 == NULL) {
2f4c0a16
RD
21895 PyErr_SetString(PyExc_TypeError,"null reference");
21896 SWIG_fail;
d14a1e28
RD
21897 }
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 {
21906 wxTimeSpan * resultptr;
21907 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21909 }
21910 return resultobj;
21911 fail:
21912 return NULL;
21913}
21914
21915
21916static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21919 int arg2 ;
21920 wxTimeSpan result;
21921 PyObject * obj0 = 0 ;
8edf1c75 21922 PyObject * obj1 = 0 ;
d14a1e28
RD
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "n", NULL
21925 };
21926
8edf1c75 21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 arg2 = (int) SWIG_AsInt(obj1);
21931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 result = wxTimeSpan___mul__(arg1,arg2);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 {
21940 wxTimeSpan * resultptr;
21941 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21943 }
21944 return resultobj;
21945 fail:
21946 return NULL;
21947}
21948
21949
21950static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21953 int arg2 ;
21954 wxTimeSpan result;
21955 PyObject * obj0 = 0 ;
8edf1c75 21956 PyObject * obj1 = 0 ;
d14a1e28
RD
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "n", NULL
21959 };
21960
8edf1c75 21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21964 arg2 = (int) SWIG_AsInt(obj1);
21965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 result = wxTimeSpan___rmul__(arg1,arg2);
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 {
21974 wxTimeSpan * resultptr;
21975 resultptr = new wxTimeSpan((wxTimeSpan &) result);
2f4c0a16 21976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21977 }
21978 return resultobj;
21979 fail:
21980 return NULL;
21981}
21982
21983
21984static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21985 PyObject *resultobj;
21986 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 21987 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21988 bool result;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "self",(char *) "other", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22002 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
4f89f6a3
RD
22007 {
22008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22009 }
d14a1e28
RD
22010 return resultobj;
22011 fail:
22012 return NULL;
22013}
22014
22015
22016static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 22019 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22020 bool result;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "other", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22034 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22035
22036 wxPyEndAllowThreads(__tstate);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
4f89f6a3
RD
22039 {
22040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22041 }
d14a1e28
RD
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
22048static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 22051 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22052 bool result;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "other", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22066 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
4f89f6a3
RD
22071 {
22072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22073 }
d14a1e28
RD
22074 return resultobj;
22075 fail:
22076 return NULL;
22077}
22078
22079
22080static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22081 PyObject *resultobj;
22082 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 22083 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22084 bool result;
22085 PyObject * obj0 = 0 ;
22086 PyObject * obj1 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "other", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22098 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
4f89f6a3
RD
22103 {
22104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22105 }
d14a1e28
RD
22106 return resultobj;
22107 fail:
22108 return NULL;
22109}
22110
22111
22112static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22113 PyObject *resultobj;
22114 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 22115 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22116 bool result;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self",(char *) "other", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22130 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
4f89f6a3
RD
22135 {
22136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22137 }
d14a1e28
RD
22138 return resultobj;
22139 fail:
22140 return NULL;
22141}
22142
22143
22144static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj;
22146 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
328fcd84 22147 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22148 bool result;
22149 PyObject * obj0 = 0 ;
22150 PyObject * obj1 = 0 ;
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "other", NULL
22153 };
22154
22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 22162 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
4f89f6a3
RD
22167 {
22168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22169 }
d14a1e28
RD
22170 return resultobj;
22171 fail:
22172 return NULL;
22173}
22174
22175
22176static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj;
22178 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22179 bool result;
22180 PyObject * obj0 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
4f89f6a3
RD
22195 {
22196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22197 }
d14a1e28
RD
22198 return resultobj;
22199 fail:
22200 return NULL;
22201}
22202
22203
22204static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
4f89f6a3
RD
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
d14a1e28
RD
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
22232static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22235 bool result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
4f89f6a3
RD
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
d14a1e28
RD
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
22260static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22263 wxTimeSpan *arg2 = 0 ;
22264 bool result;
22265 PyObject * obj0 = 0 ;
22266 PyObject * obj1 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self",(char *) "ts", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1)
22276 SWIG_fail;
d14a1e28 22277 if (arg2 == NULL) {
2f4c0a16
RD
22278 PyErr_SetString(PyExc_TypeError,"null reference");
22279 SWIG_fail;
d14a1e28
RD
22280 }
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
4f89f6a3
RD
22288 {
22289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22290 }
d14a1e28
RD
22291 return resultobj;
22292 fail:
22293 return NULL;
22294}
22295
22296
22297static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj;
22299 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22300 wxTimeSpan *arg2 = 0 ;
22301 bool result;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "ts", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1)
22313 SWIG_fail;
d14a1e28 22314 if (arg2 == NULL) {
2f4c0a16
RD
22315 PyErr_SetString(PyExc_TypeError,"null reference");
22316 SWIG_fail;
d14a1e28
RD
22317 }
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
4f89f6a3
RD
22325 {
22326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22327 }
d14a1e28
RD
22328 return resultobj;
22329 fail:
22330 return NULL;
22331}
22332
22333
22334static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22337 wxTimeSpan *arg2 = 0 ;
22338 bool result;
22339 PyObject * obj0 = 0 ;
22340 PyObject * obj1 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self",(char *) "t", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1)
22350 SWIG_fail;
d14a1e28 22351 if (arg2 == NULL) {
2f4c0a16
RD
22352 PyErr_SetString(PyExc_TypeError,"null reference");
22353 SWIG_fail;
d14a1e28
RD
22354 }
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22358
22359 wxPyEndAllowThreads(__tstate);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 }
4f89f6a3
RD
22362 {
22363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22364 }
d14a1e28
RD
22365 return resultobj;
22366 fail:
22367 return NULL;
22368}
22369
22370
22371static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22374 int result;
22375 PyObject * obj0 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "self", NULL
22378 };
22379
22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22386
22387 wxPyEndAllowThreads(__tstate);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
2f4c0a16 22390 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22391 return resultobj;
22392 fail:
22393 return NULL;
22394}
22395
22396
22397static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22398 PyObject *resultobj;
22399 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22400 int result;
22401 PyObject * obj0 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "self", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22409 {
22410 PyThreadState* __tstate = wxPyBeginAllowThreads();
22411 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22412
22413 wxPyEndAllowThreads(__tstate);
22414 if (PyErr_Occurred()) SWIG_fail;
22415 }
2f4c0a16 22416 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22417 return resultobj;
22418 fail:
22419 return NULL;
22420}
22421
22422
22423static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22424 PyObject *resultobj;
22425 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22426 int result;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
2f4c0a16 22442 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22443 return resultobj;
22444 fail:
22445 return NULL;
22446}
22447
22448
22449static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22452 int result;
22453 PyObject * obj0 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
2f4c0a16 22468 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
22475static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22478 wxLongLong result;
22479 PyObject * obj0 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 {
22495 PyObject *hi, *lo, *shifter, *shifted;
22496 hi = PyLong_FromLong( (&result)->GetHi() );
22497 lo = PyLong_FromLong( (&result)->GetLo() );
22498 shifter = PyLong_FromLong(32);
22499 shifted = PyNumber_Lshift(hi, shifter);
22500 resultobj = PyNumber_Or(shifted, lo);
22501 Py_DECREF(hi);
22502 Py_DECREF(lo);
22503 Py_DECREF(shifter);
22504 Py_DECREF(shifted);
22505 }
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
22512static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22515 wxLongLong result;
22516 PyObject * obj0 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 PyObject *hi, *lo, *shifter, *shifted;
22533 hi = PyLong_FromLong( (&result)->GetHi() );
22534 lo = PyLong_FromLong( (&result)->GetLo() );
22535 shifter = PyLong_FromLong(32);
22536 shifted = PyNumber_Lshift(hi, shifter);
22537 resultobj = PyNumber_Or(shifted, lo);
22538 Py_DECREF(hi);
22539 Py_DECREF(lo);
22540 Py_DECREF(shifter);
22541 Py_DECREF(shifted);
22542 }
22543 return resultobj;
22544 fail:
22545 return NULL;
22546}
22547
22548
22549static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22552 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22553 wxString *arg2 = (wxString *) &arg2_defvalue ;
22554 wxString result;
423f194a 22555 bool temp2 = False ;
d14a1e28
RD
22556 PyObject * obj0 = 0 ;
22557 PyObject * obj1 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self",(char *) "format", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22565 if (obj1) {
22566 {
22567 arg2 = wxString_in_helper(obj1);
22568 if (arg2 == NULL) SWIG_fail;
423f194a 22569 temp2 = True;
d14a1e28
RD
22570 }
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 {
22580#if wxUSE_UNICODE
22581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22582#else
22583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22584#endif
22585 }
22586 {
22587 if (temp2)
22588 delete arg2;
22589 }
22590 return resultobj;
22591 fail:
22592 {
22593 if (temp2)
22594 delete arg2;
22595 }
22596 return NULL;
22597}
22598
22599
22600static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22601 PyObject *obj;
22602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22603 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22604 Py_INCREF(obj);
22605 return Py_BuildValue((char *)"");
22606}
22607static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22608 PyObject *resultobj;
22609 int arg1 = (int) 0 ;
22610 int arg2 = (int) 0 ;
22611 int arg3 = (int) 0 ;
22612 int arg4 = (int) 0 ;
22613 wxDateSpan *result;
8edf1c75
RD
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 PyObject * obj2 = 0 ;
22617 PyObject * obj3 = 0 ;
d14a1e28
RD
22618 char *kwnames[] = {
22619 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22620 };
22621
8edf1c75
RD
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22623 if (obj0) {
2f4c0a16
RD
22624 arg1 = (int) SWIG_AsInt(obj0);
22625 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22626 }
22627 if (obj1) {
2f4c0a16
RD
22628 arg2 = (int) SWIG_AsInt(obj1);
22629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22630 }
22631 if (obj2) {
2f4c0a16
RD
22632 arg3 = (int) SWIG_AsInt(obj2);
22633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22634 }
22635 if (obj3) {
2f4c0a16
RD
22636 arg4 = (int) SWIG_AsInt(obj3);
22637 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22638 }
d14a1e28
RD
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
2f4c0a16 22646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
22653static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22656 PyObject * obj0 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 delete arg1;
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
22678static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 int arg1 ;
22681 wxDateSpan result;
8edf1c75 22682 PyObject * obj0 = 0 ;
d14a1e28
RD
22683 char *kwnames[] = {
22684 (char *) "days", NULL
22685 };
22686
8edf1c75 22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22688 arg1 = (int) SWIG_AsInt(obj0);
22689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
22692 result = wxDateSpan::Days(arg1);
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 {
22698 wxDateSpan * resultptr;
22699 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22701 }
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
22708static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj;
22710 wxDateSpan result;
22711 char *kwnames[] = {
22712 NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 result = wxDateSpan::Day();
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 {
22724 wxDateSpan * resultptr;
22725 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22727 }
22728 return resultobj;
22729 fail:
22730 return NULL;
22731}
22732
22733
22734static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 int arg1 ;
22737 wxDateSpan result;
8edf1c75 22738 PyObject * obj0 = 0 ;
d14a1e28
RD
22739 char *kwnames[] = {
22740 (char *) "weeks", NULL
22741 };
22742
8edf1c75 22743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22744 arg1 = (int) SWIG_AsInt(obj0);
22745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22746 {
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 result = wxDateSpan::Weeks(arg1);
22749
22750 wxPyEndAllowThreads(__tstate);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 {
22754 wxDateSpan * resultptr;
22755 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22757 }
22758 return resultobj;
22759 fail:
22760 return NULL;
22761}
22762
22763
22764static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxDateSpan result;
22767 char *kwnames[] = {
22768 NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = wxDateSpan::Week();
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 {
22780 wxDateSpan * resultptr;
22781 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22783 }
22784 return resultobj;
22785 fail:
22786 return NULL;
22787}
22788
22789
22790static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj;
22792 int arg1 ;
22793 wxDateSpan result;
8edf1c75 22794 PyObject * obj0 = 0 ;
d14a1e28
RD
22795 char *kwnames[] = {
22796 (char *) "mon", NULL
22797 };
22798
8edf1c75 22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22800 arg1 = (int) SWIG_AsInt(obj0);
22801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = wxDateSpan::Months(arg1);
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 {
22810 wxDateSpan * resultptr;
22811 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22813 }
22814 return resultobj;
22815 fail:
22816 return NULL;
22817}
22818
22819
22820static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxDateSpan result;
22823 char *kwnames[] = {
22824 NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = wxDateSpan::Month();
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 {
22836 wxDateSpan * resultptr;
22837 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22839 }
22840 return resultobj;
22841 fail:
22842 return NULL;
22843}
22844
22845
22846static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 int arg1 ;
22849 wxDateSpan result;
8edf1c75 22850 PyObject * obj0 = 0 ;
d14a1e28
RD
22851 char *kwnames[] = {
22852 (char *) "years", NULL
22853 };
22854
8edf1c75 22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22856 arg1 = (int) SWIG_AsInt(obj0);
22857 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 result = wxDateSpan::Years(arg1);
22861
22862 wxPyEndAllowThreads(__tstate);
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 {
22866 wxDateSpan * resultptr;
22867 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22869 }
22870 return resultobj;
22871 fail:
22872 return NULL;
22873}
22874
22875
22876static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxDateSpan result;
22879 char *kwnames[] = {
22880 NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = wxDateSpan::Year();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 {
22892 wxDateSpan * resultptr;
22893 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 22894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22895 }
22896 return resultobj;
22897 fail:
22898 return NULL;
22899}
22900
22901
22902static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22905 int arg2 ;
22906 wxDateSpan *result;
22907 PyObject * obj0 = 0 ;
8edf1c75 22908 PyObject * obj1 = 0 ;
d14a1e28
RD
22909 char *kwnames[] = {
22910 (char *) "self",(char *) "n", NULL
22911 };
22912
8edf1c75 22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22916 arg2 = (int) SWIG_AsInt(obj1);
22917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22918 {
22919 PyThreadState* __tstate = wxPyBeginAllowThreads();
22920 {
22921 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22922 result = (wxDateSpan *) &_result_ref;
22923 }
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
2f4c0a16 22928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22929 return resultobj;
22930 fail:
22931 return NULL;
22932}
22933
22934
22935static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22938 int arg2 ;
22939 wxDateSpan *result;
22940 PyObject * obj0 = 0 ;
8edf1c75 22941 PyObject * obj1 = 0 ;
d14a1e28
RD
22942 char *kwnames[] = {
22943 (char *) "self",(char *) "n", NULL
22944 };
22945
8edf1c75 22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22949 arg2 = (int) SWIG_AsInt(obj1);
22950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 {
22954 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22955 result = (wxDateSpan *) &_result_ref;
22956 }
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
2f4c0a16 22961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22962 return resultobj;
22963 fail:
22964 return NULL;
22965}
22966
22967
22968static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj;
22970 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22971 int arg2 ;
22972 wxDateSpan *result;
22973 PyObject * obj0 = 0 ;
8edf1c75 22974 PyObject * obj1 = 0 ;
d14a1e28
RD
22975 char *kwnames[] = {
22976 (char *) "self",(char *) "n", NULL
22977 };
22978
8edf1c75 22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22982 arg2 = (int) SWIG_AsInt(obj1);
22983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 {
22987 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22988 result = (wxDateSpan *) &_result_ref;
22989 }
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
2f4c0a16 22994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22995 return resultobj;
22996 fail:
22997 return NULL;
22998}
22999
23000
23001static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23004 int arg2 ;
23005 wxDateSpan *result;
23006 PyObject * obj0 = 0 ;
8edf1c75 23007 PyObject * obj1 = 0 ;
d14a1e28
RD
23008 char *kwnames[] = {
23009 (char *) "self",(char *) "n", NULL
23010 };
23011
8edf1c75 23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23015 arg2 = (int) SWIG_AsInt(obj1);
23016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 {
23020 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23021 result = (wxDateSpan *) &_result_ref;
23022 }
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
2f4c0a16 23027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23028 return resultobj;
23029 fail:
23030 return NULL;
23031}
23032
23033
23034static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23037 int result;
23038 PyObject * obj0 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = (int)((wxDateSpan const *)arg1)->GetYears();
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
2f4c0a16 23053 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23054 return resultobj;
23055 fail:
23056 return NULL;
23057}
23058
23059
23060static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23063 int result;
23064 PyObject * obj0 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
2f4c0a16 23079 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23080 return resultobj;
23081 fail:
23082 return NULL;
23083}
23084
23085
23086static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23087 PyObject *resultobj;
23088 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23089 int result;
23090 PyObject * obj0 = 0 ;
23091 char *kwnames[] = {
23092 (char *) "self", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23098 {
23099 PyThreadState* __tstate = wxPyBeginAllowThreads();
23100 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23101
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
2f4c0a16 23105 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23106 return resultobj;
23107 fail:
23108 return NULL;
23109}
23110
23111
23112static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj;
23114 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23115 int result;
23116 PyObject * obj0 = 0 ;
23117 char *kwnames[] = {
23118 (char *) "self", NULL
23119 };
23120
23121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (int)((wxDateSpan const *)arg1)->GetDays();
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
2f4c0a16 23131 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23132 return resultobj;
23133 fail:
23134 return NULL;
23135}
23136
23137
23138static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23141 int result;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
2f4c0a16 23157 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23158 return resultobj;
23159 fail:
23160 return NULL;
23161}
23162
23163
23164static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23167 wxDateSpan *arg2 = 0 ;
23168 wxDateSpan *result;
23169 PyObject * obj0 = 0 ;
23170 PyObject * obj1 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self",(char *) "other", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23179 SWIG_POINTER_EXCEPTION | 0)) == -1)
23180 SWIG_fail;
d14a1e28 23181 if (arg2 == NULL) {
2f4c0a16
RD
23182 PyErr_SetString(PyExc_TypeError,"null reference");
23183 SWIG_fail;
d14a1e28
RD
23184 }
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 {
23188 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23189 result = (wxDateSpan *) &_result_ref;
23190 }
23191
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
2f4c0a16 23195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23196 return resultobj;
23197 fail:
23198 return NULL;
23199}
23200
23201
23202static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj;
23204 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23205 wxDateSpan *arg2 = 0 ;
23206 wxDateSpan *result;
23207 PyObject * obj0 = 0 ;
23208 PyObject * obj1 = 0 ;
23209 char *kwnames[] = {
23210 (char *) "self",(char *) "other", NULL
23211 };
23212
23213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23217 SWIG_POINTER_EXCEPTION | 0)) == -1)
23218 SWIG_fail;
d14a1e28 23219 if (arg2 == NULL) {
2f4c0a16
RD
23220 PyErr_SetString(PyExc_TypeError,"null reference");
23221 SWIG_fail;
d14a1e28
RD
23222 }
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 {
23226 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23227 result = (wxDateSpan *) &_result_ref;
23228 }
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
2f4c0a16 23233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23234 return resultobj;
23235 fail:
23236 return NULL;
23237}
23238
23239
23240static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23241 PyObject *resultobj;
23242 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23243 wxDateSpan *result;
23244 PyObject * obj0 = 0 ;
23245 char *kwnames[] = {
23246 (char *) "self", NULL
23247 };
23248
23249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 {
23255 wxDateSpan &_result_ref = (arg1)->Neg();
23256 result = (wxDateSpan *) &_result_ref;
23257 }
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
2f4c0a16 23262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
23269static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23272 int arg2 ;
23273 wxDateSpan *result;
23274 PyObject * obj0 = 0 ;
8edf1c75 23275 PyObject * obj1 = 0 ;
d14a1e28
RD
23276 char *kwnames[] = {
23277 (char *) "self",(char *) "factor", NULL
23278 };
23279
8edf1c75 23280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23283 arg2 = (int) SWIG_AsInt(obj1);
23284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 {
23288 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23289 result = (wxDateSpan *) &_result_ref;
23290 }
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
2f4c0a16 23295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23296 return resultobj;
23297 fail:
23298 return NULL;
23299}
23300
23301
23302static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23305 wxDateSpan *arg2 = 0 ;
23306 wxDateSpan *result;
23307 PyObject * obj0 = 0 ;
23308 PyObject * obj1 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self",(char *) "other", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1)
23318 SWIG_fail;
d14a1e28 23319 if (arg2 == NULL) {
2f4c0a16
RD
23320 PyErr_SetString(PyExc_TypeError,"null reference");
23321 SWIG_fail;
d14a1e28
RD
23322 }
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 {
23326 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23327 result = (wxDateSpan *) &_result_ref;
23328 }
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
2f4c0a16 23333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23334 return resultobj;
23335 fail:
23336 return NULL;
23337}
23338
23339
23340static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23341 PyObject *resultobj;
23342 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23343 wxDateSpan *arg2 = 0 ;
23344 wxDateSpan *result;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self",(char *) "other", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1)
23356 SWIG_fail;
d14a1e28 23357 if (arg2 == NULL) {
2f4c0a16
RD
23358 PyErr_SetString(PyExc_TypeError,"null reference");
23359 SWIG_fail;
d14a1e28
RD
23360 }
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 {
23364 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23365 result = (wxDateSpan *) &_result_ref;
23366 }
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
2f4c0a16 23371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23372 return resultobj;
23373 fail:
23374 return NULL;
23375}
23376
23377
23378static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23381 wxDateSpan *result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 {
23393 wxDateSpan &_result_ref = (arg1)->operator -();
23394 result = (wxDateSpan *) &_result_ref;
23395 }
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
2f4c0a16 23400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23401 return resultobj;
23402 fail:
23403 return NULL;
23404}
23405
23406
23407static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23410 int arg2 ;
23411 wxDateSpan *result;
23412 PyObject * obj0 = 0 ;
8edf1c75 23413 PyObject * obj1 = 0 ;
d14a1e28
RD
23414 char *kwnames[] = {
23415 (char *) "self",(char *) "factor", NULL
23416 };
23417
8edf1c75 23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23421 arg2 = (int) SWIG_AsInt(obj1);
23422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 {
23426 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23427 result = (wxDateSpan *) &_result_ref;
23428 }
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
2f4c0a16 23433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23434 return resultobj;
23435 fail:
23436 return NULL;
23437}
23438
23439
23440static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23441 PyObject *resultobj;
23442 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23443 wxDateSpan *arg2 = 0 ;
23444 wxDateSpan result;
23445 PyObject * obj0 = 0 ;
23446 PyObject * obj1 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self",(char *) "other", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23455 SWIG_POINTER_EXCEPTION | 0)) == -1)
23456 SWIG_fail;
d14a1e28 23457 if (arg2 == NULL) {
2f4c0a16
RD
23458 PyErr_SetString(PyExc_TypeError,"null reference");
23459 SWIG_fail;
d14a1e28
RD
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 {
23469 wxDateSpan * resultptr;
23470 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23471 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476}
23477
23478
23479static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23482 wxDateSpan *arg2 = 0 ;
23483 wxDateSpan result;
23484 PyObject * obj0 = 0 ;
23485 PyObject * obj1 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self",(char *) "other", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23494 SWIG_POINTER_EXCEPTION | 0)) == -1)
23495 SWIG_fail;
d14a1e28 23496 if (arg2 == NULL) {
2f4c0a16
RD
23497 PyErr_SetString(PyExc_TypeError,"null reference");
23498 SWIG_fail;
d14a1e28
RD
23499 }
23500 {
23501 PyThreadState* __tstate = wxPyBeginAllowThreads();
23502 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23503
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 {
23508 wxDateSpan * resultptr;
23509 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23511 }
23512 return resultobj;
23513 fail:
23514 return NULL;
23515}
23516
23517
23518static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23521 int arg2 ;
23522 wxDateSpan result;
23523 PyObject * obj0 = 0 ;
8edf1c75 23524 PyObject * obj1 = 0 ;
d14a1e28
RD
23525 char *kwnames[] = {
23526 (char *) "self",(char *) "n", NULL
23527 };
23528
8edf1c75 23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 arg2 = (int) SWIG_AsInt(obj1);
23533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = wxDateSpan___mul__(arg1,arg2);
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 {
23542 wxDateSpan * resultptr;
23543 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23545 }
23546 return resultobj;
23547 fail:
23548 return NULL;
23549}
23550
23551
23552static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj;
23554 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23555 int arg2 ;
23556 wxDateSpan result;
23557 PyObject * obj0 = 0 ;
8edf1c75 23558 PyObject * obj1 = 0 ;
d14a1e28
RD
23559 char *kwnames[] = {
23560 (char *) "self",(char *) "n", NULL
23561 };
23562
8edf1c75 23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23566 arg2 = (int) SWIG_AsInt(obj1);
23567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = wxDateSpan___rmul__(arg1,arg2);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 {
23576 wxDateSpan * resultptr;
23577 resultptr = new wxDateSpan((wxDateSpan &) result);
2f4c0a16 23578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23579 }
23580 return resultobj;
23581 fail:
23582 return NULL;
23583}
23584
23585
23586static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
328fcd84 23589 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23590 bool result;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self",(char *) "other", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 23604 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
4f89f6a3
RD
23609 {
23610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23611 }
d14a1e28
RD
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
23618static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
328fcd84 23621 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23622 bool result;
23623 PyObject * obj0 = 0 ;
23624 PyObject * obj1 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self",(char *) "other", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23634 {
23635 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 23636 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23637
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
4f89f6a3
RD
23641 {
23642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23643 }
d14a1e28
RD
23644 return resultobj;
23645 fail:
23646 return NULL;
23647}
23648
23649
23650static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23651 PyObject *obj;
23652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23653 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23654 Py_INCREF(obj);
23655 return Py_BuildValue((char *)"");
23656}
23657static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 long result;
23660 char *kwnames[] = {
23661 NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (long)wxGetLocalTime();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
2f4c0a16 23672 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23673 return resultobj;
23674 fail:
23675 return NULL;
23676}
23677
23678
23679static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 long result;
23682 char *kwnames[] = {
23683 NULL
23684 };
23685
23686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = (long)wxGetUTCTime();
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
2f4c0a16 23694 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23695 return resultobj;
23696 fail:
23697 return NULL;
23698}
23699
23700
23701static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 long result;
23704 char *kwnames[] = {
23705 NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23709 {
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 result = (long)wxGetCurrentTime();
23712
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
2f4c0a16 23716 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23717 return resultobj;
23718 fail:
23719 return NULL;
23720}
23721
23722
23723static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxLongLong result;
23726 char *kwnames[] = {
23727 NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = wxGetLocalTimeMillis();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 {
23739 PyObject *hi, *lo, *shifter, *shifted;
23740 hi = PyLong_FromLong( (&result)->GetHi() );
23741 lo = PyLong_FromLong( (&result)->GetLo() );
23742 shifter = PyLong_FromLong(32);
23743 shifted = PyNumber_Lshift(hi, shifter);
23744 resultobj = PyNumber_Or(shifted, lo);
23745 Py_DECREF(hi);
23746 Py_DECREF(lo);
23747 Py_DECREF(shifter);
23748 Py_DECREF(shifted);
23749 }
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
2f4c0a16 23756static int _wrap_DefaultDateTime_set(PyObject *_val) {
98e665d3
RD
23757 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23758 return 1;
23759}
23760
23761
23762static PyObject *_wrap_DefaultDateTime_get() {
23763 PyObject *pyobj;
23764
2f4c0a16 23765 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
23766 return pyobj;
23767}
23768
23769
d14a1e28
RD
23770static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 int arg1 ;
23773 wxDataFormat *result;
8edf1c75 23774 PyObject * obj0 = 0 ;
d14a1e28
RD
23775 char *kwnames[] = {
23776 (char *) "type", NULL
23777 };
23778
8edf1c75 23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23780 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
2f4c0a16 23789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
23796static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxString *arg1 = 0 ;
23799 wxDataFormat *result;
423f194a 23800 bool temp1 = False ;
d14a1e28
RD
23801 PyObject * obj0 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "format", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23807 {
23808 arg1 = wxString_in_helper(obj0);
23809 if (arg1 == NULL) SWIG_fail;
423f194a 23810 temp1 = True;
d14a1e28
RD
23811 }
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
2f4c0a16 23819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23820 {
23821 if (temp1)
23822 delete arg1;
23823 }
23824 return resultobj;
23825 fail:
23826 {
23827 if (temp1)
23828 delete arg1;
23829 }
23830 return NULL;
23831}
23832
23833
23834static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23837 PyObject * obj0 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "self", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 delete arg1;
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 Py_INCREF(Py_None); resultobj = Py_None;
23853 return resultobj;
23854 fail:
23855 return NULL;
23856}
23857
23858
23859static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23860 PyObject *resultobj;
23861 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23862 int arg2 ;
23863 bool result;
23864 PyObject * obj0 = 0 ;
8edf1c75 23865 PyObject * obj1 = 0 ;
d14a1e28 23866
8edf1c75 23867 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23870 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23874 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
4f89f6a3
RD
23879 {
23880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23881 }
d14a1e28
RD
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
23888static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23889 PyObject *resultobj;
23890 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23891 int arg2 ;
23892 bool result;
23893 PyObject * obj0 = 0 ;
8edf1c75 23894 PyObject * obj1 = 0 ;
d14a1e28 23895
8edf1c75 23896 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23899 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23903 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
4f89f6a3
RD
23908 {
23909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23910 }
d14a1e28
RD
23911 return resultobj;
23912 fail:
23913 return NULL;
23914}
23915
23916
23917static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23918 PyObject *resultobj;
23919 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23920 wxDataFormat *arg2 = 0 ;
23921 bool result;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924
23925 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
23926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23929 SWIG_POINTER_EXCEPTION | 0)) == -1)
23930 SWIG_fail;
d14a1e28 23931 if (arg2 == NULL) {
2f4c0a16
RD
23932 PyErr_SetString(PyExc_TypeError,"null reference");
23933 SWIG_fail;
d14a1e28
RD
23934 }
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
4f89f6a3
RD
23942 {
23943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23944 }
d14a1e28
RD
23945 return resultobj;
23946 fail:
23947 return NULL;
23948}
23949
23950
23951static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23952 int argc;
23953 PyObject *argv[3];
23954 int ii;
23955
23956 argc = PyObject_Length(args);
23957 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23958 argv[ii] = PyTuple_GetItem(args,ii);
23959 }
23960 if (argc == 2) {
23961 int _v;
23962 {
23963 void *ptr;
2f4c0a16 23964 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23965 _v = 0;
23966 PyErr_Clear();
23967 } else {
23968 _v = 1;
23969 }
23970 }
23971 if (_v) {
23972 {
23973 void *ptr;
2f4c0a16 23974 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23975 _v = 0;
23976 PyErr_Clear();
23977 } else {
23978 _v = 1;
23979 }
23980 }
23981 if (_v) {
23982 return _wrap_DataFormat___eq____SWIG_1(self,args);
23983 }
23984 }
23985 }
23986 if (argc == 2) {
23987 int _v;
23988 {
23989 void *ptr;
2f4c0a16 23990 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23991 _v = 0;
23992 PyErr_Clear();
23993 } else {
23994 _v = 1;
23995 }
23996 }
23997 if (_v) {
2f4c0a16 23998 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
23999 if (_v) {
24000 return _wrap_DataFormat___eq____SWIG_0(self,args);
24001 }
24002 }
24003 }
24004
24005 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24006 return NULL;
24007}
24008
24009
24010static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24011 PyObject *resultobj;
24012 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24013 wxDataFormat *arg2 = 0 ;
24014 bool result;
24015 PyObject * obj0 = 0 ;
24016 PyObject * obj1 = 0 ;
24017
24018 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
2f4c0a16
RD
24019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24022 SWIG_POINTER_EXCEPTION | 0)) == -1)
24023 SWIG_fail;
d14a1e28 24024 if (arg2 == NULL) {
2f4c0a16
RD
24025 PyErr_SetString(PyExc_TypeError,"null reference");
24026 SWIG_fail;
d14a1e28
RD
24027 }
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
24030 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
4f89f6a3
RD
24035 {
24036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24037 }
d14a1e28
RD
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
24044static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24045 int argc;
24046 PyObject *argv[3];
24047 int ii;
24048
24049 argc = PyObject_Length(args);
24050 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24051 argv[ii] = PyTuple_GetItem(args,ii);
24052 }
24053 if (argc == 2) {
24054 int _v;
24055 {
24056 void *ptr;
2f4c0a16 24057 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24058 _v = 0;
24059 PyErr_Clear();
24060 } else {
24061 _v = 1;
24062 }
24063 }
24064 if (_v) {
24065 {
24066 void *ptr;
2f4c0a16 24067 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24068 _v = 0;
24069 PyErr_Clear();
24070 } else {
24071 _v = 1;
24072 }
24073 }
24074 if (_v) {
24075 return _wrap_DataFormat___ne____SWIG_1(self,args);
24076 }
24077 }
24078 }
24079 if (argc == 2) {
24080 int _v;
24081 {
24082 void *ptr;
2f4c0a16 24083 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24084 _v = 0;
24085 PyErr_Clear();
24086 } else {
24087 _v = 1;
24088 }
24089 }
24090 if (_v) {
2f4c0a16 24091 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
24092 if (_v) {
24093 return _wrap_DataFormat___ne____SWIG_0(self,args);
24094 }
24095 }
24096 }
24097
24098 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24099 return NULL;
24100}
24101
24102
24103static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj;
24105 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24106 int arg2 ;
24107 PyObject * obj0 = 0 ;
8edf1c75 24108 PyObject * obj1 = 0 ;
d14a1e28
RD
24109 char *kwnames[] = {
24110 (char *) "self",(char *) "format", NULL
24111 };
24112
8edf1c75 24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24116 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 (arg1)->SetType((wxDataFormatId )arg2);
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 Py_INCREF(Py_None); resultobj = Py_None;
24126 return resultobj;
24127 fail:
24128 return NULL;
24129}
24130
24131
24132static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24135 int result;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 result = (int)((wxDataFormat const *)arg1)->GetType();
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
2f4c0a16 24151 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24152 return resultobj;
24153 fail:
24154 return NULL;
24155}
24156
24157
24158static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24161 wxString result;
24162 PyObject * obj0 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = ((wxDataFormat const *)arg1)->GetId();
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 {
24178#if wxUSE_UNICODE
24179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24180#else
24181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24182#endif
24183 }
24184 return resultobj;
24185 fail:
24186 return NULL;
24187}
24188
24189
24190static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24193 wxString *arg2 = 0 ;
423f194a 24194 bool temp2 = False ;
d14a1e28
RD
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "format", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24204 {
24205 arg2 = wxString_in_helper(obj1);
24206 if (arg2 == NULL) SWIG_fail;
423f194a 24207 temp2 = True;
d14a1e28
RD
24208 }
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 (arg1)->SetId((wxString const &)*arg2);
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 Py_INCREF(Py_None); resultobj = Py_None;
24217 {
24218 if (temp2)
24219 delete arg2;
24220 }
24221 return resultobj;
24222 fail:
24223 {
24224 if (temp2)
24225 delete arg2;
24226 }
24227 return NULL;
24228}
24229
24230
24231static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24232 PyObject *obj;
24233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24234 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24235 Py_INCREF(obj);
24236 return Py_BuildValue((char *)"");
24237}
2f4c0a16 24238static int _wrap_FormatInvalid_set(PyObject *_val) {
d14a1e28
RD
24239 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24240 return 1;
24241}
24242
24243
24244static PyObject *_wrap_FormatInvalid_get() {
24245 PyObject *pyobj;
24246
2f4c0a16 24247 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24248 return pyobj;
24249}
24250
24251
24252static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 wxDataObject *arg1 = (wxDataObject *) 0 ;
24255 PyObject * obj0 = 0 ;
24256 char *kwnames[] = {
24257 (char *) "self", NULL
24258 };
24259
24260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 delete arg1;
24266
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 Py_INCREF(Py_None); resultobj = Py_None;
24271 return resultobj;
24272 fail:
24273 return NULL;
24274}
24275
24276
24277static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj;
24279 wxDataObject *arg1 = (wxDataObject *) 0 ;
24280 int arg2 = (int) wxDataObject::Get ;
24281 SwigValueWrapper< wxDataFormat > result;
24282 PyObject * obj0 = 0 ;
8edf1c75 24283 PyObject * obj1 = 0 ;
d14a1e28
RD
24284 char *kwnames[] = {
24285 (char *) "self",(char *) "dir", NULL
24286 };
24287
8edf1c75 24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24291 if (obj1) {
2f4c0a16
RD
24292 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24293 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24294 }
d14a1e28
RD
24295 {
24296 PyThreadState* __tstate = wxPyBeginAllowThreads();
24297 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24298
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 {
24303 wxDataFormat * resultptr;
24304 resultptr = new wxDataFormat((wxDataFormat &) result);
2f4c0a16 24305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24306 }
24307 return resultobj;
24308 fail:
24309 return NULL;
24310}
24311
24312
24313static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxDataObject *arg1 = (wxDataObject *) 0 ;
24316 int arg2 = (int) wxDataObject::Get ;
24317 size_t result;
24318 PyObject * obj0 = 0 ;
8edf1c75 24319 PyObject * obj1 = 0 ;
d14a1e28
RD
24320 char *kwnames[] = {
24321 (char *) "self",(char *) "dir", NULL
24322 };
24323
8edf1c75 24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24327 if (obj1) {
2f4c0a16
RD
24328 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24330 }
d14a1e28
RD
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
2f4c0a16 24338 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24339 return resultobj;
24340 fail:
24341 return NULL;
24342}
24343
24344
24345static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24346 PyObject *resultobj;
24347 wxDataObject *arg1 = (wxDataObject *) 0 ;
24348 wxDataFormat *arg2 = 0 ;
24349 int arg3 = (int) wxDataObject::Get ;
24350 bool result;
24351 PyObject * obj0 = 0 ;
24352 PyObject * obj1 = 0 ;
8edf1c75 24353 PyObject * obj2 = 0 ;
d14a1e28
RD
24354 char *kwnames[] = {
24355 (char *) "self",(char *) "format",(char *) "dir", NULL
24356 };
24357
8edf1c75 24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1)
24363 SWIG_fail;
d14a1e28 24364 if (arg2 == NULL) {
2f4c0a16
RD
24365 PyErr_SetString(PyExc_TypeError,"null reference");
24366 SWIG_fail;
d14a1e28 24367 }
8edf1c75 24368 if (obj2) {
2f4c0a16
RD
24369 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24370 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24371 }
d14a1e28
RD
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
4f89f6a3
RD
24379 {
24380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24381 }
d14a1e28
RD
24382 return resultobj;
24383 fail:
24384 return NULL;
24385}
24386
24387
24388static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 wxDataObject *arg1 = (wxDataObject *) 0 ;
24391 wxDataFormat *arg2 = 0 ;
24392 size_t result;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "self",(char *) "format", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24403 SWIG_POINTER_EXCEPTION | 0)) == -1)
24404 SWIG_fail;
d14a1e28 24405 if (arg2 == NULL) {
2f4c0a16
RD
24406 PyErr_SetString(PyExc_TypeError,"null reference");
24407 SWIG_fail;
d14a1e28
RD
24408 }
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
2f4c0a16 24416 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24417 return resultobj;
24418 fail:
24419 return NULL;
24420}
24421
24422
24423static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxDataObject *arg1 = (wxDataObject *) 0 ;
24426 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24427 int arg3 = (int) wxDataObject::Get ;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
8edf1c75 24430 PyObject * obj2 = 0 ;
d14a1e28
RD
24431 char *kwnames[] = {
24432 (char *) "self",(char *) "formats",(char *) "dir", NULL
24433 };
24434
8edf1c75 24435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 24440 if (obj2) {
2f4c0a16
RD
24441 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24442 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24443 }
d14a1e28
RD
24444 {
24445 PyThreadState* __tstate = wxPyBeginAllowThreads();
24446 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 Py_INCREF(Py_None); resultobj = Py_None;
24452 return resultobj;
24453 fail:
24454 return NULL;
24455}
24456
24457
24458static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24459 PyObject *resultobj;
24460 wxDataObject *arg1 = (wxDataObject *) 0 ;
24461 wxDataFormat *arg2 = 0 ;
24462 void *arg3 = (void *) 0 ;
24463 bool result;
24464 PyObject * obj0 = 0 ;
24465 PyObject * obj1 = 0 ;
24466 PyObject * obj2 = 0 ;
24467 char *kwnames[] = {
24468 (char *) "self",(char *) "format",(char *) "buf", NULL
24469 };
24470
24471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24475 SWIG_POINTER_EXCEPTION | 0)) == -1)
24476 SWIG_fail;
d14a1e28 24477 if (arg2 == NULL) {
2f4c0a16
RD
24478 PyErr_SetString(PyExc_TypeError,"null reference");
24479 SWIG_fail;
d14a1e28 24480 }
2f4c0a16 24481 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24482 {
24483 PyThreadState* __tstate = wxPyBeginAllowThreads();
24484 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24485
24486 wxPyEndAllowThreads(__tstate);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
4f89f6a3
RD
24489 {
24490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24491 }
d14a1e28
RD
24492 return resultobj;
24493 fail:
24494 return NULL;
24495}
24496
24497
24498static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxDataObject *arg1 = (wxDataObject *) 0 ;
24501 wxDataFormat *arg2 = 0 ;
24502 size_t arg3 ;
24503 void *arg4 = (void *) 0 ;
24504 bool result;
24505 PyObject * obj0 = 0 ;
24506 PyObject * obj1 = 0 ;
24507 PyObject * obj2 = 0 ;
24508 PyObject * obj3 = 0 ;
24509 char *kwnames[] = {
24510 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24511 };
24512
24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24517 SWIG_POINTER_EXCEPTION | 0)) == -1)
24518 SWIG_fail;
d14a1e28 24519 if (arg2 == NULL) {
2f4c0a16
RD
24520 PyErr_SetString(PyExc_TypeError,"null reference");
24521 SWIG_fail;
83448d71 24522 }
2f4c0a16
RD
24523 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
4f89f6a3
RD
24533 {
24534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24535 }
d14a1e28
RD
24536 return resultobj;
24537 fail:
24538 return NULL;
24539}
24540
24541
24542static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24543 PyObject *obj;
24544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24545 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24546 Py_INCREF(obj);
24547 return Py_BuildValue((char *)"");
24548}
24549static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24552 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24553 wxDataObjectSimple *result;
24554 PyObject * obj0 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "format", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24560 if (obj0) {
2f4c0a16
RD
24561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24562 SWIG_POINTER_EXCEPTION | 0)) == -1)
24563 SWIG_fail;
d14a1e28 24564 if (arg1 == NULL) {
2f4c0a16
RD
24565 PyErr_SetString(PyExc_TypeError,"null reference");
24566 SWIG_fail;
d14a1e28
RD
24567 }
24568 }
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24572
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
2f4c0a16 24576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
24577 return resultobj;
24578 fail:
24579 return NULL;
24580}
24581
24582
24583static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj;
24585 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24586 wxDataFormat *result;
24587 PyObject * obj0 = 0 ;
24588 char *kwnames[] = {
24589 (char *) "self", NULL
24590 };
24591
24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 {
24598 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24599 result = (wxDataFormat *) &_result_ref;
24600 }
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
2f4c0a16 24605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
24612static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24615 wxDataFormat *arg2 = 0 ;
24616 PyObject * obj0 = 0 ;
24617 PyObject * obj1 = 0 ;
24618 char *kwnames[] = {
24619 (char *) "self",(char *) "format", NULL
24620 };
24621
24622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1)
24627 SWIG_fail;
d14a1e28 24628 if (arg2 == NULL) {
2f4c0a16
RD
24629 PyErr_SetString(PyExc_TypeError,"null reference");
24630 SWIG_fail;
d14a1e28
RD
24631 }
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24635
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 Py_INCREF(Py_None); resultobj = Py_None;
24640 return resultobj;
24641 fail:
24642 return NULL;
24643}
24644
24645
24646static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24647 PyObject *obj;
24648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24649 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24650 Py_INCREF(obj);
24651 return Py_BuildValue((char *)"");
24652}
24653static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24656 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24657 wxPyDataObjectSimple *result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "format", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24664 if (obj0) {
2f4c0a16
RD
24665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24666 SWIG_POINTER_EXCEPTION | 0)) == -1)
24667 SWIG_fail;
d14a1e28 24668 if (arg1 == NULL) {
2f4c0a16
RD
24669 PyErr_SetString(PyExc_TypeError,"null reference");
24670 SWIG_fail;
d14a1e28
RD
24671 }
24672 }
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24676
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
2f4c0a16 24680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
24681 return resultobj;
24682 fail:
24683 return NULL;
24684}
24685
24686
24687static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24688 PyObject *resultobj;
24689 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24690 PyObject *arg2 = (PyObject *) 0 ;
24691 PyObject *arg3 = (PyObject *) 0 ;
24692 PyObject * obj0 = 0 ;
24693 PyObject * obj1 = 0 ;
24694 PyObject * obj2 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "self",(char *) "_class", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24702 arg2 = obj1;
24703 arg3 = obj2;
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 (arg1)->_setCallbackInfo(arg2,arg3);
24707
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 Py_INCREF(Py_None); resultobj = Py_None;
24712 return resultobj;
24713 fail:
24714 return NULL;
24715}
24716
24717
24718static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24719 PyObject *obj;
24720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24721 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24722 Py_INCREF(obj);
24723 return Py_BuildValue((char *)"");
24724}
24725static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24726 PyObject *resultobj;
24727 wxDataObjectComposite *result;
24728 char *kwnames[] = {
24729 NULL
24730 };
24731
24732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
2f4c0a16 24740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
24741 return resultobj;
24742 fail:
24743 return NULL;
24744}
24745
24746
24747static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24750 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 24751 int arg3 = (int) False ;
d14a1e28
RD
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
8edf1c75 24754 PyObject * obj2 = 0 ;
d14a1e28
RD
24755 char *kwnames[] = {
24756 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24757 };
24758
8edf1c75 24759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24763 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
8edf1c75 24764 if (obj2) {
2f4c0a16
RD
24765 arg3 = (int) SWIG_AsInt(obj2);
24766 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24767 }
d14a1e28
RD
24768 {
24769 PyThreadState* __tstate = wxPyBeginAllowThreads();
24770 (arg1)->Add(arg2,arg3);
24771
24772 wxPyEndAllowThreads(__tstate);
24773 if (PyErr_Occurred()) SWIG_fail;
24774 }
24775 Py_INCREF(Py_None); resultobj = Py_None;
24776 return resultobj;
24777 fail:
24778 return NULL;
24779}
24780
24781
24782static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24783 PyObject *obj;
24784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24785 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24786 Py_INCREF(obj);
24787 return Py_BuildValue((char *)"");
24788}
24789static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24790 PyObject *resultobj;
24791 wxString const &arg1_defvalue = wxPyEmptyString ;
24792 wxString *arg1 = (wxString *) &arg1_defvalue ;
24793 wxTextDataObject *result;
423f194a 24794 bool temp1 = False ;
d14a1e28
RD
24795 PyObject * obj0 = 0 ;
24796 char *kwnames[] = {
24797 (char *) "text", NULL
24798 };
24799
24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24801 if (obj0) {
24802 {
24803 arg1 = wxString_in_helper(obj0);
24804 if (arg1 == NULL) SWIG_fail;
423f194a 24805 temp1 = True;
d14a1e28
RD
24806 }
24807 }
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
2f4c0a16 24815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
24816 {
24817 if (temp1)
24818 delete arg1;
24819 }
24820 return resultobj;
24821 fail:
24822 {
24823 if (temp1)
24824 delete arg1;
24825 }
24826 return NULL;
24827}
24828
24829
24830static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24833 size_t result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (size_t)(arg1)->GetTextLength();
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
2f4c0a16 24849 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24850 return resultobj;
24851 fail:
24852 return NULL;
24853}
24854
24855
24856static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj;
24858 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24859 wxString result;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (arg1)->GetText();
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 {
24876#if wxUSE_UNICODE
24877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24878#else
24879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24880#endif
24881 }
24882 return resultobj;
24883 fail:
24884 return NULL;
24885}
24886
24887
24888static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24891 wxString *arg2 = 0 ;
423f194a 24892 bool temp2 = False ;
d14a1e28
RD
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj1 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self",(char *) "text", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24902 {
24903 arg2 = wxString_in_helper(obj1);
24904 if (arg2 == NULL) SWIG_fail;
423f194a 24905 temp2 = True;
d14a1e28
RD
24906 }
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 (arg1)->SetText((wxString const &)*arg2);
24910
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 Py_INCREF(Py_None); resultobj = Py_None;
24915 {
24916 if (temp2)
24917 delete arg2;
24918 }
24919 return resultobj;
24920 fail:
24921 {
24922 if (temp2)
24923 delete arg2;
24924 }
24925 return NULL;
24926}
24927
24928
24929static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24930 PyObject *obj;
24931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24932 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24933 Py_INCREF(obj);
24934 return Py_BuildValue((char *)"");
24935}
24936static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj;
24938 wxString const &arg1_defvalue = wxPyEmptyString ;
24939 wxString *arg1 = (wxString *) &arg1_defvalue ;
24940 wxPyTextDataObject *result;
423f194a 24941 bool temp1 = False ;
d14a1e28
RD
24942 PyObject * obj0 = 0 ;
24943 char *kwnames[] = {
24944 (char *) "text", NULL
24945 };
24946
24947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24948 if (obj0) {
24949 {
24950 arg1 = wxString_in_helper(obj0);
24951 if (arg1 == NULL) SWIG_fail;
423f194a 24952 temp1 = True;
d14a1e28
RD
24953 }
24954 }
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24958
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
2f4c0a16 24962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
24963 {
24964 if (temp1)
24965 delete arg1;
24966 }
24967 return resultobj;
24968 fail:
24969 {
24970 if (temp1)
24971 delete arg1;
24972 }
24973 return NULL;
24974}
24975
24976
24977static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24980 PyObject *arg2 = (PyObject *) 0 ;
24981 PyObject *arg3 = (PyObject *) 0 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 PyObject * obj2 = 0 ;
24985 char *kwnames[] = {
24986 (char *) "self",(char *) "self",(char *) "_class", NULL
24987 };
24988
24989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
24991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24992 arg2 = obj1;
24993 arg3 = obj2;
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 (arg1)->_setCallbackInfo(arg2,arg3);
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 Py_INCREF(Py_None); resultobj = Py_None;
25002 return resultobj;
25003 fail:
25004 return NULL;
25005}
25006
25007
25008static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25009 PyObject *obj;
25010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25011 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25012 Py_INCREF(obj);
25013 return Py_BuildValue((char *)"");
25014}
25015static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25018 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25019 wxBitmapDataObject *result;
25020 PyObject * obj0 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "bitmap", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25026 if (obj0) {
2f4c0a16
RD
25027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25028 SWIG_POINTER_EXCEPTION | 0)) == -1)
25029 SWIG_fail;
d14a1e28 25030 if (arg1 == NULL) {
2f4c0a16
RD
25031 PyErr_SetString(PyExc_TypeError,"null reference");
25032 SWIG_fail;
d14a1e28
RD
25033 }
25034 }
25035 {
25036 PyThreadState* __tstate = wxPyBeginAllowThreads();
25037 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25038
25039 wxPyEndAllowThreads(__tstate);
25040 if (PyErr_Occurred()) SWIG_fail;
25041 }
2f4c0a16 25042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
25043 return resultobj;
25044 fail:
25045 return NULL;
25046}
25047
25048
25049static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25052 wxBitmap result;
25053 PyObject * obj0 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25064
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 {
25069 wxBitmap * resultptr;
25070 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 25071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
25072 }
25073 return resultobj;
25074 fail:
25075 return NULL;
25076}
25077
25078
25079static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj;
25081 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25082 wxBitmap *arg2 = 0 ;
25083 PyObject * obj0 = 0 ;
25084 PyObject * obj1 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self",(char *) "bitmap", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25093 SWIG_POINTER_EXCEPTION | 0)) == -1)
25094 SWIG_fail;
d14a1e28 25095 if (arg2 == NULL) {
2f4c0a16
RD
25096 PyErr_SetString(PyExc_TypeError,"null reference");
25097 SWIG_fail;
d14a1e28
RD
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 return resultobj;
25108 fail:
25109 return NULL;
25110}
25111
25112
25113static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25114 PyObject *obj;
25115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25116 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25117 Py_INCREF(obj);
25118 return Py_BuildValue((char *)"");
25119}
25120static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25121 PyObject *resultobj;
25122 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25123 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25124 wxPyBitmapDataObject *result;
25125 PyObject * obj0 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "bitmap", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25131 if (obj0) {
2f4c0a16
RD
25132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25133 SWIG_POINTER_EXCEPTION | 0)) == -1)
25134 SWIG_fail;
d14a1e28 25135 if (arg1 == NULL) {
2f4c0a16
RD
25136 PyErr_SetString(PyExc_TypeError,"null reference");
25137 SWIG_fail;
d14a1e28
RD
25138 }
25139 }
25140 {
25141 PyThreadState* __tstate = wxPyBeginAllowThreads();
25142 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25143
25144 wxPyEndAllowThreads(__tstate);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 }
2f4c0a16 25147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
25148 return resultobj;
25149 fail:
25150 return NULL;
25151}
25152
25153
25154static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25155 PyObject *resultobj;
25156 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25157 PyObject *arg2 = (PyObject *) 0 ;
25158 PyObject *arg3 = (PyObject *) 0 ;
25159 PyObject * obj0 = 0 ;
25160 PyObject * obj1 = 0 ;
25161 PyObject * obj2 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "self",(char *) "_class", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25169 arg2 = obj1;
25170 arg3 = obj2;
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 (arg1)->_setCallbackInfo(arg2,arg3);
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 Py_INCREF(Py_None); resultobj = Py_None;
25179 return resultobj;
25180 fail:
25181 return NULL;
25182}
25183
25184
25185static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25186 PyObject *obj;
25187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25188 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25189 Py_INCREF(obj);
25190 return Py_BuildValue((char *)"");
25191}
25192static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxFileDataObject *result;
25195 char *kwnames[] = {
25196 NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 result = (wxFileDataObject *)new wxFileDataObject();
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
2f4c0a16 25207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
25208 return resultobj;
25209 fail:
25210 return NULL;
25211}
25212
25213
25214static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25215 PyObject *resultobj;
25216 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25217 wxArrayString *result;
25218 PyObject * obj0 = 0 ;
25219 char *kwnames[] = {
25220 (char *) "self", NULL
25221 };
25222
25223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 {
25229 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25230 result = (wxArrayString *) &_result_ref;
25231 }
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 {
25237 resultobj = wxArrayString2PyList_helper(*result);
25238 }
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
25245static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj;
25247 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25248 wxString *arg2 = 0 ;
423f194a 25249 bool temp2 = False ;
d14a1e28
RD
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 char *kwnames[] = {
25253 (char *) "self",(char *) "filename", NULL
25254 };
25255
25256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25259 {
25260 arg2 = wxString_in_helper(obj1);
25261 if (arg2 == NULL) SWIG_fail;
423f194a 25262 temp2 = True;
d14a1e28
RD
25263 }
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 (arg1)->AddFile((wxString const &)*arg2);
25267
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 Py_INCREF(Py_None); resultobj = Py_None;
25272 {
25273 if (temp2)
25274 delete arg2;
25275 }
25276 return resultobj;
25277 fail:
25278 {
25279 if (temp2)
25280 delete arg2;
25281 }
25282 return NULL;
25283}
25284
25285
25286static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25287 PyObject *obj;
25288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25289 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25290 Py_INCREF(obj);
25291 return Py_BuildValue((char *)"");
25292}
25293static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25296 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25297 wxCustomDataObject *result;
25298 PyObject * obj0 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "format", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25304 if (obj0) {
2f4c0a16
RD
25305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25306 SWIG_POINTER_EXCEPTION | 0)) == -1)
25307 SWIG_fail;
d14a1e28 25308 if (arg1 == NULL) {
2f4c0a16
RD
25309 PyErr_SetString(PyExc_TypeError,"null reference");
25310 SWIG_fail;
d14a1e28
RD
25311 }
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
2f4c0a16 25320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
25321 return resultobj;
25322 fail:
25323 return NULL;
25324}
25325
25326
25327static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj;
25329 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25330 PyObject *arg2 = (PyObject *) 0 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char *kwnames[] = {
25334 (char *) "self",(char *) "data", NULL
25335 };
25336
25337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25340 arg2 = obj1;
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 wxCustomDataObject_TakeData(arg1,arg2);
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 Py_INCREF(Py_None); resultobj = Py_None;
25349 return resultobj;
25350 fail:
25351 return NULL;
25352}
25353
25354
25355static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25358 PyObject *arg2 = (PyObject *) 0 ;
25359 bool result;
25360 PyObject * obj0 = 0 ;
25361 PyObject * obj1 = 0 ;
25362 char *kwnames[] = {
25363 (char *) "self",(char *) "data", NULL
25364 };
25365
25366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25369 arg2 = obj1;
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25373
25374 wxPyEndAllowThreads(__tstate);
25375 if (PyErr_Occurred()) SWIG_fail;
25376 }
4f89f6a3
RD
25377 {
25378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25379 }
d14a1e28
RD
25380 return resultobj;
25381 fail:
25382 return NULL;
25383}
25384
25385
25386static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25387 PyObject *resultobj;
25388 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25389 size_t result;
25390 PyObject * obj0 = 0 ;
25391 char *kwnames[] = {
25392 (char *) "self", NULL
25393 };
25394
25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (size_t)(arg1)->GetSize();
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
2f4c0a16 25405 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25406 return resultobj;
25407 fail:
25408 return NULL;
25409}
25410
25411
25412static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25415 PyObject *result;
25416 PyObject * obj0 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = result;
25432 return resultobj;
25433 fail:
25434 return NULL;
25435}
25436
25437
25438static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25439 PyObject *obj;
25440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25441 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25442 Py_INCREF(obj);
25443 return Py_BuildValue((char *)"");
25444}
25445static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj;
25447 wxURLDataObject *result;
25448 char *kwnames[] = {
25449 NULL
25450 };
25451
25452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = (wxURLDataObject *)new wxURLDataObject();
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
2f4c0a16 25460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
25461 return resultobj;
25462 fail:
25463 return NULL;
25464}
25465
25466
25467static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25470 wxString result;
25471 PyObject * obj0 = 0 ;
25472 char *kwnames[] = {
25473 (char *) "self", NULL
25474 };
25475
25476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = (arg1)->GetURL();
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487#if wxUSE_UNICODE
25488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25489#else
25490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25491#endif
25492 }
25493 return resultobj;
25494 fail:
25495 return NULL;
25496}
25497
25498
25499static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25500 PyObject *resultobj;
25501 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25502 wxString *arg2 = 0 ;
423f194a 25503 bool temp2 = False ;
d14a1e28
RD
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char *kwnames[] = {
25507 (char *) "self",(char *) "url", NULL
25508 };
25509
25510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25513 {
25514 arg2 = wxString_in_helper(obj1);
25515 if (arg2 == NULL) SWIG_fail;
423f194a 25516 temp2 = True;
d14a1e28
RD
25517 }
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 (arg1)->SetURL((wxString const &)*arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 Py_INCREF(Py_None); resultobj = Py_None;
25526 {
25527 if (temp2)
25528 delete arg2;
25529 }
25530 return resultobj;
25531 fail:
25532 {
25533 if (temp2)
25534 delete arg2;
25535 }
25536 return NULL;
25537}
25538
25539
25540static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25541 PyObject *obj;
25542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25544 Py_INCREF(obj);
25545 return Py_BuildValue((char *)"");
25546}
25547static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxMetafileDataObject *result;
25550 char *kwnames[] = {
25551 NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25558
25559 wxPyEndAllowThreads(__tstate);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
2f4c0a16 25562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
25563 return resultobj;
25564 fail:
25565 return NULL;
25566}
25567
25568
83448d71
RD
25569static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25572 wxMetafile *arg2 = 0 ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self",(char *) "metafile", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25583 SWIG_POINTER_EXCEPTION | 0)) == -1)
25584 SWIG_fail;
83448d71 25585 if (arg2 == NULL) {
2f4c0a16
RD
25586 PyErr_SetString(PyExc_TypeError,"null reference");
25587 SWIG_fail;
83448d71
RD
25588 }
25589 {
25590 PyThreadState* __tstate = wxPyBeginAllowThreads();
25591 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25592
25593 wxPyEndAllowThreads(__tstate);
25594 if (PyErr_Occurred()) SWIG_fail;
25595 }
25596 Py_INCREF(Py_None); resultobj = Py_None;
25597 return resultobj;
25598 fail:
25599 return NULL;
25600}
25601
25602
25603static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25604 PyObject *resultobj;
25605 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25606 wxMetafile result;
25607 PyObject * obj0 = 0 ;
25608 char *kwnames[] = {
25609 (char *) "self", NULL
25610 };
25611
25612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
83448d71
RD
25615 {
25616 PyThreadState* __tstate = wxPyBeginAllowThreads();
25617 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25618
25619 wxPyEndAllowThreads(__tstate);
25620 if (PyErr_Occurred()) SWIG_fail;
25621 }
25622 {
25623 wxMetafile * resultptr;
25624 resultptr = new wxMetafile((wxMetafile &) result);
2f4c0a16 25625 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
83448d71
RD
25626 }
25627 return resultobj;
25628 fail:
25629 return NULL;
25630}
25631
25632
d14a1e28
RD
25633static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25634 PyObject *obj;
25635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25636 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25637 Py_INCREF(obj);
25638 return Py_BuildValue((char *)"");
25639}
25640static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25641 PyObject *resultobj;
25642 int arg1 ;
25643 bool result;
8edf1c75 25644 PyObject * obj0 = 0 ;
d14a1e28
RD
25645 char *kwnames[] = {
25646 (char *) "res", NULL
25647 };
25648
8edf1c75 25649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25650 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
4f89f6a3
RD
25659 {
25660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25661 }
d14a1e28
RD
25662 return resultobj;
25663 fail:
25664 return NULL;
25665}
25666
25667
25668static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
eb9b6107 25670 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25671 wxCursor const &arg2_defvalue = wxNullCursor ;
25672 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25673 wxCursor const &arg3_defvalue = wxNullCursor ;
25674 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25675 wxCursor const &arg4_defvalue = wxNullCursor ;
25676 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25677 wxPyDropSource *result;
25678 PyObject * obj0 = 0 ;
25679 PyObject * obj1 = 0 ;
25680 PyObject * obj2 = 0 ;
25681 PyObject * obj3 = 0 ;
25682 char *kwnames[] = {
25683 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25684 };
25685
eb9b6107 25686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25689 if (obj1) {
2f4c0a16
RD
25690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1)
25692 SWIG_fail;
d14a1e28 25693 if (arg2 == NULL) {
2f4c0a16
RD
25694 PyErr_SetString(PyExc_TypeError,"null reference");
25695 SWIG_fail;
d14a1e28
RD
25696 }
25697 }
25698 if (obj2) {
2f4c0a16
RD
25699 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25700 SWIG_POINTER_EXCEPTION | 0)) == -1)
25701 SWIG_fail;
d14a1e28 25702 if (arg3 == NULL) {
2f4c0a16
RD
25703 PyErr_SetString(PyExc_TypeError,"null reference");
25704 SWIG_fail;
d14a1e28
RD
25705 }
25706 }
25707 if (obj3) {
2f4c0a16
RD
25708 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1)
25710 SWIG_fail;
d14a1e28 25711 if (arg4 == NULL) {
2f4c0a16
RD
25712 PyErr_SetString(PyExc_TypeError,"null reference");
25713 SWIG_fail;
d14a1e28
RD
25714 }
25715 }
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
2f4c0a16 25723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
25724 return resultobj;
25725 fail:
25726 return NULL;
25727}
25728
25729
25730static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj;
25732 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25733 PyObject *arg2 = (PyObject *) 0 ;
25734 PyObject *arg3 = (PyObject *) 0 ;
25735 int arg4 ;
25736 PyObject * obj0 = 0 ;
25737 PyObject * obj1 = 0 ;
25738 PyObject * obj2 = 0 ;
8edf1c75 25739 PyObject * obj3 = 0 ;
d14a1e28
RD
25740 char *kwnames[] = {
25741 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25742 };
25743
8edf1c75 25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25747 arg2 = obj1;
25748 arg3 = obj2;
2f4c0a16
RD
25749 arg4 = (int) SWIG_AsInt(obj3);
25750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
25758 Py_INCREF(Py_None); resultobj = Py_None;
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
25765static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj;
25767 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25768 PyObject * obj0 = 0 ;
25769 char *kwnames[] = {
25770 (char *) "self", NULL
25771 };
25772
25773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 delete arg1;
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 Py_INCREF(Py_None); resultobj = Py_None;
25784 return resultobj;
25785 fail:
25786 return NULL;
25787}
25788
25789
25790static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj;
25792 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25793 wxDataObject *arg2 = 0 ;
25794 PyObject * obj0 = 0 ;
25795 PyObject * obj1 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "data", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1)
25805 SWIG_fail;
d14a1e28 25806 if (arg2 == NULL) {
2f4c0a16
RD
25807 PyErr_SetString(PyExc_TypeError,"null reference");
25808 SWIG_fail;
d14a1e28
RD
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 (arg1)->SetData(*arg2);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 Py_INCREF(Py_None); resultobj = Py_None;
25818 return resultobj;
25819 fail:
25820 return NULL;
25821}
25822
25823
25824static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25825 PyObject *resultobj;
25826 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25827 wxDataObject *result;
25828 PyObject * obj0 = 0 ;
25829 char *kwnames[] = {
25830 (char *) "self", NULL
25831 };
25832
25833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = (wxDataObject *)(arg1)->GetDataObject();
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
2f4c0a16 25843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25844 return resultobj;
25845 fail:
25846 return NULL;
25847}
25848
25849
25850static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25853 int arg2 ;
25854 wxCursor *arg3 = 0 ;
25855 PyObject * obj0 = 0 ;
8edf1c75 25856 PyObject * obj1 = 0 ;
d14a1e28
RD
25857 PyObject * obj2 = 0 ;
25858 char *kwnames[] = {
25859 (char *) "self",(char *) "res",(char *) "cursor", NULL
25860 };
25861
8edf1c75 25862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25865 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25866 if (PyErr_Occurred()) SWIG_fail;
25867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25868 SWIG_POINTER_EXCEPTION | 0)) == -1)
25869 SWIG_fail;
d14a1e28 25870 if (arg3 == NULL) {
2f4c0a16
RD
25871 PyErr_SetString(PyExc_TypeError,"null reference");
25872 SWIG_fail;
d14a1e28
RD
25873 }
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25877
25878 wxPyEndAllowThreads(__tstate);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 }
25881 Py_INCREF(Py_None); resultobj = Py_None;
25882 return resultobj;
25883 fail:
25884 return NULL;
25885}
25886
25887
25888static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25889 PyObject *resultobj;
25890 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25891 int arg2 = (int) wxDrag_CopyOnly ;
25892 int result;
25893 PyObject * obj0 = 0 ;
8edf1c75 25894 PyObject * obj1 = 0 ;
d14a1e28
RD
25895 char *kwnames[] = {
25896 (char *) "self",(char *) "flags", NULL
25897 };
25898
8edf1c75 25899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25902 if (obj1) {
2f4c0a16
RD
25903 arg2 = (int) SWIG_AsInt(obj1);
25904 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25905 }
d14a1e28
RD
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 result = (int)(arg1)->DoDragDrop(arg2);
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
2f4c0a16 25913 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25914 return resultobj;
25915 fail:
25916 return NULL;
25917}
25918
25919
25920static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25923 int arg2 ;
25924 bool result;
25925 PyObject * obj0 = 0 ;
8edf1c75 25926 PyObject * obj1 = 0 ;
d14a1e28
RD
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "effect", NULL
25929 };
25930
8edf1c75 25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25934 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25936 {
25937 PyThreadState* __tstate = wxPyBeginAllowThreads();
25938 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25939
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
4f89f6a3
RD
25943 {
25944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25945 }
d14a1e28
RD
25946 return resultobj;
25947 fail:
25948 return NULL;
25949}
25950
25951
25952static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25953 PyObject *obj;
25954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25955 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25956 Py_INCREF(obj);
25957 return Py_BuildValue((char *)"");
25958}
2f4c0a16 25959static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25960 PyObject *resultobj;
25961 wxDataObject *arg1 = (wxDataObject *) NULL ;
25962 wxPyDropTarget *result;
25963 PyObject * obj0 = 0 ;
25964 char *kwnames[] = {
25965 (char *) "dataObject", NULL
25966 };
25967
2f4c0a16 25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25969 if (obj0) {
2f4c0a16
RD
25970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25971 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25972 }
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
2f4c0a16 25980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
25981 return resultobj;
25982 fail:
25983 return NULL;
25984}
25985
25986
25987static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj;
25989 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25990 PyObject *arg2 = (PyObject *) 0 ;
25991 PyObject *arg3 = (PyObject *) 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 PyObject * obj2 = 0 ;
25995 char *kwnames[] = {
25996 (char *) "self",(char *) "self",(char *) "_class", NULL
25997 };
25998
25999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26002 arg2 = obj1;
26003 arg3 = obj2;
26004 {
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 (arg1)->_setCallbackInfo(arg2,arg3);
26007
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 Py_INCREF(Py_None); resultobj = Py_None;
26012 return resultobj;
26013 fail:
26014 return NULL;
26015}
26016
26017
26018static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26019 PyObject *resultobj;
26020 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26021 PyObject * obj0 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 delete arg1;
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 Py_INCREF(Py_None); resultobj = Py_None;
26037 return resultobj;
26038 fail:
26039 return NULL;
26040}
26041
26042
26043static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26044 PyObject *resultobj;
26045 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26046 wxDataObject *result;
26047 PyObject * obj0 = 0 ;
26048 char *kwnames[] = {
26049 (char *) "self", NULL
26050 };
26051
26052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (wxDataObject *)(arg1)->GetDataObject();
26058
26059 wxPyEndAllowThreads(__tstate);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
2f4c0a16 26062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
26063 return resultobj;
26064 fail:
26065 return NULL;
26066}
26067
26068
26069static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26070 PyObject *resultobj;
26071 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26072 wxDataObject *arg2 = (wxDataObject *) 0 ;
26073 PyObject * obj0 = 0 ;
26074 PyObject * obj1 = 0 ;
26075 char *kwnames[] = {
26076 (char *) "self",(char *) "dataObject", NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26083 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26084 {
26085 PyThreadState* __tstate = wxPyBeginAllowThreads();
26086 (arg1)->SetDataObject(arg2);
26087
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
26091 Py_INCREF(Py_None); resultobj = Py_None;
26092 return resultobj;
26093 fail:
26094 return NULL;
26095}
26096
26097
26098static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26099 PyObject *resultobj;
26100 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
26101 int arg2 ;
26102 int arg3 ;
d14a1e28
RD
26103 int arg4 ;
26104 int result;
26105 PyObject * obj0 = 0 ;
8edf1c75
RD
26106 PyObject * obj1 = 0 ;
26107 PyObject * obj2 = 0 ;
26108 PyObject * obj3 = 0 ;
d14a1e28
RD
26109 char *kwnames[] = {
26110 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26111 };
26112
8edf1c75 26113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26116 arg2 = (int) SWIG_AsInt(obj1);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 arg3 = (int) SWIG_AsInt(obj2);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26125
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
2f4c0a16 26129 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26130 return resultobj;
26131 fail:
26132 return NULL;
26133}
26134
26135
26136static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26137 PyObject *resultobj;
26138 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
26139 int arg2 ;
26140 int arg3 ;
d14a1e28
RD
26141 int arg4 ;
26142 int result;
26143 PyObject * obj0 = 0 ;
8edf1c75
RD
26144 PyObject * obj1 = 0 ;
26145 PyObject * obj2 = 0 ;
26146 PyObject * obj3 = 0 ;
d14a1e28
RD
26147 char *kwnames[] = {
26148 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26149 };
26150
8edf1c75 26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26154 arg2 = (int) SWIG_AsInt(obj1);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 arg3 = (int) SWIG_AsInt(obj2);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26159 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26160 {
26161 PyThreadState* __tstate = wxPyBeginAllowThreads();
26162 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26163
26164 wxPyEndAllowThreads(__tstate);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
2f4c0a16 26167 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26168 return resultobj;
26169 fail:
26170 return NULL;
26171}
26172
26173
26174static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26175 PyObject *resultobj;
26176 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26177 PyObject * obj0 = 0 ;
26178 char *kwnames[] = {
26179 (char *) "self", NULL
26180 };
26181
26182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26185 {
26186 PyThreadState* __tstate = wxPyBeginAllowThreads();
26187 (arg1)->base_OnLeave();
26188
26189 wxPyEndAllowThreads(__tstate);
26190 if (PyErr_Occurred()) SWIG_fail;
26191 }
26192 Py_INCREF(Py_None); resultobj = Py_None;
26193 return resultobj;
26194 fail:
26195 return NULL;
26196}
26197
26198
26199static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26200 PyObject *resultobj;
26201 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
26202 int arg2 ;
26203 int arg3 ;
d14a1e28
RD
26204 bool result;
26205 PyObject * obj0 = 0 ;
8edf1c75
RD
26206 PyObject * obj1 = 0 ;
26207 PyObject * obj2 = 0 ;
d14a1e28
RD
26208 char *kwnames[] = {
26209 (char *) "self",(char *) "x",(char *) "y", NULL
26210 };
26211
8edf1c75 26212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26215 arg2 = (int) SWIG_AsInt(obj1);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 arg3 = (int) SWIG_AsInt(obj2);
26218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26219 {
26220 PyThreadState* __tstate = wxPyBeginAllowThreads();
26221 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26222
26223 wxPyEndAllowThreads(__tstate);
26224 if (PyErr_Occurred()) SWIG_fail;
26225 }
4f89f6a3
RD
26226 {
26227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26228 }
d14a1e28
RD
26229 return resultobj;
26230 fail:
26231 return NULL;
26232}
26233
26234
26235static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj;
26237 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26238 bool result;
26239 PyObject * obj0 = 0 ;
26240 char *kwnames[] = {
26241 (char *) "self", NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (bool)(arg1)->GetData();
26250
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
4f89f6a3
RD
26254 {
26255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26256 }
d14a1e28
RD
26257 return resultobj;
26258 fail:
26259 return NULL;
26260}
26261
26262
26263static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26264 PyObject *obj;
26265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26266 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26267 Py_INCREF(obj);
26268 return Py_BuildValue((char *)"");
26269}
26270static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj;
26272 wxPyTextDropTarget *result;
26273 char *kwnames[] = {
26274 NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
2f4c0a16 26285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
26286 return resultobj;
26287 fail:
26288 return NULL;
26289}
26290
26291
26292static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26295 PyObject *arg2 = (PyObject *) 0 ;
26296 PyObject *arg3 = (PyObject *) 0 ;
26297 PyObject * obj0 = 0 ;
26298 PyObject * obj1 = 0 ;
26299 PyObject * obj2 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self",(char *) "self",(char *) "_class", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26307 arg2 = obj1;
26308 arg3 = obj2;
26309 {
26310 PyThreadState* __tstate = wxPyBeginAllowThreads();
26311 (arg1)->_setCallbackInfo(arg2,arg3);
26312
26313 wxPyEndAllowThreads(__tstate);
26314 if (PyErr_Occurred()) SWIG_fail;
26315 }
26316 Py_INCREF(Py_None); resultobj = Py_None;
26317 return resultobj;
26318 fail:
26319 return NULL;
26320}
26321
26322
26323static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26324 PyObject *resultobj;
26325 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26326 int arg2 ;
26327 int arg3 ;
d14a1e28
RD
26328 int arg4 ;
26329 int result;
26330 PyObject * obj0 = 0 ;
8edf1c75
RD
26331 PyObject * obj1 = 0 ;
26332 PyObject * obj2 = 0 ;
26333 PyObject * obj3 = 0 ;
d14a1e28
RD
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26336 };
26337
8edf1c75 26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 arg2 = (int) SWIG_AsInt(obj1);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 arg3 = (int) SWIG_AsInt(obj2);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26347 {
26348 PyThreadState* __tstate = wxPyBeginAllowThreads();
26349 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
2f4c0a16 26354 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26355 return resultobj;
26356 fail:
26357 return NULL;
26358}
26359
26360
26361static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj;
26363 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26364 int arg2 ;
26365 int arg3 ;
d14a1e28
RD
26366 int arg4 ;
26367 int result;
26368 PyObject * obj0 = 0 ;
8edf1c75
RD
26369 PyObject * obj1 = 0 ;
26370 PyObject * obj2 = 0 ;
26371 PyObject * obj3 = 0 ;
d14a1e28
RD
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26374 };
26375
8edf1c75 26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26379 arg2 = (int) SWIG_AsInt(obj1);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 arg3 = (int) SWIG_AsInt(obj2);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
2f4c0a16 26392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26393 return resultobj;
26394 fail:
26395 return NULL;
26396}
26397
26398
26399static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26400 PyObject *resultobj;
26401 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26402 PyObject * obj0 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26410 {
26411 PyThreadState* __tstate = wxPyBeginAllowThreads();
26412 (arg1)->base_OnLeave();
26413
26414 wxPyEndAllowThreads(__tstate);
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 Py_INCREF(Py_None); resultobj = Py_None;
26418 return resultobj;
26419 fail:
26420 return NULL;
26421}
26422
26423
26424static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26427 int arg2 ;
26428 int arg3 ;
d14a1e28
RD
26429 bool result;
26430 PyObject * obj0 = 0 ;
8edf1c75
RD
26431 PyObject * obj1 = 0 ;
26432 PyObject * obj2 = 0 ;
d14a1e28
RD
26433 char *kwnames[] = {
26434 (char *) "self",(char *) "x",(char *) "y", NULL
26435 };
26436
8edf1c75 26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26440 arg2 = (int) SWIG_AsInt(obj1);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 arg3 = (int) SWIG_AsInt(obj2);
26443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26444 {
26445 PyThreadState* __tstate = wxPyBeginAllowThreads();
26446 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26447
26448 wxPyEndAllowThreads(__tstate);
26449 if (PyErr_Occurred()) SWIG_fail;
26450 }
4f89f6a3
RD
26451 {
26452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26453 }
d14a1e28
RD
26454 return resultobj;
26455 fail:
26456 return NULL;
26457}
26458
26459
26460static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj;
26462 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
26463 int arg2 ;
26464 int arg3 ;
d14a1e28
RD
26465 int arg4 ;
26466 int result;
26467 PyObject * obj0 = 0 ;
8edf1c75
RD
26468 PyObject * obj1 = 0 ;
26469 PyObject * obj2 = 0 ;
26470 PyObject * obj3 = 0 ;
d14a1e28
RD
26471 char *kwnames[] = {
26472 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26473 };
26474
8edf1c75 26475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26478 arg2 = (int) SWIG_AsInt(obj1);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 arg3 = (int) SWIG_AsInt(obj2);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
2f4c0a16 26491 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
26498static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26499 PyObject *obj;
26500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26501 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26502 Py_INCREF(obj);
26503 return Py_BuildValue((char *)"");
26504}
26505static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26506 PyObject *resultobj;
26507 wxPyFileDropTarget *result;
26508 char *kwnames[] = {
26509 NULL
26510 };
26511
26512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26516
26517 wxPyEndAllowThreads(__tstate);
26518 if (PyErr_Occurred()) SWIG_fail;
26519 }
2f4c0a16 26520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
26521 return resultobj;
26522 fail:
26523 return NULL;
26524}
26525
26526
26527static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26528 PyObject *resultobj;
26529 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26530 PyObject *arg2 = (PyObject *) 0 ;
26531 PyObject *arg3 = (PyObject *) 0 ;
26532 PyObject * obj0 = 0 ;
26533 PyObject * obj1 = 0 ;
26534 PyObject * obj2 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self",(char *) "self",(char *) "_class", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26542 arg2 = obj1;
26543 arg3 = obj2;
26544 {
26545 PyThreadState* __tstate = wxPyBeginAllowThreads();
26546 (arg1)->_setCallbackInfo(arg2,arg3);
26547
26548 wxPyEndAllowThreads(__tstate);
26549 if (PyErr_Occurred()) SWIG_fail;
26550 }
26551 Py_INCREF(Py_None); resultobj = Py_None;
26552 return resultobj;
26553 fail:
26554 return NULL;
26555}
26556
26557
26558static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26561 int arg2 ;
26562 int arg3 ;
d14a1e28
RD
26563 int arg4 ;
26564 int result;
26565 PyObject * obj0 = 0 ;
8edf1c75
RD
26566 PyObject * obj1 = 0 ;
26567 PyObject * obj2 = 0 ;
26568 PyObject * obj3 = 0 ;
d14a1e28
RD
26569 char *kwnames[] = {
26570 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26571 };
26572
8edf1c75 26573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26576 arg2 = (int) SWIG_AsInt(obj1);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 arg3 = (int) SWIG_AsInt(obj2);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26581 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26582 {
26583 PyThreadState* __tstate = wxPyBeginAllowThreads();
26584 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26585
26586 wxPyEndAllowThreads(__tstate);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 }
2f4c0a16 26589 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26590 return resultobj;
26591 fail:
26592 return NULL;
26593}
26594
26595
26596static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26597 PyObject *resultobj;
26598 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26599 int arg2 ;
26600 int arg3 ;
d14a1e28
RD
26601 int arg4 ;
26602 int result;
26603 PyObject * obj0 = 0 ;
8edf1c75
RD
26604 PyObject * obj1 = 0 ;
26605 PyObject * obj2 = 0 ;
26606 PyObject * obj3 = 0 ;
d14a1e28
RD
26607 char *kwnames[] = {
26608 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26609 };
26610
8edf1c75 26611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26614 arg2 = (int) SWIG_AsInt(obj1);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 arg3 = (int) SWIG_AsInt(obj2);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26620 {
26621 PyThreadState* __tstate = wxPyBeginAllowThreads();
26622 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26623
26624 wxPyEndAllowThreads(__tstate);
26625 if (PyErr_Occurred()) SWIG_fail;
26626 }
2f4c0a16 26627 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26628 return resultobj;
26629 fail:
26630 return NULL;
26631}
26632
26633
26634static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26635 PyObject *resultobj;
26636 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26637 PyObject * obj0 = 0 ;
26638 char *kwnames[] = {
26639 (char *) "self", NULL
26640 };
26641
26642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->base_OnLeave();
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656}
26657
26658
26659static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj;
26661 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26662 int arg2 ;
26663 int arg3 ;
d14a1e28
RD
26664 bool result;
26665 PyObject * obj0 = 0 ;
8edf1c75
RD
26666 PyObject * obj1 = 0 ;
26667 PyObject * obj2 = 0 ;
d14a1e28
RD
26668 char *kwnames[] = {
26669 (char *) "self",(char *) "x",(char *) "y", NULL
26670 };
26671
8edf1c75 26672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26675 arg2 = (int) SWIG_AsInt(obj1);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 arg3 = (int) SWIG_AsInt(obj2);
26678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26679 {
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26682
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
4f89f6a3
RD
26686 {
26687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26688 }
d14a1e28
RD
26689 return resultobj;
26690 fail:
26691 return NULL;
26692}
26693
26694
26695static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj;
26697 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
26698 int arg2 ;
26699 int arg3 ;
d14a1e28
RD
26700 int arg4 ;
26701 int result;
26702 PyObject * obj0 = 0 ;
8edf1c75
RD
26703 PyObject * obj1 = 0 ;
26704 PyObject * obj2 = 0 ;
26705 PyObject * obj3 = 0 ;
d14a1e28
RD
26706 char *kwnames[] = {
26707 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26708 };
26709
8edf1c75 26710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26713 arg2 = (int) SWIG_AsInt(obj1);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 arg3 = (int) SWIG_AsInt(obj2);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
2f4c0a16 26726 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26727 return resultobj;
26728 fail:
26729 return NULL;
26730}
26731
26732
26733static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26734 PyObject *obj;
26735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26736 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26737 Py_INCREF(obj);
26738 return Py_BuildValue((char *)"");
26739}
26740static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26741 PyObject *resultobj;
26742 wxClipboard *result;
26743 char *kwnames[] = {
26744 NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 result = (wxClipboard *)new wxClipboard();
26751
26752 wxPyEndAllowThreads(__tstate);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
2f4c0a16 26755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
26756 return resultobj;
26757 fail:
26758 return NULL;
26759}
26760
26761
26762static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26763 PyObject *resultobj;
26764 wxClipboard *arg1 = (wxClipboard *) 0 ;
26765 PyObject * obj0 = 0 ;
26766 char *kwnames[] = {
26767 (char *) "self", NULL
26768 };
26769
26770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 delete arg1;
26776
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 Py_INCREF(Py_None); resultobj = Py_None;
26781 return resultobj;
26782 fail:
26783 return NULL;
26784}
26785
26786
26787static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26788 PyObject *resultobj;
26789 wxClipboard *arg1 = (wxClipboard *) 0 ;
26790 bool result;
26791 PyObject * obj0 = 0 ;
26792 char *kwnames[] = {
26793 (char *) "self", NULL
26794 };
26795
26796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 result = (bool)(arg1)->Open();
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
4f89f6a3
RD
26806 {
26807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26808 }
d14a1e28
RD
26809 return resultobj;
26810 fail:
26811 return NULL;
26812}
26813
26814
26815static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj;
26817 wxClipboard *arg1 = (wxClipboard *) 0 ;
26818 PyObject * obj0 = 0 ;
26819 char *kwnames[] = {
26820 (char *) "self", NULL
26821 };
26822
26823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 (arg1)->Close();
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
26833 Py_INCREF(Py_None); resultobj = Py_None;
26834 return resultobj;
26835 fail:
26836 return NULL;
26837}
26838
26839
26840static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26841 PyObject *resultobj;
26842 wxClipboard *arg1 = (wxClipboard *) 0 ;
26843 bool result;
26844 PyObject * obj0 = 0 ;
26845 char *kwnames[] = {
26846 (char *) "self", NULL
26847 };
26848
26849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26855
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
4f89f6a3
RD
26859 {
26860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26861 }
d14a1e28
RD
26862 return resultobj;
26863 fail:
26864 return NULL;
26865}
26866
26867
26868static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26869 PyObject *resultobj;
26870 wxClipboard *arg1 = (wxClipboard *) 0 ;
26871 wxDataObject *arg2 = (wxDataObject *) 0 ;
26872 bool result;
26873 PyObject * obj0 = 0 ;
26874 PyObject * obj1 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "data", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26883 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (bool)(arg1)->AddData(arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
4f89f6a3
RD
26891 {
26892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26893 }
d14a1e28
RD
26894 return resultobj;
26895 fail:
26896 return NULL;
26897}
26898
26899
26900static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26901 PyObject *resultobj;
26902 wxClipboard *arg1 = (wxClipboard *) 0 ;
26903 wxDataObject *arg2 = (wxDataObject *) 0 ;
26904 bool result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "data", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26915 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26916 {
26917 PyThreadState* __tstate = wxPyBeginAllowThreads();
26918 result = (bool)(arg1)->SetData(arg2);
26919
26920 wxPyEndAllowThreads(__tstate);
26921 if (PyErr_Occurred()) SWIG_fail;
26922 }
4f89f6a3
RD
26923 {
26924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26925 }
d14a1e28
RD
26926 return resultobj;
26927 fail:
26928 return NULL;
26929}
26930
26931
26932static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj;
26934 wxClipboard *arg1 = (wxClipboard *) 0 ;
26935 wxDataFormat *arg2 = 0 ;
26936 bool result;
26937 PyObject * obj0 = 0 ;
26938 PyObject * obj1 = 0 ;
26939 char *kwnames[] = {
26940 (char *) "self",(char *) "format", NULL
26941 };
26942
26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26947 SWIG_POINTER_EXCEPTION | 0)) == -1)
26948 SWIG_fail;
d14a1e28 26949 if (arg2 == NULL) {
2f4c0a16
RD
26950 PyErr_SetString(PyExc_TypeError,"null reference");
26951 SWIG_fail;
d14a1e28
RD
26952 }
26953 {
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26956
26957 wxPyEndAllowThreads(__tstate);
26958 if (PyErr_Occurred()) SWIG_fail;
26959 }
4f89f6a3
RD
26960 {
26961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26962 }
d14a1e28
RD
26963 return resultobj;
26964 fail:
26965 return NULL;
26966}
26967
26968
26969static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26970 PyObject *resultobj;
26971 wxClipboard *arg1 = (wxClipboard *) 0 ;
26972 wxDataObject *arg2 = 0 ;
26973 bool result;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self",(char *) "data", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26984 SWIG_POINTER_EXCEPTION | 0)) == -1)
26985 SWIG_fail;
d14a1e28 26986 if (arg2 == NULL) {
2f4c0a16
RD
26987 PyErr_SetString(PyExc_TypeError,"null reference");
26988 SWIG_fail;
d14a1e28
RD
26989 }
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 result = (bool)(arg1)->GetData(*arg2);
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
4f89f6a3
RD
26997 {
26998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26999 }
d14a1e28
RD
27000 return resultobj;
27001 fail:
27002 return NULL;
27003}
27004
27005
27006static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27007 PyObject *resultobj;
27008 wxClipboard *arg1 = (wxClipboard *) 0 ;
27009 PyObject * obj0 = 0 ;
27010 char *kwnames[] = {
27011 (char *) "self", NULL
27012 };
27013
27014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 (arg1)->Clear();
27020
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 Py_INCREF(Py_None); resultobj = Py_None;
27025 return resultobj;
27026 fail:
27027 return NULL;
27028}
27029
27030
27031static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj;
27033 wxClipboard *arg1 = (wxClipboard *) 0 ;
27034 bool result;
27035 PyObject * obj0 = 0 ;
27036 char *kwnames[] = {
27037 (char *) "self", NULL
27038 };
27039
27040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (bool)(arg1)->Flush();
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
4f89f6a3
RD
27050 {
27051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27052 }
d14a1e28
RD
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
27059static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27060 PyObject *resultobj;
27061 wxClipboard *arg1 = (wxClipboard *) 0 ;
1f05e33b 27062 bool arg2 = (bool) True ;
d14a1e28
RD
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "primary", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27072 if (obj1) {
2f4c0a16
RD
27073 arg2 = (bool) SWIG_AsBool(obj1);
27074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27075 }
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 (arg1)->UsePrimarySelection(arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 Py_INCREF(Py_None); resultobj = Py_None;
27084 return resultobj;
27085 fail:
27086 return NULL;
27087}
27088
27089
27090static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27091 PyObject *obj;
27092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27093 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27094 Py_INCREF(obj);
27095 return Py_BuildValue((char *)"");
27096}
2f4c0a16 27097static int _wrap_TheClipboard_set(PyObject *_val) {
d14a1e28
RD
27098 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27099 return 1;
27100}
27101
27102
27103static PyObject *_wrap_TheClipboard_get() {
27104 PyObject *pyobj;
27105
2f4c0a16 27106 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
d14a1e28
RD
27107 return pyobj;
27108}
27109
27110
27111static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj;
27113 wxClipboard *arg1 = (wxClipboard *) NULL ;
27114 wxClipboardLocker *result;
27115 PyObject * obj0 = 0 ;
27116 char *kwnames[] = {
27117 (char *) "clipboard", NULL
27118 };
27119
27120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27121 if (obj0) {
2f4c0a16
RD
27122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27124 }
27125 {
27126 PyThreadState* __tstate = wxPyBeginAllowThreads();
27127 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27128
27129 wxPyEndAllowThreads(__tstate);
27130 if (PyErr_Occurred()) SWIG_fail;
27131 }
2f4c0a16 27132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
27133 return resultobj;
27134 fail:
27135 return NULL;
27136}
27137
27138
27139static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27140 PyObject *resultobj;
27141 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27142 PyObject * obj0 = 0 ;
27143 char *kwnames[] = {
27144 (char *) "self", NULL
27145 };
27146
27147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 delete arg1;
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 Py_INCREF(Py_None); resultobj = Py_None;
27158 return resultobj;
27159 fail:
27160 return NULL;
27161}
27162
27163
27164static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27165 PyObject *resultobj;
27166 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27167 bool result;
27168 PyObject * obj0 = 0 ;
27169 char *kwnames[] = {
27170 (char *) "self", NULL
27171 };
27172
27173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 result = (bool)wxClipboardLocker___nonzero__(arg1);
27179
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
4f89f6a3
RD
27183 {
27184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27185 }
d14a1e28
RD
27186 return resultobj;
27187 fail:
27188 return NULL;
27189}
27190
27191
27192static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27193 PyObject *obj;
27194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27195 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27196 Py_INCREF(obj);
27197 return Py_BuildValue((char *)"");
27198}
fe763115
RD
27199static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27200 PyObject *resultobj;
27201 int arg1 = (int) 0 ;
27202 int arg2 = (int) 0 ;
27203 int arg3 = (int) 0 ;
27204 int arg4 = (int) 0 ;
27205 wxVideoMode *result;
27206 PyObject * obj0 = 0 ;
27207 PyObject * obj1 = 0 ;
27208 PyObject * obj2 = 0 ;
27209 PyObject * obj3 = 0 ;
27210 char *kwnames[] = {
27211 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27212 };
27213
27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27215 if (obj0) {
27216 arg1 = (int) SWIG_AsInt(obj0);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 if (obj1) {
27220 arg2 = (int) SWIG_AsInt(obj1);
27221 if (PyErr_Occurred()) SWIG_fail;
27222 }
27223 if (obj2) {
27224 arg3 = (int) SWIG_AsInt(obj2);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 if (obj3) {
27228 arg4 = (int) SWIG_AsInt(obj3);
27229 if (PyErr_Occurred()) SWIG_fail;
27230 }
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27239 return resultobj;
27240 fail:
27241 return NULL;
27242}
27243
27244
27245static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27246 PyObject *resultobj;
27247 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27248 PyObject * obj0 = 0 ;
27249 char *kwnames[] = {
27250 (char *) "self", NULL
27251 };
27252
27253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 delete arg1;
27259
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 Py_INCREF(Py_None); resultobj = Py_None;
27264 return resultobj;
27265 fail:
27266 return NULL;
27267}
27268
27269
27270static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27271 PyObject *resultobj;
27272 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27273 wxVideoMode *arg2 = 0 ;
27274 bool result;
27275 PyObject * obj0 = 0 ;
27276 PyObject * obj1 = 0 ;
27277 char *kwnames[] = {
27278 (char *) "self",(char *) "other", NULL
27279 };
27280
27281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27285 SWIG_POINTER_EXCEPTION | 0)) == -1)
27286 SWIG_fail;
27287 if (arg2 == NULL) {
27288 PyErr_SetString(PyExc_TypeError,"null reference");
27289 SWIG_fail;
27290 }
27291 {
27292 PyThreadState* __tstate = wxPyBeginAllowThreads();
27293 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27294
27295 wxPyEndAllowThreads(__tstate);
27296 if (PyErr_Occurred()) SWIG_fail;
27297 }
4f89f6a3
RD
27298 {
27299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27300 }
fe763115
RD
27301 return resultobj;
27302 fail:
27303 return NULL;
27304}
27305
27306
27307static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27308 PyObject *resultobj;
27309 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27310 int result;
27311 PyObject * obj0 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 resultobj = SWIG_FromInt((int)result);
27327 return resultobj;
27328 fail:
27329 return NULL;
27330}
27331
27332
27333static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27334 PyObject *resultobj;
27335 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27336 int result;
27337 PyObject * obj0 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27348
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 resultobj = SWIG_FromInt((int)result);
27353 return resultobj;
27354 fail:
27355 return NULL;
27356}
27357
27358
27359static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27360 PyObject *resultobj;
27361 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27362 int result;
27363 PyObject * obj0 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27374
27375 wxPyEndAllowThreads(__tstate);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 }
27378 resultobj = SWIG_FromInt((int)result);
27379 return resultobj;
27380 fail:
27381 return NULL;
27382}
27383
27384
27385static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27386 PyObject *resultobj;
27387 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27388 bool result;
27389 PyObject * obj0 = 0 ;
27390 char *kwnames[] = {
27391 (char *) "self", NULL
27392 };
27393
27394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27397 {
27398 PyThreadState* __tstate = wxPyBeginAllowThreads();
27399 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27400
27401 wxPyEndAllowThreads(__tstate);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 }
4f89f6a3
RD
27404 {
27405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27406 }
fe763115
RD
27407 return resultobj;
27408 fail:
27409 return NULL;
27410}
27411
27412
27413static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27414 PyObject *resultobj;
27415 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27416 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27417 bool result;
27418 PyObject * obj0 = 0 ;
27419 PyObject * obj1 = 0 ;
27420 char *kwnames[] = {
27421 (char *) "self",(char *) "other", NULL
27422 };
27423
27424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27432
27433 wxPyEndAllowThreads(__tstate);
27434 if (PyErr_Occurred()) SWIG_fail;
27435 }
4f89f6a3
RD
27436 {
27437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27438 }
fe763115
RD
27439 return resultobj;
27440 fail:
27441 return NULL;
27442}
27443
27444
27445static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27446 PyObject *resultobj;
27447 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27448 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27449 bool result;
27450 PyObject * obj0 = 0 ;
27451 PyObject * obj1 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "other", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27461 {
27462 PyThreadState* __tstate = wxPyBeginAllowThreads();
27463 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27464
27465 wxPyEndAllowThreads(__tstate);
27466 if (PyErr_Occurred()) SWIG_fail;
27467 }
4f89f6a3
RD
27468 {
27469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27470 }
fe763115
RD
27471 return resultobj;
27472 fail:
27473 return NULL;
27474}
27475
27476
27477static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj;
27479 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27480 int arg2 ;
27481 PyObject * obj0 = 0 ;
27482 PyObject * obj1 = 0 ;
27483 char *kwnames[] = {
27484 (char *) "self",(char *) "w", NULL
27485 };
27486
27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27490 arg2 = (int) SWIG_AsInt(obj1);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 if (arg1) (arg1)->w = arg2;
27493
27494 Py_INCREF(Py_None); resultobj = Py_None;
27495 return resultobj;
27496 fail:
27497 return NULL;
27498}
27499
27500
27501static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27502 PyObject *resultobj;
27503 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27504 int result;
27505 PyObject * obj0 = 0 ;
27506 char *kwnames[] = {
27507 (char *) "self", NULL
27508 };
27509
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27513 result = (int) ((arg1)->w);
27514
27515 resultobj = SWIG_FromInt((int)result);
27516 return resultobj;
27517 fail:
27518 return NULL;
27519}
27520
27521
27522static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj;
27524 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27525 int arg2 ;
27526 PyObject * obj0 = 0 ;
27527 PyObject * obj1 = 0 ;
27528 char *kwnames[] = {
27529 (char *) "self",(char *) "h", NULL
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27535 arg2 = (int) SWIG_AsInt(obj1);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 if (arg1) (arg1)->h = arg2;
27538
27539 Py_INCREF(Py_None); resultobj = Py_None;
27540 return resultobj;
27541 fail:
27542 return NULL;
27543}
27544
27545
27546static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27547 PyObject *resultobj;
27548 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27549 int result;
27550 PyObject * obj0 = 0 ;
27551 char *kwnames[] = {
27552 (char *) "self", NULL
27553 };
27554
27555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27558 result = (int) ((arg1)->h);
27559
27560 resultobj = SWIG_FromInt((int)result);
27561 return resultobj;
27562 fail:
27563 return NULL;
27564}
27565
27566
27567static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj;
27569 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27570 int arg2 ;
27571 PyObject * obj0 = 0 ;
27572 PyObject * obj1 = 0 ;
27573 char *kwnames[] = {
27574 (char *) "self",(char *) "bpp", NULL
27575 };
27576
27577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27580 arg2 = (int) SWIG_AsInt(obj1);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 if (arg1) (arg1)->bpp = arg2;
27583
27584 Py_INCREF(Py_None); resultobj = Py_None;
27585 return resultobj;
27586 fail:
27587 return NULL;
27588}
27589
27590
27591static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27592 PyObject *resultobj;
27593 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27594 int result;
27595 PyObject * obj0 = 0 ;
27596 char *kwnames[] = {
27597 (char *) "self", NULL
27598 };
27599
27600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27603 result = (int) ((arg1)->bpp);
27604
27605 resultobj = SWIG_FromInt((int)result);
27606 return resultobj;
27607 fail:
27608 return NULL;
27609}
27610
27611
27612static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27613 PyObject *resultobj;
27614 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27615 int arg2 ;
27616 PyObject * obj0 = 0 ;
27617 PyObject * obj1 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self",(char *) "refresh", NULL
27620 };
27621
27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27625 arg2 = (int) SWIG_AsInt(obj1);
27626 if (PyErr_Occurred()) SWIG_fail;
27627 if (arg1) (arg1)->refresh = arg2;
27628
27629 Py_INCREF(Py_None); resultobj = Py_None;
27630 return resultobj;
27631 fail:
27632 return NULL;
27633}
27634
27635
27636static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27637 PyObject *resultobj;
27638 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27639 int result;
27640 PyObject * obj0 = 0 ;
27641 char *kwnames[] = {
27642 (char *) "self", NULL
27643 };
27644
27645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27648 result = (int) ((arg1)->refresh);
27649
27650 resultobj = SWIG_FromInt((int)result);
27651 return resultobj;
27652 fail:
27653 return NULL;
27654}
27655
27656
27657static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27658 PyObject *obj;
27659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27660 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27661 Py_INCREF(obj);
27662 return Py_BuildValue((char *)"");
27663}
27664static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27665 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27666 return 1;
27667}
27668
27669
27670static PyObject *_wrap_DefaultVideoMode_get() {
27671 PyObject *pyobj;
27672
27673 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27674 return pyobj;
27675}
27676
27677
27678static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27679 PyObject *resultobj;
27680 size_t arg1 = (size_t) 0 ;
27681 wxDisplay *result;
27682 PyObject * obj0 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "index", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27688 if (obj0) {
27689 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 result = (wxDisplay *)new wxDisplay(arg1);
27695
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27700 return resultobj;
27701 fail:
27702 return NULL;
27703}
27704
27705
27706static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj;
27708 wxDisplay *arg1 = (wxDisplay *) 0 ;
27709 PyObject * obj0 = 0 ;
27710 char *kwnames[] = {
27711 (char *) "self", NULL
27712 };
27713
27714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27717 {
27718 PyThreadState* __tstate = wxPyBeginAllowThreads();
27719 delete arg1;
27720
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 Py_INCREF(Py_None); resultobj = Py_None;
27725 return resultobj;
27726 fail:
27727 return NULL;
27728}
27729
27730
27731static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27732 PyObject *resultobj;
27733 size_t result;
27734 char *kwnames[] = {
27735 NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 result = (size_t)wxDisplay::GetCount();
27742
27743 wxPyEndAllowThreads(__tstate);
27744 if (PyErr_Occurred()) SWIG_fail;
27745 }
27746 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27747 return resultobj;
27748 fail:
27749 return NULL;
27750}
27751
27752
27753static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxPoint *arg1 = 0 ;
27756 int result;
27757 wxPoint temp1 ;
27758 PyObject * obj0 = 0 ;
27759 char *kwnames[] = {
27760 (char *) "pt", NULL
27761 };
27762
27763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27764 {
27765 arg1 = &temp1;
27766 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 resultobj = SWIG_FromInt((int)result);
27776 return resultobj;
27777 fail:
27778 return NULL;
27779}
27780
27781
27782static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27783 PyObject *resultobj;
27784 wxWindow *arg1 = (wxWindow *) 0 ;
27785 int result;
27786 PyObject * obj0 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "window", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 result = (int)wxDisplay::GetFromWindow(arg1);
27797
27798 wxPyEndAllowThreads(__tstate);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 }
27801 resultobj = SWIG_FromInt((int)result);
27802 return resultobj;
27803 fail:
27804 return NULL;
27805}
27806
27807
27808static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27809 PyObject *resultobj;
27810 wxDisplay *arg1 = (wxDisplay *) 0 ;
27811 bool result;
27812 PyObject * obj0 = 0 ;
27813 char *kwnames[] = {
27814 (char *) "self", NULL
27815 };
27816
27817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27820 {
27821 PyThreadState* __tstate = wxPyBeginAllowThreads();
27822 result = (bool)((wxDisplay const *)arg1)->IsOk();
27823
27824 wxPyEndAllowThreads(__tstate);
27825 if (PyErr_Occurred()) SWIG_fail;
27826 }
4f89f6a3
RD
27827 {
27828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27829 }
fe763115
RD
27830 return resultobj;
27831 fail:
27832 return NULL;
27833}
27834
27835
27836static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27837 PyObject *resultobj;
27838 wxDisplay *arg1 = (wxDisplay *) 0 ;
27839 wxRect result;
27840 PyObject * obj0 = 0 ;
27841 char *kwnames[] = {
27842 (char *) "self", NULL
27843 };
27844
27845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
27850 result = ((wxDisplay const *)arg1)->GetGeometry();
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 {
27856 wxRect * resultptr;
27857 resultptr = new wxRect((wxRect &) result);
27858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27859 }
27860 return resultobj;
27861 fail:
27862 return NULL;
27863}
27864
27865
27866static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
27867 PyObject *resultobj;
27868 wxDisplay *arg1 = (wxDisplay *) 0 ;
27869 wxString result;
27870 PyObject * obj0 = 0 ;
27871 char *kwnames[] = {
27872 (char *) "self", NULL
27873 };
27874
27875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 result = ((wxDisplay const *)arg1)->GetName();
27881
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 {
27886#if wxUSE_UNICODE
27887 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27888#else
27889 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27890#endif
27891 }
27892 return resultobj;
27893 fail:
27894 return NULL;
27895}
27896
27897
27898static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
27899 PyObject *resultobj;
27900 wxDisplay *arg1 = (wxDisplay *) 0 ;
27901 bool result;
27902 PyObject * obj0 = 0 ;
27903 char *kwnames[] = {
27904 (char *) "self", NULL
27905 };
27906
27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27910 {
27911 PyThreadState* __tstate = wxPyBeginAllowThreads();
27912 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27913
27914 wxPyEndAllowThreads(__tstate);
27915 if (PyErr_Occurred()) SWIG_fail;
27916 }
4f89f6a3
RD
27917 {
27918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27919 }
fe763115
RD
27920 return resultobj;
27921 fail:
27922 return NULL;
27923}
27924
27925
27926static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
27927 PyObject *resultobj;
27928 wxDisplay *arg1 = (wxDisplay *) 0 ;
27929 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27930 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27931 PyObject *result;
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "self",(char *) "mode", NULL
27936 };
27937
27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27941 if (obj1) {
27942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1)
27944 SWIG_fail;
27945 if (arg2 == NULL) {
27946 PyErr_SetString(PyExc_TypeError,"null reference");
27947 SWIG_fail;
27948 }
27949 }
27950 {
27951 PyThreadState* __tstate = wxPyBeginAllowThreads();
27952 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27953
27954 wxPyEndAllowThreads(__tstate);
27955 if (PyErr_Occurred()) SWIG_fail;
27956 }
27957 resultobj = result;
27958 return resultobj;
27959 fail:
27960 return NULL;
27961}
27962
27963
27964static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj;
27966 wxDisplay *arg1 = (wxDisplay *) 0 ;
27967 wxVideoMode result;
27968 PyObject * obj0 = 0 ;
27969 char *kwnames[] = {
27970 (char *) "self", NULL
27971 };
27972
27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27979
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984 wxVideoMode * resultptr;
27985 resultptr = new wxVideoMode((wxVideoMode &) result);
27986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27987 }
27988 return resultobj;
27989 fail:
27990 return NULL;
27991}
27992
27993
27994static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27995 PyObject *resultobj;
27996 wxDisplay *arg1 = (wxDisplay *) 0 ;
27997 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27998 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27999 bool result;
28000 PyObject * obj0 = 0 ;
28001 PyObject * obj1 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self",(char *) "mode", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28009 if (obj1) {
28010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28011 SWIG_POINTER_EXCEPTION | 0)) == -1)
28012 SWIG_fail;
28013 if (arg2 == NULL) {
28014 PyErr_SetString(PyExc_TypeError,"null reference");
28015 SWIG_fail;
28016 }
28017 }
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28021
28022 wxPyEndAllowThreads(__tstate);
28023 if (PyErr_Occurred()) SWIG_fail;
28024 }
4f89f6a3
RD
28025 {
28026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28027 }
fe763115
RD
28028 return resultobj;
28029 fail:
28030 return NULL;
28031}
28032
28033
28034static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28035 PyObject *resultobj;
28036 wxDisplay *arg1 = (wxDisplay *) 0 ;
28037 PyObject * obj0 = 0 ;
28038 char *kwnames[] = {
28039 (char *) "self", NULL
28040 };
28041
28042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28045 {
28046 PyThreadState* __tstate = wxPyBeginAllowThreads();
28047 (arg1)->ResetMode();
28048
28049 wxPyEndAllowThreads(__tstate);
28050 if (PyErr_Occurred()) SWIG_fail;
28051 }
28052 Py_INCREF(Py_None); resultobj = Py_None;
28053 return resultobj;
28054 fail:
28055 return NULL;
28056}
28057
28058
28059static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28060 PyObject *obj;
28061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28062 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28063 Py_INCREF(obj);
28064 return Py_BuildValue((char *)"");
28065}
d14a1e28
RD
28066static PyMethodDef SwigMethods[] = {
28067 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28068 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28069 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28070 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28071 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28072 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28073 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28074 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28075 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28076 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28077 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28078 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28079 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28080 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28081 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28082 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28083 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28084 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28085 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28086 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28087 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28088 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28089 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28090 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28091 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28092 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28093 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28094 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28095 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28096 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28097 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28098 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28099 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28100 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28101 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28102 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28103 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28104 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28105 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28106 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28107 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28108 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28109 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28110 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28111 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28112 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28113 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28114 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28115 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28116 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28117 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28118 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28119 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28120 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28121 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28122 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28123 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28124 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28125 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28126 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28127 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28128 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28129 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28130 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28131 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28132 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28133 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
d03fd34d 28134 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28135 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28136 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28137 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28138 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28139 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28140 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28141 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28142 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28143 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28144 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28145 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28146 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28147 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28148 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28149 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28150 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28151 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28152 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28153 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
44127b65 28154 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28155 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
44127b65 28156 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28157 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28158 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28159 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28160 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28161 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28162 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28163 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28164 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28165 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28166 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28167 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28168 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28169 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28170 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28171 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28172 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28173 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28174 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28175 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28176 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28177 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28178 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28179 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28180 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28181 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28182 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28183 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28184 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28185 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28186 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28187 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28188 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28189 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28190 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28191 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28192 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28193 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28194 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28195 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28196 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28197 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28198 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28199 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28200 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28201 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28202 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28203 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28204 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28205 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28206 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28207 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28208 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28209 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28210 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28211 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28212 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28213 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28214 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
44127b65 28215 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28216 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28218 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28219 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28221 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
f0983263 28222 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28223 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28224 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28225 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28227 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28228 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28230 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28231 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28234 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28235 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28236 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28243 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28252 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28256 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28258 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28260 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28262 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28264 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28271 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28277 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
f0983263 28289 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
28290 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28295 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28298 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28315 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28323 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28343 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28369 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
4e760a36
RD
28397 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
28398 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
28400 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
28402 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
28403 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
d14a1e28
RD
28405 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28421 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28437 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28451 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28452 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
41f1cec7 28458 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28459 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28460 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28491 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
328fcd84 28492 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28493 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
d14a1e28
RD
28503 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28506 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
328fcd84
RD
28509 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
d14a1e28
RD
28513 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28605 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28606 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28607 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28608 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28609 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28610 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28611 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28612 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28613 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28614 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28625 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28670 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28704 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28712 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28713 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28718 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28727 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28731 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28734 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28737 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28742 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28745 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28749 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28752 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28756 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28762 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28766 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
83448d71
RD
28767 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28769 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28770 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
2f4c0a16 28780 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28781 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28791 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28799 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28807 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28820 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
fe763115
RD
28824 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28842 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
d14a1e28
RD
28856 { NULL, NULL }
28857};
28858
28859
28860/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28861
28862static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28864}
28865static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28866 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28867}
28868static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28869 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28870}
28871static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28872 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28873}
28874static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28875 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28876}
28877static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28878 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28879}
28880static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28881 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28882}
28883static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28884 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28885}
28886static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28887 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28888}
28889static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28890 return (void *)((wxEvent *) ((wxPyEvent *) x));
28891}
28892static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28894}
28895static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28896 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28897}
28898static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28899 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28900}
28901static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28903}
28904static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28905 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28906}
28907static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28908 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28909}
28910static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28911 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28912}
28913static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28914 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28915}
28916static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28917 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28918}
28919static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28920 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28921}
28922static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28923 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28924}
28925static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28926 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28927}
28928static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28930}
28931static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28932 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28933}
28934static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28935 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28936}
28937static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28938 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28939}
28940static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28941 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28942}
28943static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28944 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28945}
28946static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28947 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28948}
28949static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28951}
28952static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28953 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28954}
28955static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28956 return (void *)((wxEvent *) ((wxShowEvent *) x));
28957}
28958static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28959 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28960}
28961static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28963}
28964static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28966}
28967static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28968 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28969}
28970static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28971 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28972}
28973static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28974 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28975}
28976static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28977 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28978}
28979static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28980 return (void *)((wxConfigBase *) ((wxConfig *) x));
28981}
28982static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28983 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28984}
28985static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28986 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28987}
28988static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28989 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28990}
28991static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
28992 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28993}
28994static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
28995 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
28996}
28997static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
28998 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
28999}
29000static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29001 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29002}
29003static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29004 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29005}
29006static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29007 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29008}
29009static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29010 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29011}
29012static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29013 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29014}
29015static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29016 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29017}
29018static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29019 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29020}
29021static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29022 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29023}
29024static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29025 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29026}
29027static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29028 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29029}
29030static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29031 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29032}
29033static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29034 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29035}
29036static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29037 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29038}
29039static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29040 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29041}
29042static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29043 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29044}
29045static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29046 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29047}
29048static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29049 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29050}
29051static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29052 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29053}
29054static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29056}
29057static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29058 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29059}
29060static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29061 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29062}
29063static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29064 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29065}
29066static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29067 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29068}
29069static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29071}
29072static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29073 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29074}
29075static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29076 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29077}
29078static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29079 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29080}
29081static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29082 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29083}
29084static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29085 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29086}
29087static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29088 return (void *)((wxObject *) ((wxSizerItem *) x));
29089}
29090static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29092}
29093static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29095}
29096static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29098}
29099static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29101}
29102static void *_p_wxSizerTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) ((wxSizer *) x));
29104}
29105static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29107}
29108static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) ((wxFileHistory *) x));
29110}
29111static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29113}
29114static void *_p_wxEventTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) ((wxEvent *) x));
29116}
29117static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29119}
29120static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29122}
29123static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29125}
29126static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29128}
29129static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29131}
29132static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29134}
29135static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29137}
29138static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29140}
29141static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29143}
29144static void *_p_wxControlTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29146}
29147static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29149}
29150static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29152}
29153static void *_p_wxFSFileTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) ((wxFSFile *) x));
29155}
29156static void *_p_wxClipboardTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) ((wxClipboard *) x));
29158}
29159static void *_p_wxPySizerTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29161}
29162static void *_p_wxPyEventTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29164}
29165static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29167}
29168static void *_p_wxShowEventTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29170}
29171static void *_p_wxToolTipTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) ((wxToolTip *) x));
29173}
29174static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) ((wxMenuItem *) x));
29176}
29177static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29179}
29180static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29182}
29183static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29185}
29186static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29188}
29189static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29191}
29192static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29194}
29195static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29197}
29198static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29200}
29201static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29203}
29204static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29206}
29207static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29209}
29210static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29212}
29213static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29215}
29216static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29217 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29218}
29219static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29220 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29221}
29222static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29223 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29224}
29225static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29226 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29227}
29228static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29229 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29230}
29231static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29232 return (void *)((wxObject *) ((wxImageHandler *) x));
29233}
29234static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29235 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29236}
29237static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29238 return (void *)((wxObject *) ((wxEvtHandler *) x));
29239}
41f1cec7
RD
29240static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29241 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29242}
d14a1e28
RD
29243static void *_p_wxImageTo_p_wxObject(void *x) {
29244 return (void *)((wxObject *) ((wxImage *) x));
29245}
29246static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29247 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29248}
29249static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29250 return (void *)((wxObject *) ((wxSystemOptions *) x));
29251}
29252static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29253 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29254}
29255static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29257}
29258static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29260}
29261static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29263}
29264static void *_p_wxWindowTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29266}
29267static void *_p_wxMenuTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29269}
29270static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29272}
29273static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29274 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29275}
29276static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29277 return (void *)((wxObject *) ((wxFileSystem *) x));
29278}
29279static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29280 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29281}
29282static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29283 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29284}
29285static void *_p_wxPyAppTo_p_wxObject(void *x) {
29286 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29287}
29288static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29289 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29290}
29291static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29292 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29293}
29294static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29295 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29296}
29297static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29298 return (void *)((wxObject *) ((wxBusyInfo *) x));
29299}
29300static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29301 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29302}
29303static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29304 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29305}
29306static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29307 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29308}
29309static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29310 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29311}
29312static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29314}
29315static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29316 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29317}
29318static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29320}
29321static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29322 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29323}
29324static void *_p_wxValidatorTo_p_wxObject(void *x) {
29325 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29326}
29327static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29328 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29329}
29330static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29331 return (void *)((wxLog *) ((wxLogStderr *) x));
29332}
29333static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29334 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29335}
29336static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29337 return (void *)((wxLog *) ((wxLogWindow *) x));
29338}
29339static void *_p_wxLogChainTo_p_wxLog(void *x) {
29340 return (void *)((wxLog *) ((wxLogChain *) x));
29341}
29342static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29343 return (void *)((wxLog *) ((wxLogGui *) x));
29344}
29345static void *_p_wxPyLogTo_p_wxLog(void *x) {
29346 return (void *)((wxLog *) ((wxPyLog *) x));
29347}
29348static void *_p_wxControlTo_p_wxWindow(void *x) {
29349 return (void *)((wxWindow *) ((wxControl *) x));
29350}
29351static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29352 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29353}
29354static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29355 return (void *)((wxWindow *) ((wxMenuBar *) x));
29356}
29357static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29358 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29359}
29360static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29361 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29362}
2f4c0a16
RD
29363static 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}};
29364static 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}};
29365static 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}};
29366static 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}};
29367static 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}};
29368static 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}};
29369static 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}};
29370static 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}};
29371static 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}};
fe763115 29372static 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
29373static 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}};
29374static 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}};
29375static 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}};
29376static 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}};
29377static 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}};
29378static 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}};
29379static 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}};
29380static 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}};
29381static 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}};
29382static 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}};
29383static 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}};
29384static 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}};
29385static 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}};
29386static 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}};
29387static 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}};
29388static 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}};
29389static 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}};
29390static 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}};
29391static 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}};
29392static 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}};
29393static 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}};
29394static 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}};
29395static 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}};
29396static 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}};
29397static 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}};
29398static 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}};
29399static 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}};
29400static 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}};
29401static 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}};
29402static 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}};
29403static 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}};
29404static 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}};
29405static 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}};
29406static 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}};
29407static 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}};
29408static 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}};
fe763115 29409static 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
29410static 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}};
29411static 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}};
29412static 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}};
29413static 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}};
29414static 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}};
29415static 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}};
29416static 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}};
29417static 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}};
29418static 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}};
29419static 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}};
29420static 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}};
29421static 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}};
29422static 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}};
29423static 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}};
29424static 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}};
29425static 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}};
29426static 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}};
29427static 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}};
29428static 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}};
29429static 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}};
29430static 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}};
29431static 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}};
29432static 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}};
29433static 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}};
29434static 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}};
29435static 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}};
29436static 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}};
29437static 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}};
29438static 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}};
29439static 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}};
29440static 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}};
29441static 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}};
29442static 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}};
29443static 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}};
29444static 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}};
29445static 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}};
29446static 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}};
29447static 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}};
29448static 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}};
29449static 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
29450
29451static swig_type_info *swig_types_initial[] = {
29452_swigt__p_wxLogChain,
29453_swigt__p_wxMutexGuiLocker,
83448d71 29454_swigt__p_wxMetafile,
d14a1e28
RD
29455_swigt__p_wxFileHistory,
29456_swigt__p_wxLog,
29457_swigt__p_wxDateTime__TimeZone,
29458_swigt__p_wxMenu,
29459_swigt__p_wxEvent,
29460_swigt__p_wxConfigBase,
fe763115 29461_swigt__p_wxDisplay,
d14a1e28
RD
29462_swigt__p_wxFileType,
29463_swigt__p_wxLogGui,
29464_swigt__p_wxFont,
29465_swigt__p_wxDataFormat,
29466_swigt__p_wxTimerEvent,
29467_swigt__p_wxCaret,
29468_swigt__p_int,
29469_swigt__p_wxSize,
29470_swigt__p_wxClipboard,
29471_swigt__p_wxStopWatch,
29472_swigt__p_wxDC,
29473_swigt__p_wxClipboardLocker,
29474_swigt__p_wxIcon,
29475_swigt__p_wxLogStderr,
29476_swigt__p_wxLogTextCtrl,
29477_swigt__p_wxTextCtrl,
29478_swigt__p_wxBusyCursor,
d14a1e28
RD
29479_swigt__p_wxPyTextDataObject,
29480_swigt__p_wxBitmapDataObject,
29481_swigt__p_wxTextDataObject,
29482_swigt__p_wxDataObject,
4e760a36 29483_swigt__p_wxPyBitmapDataObject,
8edf1c75 29484_swigt__p_wxFileDataObject,
d14a1e28
RD
29485_swigt__p_wxCustomDataObject,
29486_swigt__p_wxURLDataObject,
29487_swigt__p_wxMetafileDataObject,
4e760a36 29488_swigt__p_wxSound,
d14a1e28
RD
29489_swigt__p_wxTimerRunner,
29490_swigt__p_wxLogWindow,
29491_swigt__p_wxTimeSpan,
29492_swigt__p_wxArrayString,
29493_swigt__p_wxWindowDisabler,
29494_swigt__p_wxToolTip,
29495_swigt__p_wxDataObjectComposite,
29496_swigt__p_wxFileConfig,
29497_swigt__p_wxSystemSettings,
fe763115 29498_swigt__p_wxVideoMode,
d14a1e28
RD
29499_swigt__p_wxPyDataObjectSimple,
29500_swigt__p_wxDataObjectSimple,
29501_swigt__p_wxEvtHandler,
29502_swigt__p_wxRect,
8edf1c75 29503_swigt__p_char,
d14a1e28
RD
29504_swigt__p_wxSingleInstanceChecker,
29505_swigt__p_wxFileTypeInfo,
29506_swigt__p_wxFrame,
29507_swigt__p_wxTimer,
29508_swigt__p_wxMimeTypesManager,
29509_swigt__p_wxPyArtProvider,
29510_swigt__p_wxPyTipProvider,
29511_swigt__p_wxTipProvider,
29512_swigt__p_wxJoystick,
29513_swigt__p_wxSystemOptions,
29514_swigt__p_wxPoint,
29515_swigt__p_wxJoystickEvent,
29516_swigt__p_wxCursor,
29517_swigt__p_wxObject,
29518_swigt__p_wxOutputStream,
29519_swigt__p_wxDateTime,
29520_swigt__p_wxPyDropSource,
29521_swigt__p_wxWindow,
29522_swigt__p_wxString,
29523_swigt__p_wxPyProcess,
29524_swigt__p_wxBitmap,
29525_swigt__p_wxConfig,
29526_swigt__p_wxChar,
29527_swigt__p_wxBusyInfo,
29528_swigt__p_wxPyDropTarget,
29529_swigt__p_wxPyTextDropTarget,
29530_swigt__p_wxPyFileDropTarget,
29531_swigt__p_wxProcessEvent,
29532_swigt__p_wxPyLog,
29533_swigt__p_wxLogNull,
29534_swigt__p_wxColour,
4e760a36 29535_swigt__p_wxByte,
d14a1e28
RD
29536_swigt__p_wxConfigPathChanger,
29537_swigt__p_wxPyTimer,
29538_swigt__p_wxDateSpan,
295390
29540};
29541
29542
29543/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29544
29545static swig_const_info swig_const_table[] = {
2f4c0a16
RD
29546{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29547{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29548{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29549{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29550{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
d14a1e28
RD
29551{0}};
29552
29553#ifdef __cplusplus
29554}
29555#endif
29556
29557#ifdef __cplusplus
29558extern "C"
29559#endif
29560SWIGEXPORT(void) SWIG_init(void) {
29561 static PyObject *SWIG_globals = 0;
29562 static int typeinit = 0;
29563 PyObject *m, *d;
29564 int i;
29565 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29566 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29567 d = PyModule_GetDict(m);
29568
29569 if (!typeinit) {
29570 for (i = 0; swig_types_initial[i]; i++) {
29571 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29572 }
29573 typeinit = 1;
29574 }
29575 SWIG_InstallConstants(d,swig_const_table);
29576
2f4c0a16
RD
29577 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29578 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29579 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29580 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29581 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29582 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29583 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29584 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29585 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29586 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29587 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29588 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29589 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29590 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29591 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29592 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29593 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29594 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29595 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29596 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29597 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29598 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29599 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29600 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29601 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29602 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29603 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29604 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29605 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29606 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29607 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29608 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29609 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29610 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29611 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29612 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29613 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29614 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29615 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29616 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29617 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29618 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29619 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29620 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29621 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29622 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29623 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29624 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29625 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29626 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29627 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29628 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29629 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29630 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29631 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29632 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29633 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29634 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29635 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29636 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29637 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29638 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29639 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29640 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29641 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29642 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29643 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29644 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29645 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29646 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29647 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29648 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29649 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29650 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29651 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29652 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29653 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29654 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29655 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29656 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29657 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29658 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29659 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29660 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29661 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29662 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29663 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29664 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29665 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29666 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29667 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
d03fd34d
RD
29668 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29669 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29670 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29671 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
2f4c0a16
RD
29672 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29673 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29674 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29675 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 29676 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
2f4c0a16
RD
29677 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29678 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29679 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29680 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29681 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29682 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29683 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29684 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29685 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29686 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29687 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29688 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29689 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29690 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29691 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29692 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29693 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29694 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29695 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29696 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29697 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29698 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29699 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29700 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29701 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29702 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29703 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29704 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29705 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29706 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29707 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29708 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29709 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29710 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29711 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29712 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29713 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29714 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29715 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29716 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29717 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29718 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29719 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29720 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29721 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
d14a1e28 29722 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
2f4c0a16
RD
29723 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29724 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29725 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29726 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
29727
29728 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29729
2f4c0a16
RD
29730 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29731 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29732 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29733 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29734 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29735 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29736 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
29737 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29738 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29739 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29740 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
2f4c0a16
RD
29741 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29742 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29743 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29744 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29745 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29746 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29747 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29748 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
29749 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29750 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29751 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29752 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29753 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29754 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29755 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29756 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29757 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29758 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29759 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29760 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29761 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29762 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29763 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29764 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29765 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29766 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29767 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29768 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29769 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29770 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29771 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29772 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29773 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29774 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29775 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29776 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29777 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29778 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29779 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29780 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29781 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29782 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29783 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29784 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29785 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29786 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29787 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29788
29789 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29790
2f4c0a16
RD
29791 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29792 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29793 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29794 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29795 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29796 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29797 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29798 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29799 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
d03fd34d
RD
29800 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29801 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
2f4c0a16
RD
29802 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29803 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29804 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29805 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29806 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29807 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29808 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29809 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29810 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29811 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29812 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29813 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29814 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29815 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29816 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29817 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29818 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29819 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29820 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29821 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29822 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29823 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29824 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29825 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29826 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29827 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29828 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29829 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29830 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29831 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29832 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29833 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29834 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29835 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29836 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29837 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29838 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29839 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29840 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29841 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29842 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29843 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29844 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29845 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29846 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29847 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29848 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29849 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29850 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29851 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29852 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29853 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29854 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29855 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29856 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29857 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29858 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29859 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29860 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29861 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29862 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29863 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29864 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29865 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29866 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29867 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29868 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29869 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29870 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29871 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29872 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29873 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29874 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29875 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29876 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29877 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29878 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29879 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29880 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29881 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29882 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29883 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29884 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29885 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29886 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29887 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29888 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29889 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29890 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29891 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29892 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29893 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29894 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29895 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29896 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29897 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29898 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29899 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29900 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29901 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29902 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29903 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29904 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29905 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29906 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29907 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29908 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29909 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29910 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29911 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29912 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29913 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29914 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29915 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29916 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29917 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29918 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29919 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29920 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29921 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29922 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29923 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29924 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29925 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29926 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29927 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29928 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29929 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29930 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29931 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29932 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29933 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29934 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29935 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29936 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29937 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29938 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29939 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29940 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29941 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29942 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29943 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29944 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29945 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29946 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29947 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29948 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29949 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29950 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29951 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29952 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29953 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29954 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29955 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29956 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
98e665d3 29957 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
2f4c0a16
RD
29958 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29959 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29960 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29961 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29962 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29963 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29964 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29965 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29966 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29967 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29968 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29969 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29970 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29971 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29972 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29973 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29974 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29975 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29976 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29977 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
d14a1e28 29978 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
2f4c0a16
RD
29979 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29980 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29981 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29982 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29983 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29984 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29985 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29986 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29987 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29988 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29989 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29990 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
d14a1e28
RD
29991
29992 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29993 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29994 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29995 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29996
29997 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
fe763115 29998 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
d14a1e28
RD
29999}
30000